/* claudio: brand tokens and layout. Dark theme only, mobile first, no shadows. */
:root {
  --night: #0E1626;
  --dusk: #162238;
  --cloud: #F3F5FA;
  --muted: #A9B4C8;
  --peach: #FFB393;
  --mint: #6FE3C1;
  --coral: #FF8A7A;
  --line: rgba(243, 245, 250, 0.08);
  --radius: 24px;
  --font-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cloud);
  background-color: var(--night);
  background-image:
    radial-gradient(1200px 900px at 0% 0%, #2A3F6B 0%, rgba(42, 63, 107, 0.35) 35%, var(--night) 70%),
    linear-gradient(rgba(243, 245, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 245, 250, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  background-attachment: fixed, scroll, scroll;
}

h1, h2, h3, .wordmark { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 0.4em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--peach); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
strong { font-weight: 600; }
.muted { color: var(--muted); }
.mint { color: var(--mint); }
.coral { color: var(--coral); }
.peach { color: var(--peach); }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 64px 0; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(14, 22, 38, 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cloud); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 32px; height: 32px; }
.wordmark { font-size: 1.45rem; text-transform: lowercase; }
.nav-links { display: none; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--cloud); text-decoration: none; }
.nav .btn { padding: 10px 18px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-peach { background: var(--peach); color: var(--night); border-color: var(--peach); }
.btn-peach:hover { background: #ffc4ab; border-color: #ffc4ab; }
.btn-outline { background: transparent; color: var(--cloud); border-color: rgba(243, 245, 250, 0.35); }
.btn-outline:hover { border-color: var(--cloud); }
.btn-wide { width: 100%; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 179, 147, 0.22) 0%, rgba(255, 179, 147, 0) 65%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 32px; }
.hero .mark { width: 88px; height: 88px; }
.hero h1 { max-width: 16ch; }
.hero .lead { font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { color: var(--muted); font-size: 0.95rem; margin-top: 16px; }

/* ---- cards ---- */
.grid { display: grid; gap: 20px; }
.card { background: var(--dusk); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .step { display: inline-block; font-family: var(--font-head); font-size: 0.9rem; color: var(--peach); margin-bottom: 10px; }

/* ---- alert mock ---- */
.alert-wrap { display: grid; gap: 28px; align-items: start; }
.alert { background: var(--dusk); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.alert .bar { height: 6px; background: var(--mint); }
.alert .body { padding: 24px; display: grid; gap: 10px; font-size: 1rem; }
.alert .title { font-family: var(--font-head); font-size: 1.2rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.alert .tag { font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; background: rgba(111, 227, 193, 0.15); color: var(--mint); font-family: var(--font-body); font-weight: 600; }
.alert .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.alert .row:last-of-type { border-bottom: 0; }
.alert .row span:first-child { color: var(--muted); }
.alert .now { background: rgba(255, 179, 147, 0.12); color: var(--peach); border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.alert .foot { color: var(--muted); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--mint); opacity: 0.9; }

/* ---- track record ---- */
.stages { display: grid; gap: 16px; }
.stage { position: relative; }
.stage .range { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.stage .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; margin: 0; }
.stage .stats div { display: grid; gap: 2px; }
.stage .stats dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.stage .stats dd { margin: 0; font-family: var(--font-head); font-size: 1.35rem; }
.stage .ledger { display: inline-block; margin-top: 16px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.stage.live { border-color: rgba(255, 179, 147, 0.45); }
.stage.live h3 { color: var(--peach); }
.stage .pending { color: var(--muted); margin: 8px 0 0; }
.stage .updated { color: var(--muted); font-size: 0.85rem; margin: 14px 0 0; }
.curve-card { margin-top: 24px; padding: 24px; }
.curve-card svg { width: 100%; height: auto; display: block; }
.combined { margin: 18px 0 0; color: var(--muted); }
.combined strong { color: var(--cloud); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.legend .sw-cloud { background: var(--cloud); }
.legend .sw-peach { background: var(--peach); }
footer .social-below { margin-top: 14px; }
.table-wrap { overflow-x: auto; margin-top: 24px; border-radius: var(--radius); background: var(--dusk); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; }
.caption { padding: 14px 18px 2px; color: var(--muted); font-size: 0.9rem; }
.honesty { margin-top: 24px; color: var(--muted); font-size: 0.95rem; max-width: 80ch; }

/* ---- pricing ---- */
.price-card { max-width: 480px; margin: 0 auto; text-align: center; padding: 36px 28px; }
.price { font-family: var(--font-head); font-size: 2.6rem; margin: 12px 0 4px; }
.price small { font-size: 1rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 28px; text-align: left; display: grid; gap: 10px; }
.price-card li { padding-left: 28px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--peach); }

/* ---- faq ---- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--dusk); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--font-head); font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--peach); font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: grid; gap: 20px; }
footer .social { display: flex; flex-wrap: wrap; gap: 18px; }
footer .social a { color: var(--muted); font-weight: 600; }
footer .social a:hover { color: var(--cloud); }
footer .disclaimer { max-width: 70ch; }

/* ---- privacy page ---- */
.prose { max-width: 72ch; padding: 48px 0 64px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }

/* ---- larger screens ---- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .nav-links { display: flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .alert-wrap { grid-template-columns: 1.1fr 0.9fr; }
  .hero { padding: 104px 0 80px; }
  .hero .wrap { grid-template-columns: 1fr; }
  section { padding: 88px 0; }
  footer .wrap { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 1000px) {
  .stages { grid-template-columns: repeat(4, 1fr); }
  .stage .stats { grid-template-columns: 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
