:root {
  --paper: #f4ede3;
  --paper-2: #efe6d8;
  --ink: #1c1612;
  --wine: #6b1d2a;
  --wine-deep: #4a121c;
  --sand: #c4a574;
  --line: #d9cbb8;
  --muted: #6d6258;
  --white: #fffaf4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--wine-deep);
  color: #f0d9c6;
  font-size: 0.78rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
}

.age-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 22px;
  border: 1px solid var(--sand);
  color: #f7e7c8;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-header {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 30;
}

.brand-mark svg {
  display: block;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-text strong {
  font-family: "Instrument Serif", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  padding: 8px 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  z-index: 30;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 22, 18, 0.35);
  z-index: 15;
}

.hero {
  padding: 22px 0 30px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.55fr);
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 0;
}

.hero-copy {
  padding: 22px 26px 24px;
}

.hero-panel {
  background:
    repeating-linear-gradient(
      135deg,
      var(--wine) 0 14px,
      var(--wine-deep) 14px 28px
    ),
    linear-gradient(180deg, var(--sand), var(--wine));
  background-blend-mode: multiply;
  border-left: 1px solid var(--line);
  min-height: 100%;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.12;
  max-width: 16ch;
}

.hero h2 {
  margin-top: 12px;
  max-width: 58ch;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.page {
  padding: 0 0 36px;
}

.prose {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 26px 28px;
}

.prose h3 {
  font-family: "Instrument Serif", serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin: 22px 0 10px;
}

.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--muted);
  margin-bottom: 12px;
}

.prose ul {
  margin: 0 0 14px 18px;
  color: var(--muted);
}

.prose li {
  margin: 6px 0;
}

.mail-box {
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px solid var(--sand);
  background: #f7f0e4;
}

.mail-box p {
  margin: 0 0 6px;
  color: var(--ink);
}

.mail-box a {
  color: var(--wine);
  font-weight: 700;
  font-size: 1.15rem;
}

.listing {
  padding: 0 0 36px;
}

.listing-head {
  margin-bottom: 14px;
}

.listing-head h3 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400;
}

.offer {
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}

.offer-line {
  display: grid;
  grid-template-columns: 58px 168px minmax(110px, 1fr) minmax(140px, 1.2fr) 88px auto;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  min-height: 108px;
}

.offer-num {
  font-family: "Instrument Serif", serif;
  font-size: 1.55rem;
  color: var(--wine);
  letter-spacing: 0.04em;
}

.offer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
}

.offer-logo img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.offer-name {
  font-weight: 700;
  font-size: 1.02rem;
}

.offer-bonus {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--wine-deep);
}

.offer-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  border: 1px solid var(--sand);
  background: #f7f0e4;
}

.offer-score strong {
  font-family: "Instrument Serif", serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--wine);
}

.offer-score span {
  font-size: 0.72rem;
  color: var(--muted);
}

.offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--wine);
  color: #fffaf4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-cta:hover,
.offer-cta:focus-visible {
  background: var(--wine-deep);
  outline: none;
}

.offer-disclaimer {
  padding: 0 16px 14px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.block {
  padding: 0 0 36px;
}

.block-head {
  margin-bottom: 16px;
}

.block-head h3 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400;
}

.block-head p {
  margin-top: 8px;
  max-width: 62ch;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px 18px 20px;
}

.card h4 {
  font-family: "Instrument Serif", serif;
  font-size: 1.22rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
}

.step b {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--wine);
  margin-bottom: 8px;
}

.step h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.86rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 1px solid var(--line);
  background: var(--white);
}

.split-copy,
.split-side {
  padding: 22px 24px;
}

.split-side {
  background: #f7f0e4;
  border-left: 1px solid var(--line);
}

.split h3 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400;
  margin-bottom: 10px;
}

.split p,
.split li {
  color: var(--muted);
  font-size: 0.95rem;
}

.split ul {
  margin-top: 12px;
  padding-left: 18px;
}

.split li {
  margin: 6px 0;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--wine);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--wine);
}

.faq {
  background: var(--white);
  border: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  padding: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--wine-deep);
  color: #f0d9c6;
  padding: 18px 20px;
}

.notice strong {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  font-weight: 400;
  color: #f7e7c8;
  line-height: 1;
}

.notice p {
  font-size: 0.9rem;
}

.site-footer {
  background: var(--wine-deep);
  color: #f0d9c6;
  padding: 28px 0 22px;
  font-size: 0.84rem;
}

.footer-wrap {
  display: grid;
  gap: 18px;
}

.footer-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 8px;
}

.footer-rg p,
.footer-affiliate p,
.footer-age p,
.footer-copy {
  line-height: 1.5;
}

.footer-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.footer-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 8px;
  border: 1px solid rgba(196, 165, 116, 0.35);
}

.footer-logos img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.footer-cols ul {
  list-style: none;
}

.footer-cols a {
  display: inline-block;
  padding: 4px 0;
  color: #fffaf4;
}

.footer-cols a:hover,
.footer-cols a:focus-visible {
  color: var(--sand);
  outline: none;
}

.footer-affiliate {
  border-top: 1px solid rgba(196, 165, 116, 0.28);
  border-bottom: 1px solid rgba(196, 165, 116, 0.28);
  padding: 12px 0;
}

.footer-age {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.footer-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  background: #e3b341;
  color: #1c1612;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.footer-copy {
  color: #cbb7a4;
}

.age-layer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12, 8, 8, 0.78);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-layer.is-open {
  display: flex;
}

.age-card {
  width: min(440px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 22px;
  text-align: center;
}

.age-card.is-hidden {
  display: none;
}

.age-card h3 {
  font-family: "Instrument Serif", serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin: 10px 0 8px;
}

.age-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.age-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.age-actions button,
.cookie-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  background: var(--wine);
  color: #fffaf4;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.age-actions .ghost,
.cookie-actions .ghost {
  background: transparent;
  color: var(--wine);
  border: 1px solid var(--wine);
}

.cookie-bar {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.cookie-bar.is-open {
  display: flex;
}

.cookie-bar p {
  font-size: 0.86rem;
  color: var(--muted);
}

.cookie-bar a {
  color: var(--wine);
  font-weight: 700;
  text-decoration: underline;
}

body.age-lock {
  overflow: hidden;
}

@media (max-width: 900px) {
  .footer-logos,
  .footer-cols,
  .footer-age,
  .cookie-bar {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    z-index: 25;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .offer-line {
    grid-template-columns: 44px 140px 1fr auto;
    grid-template-areas:
      "num logo name cta"
      "num logo bonus cta"
      "num logo score cta";
  }

  .offer-num { grid-area: num; }
  .offer-logo { grid-area: logo; }
  .offer-name { grid-area: name; }
  .offer-bonus { grid-area: bonus; }
  .offer-score { grid-area: score; justify-self: start; min-height: 34px; padding: 0 10px; }
  .offer-cta { grid-area: cta; }
}

@media (max-width: 720px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    height: 10px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-copy {
    padding: 18px 16px 20px;
  }

  .hero h1 {
    max-width: none;
  }

  .topbar-inner {
    align-items: flex-start;
  }

  .offer-line {
    grid-template-columns: 36px 1fr;
    grid-template-areas:
      "num name"
      "logo logo"
      "bonus bonus"
      "score score"
      "cta cta";
  }

  .offer-name[data-label]::before,
  .offer-bonus[data-label]::before,
  .offer-score[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 2px;
  }

  .offer-cta {
    width: 100%;
  }

  .offer-logo {
    justify-content: flex-start;
    height: 96px;
  }

  .offer-logo img {
    max-height: 80px;
  }
}

@media (max-width: 900px) {
  .cards,
  .steps,
  .split,
  .notice {
    grid-template-columns: 1fr;
  }

  .split-side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
