/* Zonefold marketing site. Tokens match the app (src/app/globals.css): concrete neutrals, loop teal. */
@font-face { font-family: "IBM Plex Sans"; src: url(/fonts/ibmplexsans.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --canvas: #eceeed; --surface: #fff; --surface-2: #f5f7f6;
  --ink: #111c1b; --ink-2: #44514f; --ink-3: #5d6a67;
  --line: #d6dcda; --accent: #0b6b65; --accent-ink: #fff; --accent-soft: #d9ecea;
  --radius: 14px; --shadow: 0 1px 2px rgb(17 28 27 / 6%), 0 12px 32px -12px rgb(17 28 27 / 18%);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #111716; --surface: #192220; --surface-2: #202b28;
    --ink: #edf2ef; --ink-2: #c0cec8; --ink-3: #9eaea6;
    --line: #394641; --accent: #5ed7cb; --accent-ink: #102522; --accent-soft: #173e39;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px -12px rgb(0 0 0 / 60%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.6 "IBM Plex Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: "Archivo", "IBM Plex Sans", sans-serif; font-stretch: 87%; letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 650; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.fine { font-size: 0.85rem; color: var(--ink-3); margin-top: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.15rem; }
.brand svg { color: var(--accent); }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn-sm { margin-left: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: filter 0.15s; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); filter: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.1rem; margin-top: 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 110px) 0 0; overflow: hidden; }
.hero-grid > div { max-width: 820px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); margin-top: 24px; max-width: 680px; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.shot-hero { margin-top: 56px; margin-bottom: -2px; }

/* Proof */
.proof { background: var(--surface); border-block: 1px solid var(--line); padding: 44px 0 36px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stats li { display: grid; gap: 6px; padding-left: 18px; border-left: 3px solid var(--accent); }
.stats strong { font-family: "Archivo", sans-serif; font-stretch: 87%; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--ink); }
.stats span { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-lede { color: var(--ink-2); font-size: 1.12rem; max-width: 720px; margin-top: 18px; }
.center .section-lede { margin-inline: auto; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature p { color: var(--ink-2); margin-top: 10px; font-size: 0.98rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.two-col h2 + p { color: var(--ink-2); margin-top: 18px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li b { color: var(--ink); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(0.35em + 4px); width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps p { color: var(--ink-2); margin-top: 10px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 600; margin-bottom: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.audiences div { border-top: 3px solid var(--accent); padding-top: 18px; }
.audiences p { color: var(--ink-2); margin-top: 8px; font-size: 0.98rem; }
@media (max-width: 900px) { .audiences { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .audiences { grid-template-columns: 1fr; } }

.cta-band { background: var(--surface); border-block: 1px solid var(--line); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin-top: 10px; }

.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.95rem; }
