/* Cynth landing — dark-first, silver on Void, one earned accent.
   Palette + type per brand/identity.md and brand/guidelines.md. */

:root {
  --void: #0B0E14;
  --slate: #161B24;
  --silver: #C7CDD6;
  --bone: #E8EBF0;
  --muted: #8A93A3;
  --cyan: #3DE0C8;
  --ember: #F2A65A;
  --line: #232A36;
  --maxw: 1080px;
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.mono { font-family: var(--mono); }
.cyan { color: var(--cyan); }

/* ---- nav ---- */
header.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 14, 20, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--bone); }
.nav-links a.ghlink { color: var(--silver); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--bone);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.btn:hover { border-color: var(--silver); }
.btn-primary { background: var(--silver); color: var(--void); border-color: var(--silver); font-weight: 600; }
.btn-primary:hover { background: var(--bone); transform: translateY(-1px); }

/* ---- hero ---- */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 66px); line-height: 1.05; letter-spacing: -1.5px;
  font-weight: 600; margin: 0 0 22px; max-width: 16ch;
}
.hero p.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 56ch; margin: 0 0 34px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

/* animated direct-line diagram */
.diagram { margin-top: 60px; }
.diagram svg { width: 100%; height: auto; max-width: 760px; display: block; margin: 0 auto; }
.path-line { stroke-dasharray: 6 6; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.draw { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .path-line, .draw { animation: none; stroke-dashoffset: 0; }
}

/* ---- sections ---- */
section { padding: 76px 0; border-top: 1px solid var(--line); }
.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.8px; font-weight: 600; margin: 0 0 16px; }
.section-lede { color: var(--muted); max-width: 60ch; margin: 0 0 40px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--slate); border: 1px solid var(--line); border-radius: 12px; padding: 26px;
}
.step .num { font-family: var(--mono); font-size: 13px; color: var(--cyan); margin-bottom: 14px; }
.step.relay .num { color: var(--ember); }
.step h3 { font-size: 18px; margin: 0 0 8px; font-weight: 600; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* features grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: 12px; }
.feature h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }
.feature .ic { color: var(--silver); margin-bottom: 12px; display: block; }

/* security */
.security { background: var(--slate); }
.security .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.proofs { list-style: none; padding: 0; margin: 0; }
.proofs li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 12px; }
.proofs li:last-child { border-bottom: 0; }
.proofs .chk { color: var(--cyan); flex: none; }
.mono-block {
  font-family: var(--mono); font-size: 13px; color: var(--silver);
  background: var(--void); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-top: 20px;
  white-space: pre-wrap; line-height: 1.7;
}

/* waitlist / early access */
.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;
}
.wl-form { display: flex; gap: 10px; max-width: 460px; flex-wrap: wrap; }
.wl-form input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  padding: 11px 16px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--slate); color: var(--bone);
  font-family: var(--font); font-size: 15px;
  transition: border-color .15s ease;
}
.wl-form input[type="email"]::placeholder { color: var(--muted); }
.wl-form input[type="email"]:focus { outline: none; border-color: var(--silver); }
.wl-form-wide { max-width: 520px; margin-top: 6px; }
.wl-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.wl-done { color: var(--cyan); font-size: 15px; margin: 6px 0; }
.plat-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 26px; }
.plat {
  font-family: var(--mono); font-size: 12.5px; color: var(--silver);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  background: var(--slate);
}
.wl-faq { list-style: none; padding: 0; margin: 30px 0 0; max-width: 62ch; }
.wl-faq li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.wl-faq strong { color: var(--bone); font-weight: 600; }

/* pricing plan lists */
.plan-list { list-style: none; padding: 0; margin: 0; }
.plan-list li { position: relative; padding: 7px 0 7px 22px; color: var(--muted); font-size: 14.5px; border-top: 1px solid var(--line); }
.plan-list li:first-child { border-top: 0; }
.plan-list li::before { content: "→"; position: absolute; left: 0; color: var(--cyan); }

/* comparison tables (alternatives pages) */
.cmp-table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.cmp-table th { text-align: left; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.cmp-table th.col-us { color: var(--cyan); }
.cmp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.cmp-table td:first-child { color: var(--bone); white-space: nowrap; }
.cmp-table .yes { color: var(--cyan); }
.cmp-table .no { color: var(--ember); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.two-col .step h3 { margin-top: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* legal / prose pages */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 8px; }
.prose h3 { font-size: 18px; margin: 34px 0 10px; font-weight: 600; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--bone); font-weight: 600; }
.prose a { color: var(--cyan); }
.legal-meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }

/* about */
.about p { max-width: 66ch; color: var(--muted); }
.about p.lead { color: var(--bone); font-size: 19px; }
.tribute { border-left: 2px solid var(--silver); padding-left: 18px; margin-top: 28px; color: var(--silver); font-size: 15px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--bone); }

/* responsive */
@media (max-width: 860px) {
  .steps, .features { grid-template-columns: 1fr; }
  .security .wrap { grid-template-columns: 1fr; }
  .wl-form { max-width: none; }
  .nav-links a { display: none; }
  .nav-links a.btn { display: inline-flex; }
}

/* turnstile */
.wl-form .cf-turnstile { flex-basis: 100%; margin-top: 4px; min-height: 65px; }
