/* Viraloution vágás – site.css. Tokens and components follow DESIGN.md. */

@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/lora-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/lato-2-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/lato-2-700.woff2") format("woff2"); }

:root {
  --green-900: #131911;
  --green-600: #244f37;
  --ink: #171912;
  --gold: #c9a227;
  --gold-light: #e4cd82;
  --cream: #f8f5ec;
  --beige: #efebdc;
  --beige-line: #dedacb;
  --muted: #787c6e;
  --error: #a4271b;
  --on-dark-2: rgba(248, 245, 236, .75);
  --gradient: linear-gradient(180deg, var(--green-900) 0%, var(--green-600) 100%);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-serif: "Lora", Georgia, serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --max: 1200px;
  --radius-card: 16px;
  --radius-ctl: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(201, 162, 39, .25); scroll-padding-top: calc(var(--header-h) + 8px); scroll-padding-bottom: 88px; }
a, button, summary, label, input { touch-action: manipulation; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.on-dark :focus-visible, .section--dark :focus-visible, .section--ink :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--gold); color: var(--ink); border-radius: var(--radius-ctl); font-weight: 700; }
.skip-link:focus { top: 8px; }

.container {
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}
.measure { max-width: 64ch; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
@media (min-width: 1200px) { .section { padding: 128px 0; } }
.section--dark { background: var(--gradient); color: var(--cream); overflow: hidden; }
.section--ink { background: var(--ink); color: var(--cream); }
.section--tight { padding: 40px 0; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; margin: 0; text-wrap: balance; }
.h2 { font-size: clamp(26px, 6.5vw, 48px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 16px; }
.h3 { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.2; margin-bottom: 8px; }
.sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(18px, 4.6vw, 24px); line-height: 1.45; margin: 0 0 24px; }
.small { font-size: 14px; line-height: 1.5; }
.section--dark .sub, .section--ink .sub { color: var(--on-dark-2); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  margin: 0 0 16px; color: var(--ink);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); flex: none; }
@media (min-width: 768px) { .eyebrow { font-size: 13px; } }
.section--dark .eyebrow, .section--ink .eyebrow, .hero .eyebrow { color: var(--gold); }
.section--dark .eyebrow::before, .hero .eyebrow::before { display: none; }

.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--radius-ctl);
  font: 600 16px/1.2 var(--font-head); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ink { background: var(--ink); color: var(--gold); }
.btn--ink:hover { background: #2a2d22; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.link { font-weight: 700; text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--cream); transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-solid, .page-plain .site-header { background: var(--ink); box-shadow: 0 1px 0 rgba(201, 162, 39, .12); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 32px; height: 32px; }
.brand span { font: 500 13px/1 var(--font-head); letter-spacing: .3em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__links { display: none; list-style: none; gap: 4px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font: 500 15px/1 var(--font-head); }
.nav__links a:hover { color: var(--gold-light); }
.nav .btn { min-height: 44px; padding: 10px 14px; font-size: 14px; }
.menu { position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; font: 500 14px/1 var(--font-head); }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); background: var(--ink); border: 1px solid rgba(201,162,39,.3); border-radius: var(--radius-ctl); padding: 8px; min-width: 180px; }
.menu__panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font: 500 15px/1 var(--font-head); }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .menu { display: none; }
  .nav .btn { padding: 10px 18px; font-size: 15px; }
}
@media (max-width: 479px) { .brand span { display: none; } }

/* ---------- Viewfinder brackets (shared) ---------- */
.frame { position: relative; }
.frame::before, .frame::after, .frame > .frame__c1, .frame > .frame__c2 {
  content: ""; position: absolute; width: 20px; height: 20px; border: 0 solid var(--gold); pointer-events: none; z-index: 3;
}
.frame::before { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.frame::after { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.frame > .frame__c1 { top: 10px; right: 10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.frame > .frame__c2 { bottom: 10px; left: 10px; border-bottom-width: 1.5px; border-left-width: 1.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: var(--gradient); color: var(--cream); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,25,17,.45) 0%, rgba(19,25,17,.88) 30%, rgba(19,25,17,.95) 55%, #131911 100%); }
.hero__frame { position: absolute; inset: calc(var(--header-h) + 6px) 6px 6px 6px; z-index: 2; pointer-events: none; }
.hero__frame::before { top: 0; left: 0; } .hero__frame::after { bottom: 0; right: 0; }
.hero__frame > .frame__c1 { top: 0; right: 0; } .hero__frame > .frame__c2 { bottom: 0; left: 0; }
.timecode {
  position: absolute; top: 14px; right: 30px; z-index: 3;
  font: 700 12px/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--gold-light);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: 56px; }
.hero h1 { font-size: clamp(40px, 10.5vw, 84px); line-height: .98; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 16px; }
.hero h1 span { display: block; }
.hero .sub { color: var(--cream); max-width: 32ch; margin-bottom: 20px; }
.price { margin: 0 0 24px; }
.price__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--font-head); font-weight: 700; color: var(--gold); }
.price__num { font-size: clamp(56px, 15vw, 120px); line-height: .95; letter-spacing: -.02em; }
.price__unit { font: italic 400 clamp(20px, 3vw, 28px)/1.2 var(--font-serif); color: var(--gold-light); }
.price__note { margin: 6px 0 0; font-size: 14px; color: var(--on-dark-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 24px; }
.hero__actions .link { color: var(--cream); }
.ticks { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks li::before { content: ""; width: 12px; height: 12px; border: 1.5px solid var(--gold); border-radius: 50%; flex: none; }
.media-btn {
  position: absolute; z-index: 4; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(248,245,236,.4); background: rgba(23,25,18,.6); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.media-btn svg { width: 16px; height: 16px; fill: currentColor; }
.media-btn .i-play { display: none; }
.media-btn[aria-pressed="true"] .i-play { display: block; }
.media-btn[aria-pressed="true"] .i-pause { display: none; }
.hero .media-btn { right: 20px; bottom: 20px; }
.hero__phone { display: none; }

/* Hero beats: hard cuts like jump cuts. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 span, .js .hero .price { animation: cut 1ms steps(1) both; }
  .js .hero h1 span:nth-child(1) { animation-delay: 0ms; }
  .js .hero h1 span:nth-child(2) { animation-delay: 200ms; }
  .js .hero h1 span:nth-child(3) { animation-delay: 400ms; }
  .js .hero .price { animation-delay: 600ms; }
}
@keyframes cut { from { visibility: hidden; } to { visibility: visible; } }

@media (min-width: 1024px) {
  .hero { align-items: center; }
  .hero__media { display: none; }
  .hero__inner { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; padding-bottom: 80px; }
  .hero__phone { display: block; position: relative; justify-self: end; width: min(100%, 340px); aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--ink); }
  .hero__phone video, .hero__phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__phone .media-btn { right: 16px; bottom: 16px; }
  .hero .media-btn--mobile { display: none; }
}

/* ---------- Logo strip ---------- */
.logos { padding: 40px 0; border-bottom: 1px solid var(--beige-line); }
.logos__title { text-align: center; font: 500 13px/1.4 var(--font-head); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 48px; list-style: none; padding-right: 48px; }
.marquee img { height: 32px; width: auto; max-width: 180px; object-fit: contain; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logos__ctl { display: flex; justify-content: center; margin-top: 12px; }
.logos__ctl .media-btn { position: static; background: transparent; color: var(--ink); border-color: var(--beige-line); }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; }
  .marquee__track { animation: none; width: auto; }
  .marquee ul { flex-wrap: wrap; justify-content: center; gap: 24px 36px; padding: 0; }
  .marquee ul[aria-hidden="true"], .logos__ctl { display: none; }
}

/* ---------- Problem ---------- */
.dash-list { list-style: none; display: grid; gap: 16px; margin: 24px 0 32px; font-size: 18px; }
.dash-list li { display: grid; grid-template-columns: 28px 1fr; }
.dash-list li::before { content: "—"; color: var(--gold); font-weight: 700; }
.closing { font: italic 400 clamp(20px, 2.6vw, 24px)/1.45 var(--font-serif); max-width: 40ch; margin: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 40px; margin-top: 40px; }
.step { border-top: 1px solid var(--gold); padding-top: 20px; }
.step__num { display: block; font: 700 56px/1 var(--font-head); color: var(--gold); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.step .h3 { color: var(--cream); }
.step p { color: var(--on-dark-2); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 12px; }
.badges li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid rgba(201,162,39,.4); border-radius: 999px; font: 700 12px/1 var(--font-body); color: var(--cream); }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- Works ---------- */
.works__row {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 12px;
  margin: 32px calc(-1 * var(--gutter)) 0; scrollbar-width: none;
}
.works__row::-webkit-scrollbar { display: none; }
.work { flex: 0 0 82%; margin: 0; scroll-snap-align: center; }
.work__frame { aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #0d0f0a; }
.work__frame video, .work__frame img { width: 100%; height: 100%; object-fit: cover; }
.work__frame .media-btn { right: 14px; bottom: 14px; }
.work__frame.is-broken .media-btn { display: none; }
.work__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.chip-label { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid rgba(201,162,39,.5); border-radius: 999px; font: 700 13px/1 var(--font-body); color: var(--gold-light); }
.toggle { display: inline-flex; border: 1px solid rgba(248,245,236,.3); border-radius: 999px; padding: 2px; }
.toggle button { min-height: 40px; min-width: 64px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--cream); font: 600 13px/1 var(--font-head); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.works__bar { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.works__count { font: 700 14px/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--on-dark-2); }
.works__arrows { display: none; gap: 8px; }
.works__arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(248,245,236,.35); background: transparent; color: var(--cream); cursor: pointer; font-size: 20px; }
.work__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph { background: repeating-linear-gradient(45deg, #efebdc 0 10px, #e6e1cf 10px 20px); color: var(--ink); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 13px; }
/* 600–1023 px: cap the card so its 9:16 frame fits between the fixed header and the sticky bar. */
@media (min-width: 600px) and (max-width: 1023px) { .work { flex-basis: min(82%, max(160px, calc((100svh - 180px) * 9 / 16))); } }
@media (min-width: 1024px) {
  .work { flex-basis: 300px; scroll-snap-align: start; }
  .works__arrows { display: flex; }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; margin-top: 32px; list-style: none; }
.card { background: var(--beige); border: 1px solid var(--beige-line); border-radius: var(--radius-card); padding: 24px; }
.card p { margin: 0; }
@media (min-width: 600px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
/* Five cards: two per row on tablet with the last one centred, 3 + 2 centred on desktop. */
@media (min-width: 600px) and (max-width: 1023px) {
  .cards--5 { grid-template-columns: repeat(4, 1fr); }
  .cards--5 > li { grid-column: span 2; }
  .cards--5 > li:last-child { grid-column: 2 / span 2; }
}
@media (min-width: 1024px) {
  .cards--5 { grid-template-columns: repeat(6, 1fr); }
  .cards--5 > li { grid-column: span 2; }
  .cards--5 > li:nth-child(4) { grid-column: 2 / span 2; }
  .cards--5 > li:nth-child(5) { grid-column: 4 / span 2; }
}

/* ---------- Price ---------- */
.price-wrap { display: grid; gap: 24px; margin-top: 32px; }
.price-block { background: var(--gold-light); border: 1px solid var(--gold); border-radius: var(--radius-card); padding: 28px 24px; display: grid; gap: 20px; }
.price-block__num { font: 700 clamp(64px, 12vw, 96px)/.95 var(--font-head); letter-spacing: -.02em; }
.price-block__unit { font: italic 400 24px/1.2 var(--font-serif); }
.price-block .eyebrow::before { background: var(--ink); }
.examples { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.examples caption { text-align: left; font: 500 12px/1.4 var(--font-head); letter-spacing: .22em; text-transform: uppercase; padding-bottom: 8px; }
.examples th, .examples td { padding: 14px 0; border-bottom: 1px solid var(--beige-line); font-weight: 400; text-align: left; }
.examples td { text-align: right; font-weight: 700; }
.price-block__amount { margin: 0; }
.price-block p { margin: 0; }
.price-cta { margin: 24px 0 0; }
.price-notes { margin-top: 24px; display: grid; gap: 8px; }
.price-notes p { margin: 0; }
.price-alt { margin-top: 24px; display: grid; gap: 12px; }
.price-alt > div { display: grid; gap: 10px; }
.price-alt__amount { font: 700 clamp(28px, 6vw, 40px)/1 var(--font-head); letter-spacing: -.01em; }
.price-alt__unit { font: italic 400 20px/1.2 var(--font-serif); letter-spacing: 0; }
@media (min-width: 1024px) {
  .price-wrap { grid-template-columns: 7fr 5fr; align-items: start; gap: 48px; }
  .price-block { grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 40px; }
  .price-alt { grid-template-columns: auto 1fr; column-gap: 48px; align-items: center; padding: 28px 40px; }
  .price-alt > p { max-width: 62ch; }
}

/* ---------- Guarantee ---------- */
.guarantee { list-style: none; display: grid; gap: 28px; margin-top: 32px; position: relative; z-index: 1; }
.guarantee li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.guarantee li::before { content: ""; width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; }
.guarantee .h3 { color: var(--cream); }
.guarantee p { color: var(--on-dark-2); margin: 0; }
/* Decorative circles only where they clear the text: top-right in Garancia, bottom-left in the form section. */
.circles { display: none; position: absolute; width: 360px; height: 360px; border: 1px solid var(--gold); border-radius: 50%; pointer-events: none; opacity: .7; }
.circles::after { content: ""; position: absolute; inset: 40px; border: 1px solid var(--gold); border-radius: 50%; }
.circles--tr { top: -180px; right: -120px; }
.circles--bl { bottom: -200px; left: -140px; }
@media (min-width: 1024px) { .circles { display: block; } }
@media (min-width: 1024px) { .guarantee { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Reviews ---------- */
.quotes { display: grid; gap: 32px; margin-top: 32px; list-style: none; }
.quote { border-left: 2px solid var(--gold); padding-left: 20px; margin: 0; }
.quote blockquote { margin: 0 0 12px; font: italic 400 19px/1.55 var(--font-serif); }
.quote figcaption strong { display: block; font: 600 15px/1.3 var(--font-head); }
.quote figcaption span { font-size: 14px; }
@media (min-width: 1024px) { .quotes { grid-template-columns: 1fr 1fr; gap: 40px 56px; } .quote blockquote { font-size: 22px; } }
/* An odd count leaves the last quote alone in its row: it spans both columns, kept to the body measure. */
@media (min-width: 1024px) { .quotes > li:last-child:nth-child(odd) { grid-column: 1 / -1; } .quotes > li:last-child:nth-child(odd) blockquote { max-width: 64ch; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; border-top: 1px solid var(--beige-line); }
.faq details { border-bottom: 1px solid var(--beige-line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; font: 700 18px/1.35 var(--font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--font-head); color: var(--ink); transition: transform .15s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 64ch; }
@media (min-width: 1024px) { .faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; } .faq { margin-top: 0; } }

/* ---------- Form ---------- */
.lead-wrap { display: grid; gap: 32px; position: relative; z-index: 1; }
@media (min-width: 1024px) { .lead-wrap { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } }
.panel { background: var(--cream); color: var(--ink); border-radius: var(--radius-card); overflow: hidden; }
.panel__strip { background: var(--gold-light); padding: 14px 24px; font-weight: 700; font-size: 15px; }
.panel__body { padding: 24px; }
@media (min-width: 768px) { .panel__body { padding: 40px; } .panel__strip { padding: 14px 40px; } }
.progress { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.progress h3 { font: 700 20px/1.25 var(--font-head); }
.progress h3:focus { outline: none; }
.progress__count { font: 700 15px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.bar { height: 4px; background: var(--beige-line); border-radius: 4px; margin: 14px 0 24px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(.3333); transform-origin: left center; transition: transform .24s var(--ease); }
.step-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .step-panel.is-entering { animation: fadein .16s var(--ease); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend, .label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 10px; padding: 0; }
.req { color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
  background: var(--beige); border: 1px solid var(--muted); border-radius: 999px; font-size: 15px; line-height: 1.2;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip input:checked + span::before { content: "✓"; color: var(--gold); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field { margin-bottom: 20px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; min-height: 48px; padding: 12px 14px; background: #fff; border: 1px solid var(--muted); border-radius: var(--radius-ctl); font-size: 17px;
}
.field input[aria-invalid="true"], fieldset[aria-invalid="true"] .chip span { border-color: var(--error); }
.help { font-size: 14px; margin: 6px 0 0; }
.err { display: flex; gap: 6px; color: var(--error); font-size: 14px; font-weight: 700; margin: 8px 0 0; }
.err:empty { display: none; }
.err::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: #fff; font-size: 12px; flex: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: center; min-height: 48px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.form-actions { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 8px; }
.form-actions .btn--ghost { border-color: transparent; text-decoration: underline; }
@media (min-width: 600px) { .form-actions { flex-direction: row; justify-content: space-between; align-items: center; } }
.alert { border: 1px solid var(--error); border-radius: var(--radius-ctl); padding: 14px 16px; margin: 0 0 20px; color: var(--error); font-weight: 700; }
.alert a { color: inherit; }
.notice { border: 1px solid var(--gold); background: #fbf6e6; border-radius: var(--radius-ctl); padding: 12px 16px; margin: 0 0 20px; font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin: 16px 0 0; font-size: 14px; color: var(--on-dark-2); }
.form-foot a { color: var(--cream); }

/* ---------- Sticky bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--ink); transform: translateY(110%); transition: transform .2s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
html.show--consent .sticky-cta, html.show--preferences .sticky-cta { transform: translateY(110%); }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 48px 0 calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .site-footer { padding-bottom: 48px; } }
.tagline { font: italic 400 20px/1.4 var(--font-serif); color: var(--gold-light); margin: 0 0 24px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.footer-links button[hidden] { display: none; }

/* ---------- Thank-you page ---------- */
.thanks-hero { padding: 56px 0; }
.thanks-hero h1 { font-size: clamp(32px, 8vw, 64px); line-height: 1.02; text-transform: uppercase; margin-bottom: 16px; overflow-wrap: anywhere; }
.next-steps { list-style: none; display: grid; gap: 28px; counter-reset: s; }
.next-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; counter-increment: s; }
.next-steps li::before { content: "0" counter(s); font: 700 36px/1 var(--font-head); color: var(--ink); border-top: 2px solid var(--gold); padding-top: 8px; }
.next-steps p { margin: 0 0 12px; font-size: 18px; }
.tip { margin-top: 32px; background: var(--gold-light); border: 1px solid var(--gold); border-radius: var(--radius-card); padding: 18px 20px; font-weight: 700; }

/* ---------- Legal pages ---------- */
.page-plain main { padding-top: var(--header-h); }
.draft-banner { background: var(--gold-light); border-bottom: 1px solid var(--gold); padding: 12px 0; font: 700 14px/1.4 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.legal { padding: 48px 0 80px; }
.legal .measure { max-width: 68ch; }
.legal h1 { font-size: clamp(28px, 6vw, 44px); text-transform: uppercase; margin-bottom: 24px; }
.legal h2 { font: 700 22px/1.3 var(--font-head); margin: 40px 0 12px; }
.legal h3 { font: 700 18px/1.3 var(--font-head); margin: 24px 0 8px; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--beige-line); }
mark { background: var(--gold-light); color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* ---------- CookieConsent theme ---------- */
#cc-main {
  --cc-font-family: var(--font-body);
  --cc-bg: var(--cream);
  --cc-primary-color: var(--ink);
  --cc-secondary-color: var(--ink);
  --cc-btn-primary-bg: var(--ink);
  --cc-btn-primary-color: var(--gold);
  --cc-btn-primary-border-color: var(--ink);
  --cc-btn-primary-hover-bg: #2a2d22;
  --cc-btn-primary-hover-color: var(--gold-light);
  --cc-btn-primary-hover-border-color: #2a2d22;
  --cc-btn-secondary-bg: transparent;
  --cc-btn-secondary-color: var(--ink);
  --cc-btn-secondary-border-color: var(--ink);
  --cc-btn-secondary-hover-bg: var(--beige);
  --cc-btn-secondary-hover-color: var(--ink);
  --cc-btn-secondary-hover-border-color: var(--ink);
  --cc-separator-border-color: var(--beige-line);
  --cc-toggle-on-bg: var(--ink);
  --cc-toggle-readonly-bg: var(--muted);
  --cc-cookie-category-block-bg: var(--beige);
  --cc-cookie-category-block-border: var(--beige-line);
  --cc-modal-border-radius: 16px;
  --cc-btn-border-radius: 12px;
  --cc-link-color: var(--ink);
}

/* Compact banner on phones so the hero price stays visible. */
@media (max-width: 639px) {
  #cc-main .cm .cm__desc { font-size: 14px; line-height: 1.45; }
  #cc-main .cm .cm__title { font-size: 16px; }
  /* CookieConsent's own mobile CSS uses !important, so these need it too (higher specificity wins). */
  #cc-main .cm .cm__btns .cm__btn-group:first-child { flex-direction: row !important; gap: 8px; }
  #cc-main .cm .cm__btns .cm__btn-group:first-child .cm__btn { flex: 1 1 0 !important; margin: 0 !important; padding: 8px; font-size: 14px; }
  #cc-main .cm .cm__texts { padding-top: .75em; }
  #cc-main .cm .cm__btn { min-height: 44px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
