/* Direction C. Bold editorial. Fraunces + Outfit. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/fraunces.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/outfit.woff2") format("woff2");
}

:root {
  --bg: #0B1F18;
  --card: #14352A;
  --text: #F4F8F4;
  --muted: #C5D5CC;
  --accent: #D6FF4A;
  --ink: #102016;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scroll-padding-bottom: 96px; scrollbar-color: #245043 var(--bg); }
::selection { background: var(--accent); color: var(--ink); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}
main { flex: 1 0 auto; }
p { margin: 0; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
h1 { font-size: clamp(44px, 5.2vw, 68px); line-height: 1.08; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; }
h3 { margin: 0; font-size: 22px; font-weight: 650; text-wrap: balance; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -64px; background: var(--accent); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 40; font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }

.top { position: sticky; top: 0; z-index: 30; background: var(--bg); }
.bar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 22px; white-space: nowrap; }
.logo:hover, .foot a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 700; text-decoration: none; font-size: 16px; white-space: nowrap; }
.btn:hover { background: #e7ff86; }
.btn:active { transform: translateY(1px); }
.top .btn { display: none; flex: none; background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.top .btn:hover { background: var(--accent); color: var(--ink); }
.top .btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (min-width: 801px) { .top .btn { display: inline-flex; } }
.legal-page .top .btn { display: inline-flex; }
.legal-page .bar { height: auto; padding-block: 10px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.marquee { overflow: hidden; margin-top: 8px; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.track { display: flex; width: max-content; animation: slide 22s linear infinite; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--accent); }
.track span { white-space: nowrap; padding-right: 32px; }
.marquee:hover .track,
.marquee:focus-within .track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 480px) { .track { font-size: 18px; } }

.hero { padding: 32px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: start; }
.lede { margin: 20px 0 24px; max-width: 36rem; color: var(--muted); font-size: 20px; }
.when { margin-top: 12px; color: var(--accent); font-weight: 650; }
.tilt { transform: rotate(-2deg); transform-origin: 60% 30%; margin: 16px 36px 36px 0; }
.sample { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.window { background: var(--card); border-radius: 28px; padding: 18px; box-shadow: 8px 12px 0 var(--accent); }
.scores { display: grid; gap: 8px; }
.score { display: flex; justify-content: space-between; gap: 8px; background: #0B1F18; border-radius: 12px; padding: 10px 12px; font-weight: 650; }
.pill.yes { color: var(--accent); }
.pill.no { color: var(--muted); }
.block { margin-top: 14px; }
.k { color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.block ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.block li { font-size: 16px; }
.hero-side { display: grid; gap: 12px; align-content: start; }
.chat { background: #10281F; border-radius: 20px; padding: 16px; }
.chat-caption { font-size: 12px; color: var(--accent); margin-bottom: 8px; }
.bubble { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin-bottom: 10px; }
.firms { display: grid; gap: 8px; color: var(--muted); }
.firms strong { color: var(--text); display: block; }
.missing { margin-top: 10px; color: var(--accent); }

.features { padding: 24px 0 48px; }
.features h2 { margin-bottom: 20px; }
.stack { display: grid; gap: 16px; }
.card { display: grid; grid-template-columns: minmax(210px, 240px) 1fr; gap: 20px; background: var(--card); border-radius: 24px; padding: 20px; align-items: center; }
.card p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.visual { background: #0B1F18; border-radius: 16px; padding: 12px; min-height: 92px; }
.q { height: 8px; border-radius: 99px; background: #245043; margin-bottom: 6px; }
.q.on { background: var(--accent); width: 70%; }
.bits { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; }
.bit { background: var(--accent); color: var(--ink); border-radius: 99px; padding: 4px 8px; font-size: 12px; font-weight: 700; }
.bit.dim { background: #245043; color: var(--text); }
.nm { font-size: 13px; padding: 4px 0; }
.bars i { display: block; height: 8px; border-radius: 99px; background: var(--accent); margin-bottom: 6px; }
.bars i:nth-child(1) { width: 90%; }
.bars i:nth-child(2) { width: 60%; }
.bars i:nth-child(3) { width: 40%; }

.tagline { padding: 48px 0; }
.tagline .line { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; }
.tagline .btn { margin-top: 24px; }
.tagline.armed .word { opacity: 0.55; }
.tagline.run .word { opacity: 1; transition: opacity 0.5s var(--ease); }

.pair, .final { padding: 16px 0 48px; }
.pair-grid { display: grid; gap: 16px; }
.who-card, .faq-panel { background: var(--card); border-radius: 28px; padding: 28px; }
.who-card p { margin-top: 12px; color: var(--muted); max-width: 40rem; font-size: 22px; line-height: 1.55; }
.faq-item + .faq-item { margin-top: 10px; }
.acc { width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 60px; padding: 12px 16px; border: 0; border-radius: 16px; background: #0B1F18; color: var(--text); font: inherit; font-weight: 650; text-align: left; cursor: pointer; }
.acc:hover { background: #123028; }
.chev { transition: transform 0.45s var(--ease); flex: none; }
.is-open .chev { transform: rotate(180deg); }
.panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.is-open .panel { grid-template-rows: 1fr; }
.panel-inner { overflow: hidden; }
.panel p { padding: 8px 16px 16px; color: var(--muted); }
.final-card { background: var(--accent); color: var(--ink); border-radius: 32px; padding: 36px; }
.final-card h2 { color: var(--ink); }
.final-card .btn { margin-top: 16px; background: var(--ink); color: var(--accent); }
.final-card .btn:hover { background: #06110c; }
.final-card :focus-visible { outline-color: var(--ink); }

.site-footer { padding: 24px 0 48px; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); }
.foot a { color: var(--text); min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 650; }
.foot-links { display: inline-flex; gap: 12px; white-space: nowrap; align-items: center; }
.dock { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 35; }
.dock .btn { width: auto; }
.dock.is-on { display: block; }
body.has-dock { padding-bottom: 88px; }
@media (min-width: 801px) { .dock, .dock.is-on { display: none; } body.has-dock { padding-bottom: 0; } }
.legal { padding: 48px 0 72px; }
.legal h1 { margin-bottom: 20px; }
.legal h2,
.legal h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; margin: 48px 0 14px; }
.legal h2 + p,
.legal h3 + p,
.legal p + p,
.legal ul,
.legal ol { margin-top: 16px; color: var(--muted); max-width: 60ch; }
.legal ul,
.legal ol { padding-left: 1.2em; }
.legal li + li { margin-top: 8px; }

@media (max-width: 800px) {
  .hero-grid, .card { grid-template-columns: 1fr; }
  .tilt { transform: none; margin: 8px 0 0; }
  .window { box-shadow: 0 12px 0 var(--accent); }
  .legal-page .logo { font-size: 18px; }
  .legal-page .top .btn { padding-inline: 14px; }
}
@media (min-width: 801px) {
  .stack { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .pair-grid { grid-template-columns: 5fr 7fr; align-items: stretch; }
  .hero-side { gap: 64px; }
  .legal h2,
  .legal h3 { margin-top: 56px; }
}
@media (max-width: 360px) {
  .legal-page .logo { font-size: 16px; }
  .legal-page .top .btn { min-height: 44px; padding-inline: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { overflow-x: auto; overflow-y: hidden; mask-image: none; scrollbar-width: none; scroll-snap-type: x proximity; }
  .marquee::-webkit-scrollbar { display: none; }
  .track { animation: none; flex-wrap: nowrap; }
  .track span { scroll-snap-align: start; }
  .track .dup { display: none; }
  .tagline.armed .word, .tagline.run .word { opacity: 1; transition: none; }
  .panel, .chev { transition: none; }
}
