/* Z Insights funnel v2. Base: the champagne fluid-chrome art Aydan chose on 10 Oct 2026. Display Zodiak (ITF, Fontshare FFL), text Archivo (OFL). */
@font-face { font-family: 'Zodiak'; src: url('/assets/fonts/zodiak-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  color-scheme: dark;
  --g0: #000000; --g1: #0A0A0B; --g2: #121214; --g3: #1B1B1E;
  --line: #2E2E33; --line-strong: #6B6B72;
  --text: #ECE9E2; --text-2: #A8A59E; --text-3: #8A8780;
  --champagne: #D6C29A; --champagne-hover: #E6D6B3; --champagne-press: #B8A274; --on-champagne: #0B0A08;
  --chrome: #C9CDD2;
  --error: #E07A6B;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;
  --r: 2px;
  --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-state: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 120ms; --dur-base: 180ms; --dur-slow: 600ms;
  --display: 'Zodiak', Georgia, serif;
  --sans: 'Archivo', 'Helvetica Neue', Helvetica, sans-serif;
  --mono: 'Archivo', 'Helvetica Neue', Helvetica, sans-serif;
  --font-display: var(--display); --font-body: var(--sans);
  --side: 16px;
  /* Left edge of all content: the .wrap column, so nav, hero copy and footer line up with every section. */
  --inset: max(var(--side), calc((100vw - 1200px) / 2));
}
@media (min-width: 720px) { :root { --side: 48px; } }
@media (min-width: 1100px) { :root { --side: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--g0); color: var(--text);
  font: 400 17px/1.55 var(--sans); font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased; min-height: 100svh;
  display: flex; flex-direction: column; overflow-x: hidden;
}
main { flex: 1; }
body > main { width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--champagne); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
::selection { background: var(--champagne); color: var(--on-champagne); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--side); top: var(--s2); background: var(--g3); padding: var(--s2) var(--s3); z-index: 50; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
h1 { font-size: clamp(2.6875rem, 1.5rem + 4.6vw, 5.25rem); line-height: 1.04; max-width: 18ch; }
h2 { font-size: 32px; line-height: 1.1; font-weight: 500; max-width: 22ch; }
@media (min-width: 720px) { h2 { font-size: 40px; } }
h3 { font-size: 30px; line-height: 1.2; font-weight: 500; }
.accent { color: var(--champagne); }
.lead { font-size: 21px; line-height: 1.45; color: var(--text-2); max-width: 46ch; margin: var(--s5) 0 0; }
@media (min-width: 720px) { .lead { font-size: 23px; } }
.body { max-width: 62ch; color: var(--text-2); }
.body p { margin: 0 0 var(--s4); }
.mono { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.caption { font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--text-3); }

/* Nav */
.nav {
  height: 56px; padding: 0 var(--inset); display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 5;
}
@media (min-width: 720px) { .nav { height: 72px; } }
.wordmark { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--chrome); }
.wordmark svg { width: 30px; height: auto; }
.wordmark span { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: 0.28em; }
.path { font-size: 14px; color: var(--text-3); display: none; }
.path b { color: var(--text-2); font-weight: 500; }
@media (min-width: 720px) { .path { display: block; } }
.progress { display: flex; align-items: center; gap: var(--s3); }
.progress .mono { color: var(--text-2); }
.progress-rule { width: 96px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.progress-rule i { position: absolute; inset: 0; background: var(--champagne); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform 260ms var(--ease-out); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px;
  border-radius: var(--r); border: 1px solid transparent; font: 600 16px/1 var(--sans); text-decoration: none;
  cursor: pointer; transition: background-color var(--dur-fast) var(--ease-state), transform 90ms; white-space: nowrap;
}
.btn-primary { background: var(--champagne); color: var(--on-champagne); }
.btn-primary:hover { background: var(--champagne-hover); }
.btn-primary:active { background: var(--champagne-press); transform: translateY(1px); }
.btn-primary[disabled] { background: var(--g3); color: var(--text-3); cursor: not-allowed; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--g3); }
.btn-text { background: none; border: 0; color: var(--text-2); font: 500 16px var(--sans); padding: 0; height: 52px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.btn-text:hover { color: var(--text); }
@media (max-width: 719px) { .btn-block-m { width: 100%; } }

/* Layout */
.wrap { padding: 0 var(--side); max-width: calc(1200px + 2 * var(--side)); margin: 0 auto; }
.band { padding: var(--s9) 0; }
.band-alt { background: var(--g1); }
@media (min-width: 1100px) { .band { padding: var(--s10) 0; } }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: var(--s7) var(--inset) max(var(--s7), env(safe-area-inset-bottom)); background: var(--g0); position: relative; z-index: 2; }
.foot p { font-size: 14px; line-height: 1.55; color: var(--text-2); max-width: 88ch; margin: 0 0 var(--s3); }
.foot .foot-row { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); font-size: 14px; color: var(--text-3); }
.foot-links { display: inline-flex; gap: var(--s5); white-space: nowrap; }

/* Fields */
.field { margin: 0 0 var(--s6); }
.field label, .field .label { display: block; font: 500 13px/1.4 var(--sans); color: var(--text-2); margin-bottom: var(--s2); }
.field .hint { font-size: 15px; color: var(--text-3); margin: calc(-1 * var(--s1)) 0 var(--s3); }
.input {
  width: 100%; height: 56px; padding: 0 var(--s4); background: var(--g2); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--r); font: 400 16px var(--sans);
  transition: border-color var(--dur-fast);
}
textarea.input { height: auto; min-height: 144px; padding: var(--s4); resize: vertical; line-height: 1.5; }
.input:focus { border-color: var(--champagne); outline: 2px solid var(--champagne); outline-offset: 3px; }
.input[aria-invalid='true'] { border-color: var(--error); }
.counter { display: block; text-align: right; margin-top: var(--s2); }
.err { display: flex; gap: var(--s2); align-items: flex-start; color: var(--error); font-size: 15px; margin-top: var(--s2); }
.err[hidden] { display: none; }
.err svg { flex: none; margin-top: 3px; }

/* Option rows (native radios) */
.options { display: grid; gap: var(--s3); border: 0; padding: 0; margin: 0; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; gap: var(--s4); min-height: 60px; padding: var(--s3) var(--s4);
  background: var(--g2); border: 1px solid var(--line-strong); border-radius: var(--r); font-size: 17px;
  transition: background-color 150ms, border-color 150ms;
}
.opt span::before { content: ''; flex: none; width: 12px; height: 12px; border: 1px solid var(--line-strong); }
.opt input:hover + span { background: var(--g3); }
.opt input:checked + span { background: var(--g3); border-color: var(--champagne); }
.opt input:checked + span::before { background: var(--champagne); border-color: var(--champagne); }
.opt input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 3px; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: 16px; color: var(--text); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--champagne); }

/* The Eye */
/* The Eye: real chrome logo + live pupil (eye.js) */
.eye { position: relative; display: block; width: 100%; }
.eye-mark { width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.pupil {
  position: absolute; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.95) 0 6%, rgba(255,255,255,0) 14%),
    radial-gradient(circle at 50% 50%, #0b0b0c 0 52%, #2a2723 64%, #cfc6b5 74%, #f4efe6 79%, #6f6a62 86%, #15140f 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 4px 14px rgba(0,0,0,.6);
  transition: width 420ms var(--ease-out);
  will-change: transform;
}
.mark .pupil { box-shadow: none; }

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

/* Small screens: keep the nav to one line */
.progress .mono { white-space: nowrap; }
@media (max-width: 479px) {
  .progress-rule { width: 56px; }
  .nav:has(.progress) .wordmark span:not(.mark) { display: none; }
}


/* Cookie choice for the Meta pixel (shown only when a pixel ID is set). Both buttons look the same on purpose. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); padding: var(--s4) var(--side) max(var(--s4), env(safe-area-inset-bottom)); background: #0b0b0c; border-top: 1px solid var(--line-strong); }
.consent p { margin: 0; flex: 1 1 420px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.consent a { color: var(--text); }
.consent-row { display: flex; gap: var(--s3); }
.consent .btn { height: 44px; padding: 0 22px; }
@media (max-width: 479px) { .consent-row { width: 100%; } .consent .btn { flex: 1; } }
