/* site.css — marketing site mockup (site.html), "Field notes" direction (t-a).
   RASP colors are fixed; score zones are shades of the app's espresso. */
:root {
  --receptive: #0789a8; --adaptive: #7bb572; --supportive: #f09000; --productive: #e05753;
  --espresso: #4a3a2f;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); }
img { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); line-height: 1.15; }
p { margin: 0; }
.in { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .in { padding: 0 16px; } }
section { padding: 96px 0; }
@media (max-width: 760px) { section { padding: 64px 0; } }
.eyebrow { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
section h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; max-width: 760px; }
section .sub { color: var(--ink-2); font-size: 18px; max-width: 680px; margin-top: 16px; }
h3 { font-size: 19px; letter-spacing: -0.01em; }
.fine { font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }
.center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--body); padding: 12px 20px; border-radius: var(--btn-r); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand img { height: 26px; width: auto; display: block; filter: var(--logo-filter, none); }
.links { display: flex; gap: 26px; }
.links a, .signin { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.links a:hover, .signin:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
@media (max-width: 980px) { .links { display: none; } }
@media (max-width: 480px) { .signin { display: none; } .nav .btn { padding: 10px 14px; font-size: 14px; } }

/* hero */
.hero { padding: 80px 0 96px; position: relative; overflow: hidden; }
.hero .in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero .in { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -0.03em; line-height: 1.04; }
.hero .lede { font-size: 19px; color: var(--ink-2); margin-top: 22px; max-width: 540px; }
.hero-art { position: relative; min-height: 420px; }
.octa { position: absolute; width: 78%; right: -4%; top: -4%; opacity: var(--octa-o, 1); }
.chart-card { position: absolute; left: 0; bottom: 0; width: min(440px, 92%); padding: 18px 18px 16px; }
.cc-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin-bottom: 8px; }
.cc-head span { color: var(--ink-3); font-size: 12.5px; }
.cc-ai { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.5; }
.cc-key { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; text-align: right; }
.cc-key .dia { color: var(--ink-3); font-size: 11px; }
.ai-chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--tint); color: var(--accent); margin-right: 4px; }
@media (max-width: 960px) { .hero-art { min-height: 380px; max-width: 520px; } }

/* proof */
.proof { padding: 30px 0; border-block: 1px solid var(--line); }
.proof .in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
.proof p { color: var(--ink-2); font-size: 15px; }
.logos { display: flex; gap: 22px 44px; flex-wrap: wrap; align-items: center; }
.logos img { display: block; width: auto; filter: grayscale(1) contrast(1.2); opacity: .6; mix-blend-mode: multiply; }
.lg-prudential { height: 40px; }
.lg-deckers { height: 30px; }
.lg-toyota { height: 42px; }

/* grids */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
@media (max-width: 860px) { .cols3, .cols2 { grid-template-columns: minmax(0, 1fr); } }
.cols3 h3 { margin-bottom: 8px; }
.cols3 p, .stat p, .dim p, .steps p, .anon-grid p, .case p, .person p { color: var(--ink-2); }

/* why trust: stat cards */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
@media (max-width: 860px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.stat { padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.stat-viz { min-height: 120px; display: grid; align-items: center; }
.stat-viz.hbars { gap: 14px; align-content: center; }
.stat-viz .bar { display: grid; grid-template-columns: 80px minmax(0, 1fr) 44px; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.stat-viz .bar i { display: block; height: 14px; border-radius: 7px; background: var(--espresso); }
.stat-viz .bar:nth-child(2) i { background: color-mix(in srgb, var(--espresso) 45%, #fff); }
.stat-viz .bar b { font: 600 18px var(--display); color: var(--ink); text-align: right; }
.stat-viz.ring { position: relative; justify-items: start; }
.stat-viz.ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.stat-viz.ring circle { fill: none; stroke-width: 12; }
.stat-viz.ring .trk { stroke: color-mix(in srgb, var(--espresso) 12%, #fff); }
.stat-viz.ring .val { stroke: var(--espresso); stroke-linecap: round; }
.stat-viz.ring b { position: absolute; left: 0; width: 120px; text-align: center; font: 600 28px var(--display); color: var(--ink); }
.problem .fine { margin-top: 20px; }

/* RASP */
.dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
@media (max-width: 960px) { .dims { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dims { grid-template-columns: minmax(0, 1fr); } }
.dim { padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.dim .k { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c); color: #fff; font: 800 20px var(--display); margin-bottom: 18px; }
.dim h3 { margin-bottom: 8px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps .n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.steps h3 { margin-bottom: 6px; }

/* what you get */
.get .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .get .in { grid-template-columns: minmax(0, 1fr); } }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2 2 4-4.4' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.ticks b { color: var(--ink); }
.get-art { position: relative; height: 440px; }
.paper { position: absolute; width: 58%; aspect-ratio: 8.5 / 11; border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); background: #fff; overflow: hidden; }
.p1 { left: 4%; top: 6%; transform: rotate(-4deg); }
.p2 { right: 2%; top: 14%; transform: rotate(3deg); padding: 26px; color: #2a221d; display: flex; flex-direction: column; gap: 6px; }
.cover { position: absolute; inset: 0; background: #3b2f27; color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.cover svg { position: absolute; width: 66%; right: -14%; top: 6%; }
.cover b { font: 700 22px var(--display); position: relative; }
.cover span { font-size: 11px; opacity: .8; position: relative; text-transform: uppercase; letter-spacing: .1em; }
.p2 .big { font: 800 52px/1 var(--display); }
.p2 .zone { align-self: flex-start; font-size: 11px; font-weight: 700; background: var(--z-danger); color: var(--espresso); padding: 3px 10px; border-radius: 999px; }
.bars { display: grid; gap: 9px; margin-top: 18px; }
.bars i { display: block; height: 8px; border-radius: 4px; background: var(--supportive); position: relative; }
.bars i::after { content: ''; position: absolute; left: 0; right: -260%; top: 0; bottom: 0; background: #f1ece7; z-index: -1; border-radius: 4px; }
.bars { position: relative; z-index: 0; }
@media (max-width: 520px) { .get-art { height: 340px; } }

/* anonymity */
.anon .in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .anon .in { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.anon-grid { display: grid; gap: 22px; }
.anon-grid h3 { margin-bottom: 4px; }

/* cases */
.case { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.case .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.case h3 { margin: 10px 0 10px; font-size: 22px; }
blockquote { margin: 20px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--accent); font: 500 18px/1.45 var(--display); color: var(--ink); }
cite { display: block; font: 600 13px var(--body); font-style: normal; color: var(--ink-3); margin-top: 8px; }

/* founders */
.about h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 880px; }
.person { display: flex; gap: 20px; align-items: flex-start; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent); font: 700 20px var(--display); }
.person .role { color: var(--accent); font-weight: 600; font-size: 14px; margin: 2px 0 8px; }
.person .research-line { margin-top: 12px; font-size: 14.5px; }
.text-link { color: var(--link); font-weight: 600; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* FAQ */
.faq .in { max-width: 820px; }
.faq h2 { margin-bottom: 28px; }
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 600 18px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--ink-2); margin-top: 12px; max-width: 680px; }

/* contact */
.contact .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .contact .in { grid-template-columns: minmax(0, 1fr); } }
.contact-copy p { color: var(--ink-2); font-size: 18px; margin-top: 16px; max-width: 460px; }
.form { padding: 28px; display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form .row2 { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form select { font: 400 16px var(--body); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--field); color: var(--ink); width: 100%; }
.form .ok { color: var(--accent); font-weight: 600; }

/* legal pages (privacy.html, terms.html) */
.legal { padding: 64px 0 96px; }
.legal .in { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.02em; margin-bottom: 8px; }
.legal h2 { font-size: 28px; margin: 56px 0 4px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 19px; margin: 32px 0 8px; }
.legal p { color: var(--ink-2); margin: 10px 0 0; }
.legal p b { color: var(--ink); font-weight: 600; }

/* footer */
.foot { padding: 48px 0; border-top: 1px solid var(--line); }
.foot .in { display: flex; gap: 24px 40px; align-items: center; flex-wrap: wrap; }
.foot img { height: 22px; width: auto; filter: var(--logo-filter, none); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.foot .fine { margin: 0 0 0 auto; }

/* ═════ Theme A · Field notes: warm paper, serif display, espresso ═════ */
.t-a {
  --display: 'Fraunces', Georgia, serif; --body: 'Inter', system-ui, sans-serif;
  --bg: #f7f2ea; --card: #fffdf9; --field: #fffdf9; --ink: #2a221d; --ink-2: #5f5248; --ink-3: #998a7d;
  --line: #e8dfd3; --line-strong: #cfc2b3; --accent: #8a5a2b; --link: #8a5a2b; --tint: #efe4d5;
  --primary: #3b2f27; --on-primary: #fff; --btn-r: 999px; --r: 14px; --shadow: 0 1px 2px rgba(60, 40, 20, .05);
  /* zones: shades of the app's espresso (same mix as the app's "brand" zones) */
  --z-danger: color-mix(in srgb, var(--espresso) 26%, #fff);
  --z-comfort: color-mix(in srgb, var(--espresso) 12%, #fff);
  --z-growth: color-mix(in srgb, var(--espresso) 4%, #fff);
  --alt: #efe6d9; --band: #3b2f27;
}

/* White background (chosen): page, alternating sections, cards and the dark contact band. */
.t-a[data-bg="white"] {
  --bg: #ffffff; --alt: #f5f3ef; --card: #ffffff; --field: #faf9f7; --tint: #f0ebe4;
  --line: #ece7e0; --line-strong: #d6cfc5; --band: #2a221d; --primary: #2a221d;
}
.t-a h1, .t-a section h2 { font-weight: 500; }
.t-a .hero h1 { font-weight: 400; letter-spacing: -0.035em; }
.t-a .octa { opacity: .9; width: 70%; }
.t-a .problem, .t-a .how, .t-a .anon, .t-a .who { background: var(--alt); }
.t-a .steps .n { border: 0; font: 500 40px/1 var(--display); width: auto; height: auto; justify-content: start; }
.t-a .contact { background: var(--band); }
.t-a .contact h2, .t-a .contact-copy p { color: #fff; }
.t-a .contact-copy p { opacity: .8; }


/* ── RASP: white cards with a big solid letter tile and a colored base (chosen style) ── */
[data-rasp="tile"] .dim { padding: 26px 24px 30px; border-bottom: 6px solid var(--c); box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 14%, transparent); }
[data-rasp="tile"] .dim .k { width: 64px; height: 64px; border-radius: 16px; font: 600 34px var(--display); box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 35%, transparent); }
/* ── Who it's for ── */
.personas { margin-top: 44px; }
.persona { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.persona .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.persona h3 { font-size: 22px; }
.persona p { color: var(--ink-2); margin-bottom: 14px; }
.persona .btn { align-self: flex-start; margin-top: auto; }
.compare-wrap { margin-top: 32px; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: var(--primary); color: var(--on-primary); font: 600 15px var(--body); }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare td { width: 24%; color: var(--ink-2); font-size: 14px; }
.compare td.y { color: var(--accent); font-weight: 700; font-size: 17px; }
.compare td.n { color: var(--ink-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 640px) { .compare { min-width: 0; font-size: 14px; } .compare th, .compare td { padding: 12px 10px; } .compare thead th { font-size: 13px; } .compare td { width: auto; font-size: 13px; } }

/* ── Scrolling logo strip (logos.js fills every [data-logo-strip]; home page and About page) ── */
.marquee { --logo-scale: 1; overflow: hidden; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; padding: 0 calc(26px * var(--logo-scale) + 10px); }
.marquee-track img { display: block; width: auto; height: calc(var(--h) * 1px * var(--logo-scale)); filter: grayscale(1) contrast(1.2); opacity: .6; mix-blend-mode: multiply; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.still { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.marquee.still .marquee-track { animation: none; }
/* home: shares the row with the "1,000+ teams" line, so smaller logos */
.proof .marquee { --logo-scale: .72; flex: 1 1 360px; }
.proof .in { flex-wrap: nowrap; }
@media (max-width: 760px) { .proof .in { flex-wrap: wrap; } .proof .marquee { flex-basis: 100%; } }
