:root {
  /* Palette — scraped from cvboost.nanocorp.app */
  --paper: #f4f7f5;
  --paper-2: #eef5f1;
  --white: #fff;
  --ink: #17211d;
  --ink-2: #3f4c46;
  --muted: #6f7b75;
  --txt-2: #425049;
  --txt-3: #718078;
  --green: #176b4d;
  --green-dark: #10543c;
  --green-soft: #e5f2eb;
  --green-line: #cae7d6;
  --line: #d9e2dd;
  --border: #d8e1dc;
  --border-hl: #b9c8c0;
  --blue: #276a82;
  --coral: #a94f41;
  --track: #e2e9e5;
  /* Type */
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; text-wrap: balance; }

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

a { color: inherit; }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: 24px; }

/* ---------- Brand ---------- */
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { flex: 0 0 34px; width: 34px; height: 34px; }
.brand-wordmark { font-family: var(--font-heading); font-weight: 800; font-size: 20px; line-height: 1; }
.brand-wordmark .accent { color: var(--green); }

/* ---------- Nav ---------- */
.nav { border-bottom: 1px solid var(--line); background: rgba(244,247,245,.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--green); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; font-family: var(--font-body); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: all .18s var(--ease-inout); }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.btn-primary { background: var(--green); color: #fff; padding: 14px 26px; box-shadow: 0 10px 24px #176b4d38; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 14px 30px #176b4d4a; }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-hl); padding: 13px 24px; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { background: var(--white); padding: 68px 0 60px; }
.hero-copy { text-align: center; max-width: 870px; margin-inline: auto; }
.hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.35rem); letter-spacing: -0.02em; margin-bottom: 20px; }
.hero-sub { max-width: 680px; margin: 0 auto 34px; color: var(--ink-2); font-size: 18px; line-height: 1.6; }

/* Input card */
.audit-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 22px; max-width: 640px; margin: 0 auto; box-shadow: 0 18px 50px #17211d12; }
.audit-card label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-3); margin-bottom: 8px; }
.audit-row { display: flex; gap: 10px; }
.audit-row input[type="url"], .audit-row input[type="text"] { flex: 1; min-width: 0; border: 1px solid var(--border-hl); border-radius: 8px; padding: 14px 16px; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--paper); transition: border-color .15s; }
.audit-row input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px #176b4d1f; }
.paste-toggle { margin-top: 10px; text-align: left; font-size: 13.5px; }
.paste-toggle button { background: none; border: none; color: var(--green); font-weight: 700; font-size: 13.5px; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-family: var(--font-body); }
.paste-area { display: none; margin-top: 10px; }
.paste-area.open { display: block; }
.paste-area textarea { width: 100%; min-height: 180px; border: 1px solid var(--border-hl); border-radius: 8px; padding: 14px 16px; font-family: var(--font-mono); font-size: 13px; line-height: 1.5; color: var(--ink); background: var(--paper); resize: vertical; }
.paste-area textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px #176b4d1f; }
.audit-note { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border-hl); display: inline-block; }

/* Capability strip */
.cap-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.cap { border: 1px dashed var(--border-hl); border-radius: 999px; padding: 7px 16px; font-size: 13.5px; color: var(--txt-2); background: var(--paper); }
.cap b { color: var(--green); font-family: var(--font-mono); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.tinted { background: var(--paper-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; display: block; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 17px; max-width: 65ch; margin-inline: auto; }

/* ---------- Sample report ---------- */
.report-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; max-width: 880px; margin: 0 auto; box-shadow: 0 24px 70px #17211d14; }
.report-top { display: flex; align-items: center; gap: 18px; padding: 24px 28px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.avatar { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 7px; border: 2px solid #cae7d6a6; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 18px; font-family: var(--font-heading); }
.report-id { flex: 1; min-width: 180px; }
.report-id .name { font-weight: 700; font-size: 17px; }
.report-id .role { color: var(--muted); font-size: 14px; }
.report-id .fictional { font-size: 12px; color: var(--txt-3); }
.score-ring { position: relative; flex: 0 0 74px; width: 74px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--pct) * 1%), var(--track) 0); display: grid; place-items: center; }
.score-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--white); }
.score-ring .val { position: relative; z-index: 1; font-family: var(--font-mono); font-weight: 700; font-size: 20px; color: var(--ink); }
.score-ring .val small { font-size: 11px; color: var(--txt-3); font-weight: 400; }
.score-copy { flex: none; border-left: 1px solid #cae7d63d; padding-left: 20px; min-width: 190px; }
.score-copy .lbl { font-size: 11px; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; color: var(--txt-3); }
.score-copy .verdict { font-weight: 700; font-size: 15px; color: var(--green); }

.dim-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.dim { padding: 22px 28px; border-bottom: 1px solid var(--line); }
.dim:nth-child(odd) { border-right: 1px solid var(--line); }
.dim:nth-last-child(-n+2) { border-bottom: 0; }
.dim-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; gap: 12px; }
.dim-head .dname { font-weight: 700; font-size: 15.5px; }
.dim-head .dscore { font-family: var(--font-mono); font-weight: 700; color: var(--green); font-size: 15px; }
.dim-head .dscore small { color: var(--txt-3); font-weight: 400; }
.dim .finding { font-size: 13.5px; color: var(--ink-2); }
.dim .fix { font-size: 13.5px; color: var(--txt-3); margin-top: 3px; }
.dim .fix::before { content: "→ "; color: var(--green); font-weight: 700; }
.bar { height: 5px; border-radius: 999px; background: var(--track); margin-top: 10px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--green); animation: barFill 1s var(--ease-inout) forwards; }
@keyframes barFill { from { width: 0; } }

.plan-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); text-align: center; }
.plan-cell { padding: 22px 16px; border-right: 1px solid var(--line); }
.plan-cell:last-child { border-right: 0; }
.plan-cell .p-num { font-family: var(--font-mono); font-weight: 700; font-size: 26px; color: var(--green); display: block; }
.plan-cell .p-num small { font-size: 12px; color: var(--txt-3); display: block; font-weight: 400; margin-top: 2px; }
.report-note { font-size: 12.5px; color: var(--txt-3); text-align: center; padding: 14px 28px 20px; border-top: 1px dashed var(--border); background: var(--paper); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 920px; margin: 0 auto; }
.quote { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 26px; position: relative; }
.quote .badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); border: 1px dashed #a94f4155; border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.quote p { font-size: 15px; color: var(--ink-2); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .who .ava { width: 42px; height: 42px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 13px; font-weight: 850; flex: none; }
.quote .who .nm { font-weight: 700; font-size: 14px; }
.quote .who .rl { font-size: 12.5px; color: var(--muted); }
.quote .src { margin-top: 12px; font-size: 12px; color: var(--txt-3); border-top: 1px solid var(--line); padding-top: 10px; }

/* ---------- Sectors ---------- */
.sector-strip { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.ticker-track { width: max-content; display: flex; gap: 56px; animation: tickerScroll 46s linear infinite; }
.sector { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.sector::after { content: "·"; color: var(--border-hl); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 980px; margin: 0 auto; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.step .n { font-family: var(--font-mono); font-weight: 700; color: var(--green); font-size: 13px; letter-spacing: .1em; display: block; margin-bottom: 10px; }
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-2); max-width: 55ch; }

/* ---------- Pricing split ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; max-width: 820px; margin: 0 auto 28px; align-items: stretch; }
.tier { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 30px; }
.tier.paid { border: 2px solid var(--green); position: relative; box-shadow: 0 20px 50px #176b4d1c; }
.tier h3 { font-size: 19px; margin-bottom: 6px; }
.tier .price { font-family: var(--font-mono); font-weight: 700; font-size: 34px; color: var(--green); margin: 12px 0 4px; }
.tier .price small { font-size: 14px; color: var(--txt-3); font-weight: 400; }
.tier ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.tier li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); align-items: baseline; }
.tier li .tick { color: var(--green); font-weight: 800; }
.tier li.locked .tick { color: var(--border-hl); }
.tier li.locked { color: var(--txt-3); }
.pay-note { text-align: center; font-size: 14px; color: var(--muted); max-width: 65ch; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details .a { padding: 0 22px 20px; font-size: 15px; color: var(--ink-2); max-width: 65ch; }

/* ---------- Final CTA ---------- */
.final { background: var(--green); color: #fff; text-align: center; padding: 84px 0; }
.final h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 720px; margin: 0 auto 30px; }
.final .btn-primary { background: #fff; color: var(--green-dark); box-shadow: 0 16px 40px #17211d33; }
.final .btn-primary:hover { background: var(--green-soft); }

/* ---------- Footer ---------- */
footer { padding: 44px 0 60px; font-size: 13.5px; color: var(--muted); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot-links { display: flex; gap: 22px; }
.foot-links a { text-decoration: none; color: var(--muted); }
.foot-links a:hover { color: var(--green); }
.foot-bottom { padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Audit result page ---------- */
.result-shell { background: var(--white); border: 1px solid var(--border); border-radius: 16px; max-width: 880px; margin: 44px auto; box-shadow: 0 24px 70px #17211d14; overflow: hidden; }
.result-banner { padding: 34px 32px 28px; border-bottom: 1px solid var(--line); display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.result-banner .big { font-family: var(--font-mono); font-weight: 700; font-size: 54px; line-height: 1; color: var(--green); }
.result-banner .big small { font-size: 16px; color: var(--txt-3); font-weight: 400; }
.result-banner .band { font-size: 17px; font-weight: 700; }
.result-banner .band-sub { font-size: 14px; color: var(--muted); max-width: 52ch; }
.upsell { border-top: 2px solid var(--green); background: var(--green-soft); padding: 30px 32px; }
.upsell h3 { font-size: 20px; margin-bottom: 8px; }
.upsell p { font-size: 15px; color: var(--ink-2); max-width: 60ch; margin-bottom: 16px; }
.upsell .btn-primary { box-shadow: 0 10px 24px #10543c2e; }
.upsell .guarantee { margin-top: 12px; font-size: 12.5px; color: var(--txt-2); }

.locked { position: relative; }
.locked .lock-pad { filter: blur(5px); user-select: none; pointer-events: none; opacity: .6; }
.lock-tag { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.lock-tag span { background: var(--white); border: 1px solid var(--border-hl); border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 700; color: var(--green); box-shadow: 0 8px 22px #17211d1a; }

/* Reveal on scroll */
.reveal { opacity: 0; animation: fadeInUp .6s var(--ease-out) forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 840px) {
  .dim-grid { grid-template-columns: 1fr; }
  .dim:nth-child(odd) { border-right: 0; }
  .dim { border-bottom: 1px solid var(--line); }
  .dim:last-child { border-bottom: 0; }
  .plan-row { grid-template-columns: 1fr; }
  .plan-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan-cell:last-child { border-bottom: 0; }
  .report-top { padding: 20px; }
  .score-copy { border-left: 0; border-top: 1px solid #cae7d63d; padding: 12px 0 0; width: 100%; }
  .nav-links { display: none; }
  .hero { padding: 44px 0 40px; }
  .section { padding: 52px 0; }
}
@media (max-width: 640px) {
  .audit-row { flex-direction: column; }
  .result-banner .big { font-size: 42px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; }
  html { scroll-behavior: auto; }
}