/* Harvest — Video ads landing page
   Theme lifted from harvestapp.ai (Figtree, off-white ground, black 2px
   buttons, #9483ff accent, gradient headings, dark gradient bands).
   Section structure follows arcads.ai. Desktop-first (1700px frame),
   restacks at 1300 / 1100 / 900 / 720. */

/* ============ Self-hosted type ============
   The Worker serves a strict CSP (font-src 'self'), so Google Fonts cannot be
   reached. Both families are OFL variable fonts; licenses sit beside them. */

@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/Figtree-Variable.ttf") format("truetype-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============ Reset & base ============ */

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, blockquote { margin: 0; }
img, video { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }

:root {
  --bg: #f8f7fa;
  --ink: #000;
  --ink-2: #666;
  --ink-soft: #e2e2e2;
  --muted: #aaa;
  --accent: #9483ff;
  --accent-line: #e0e0f7;
  --accent-soft: rgba(148, 131, 255, 0.1);
  --dark: #000;
  --card-dark: #191919;
  --card-dark-line: #282828;
  --card-light-line: #d9d9d9;
  --live: #22c55e;
  --grad-dark: linear-gradient(51.717deg, #000 59.507%, #9483ff 100.68%);
  --grad-footer: linear-gradient(-55.695deg, #000 74.981%, #9483ff 109.92%);
  --grad-heading: linear-gradient(98deg, #000 73%, #666 99%);
  --pad: 100px;
  --frame: 1700px;
  --r-media: 12px;
  --r-btn: 2px;
  --r-card: 8px;
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  min-height: 100vh;
  overflow-x: clip;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Figtree", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.frame { max-width: var(--frame); margin-inline: auto; }

/* Purple section label */
.section-sub {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--accent);
}

/* Gradient-filled display headings */
.grad-text {
  background-image: var(--grad-heading);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-inline: var(--pad);
  text-align: center;
}

.section-title {
  max-width: 1100px;
  font-size: clamp(38px, 5.5vw, 70px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-body {
  max-width: 790px;
  font-size: 18px;
  line-height: 1.3;
}

/* Hover lift shared by reels and cards */
.lift { transition: transform 0.5s ease-out; }
.lift:hover { transform: translateY(-8px); }

/* Anchored sections settle below the sticky nav */
#features, #workflow { scroll-margin-top: 90px; }

/* ============ Buttons & pills ============ */

.btn {
  display: inline-block;
  border-radius: var(--r-btn);
  padding: 20px 17px;
  line-height: 1;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  transition: background-color 0.2s, color 0.2s;
}
.btn--solid { background: var(--dark); color: var(--ink-soft); }
.btn--solid:hover { background: #333; }
.btn--outline { border: 1px solid var(--dark); color: var(--dark); }
.btn--outline:hover { background: var(--dark); color: var(--ink-soft); }
.btn--outline-dark { border: 1px solid #aaa; color: #fff; padding: 20px 40px; font-size: 18px; }
.btn--outline-dark:hover { background: #fff; color: #000; border-color: #fff; }
.btn--light { background: #fff; color: #000; padding: 20px 40px; font-size: 18px; }
.btn--light:hover { background: var(--ink-soft); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  border: 1px solid var(--accent-line);
  background: #fff;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.chip {
  display: inline-block;
  flex-shrink: 0;
  border-radius: 100px;
  border: 1px solid var(--accent-line);
  background: #fff;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}

/* ============ Reels (portrait video frames) ============ */

.reel {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--r-media);
  background: #1a1a1f;
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel--sm { aspect-ratio: 4 / 5; }
.reel--pair { aspect-ratio: 4 / 5; }

/* ============ Nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 250, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav__inner {
  display: flex;
  max-width: var(--frame);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
}
.nav__logo { width: 167px; height: 32.5px; }
.nav__menu { display: flex; align-items: center; gap: 56px; }
.nav__links { display: flex; align-items: center; gap: 44px; font-size: 18px; line-height: 1.2; text-transform: uppercase; }
.nav__links a { white-space: nowrap; transition: color 0.2s; }
.nav__links a:hover { color: var(--accent); }
.nav__ctas { display: flex; align-items: center; gap: 11px; }

/* ============ Glow blobs ============ */

.glow-blob {
  width: 620px;
  height: 1430px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(148, 131, 255, 0.85) 0%, rgba(211, 204, 255, 0.55) 55%, rgba(211, 204, 255, 0) 78%);
}
@keyframes glow-drift {
  0%, 100% { transform: rotate(var(--glow-rot, 0deg)) scale(1) translateY(0); }
  50% { transform: rotate(calc(var(--glow-rot, 0deg) - 6deg)) scale(1.07) translateY(-30px); }
}
.glow-drift { animation: glow-drift 11s ease-in-out infinite; }
/* Was an inline style attribute; the strict CSP blocks those, so it lives here. */
.glow-blob--hero { --glow-rot: 120deg; }


/* ============ Hero ============ */

.hero { position: relative; padding: 92px var(--pad) 0; overflow: hidden; }
.hero__glow {
  position: absolute; left: 50%; top: 520px; z-index: 0; pointer-events: none;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0.3;
  transition: transform 0.9s ease-out, opacity 0.9s ease-out;
}
.hero__content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 70px; }
.hero__heading { display: flex; width: 100%; max-width: 1414px; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hero__eyebrow { width: 100%; font-size: 18px; line-height: 1.2; text-transform: uppercase; }
.hero__title {
  width: 100%;
  font-size: clamp(44px, 7vw, 90px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  background-image: linear-gradient(94.235deg, #000 56.245%, #666 99.533%);
}
.hero__cta { padding: 20px 40px; font-size: 18px; }

.hero__reels { display: flex; width: 100%; align-items: flex-start; justify-content: space-between; gap: 30px; }
.hero__reel { min-width: 0; flex: 1 1 0; will-change: transform, opacity; }
.hero__reel .reel { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); }

.hero__caption { max-width: 746px; text-align: center; font-size: 18px; line-height: 1.3; padding-bottom: 20px; }

/* Entrance animation classes toggled by main.js */
html.js .hero__heading > * { opacity: 0; transform: translateY(18px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.hero.is-in .hero__heading > * { opacity: 1; transform: none; }
.hero.is-in .hero__heading > :nth-child(2) { transition-delay: 0.08s; }
.hero.is-in .hero__heading > :nth-child(3) { transition-delay: 0.16s; }
.hero.is-in .hero__heading > :nth-child(4) { transition-delay: 0.24s; }
.hero.is-in .hero__glow { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* ============ Tool marquee ============ */

.marquee { padding: 70px 0 40px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.marquee__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__row--reverse .marquee__track { animation-direction: reverse; }
.marquee__row:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Feature cards ============ */

.features { padding: 80px 0 100px; }
.features__inner { display: flex; flex-direction: column; gap: 64px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-inline: var(--pad); }
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--r-card);
  background: #fff;
  border: 1px solid var(--card-light-line);
  padding: 24px;
  transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.25); }
.feature-card h3 { font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.feature-card p { font-size: 18px; line-height: 1.3; color: #333; }

/* ============ Workflow (dark band) ============ */

.workflow { overflow-x: clip; background-image: var(--grad-dark); color: var(--ink-soft); }
.workflow__inner { display: flex; justify-content: space-between; align-items: center; gap: 60px; padding: 110px var(--pad); }
.workflow__text { display: flex; width: 560px; flex-shrink: 0; flex-direction: column; gap: 32px; }
.workflow__h2 { font-size: clamp(38px, 5.5vw, 70px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.workflow__body { max-width: 548px; font-size: 18px; line-height: 1.3; }
.workflow__text .btn { align-self: flex-start; }

.workflow__mock { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 820px; min-width: 0; }

.chat-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--r-card);
  border: 1.56px solid var(--card-dark-line);
  background: var(--card-dark);
  padding: 22px;
  font-family: "Inter", sans-serif;
}
.chat-card__bubble { max-width: 78%; border-radius: 10px; background: #242424; padding: 12px 14px; font-size: 14px; line-height: 1.4; color: #e2e2e2; }
.chat-card__bubble--user { align-self: flex-end; background: #3b2f8f; color: #fff; }
.chat-card__creatives { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.creative { display: flex; flex-direction: column; gap: 8px; }
.creative .reel { border-radius: 8px; }
.creative p { font-size: 12.5px; line-height: 1.35; color: #cfcfcf; }
.chat-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--card-dark-line); padding-top: 14px; }
.chat-card__btns { display: flex; gap: 8px; }

.toolbar__label { display: flex; align-items: center; gap: 12px; font-size: 13.7px; line-height: 1; }
.toolbar__key { color: var(--muted); }
.toolbar__value { font-weight: 600; color: #fff; }
.tbtn { border-radius: 2px; border: 0.5px solid #aaa; background: #000; padding: 10px 10px; line-height: 1; color: #fff; transition: background-color 0.2s; }
.tbtn:hover { background: #222; }
.tbtn--small { font-size: 11.8px; }
.tbtn--approve { background: #fff; color: #000; border-color: #fff; }
.tbtn--approve:hover { background: var(--ink-soft); }

.workflow__metrics { display: flex; gap: 18px; font-family: "Inter", sans-serif; }
.metric-card { flex: 1; min-width: 0; border: 1.56px solid var(--card-dark-line); background: var(--card-dark); padding: 26px; }
.metric-card__top { display: flex; flex-direction: column; gap: 9px; }
.metric-card__label { font-size: 16px; color: var(--muted); }
.metric-card__value { font-size: 40px; font-weight: 600; line-height: 1.2; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.metric-card__low { display: block; margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ============ Ad-results wall ============ */

.wall { padding: 100px 0 0; display: flex; flex-direction: column; gap: 64px; }
.wall__viewport {
  height: 900px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}
.wall__cols { display: flex; justify-content: center; gap: 30px; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }
.wall__col { display: flex; flex-direction: column; gap: 30px; flex: 1 1 0; min-width: 0; animation: wall-down var(--wall-dur, 60s) linear infinite; }
.wall__col--up { animation-name: wall-up; }
.wall__cols:hover .wall__col { animation-play-state: paused; }
/* Bryan's Version: 6 cards (2 / 2 / 2). Columns are cloned once for the loop,
   so hide the 3rd and 4th card of every 4. */
[data-mix="bryan"] .wall__col .ad-card:nth-child(4n + 3),
[data-mix="bryan"] .wall__col .ad-card:nth-child(4n) { display: none; }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.ad-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: var(--r-card);
  border: 1px solid var(--card-light-line);
  background: #fff;
  padding: 14px;
  font-family: "Inter", sans-serif;
}
.ad-card__top { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1; }
.ad-card__spon { color: var(--ink-2); }
.ad-card__spon::after { content: "·"; margin-left: 8px; color: var(--muted); }
.ad-card__brand { font-weight: 600; }
.ad-card__active { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; text-transform: uppercase; font-size: 10px; letter-spacing: 0.04em; color: var(--ink-2); }
.ad-card__active i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.ad-card .reel { border-radius: 6px; }
.ad-card__caption { font-size: 13px; line-height: 1.35; }
.ad-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ad-card__stats > div { display: flex; flex-direction: column; gap: 3px; border-radius: 5px; border: 1px solid var(--card-light-line); padding: 10px; }
.ad-card__stats span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); }
.ad-card__stats strong { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ad-card__stats em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--live); }

/* ============ Testimonials ============ */


/* ============ Actor grid ============ */

/* ============ Feature pairs ============ */

.pairs { padding: 100px 0; display: flex; flex-direction: column; gap: 64px; }
.pairs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-inline: var(--pad); }
.pair { display: flex; align-items: center; gap: 36px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--card-light-line); padding: 28px; }
.pair .reel { flex: 0 0 42%; }
.pair__chip {
  position: absolute; top: 14px; left: 14px;
  border-radius: 100px; background: #fff; color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 8px 12px; font-size: 12px; font-weight: 500; line-height: 1;
}
.pair__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pair__text h3 { font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.pair__text p { font-size: 18px; line-height: 1.3; color: #333; }

/* ============ Results wall ============ */


/* ============ Footer ============ */

.footer { position: relative; overflow: hidden; background-color: #000; background-image: var(--grad-footer); color: var(--ink-soft); }
.footer__scrim { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; height: 140px; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent); }
.footer__content { position: relative; z-index: 10; margin-inline: auto; max-width: var(--frame); padding: 90px var(--pad) 40px; display: flex; flex-direction: column; gap: 90px; }
.footer__head { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.footer__head h2 { max-width: 640px; font-size: clamp(34px, 5.5vw, 70px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.footer__cta { max-width: 417px; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.72px; text-transform: uppercase; }
.footer__cols { display: flex; gap: 90px; flex-wrap: wrap; }
.footer__cols > div { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer__cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom { display: flex; align-items: flex-end; justify-content: space-between; }
.footer__meta { display: flex; gap: 85px; font-size: 16px; line-height: 1.2; letter-spacing: -0.48px; text-transform: uppercase; }
.footer__legal { display: flex; flex-direction: column; gap: 4px; }
.footer__legal a:hover { color: var(--accent); }

/* ============ Animations ============ */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero__heading > * { opacity: 1; transform: none; transition: none; }
  .glow-drift, .marquee__track, .wall__col { animation: none; }
  .hero__reel { transform: none !important; opacity: 1 !important; }
}

/* ============ Responsive ============ */

@media (max-width: 1300px) {
  :root { --pad: 48px; }
  .workflow__inner { flex-direction: column; align-items: flex-start; }
  .workflow__text { width: 100%; }
  .workflow__mock { max-width: 100%; }
}

@media (max-width: 1100px) {
  .pairs__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .feature-card { flex-direction: row; align-items: center; }
  .feature-card .reel { flex: 0 0 200px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .wall__viewport { height: 720px; }
  .wall__col:nth-child(3) { display: none; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; }
  .nav__inner { padding-block: 12px; }
  .nav__logo { width: 128px; height: 25px; }
  .btn { padding: 14px 13px; font-size: 14px; }
  .hero { padding-top: 48px; }
  .hero__content { gap: 44px; }
  .hero__eyebrow { font-size: 13px; }
  .hero__reels { flex-wrap: wrap; gap: 14px; }
  .hero__reel { flex: 1 1 calc(50% - 7px); min-width: calc(50% - 7px); }
  .hero__reel:nth-child(5) { display: none; }
  .hero__caption { font-size: 16px; }
  .glow-blob { width: 340px; height: 800px; }
  .marquee { padding: 40px 0 20px; }
  .chip { padding: 11px 16px; font-size: 14px; }
  .features { padding: 48px 0 64px; }
  .feature-card { flex-direction: column; align-items: stretch; }
  .feature-card .reel { flex: none; }
  .feature-card h3 { font-size: 24px; }
  .feature-card p, .section-body, .workflow__body, .pair__text p { font-size: 16px; }
  .workflow__inner { padding-block: 64px; gap: 40px; }
  .chat-card__bubble { max-width: 100%; }
  .chat-card__creatives { gap: 8px; }
  .creative p { display: none; }
  .workflow__metrics { flex-wrap: wrap; gap: 12px; }
  .metric-card { flex: 1 1 calc(50% - 6px); padding: 18px; }
  .metric-card__value { font-size: 30px; }
  .wall { padding-top: 64px; gap: 40px; }
  .wall__viewport { height: 560px; }
  .wall__cols { gap: 14px; }
  .wall__col { gap: 14px; }
  .ad-card { padding: 10px; gap: 8px; }
  .ad-card__stats strong { font-size: 16px; }
  .pairs { padding: 64px 0; gap: 40px; }
  .pair { flex-direction: column; align-items: stretch; padding: 18px; gap: 20px; }
  .pair .reel { flex: none; aspect-ratio: 16 / 12; }
  .pair__text h3 { font-size: 26px; }
  .footer__content { padding: 64px var(--pad) 28px; gap: 48px; }
  .footer__cta { font-size: 18px; }
  .footer__cols { gap: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__meta { flex-direction: column; gap: 16px; font-size: 13px; }
}

/* ============ Early-access waitlist ============
   No inline style attributes anywhere: the Worker's CSP has no
   'unsafe-inline' for styles, so a style="" would silently not apply. */

.access {
  background: var(--bg);
  padding: 120px 0;
  border-top: 1px solid var(--card-light-line);
}

.access__inner {
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.access__title {
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 12px;
}

.access__body {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}

.access__form { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.field input,
.field select {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--card-light-line);
  border-radius: var(--r-card);
  padding: 14px 16px;
  width: 100%;
}

.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.access__submit { align-self: flex-start; }

.access__note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.form-status {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  margin: 0;
  min-height: 1.2em;
  color: var(--ink-2);
}

.form-status[data-state="error"] { color: #b4232f; }
.form-status[data-state="ok"] { color: var(--ink); }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.access__success h3 { font-size: 28px; letter-spacing: -0.01em; }
.access__success > p { margin: 10px 0 24px; color: var(--ink-2); }

/* ============ Measurement notice ============ */

.consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: var(--card-dark);
  color: #fff;
  border: 1px solid var(--card-dark-line);
  border-radius: var(--r-card);
  padding: 16px 20px;
  max-width: 760px;
  margin: 0 auto;
}

.consent p { font-family: "Inter", sans-serif; font-size: 14px; line-height: 1.45; margin: 0; }
.consent__actions { display: flex; gap: 10px; }

.consent button {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-btn);
  padding: 9px 16px;
  color: #fff;
}

.consent .consent__ok { background: #fff; color: #000; border-color: #fff; }

.measurement-choice { text-align: center; padding: 0 0 28px; margin: 0; background: var(--bg); }

.measurement-choice button {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .access { padding: 80px 0; }
  .access__inner { grid-template-columns: 1fr; gap: 40px; }
  .access__title { font-size: 36px; }
}

/* ============ Legal and error pages ============ */

.legal { max-width: 760px; margin: 0 auto; padding: 120px var(--pad) 100px; }
.legal .eyebrow { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.legal h1 { font-size: 46px; line-height: 1.08; letter-spacing: -0.02em; margin: 14px 0 28px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.legal p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; }
.legal a { text-decoration: underline; color: var(--ink); }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; background: #fff; border: 1px solid var(--card-light-line); border-radius: 4px; padding: 1px 6px; }
.legal .back { display: inline-block; margin-top: 40px; }

.oops { max-width: 640px; margin: 0 auto; padding: 160px 24px; text-align: center; }
.oops h1 { font-size: 56px; letter-spacing: -0.02em; }
.oops p { font-size: 18px; color: var(--ink-2); margin: 16px 0 32px; }

@media (max-width: 900px) {
  .legal { padding: 80px 20px 70px; }
  .legal h1 { font-size: 34px; }
  .oops { padding: 110px 20px; }
}
