/* ════════════════════════════════════════════════════════════════════
   cv.json — editorial / minimal / mono-forward. One accent. No gradients.
   ════════════════════════════════════════════════════════════════════ */
:root {
  --bg:     #0a0a0c;
  --bg-2:   #0e0e12;
  --ink:    #f1f1f4;
  --muted:  #9a9aa3;
  --dim:    #61616c;
  --line:   rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #5eead4;            /* mint — "valid / machine-readable / live" */
  --accent-2: #34d399;
  --accent-soft: rgba(94, 234, 212, 0.10);
  --red:    #f87171;
  --paper:  #f6f5f1;            /* the PDF */
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* faint top vignette + a near-invisible grid — texture, not decoration */
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(94,234,212,0.05), transparent 60%),
    linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px, 52px 52px;
}
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
.ac { color: var(--accent); }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:where(a, button, .btn, .burger):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.mt { margin-top: 26px; }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem; cursor: pointer;
  padding: 11px 20px; border-radius: 9px; border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.16s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--accent); color: #06201b; font-weight: 700; }
.btn-primary:hover { background: #79f0dd; transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

/* ── nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 22px;
  max-width: var(--wrap); margin: 0 auto; padding: 16px 28px;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
}
.nav.scrolled { background: rgba(10,10,12,0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 11px 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand-mark { font-family: var(--mono); color: var(--accent); font-weight: 700; font-size: 0.95em; }
.brand-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: 10px; margin-right: auto; }
.nav-links a { font-size: 0.9rem; color: var(--muted); transition: color 0.18s; }
.nav-links a:hover { color: var(--ink); }
.nav-gh { font-family: var(--mono); font-size: 0.82rem !important; }
.nav-btn { background: transparent; color: var(--ink); border: 1px solid var(--line-2); padding: 8px 16px; font-size: 0.86rem; }
.nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-drawer-cta { display: none; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s; }
.burger.open span:first-child { transform: translateY(7px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* ── shared section bits ─────────────────────────────────── */
.band { padding: 100px 0; }
.line-top { border-top: 1px solid var(--line); }
.kick { display: inline-block; font-family: var(--mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
h3 { font-weight: 700; }
.sub { font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--muted); margin-top: 16px; max-width: 580px; line-height: 1.6; }
.sub em { font-style: normal; color: var(--ink); }
.sec-head { margin-bottom: 52px; max-width: 680px; }
.sec-head .sub { margin-left: 0; margin-right: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── hero ────────────────────────────────────────────────── */
.hero { padding: 90px 0 70px; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; display: inline-block; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; margin: 26px 0 24px; }
.hero .lede { font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--muted); max-width: 620px; line-height: 1.55; }
.hero .lede strong { color: var(--ink); font-weight: 700; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.center-actions { justify-content: center; }
.hero-meta { margin-top: 30px; font-family: var(--mono); font-size: 0.82rem; color: var(--dim); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hero-meta a { color: var(--muted); } .hero-meta a:hover { color: var(--accent); }
.hero-meta .dot { opacity: 0.5; }

/* ── THE PROOF (scan comparison) ─────────────────────────── */
.proof { padding: 60px 0 100px; }
.proof .sec-head { margin: 0 auto 48px; text-align: center; max-width: 680px; }
.proof .sub { margin-left: auto; margin-right: auto; }
.scan-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.scan-vs { align-self: center; font-family: var(--mono); font-size: 0.86rem; color: var(--dim); }
.scan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); overflow: hidden; }
.scan.good { border-color: rgba(94,234,212,0.28); box-shadow: 0 0 70px -34px rgba(94,234,212,0.5); }
.scan-cap { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.tag { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.tag.bad { background: rgba(248,113,113,0.12); color: var(--red); }
.tag.ok { background: var(--accent-soft); color: var(--accent); }

/* PDF paper */
.paper { position: relative; margin: 16px; padding: 18px 20px; border-radius: 8px; background: var(--paper); color: #1f2430; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(0,0,0,0.7); flex: 1; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 64px; background: linear-gradient(180deg, rgba(248,113,113,0) 0%, rgba(248,113,113,0.10) 60%, rgba(248,113,113,0.4) 92%, rgba(248,113,113,0.05) 100%); border-bottom: 2px solid rgba(248,113,113,0.9); box-shadow: 0 2px 20px 2px rgba(248,113,113,0.45); animation: scan 4s cubic-bezier(.5,0,.3,1) infinite; z-index: 3; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-64px); } 100% { transform: translateY(260px); } }
.p-name { font-size: 15px; font-weight: 800; color: #0f1320; }
.p-meta { font-size: 10.5px; color: #6b7280; margin-top: 2px; }
.p-rule { height: 1px; background: #dedbd2; margin: 11px 0 9px; }
.p-h { font-size: 8.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #9aa0ac; margin: 10px 0 4px; }
.p-row { font-size: 10.5px; color: #4b5563; margin-top: 2px; }
.p-b { font-weight: 700; color: #1f2937; }

/* json window (proof) */
.jsonwin { position: relative; flex: 1; margin: 16px; padding: 16px 18px; border-radius: 8px; background: #08080a; border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; line-height: 1.65; color: var(--dim); overflow: hidden; min-height: 188px; }
.jsonwin .k { color: #7dd3fc; } .jsonwin .s { color: var(--accent); } .jsonwin .n { color: #fca5a5; }
.scan-cursor { position: absolute; left: 16px; right: 16px; top: 16px; height: 17px; background: rgba(94,234,212,0.10); border-bottom: 1.5px solid rgba(94,234,212,0.8); box-shadow: 0 0 16px 1px rgba(94,234,212,0.4); animation: scanj 4s cubic-bezier(.5,0,.3,1) infinite; pointer-events: none; }
@keyframes scanj { 0% { transform: translateY(0); opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { transform: translateY(150px); opacity: 0; } }

/* readout (extracted fields) */
.readout { border-top: 1px solid var(--line); padding: 14px 18px 16px; font-family: var(--mono); font-size: 11px; }
.readout-h { color: var(--dim); margin-bottom: 8px; font-size: 10px; letter-spacing: 0.05em; }
.r-line { display: flex; gap: 10px; padding: 2px 0; }
.rk { color: var(--muted); min-width: 48px; }
.rv.err { color: var(--red); }
.rv.ok { color: var(--accent); }
.proof-foot { text-align: center; color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 48px auto 0; line-height: 1.6; }
.proof-foot strong { color: var(--ink); }

/* ── two-column (why / example) ──────────────────────────── */
.two { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.two-rev .two-l { order: 0; }
.two-l { position: sticky; top: 100px; }
.rows { list-style: none; display: flex; flex-direction: column; }
.rows li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows .n { font-family: var(--mono); font-size: 0.82rem; color: var(--accent); padding-top: 3px; }
.rows b { display: block; font-size: 1.06rem; font-weight: 700; margin-bottom: 5px; }
.rows span { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.rows code { color: var(--accent); font-size: 0.86em; background: var(--accent-soft); padding: 1px 6px; border-radius: 5px; }

/* ── steps ───────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { padding-top: 22px; border-top: 1px solid var(--line-2); }
.step-n { font-family: var(--mono); font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.step h3 { font-size: 1.2rem; margin: 12px 0 8px; }
.step p { font-size: 0.96rem; color: var(--muted); line-height: 1.6; }
.step code { color: var(--accent); font-size: 0.88em; }

/* ── example code window ─────────────────────────────────── */
.codewin { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #08080a; box-shadow: 0 40px 90px -50px #000; }
.codewin-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.codewin-bar .cd { width: 11px; height: 11px; border-radius: 50%; }
.codewin-bar .r { background: #ff5f56; } .codewin-bar .y { background: #ffbd2e; } .codewin-bar .g { background: #27c93f; }
.codewin-url { margin-left: 8px; font-family: var(--mono); font-size: 0.76rem; color: var(--dim); }
.codewin-body { padding: 20px; font-family: var(--mono); font-size: 0.78rem; line-height: 1.75; overflow-x: auto; max-height: 480px; min-height: 380px; color: var(--dim); }
.codewin-body .k { color: #7dd3fc; } .codewin-body .s { color: var(--accent); } .codewin-body .n { color: #fca5a5; }

/* ── the standard ────────────────────────────────────────── */
.cmp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cmp { padding: 26px; border-right: 1px solid var(--line); }
.cmp:last-child { border-right: 0; }
.cmp-vs { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.cmp b { display: block; font-size: 1.04rem; margin: 10px 0 8px; }
.cmp p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; }
.dev { margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 8px 24px; }
.dev-row { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dev-row:last-child { border-bottom: 0; }
.dev-k { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); min-width: 90px; }
.dev-row code { font-size: 0.82rem; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 6px; overflow-wrap: anywhere; }
.soon { font-family: var(--mono); font-size: 0.66rem; font-weight: 600; color: #0a0a0c; background: var(--accent); padding: 2px 7px; border-radius: 100px; }

/* ── faq ─────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.qa { padding: 26px 0; border-bottom: 1px solid var(--line); }
.qa h3 { font-size: 1.1rem; margin-bottom: 9px; }
.qa p { font-size: 0.98rem; color: var(--muted); line-height: 1.65; }
.qa code { color: var(--accent); font-size: 0.9em; }

/* ── end / cta ───────────────────────────────────────────── */
.end { padding: 110px 0; border-top: 1px solid var(--line); text-align: center; }
.maker-why { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin: 0 auto 28px; line-height: 1.65; }
.end h2 { max-width: 680px; margin: 0 auto; }
.end .actions { margin-top: 34px; }

/* ── footer ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-l { max-width: 300px; }
.foot-l p { font-size: 0.9rem; color: var(--muted); margin: 12px 0 14px; }
.foot-mit { font-family: var(--mono); font-size: 0.76rem; color: var(--dim); }
.foot-cols { display: flex; gap: 52px; flex-wrap: wrap; }
.foot-cols > div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols b { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); margin-bottom: 3px; }
.foot-cols a { font-size: 0.9rem; color: var(--muted); }
.foot-cols a:hover { color: var(--accent); }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-btn { display: none; }
  .burger { display: flex; margin-left: auto; }
  .two, .two-rev { grid-template-columns: 1fr; gap: 36px; }
  .two-l { position: static; }
  .scan-grid { grid-template-columns: 1fr; gap: 14px; }
  .scan-vs { padding: 4px 0; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp { border-right: 0; border-bottom: 1px solid var(--line); }
  .cmp:last-child { border-bottom: 0; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px; align-items: stretch;
    position: fixed; top: 58px; left: 14px; right: 14px; z-index: 99;
    background: rgba(12,12,16,0.98); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 1px solid var(--line-2); border-radius: 14px; padding: 12px; margin: 0;
  }
  .nav-links.open a { padding: 12px 14px; border-radius: 9px; font-size: 1rem; }
  .nav-links.open .nav-drawer-cta { display: inline-flex; justify-content: center; background: var(--accent); color: #06201b; font-weight: 700; margin-top: 6px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .band { padding: 72px 0; }
  .hero { padding: 50px 0 50px; }
  .btn-lg { width: 100%; justify-content: center; }
  .actions { width: 100%; }
  .dev-row { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scanline, .scan-cursor { animation: none !important; }
  .scanline { display: none; } .scan-cursor { display: none; }
}
