/* Fastmark — landing page styles. Static, no build step. */
:root {
  --bg: #0a0c11;
  --bg-2: #0f1218;
  --surface: #13161e;
  --surface-2: #181c26;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0f5;
  --muted: #a3a9b6;
  --dim: #7d8492;
  --blue: #2b6de5;
  --blue-hi: #4d87f0;
  --peach: #ffb088;
  --violet: #6e56e8;
  --grad: linear-gradient(120deg, #ffb088 0%, #e58fb0 45%, #6e56e8 100%);
  --radius: 18px;
  --wrap: 1180px;
  --sans: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Tight", Inter, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 650; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(110, 86, 232, 0.45); }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 12, 17, 0.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.lang a { padding: 4px 9px; border-radius: 999px; color: var(--dim); }
.lang a:hover { color: var(--text); }
.lang a[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; border: 1px solid transparent; transition: transform .15s ease, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: #0a0c11; box-shadow: 0 8px 30px rgba(255, 176, 136, 0.18), inset 0 -1px 0 rgba(0,0,0,.08); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(110, 86, 232, 0.35); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 92px 0 40px; text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -64px 0 auto; height: 760px; z-index: -1;
  background:
    radial-gradient(520px 300px at 30% 18%, rgba(255, 176, 136, 0.22), transparent 70%),
    radial-gradient(620px 360px at 70% 22%, rgba(110, 86, 232, 0.28), transparent 70%);
  filter: blur(10px); }
.hero::after { content: ""; position: absolute; inset: -64px 0 auto; height: 760px; z-index: -1; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(600px 380px at 50% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(600px 380px at 50% 20%, #000, transparent 75%); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font-size: 13px; color: var(--muted); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(255,176,136,.8); }
.hero h1 { margin: 22px auto 0; max-width: 15ch; font-size: clamp(42px, 7vw, 80px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
.hero .lead { margin: 22px auto 0; max-width: 620px; font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); }
.hero .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fine { margin-top: 16px; font-size: 13px; color: var(--dim); }

kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 7px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: linear-gradient(#1c2130, #141824); color: var(--text); font: 600 12.5px/1 var(--sans); }

.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 44px auto 0; font-size: 14px; color: var(--muted); }
.flow .step { display: inline-flex; align-items: center; gap: 8px; }
.flow .arrow { color: var(--dim); }

.stage { position: relative; margin: 56px auto 0; max-width: 1106px; }
.stage::before { content: ""; position: absolute; inset: 8% 6% -4%; z-index: -1; background: var(--grad); filter: blur(70px); opacity: .45; border-radius: 40px; }
.stage-frame { padding: 10px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.stage-frame img { width: 100%; border-radius: 12px; }
.stage-caption { margin-top: 16px; font-size: 13px; color: var(--dim); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0 0; }
.kicker { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--peach); }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.035em; }
.section-lead { margin-top: 18px; font-size: 18px; color: var(--muted); }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px 160px at 0% 0%, rgba(255,255,255,.05), transparent 70%); }
.card h3 { font-size: 20px; letter-spacing: -0.02em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.card .ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 11px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--text); }
.card .ico svg { width: 20px; height: 20px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }

.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tool { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 13.5px; color: var(--text); }
.tool svg { width: 16px; height: 16px; color: var(--muted); }
.swatches { display: flex; gap: 8px; margin-top: 18px; }
.swatches span { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }

/* Backdrop demo */
.backdrop-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 32px; align-items: center; }
.mat { padding: clamp(20px, 4vw, 44px); border-radius: 16px; transition: background .35s ease; }
.mat img { width: 100%; border-radius: 10px; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.mat[data-mat="sunset"] { background: linear-gradient(135deg, #ffb088, #6e56e8); }
.mat[data-mat="lagoon"] { background: linear-gradient(135deg, #5ad1c6, #1f8f9a 55%, #1b5f86); }
.mat[data-mat="paper"] { background: #eceef2; }
.mat[data-mat="ink"] { background: #1b1f2a; }
.mat-picker { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.mat-picker button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); font: 500 14px var(--sans); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.mat-picker button:hover { color: var(--text); background: rgba(255,255,255,.07); }
.mat-picker button[aria-pressed="true"] { color: var(--text); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.mat-picker i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.i-sunset { background: linear-gradient(135deg, #ffb088, #6e56e8); } .i-lagoon { background: linear-gradient(135deg, #5ad1c6, #1b5f86); } .i-paper { background: #eceef2; } .i-ink { background: #1b1f2a; }

/* Speed */
.speed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.metric { font-family: var(--display); font-size: clamp(72px, 11vw, 140px); font-weight: 750; letter-spacing: -0.06em; line-height: .9; }
.metric small { font-size: .32em; letter-spacing: -0.02em; margin-left: 6px; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.metric-note { margin-top: 14px; font-size: 14px; color: var(--dim); }
.timeline { margin-top: 0; padding: 28px; }
.tl-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; padding: 12px 0; font-size: 14px; color: var(--muted); }
.tl-row + .tl-row { border-top: 1px solid var(--line); }
.bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); }
.checks li strong { color: var(--text); font-weight: 600; }
.checks svg { width: 22px; height: 22px; color: var(--peach); margin-top: 1px; }

/* Privacy band */
.privacy-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.privacy-band .card h3 { font-size: 18px; }

/* Compare */
.compare { margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); font-weight: 600; background: rgba(255,255,255,.02); }
.compare tbody th { font-weight: 600; white-space: nowrap; }
.compare td { color: var(--muted); }
.compare tr.us { background: linear-gradient(90deg, rgba(255,176,136,.08), rgba(110,86,232,.10)); }
.compare tr.us th, .compare tr.us td { color: var(--text); }
.compare .tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; background: var(--grad); color: #140f24; vertical-align: 2px; }
.compare-note { margin-top: 14px; font-size: 13px; color: var(--dim); }

/* FAQ */
.faq { max-width: 800px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 4px; font-family: var(--display); font-size: 18.5px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 4px 24px; color: var(--muted); max-width: 68ch; }

/* CTA */
.cta { position: relative; margin-top: 140px; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); border-radius: 28px; text-align: center; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(700px 300px at 50% 0%, rgba(110,86,232,.35), transparent 70%), radial-gradient(500px 260px at 15% 100%, rgba(255,176,136,.18), transparent 70%), var(--surface); }
.cta-logo { width: 64px; height: 64px; margin: 0 auto 24px; filter: drop-shadow(0 10px 30px rgba(43,109,229,.5)); }
.cta h2 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -0.035em; }
.cta p { margin: 18px auto 0; max-width: 560px; color: var(--muted); font-size: 18px; }
.cta .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Footer */
.footer { margin-top: 100px; padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-links { display: flex; gap: 22px; margin-left: auto; }
.footer-links a:hover { color: var(--text); }
.footer .legal { flex-basis: 100%; font-size: 12.5px; }

/* Legal page */
.legal-page { padding: 88px 0 0; }
.legal-page .wrap { max-width: 760px; }
.legal-page h1 { font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.035em; }
.legal-page .updated { margin-top: 14px; color: var(--dim); font-size: 14px; }
.legal-page .card { margin-top: 20px; }
.legal-page .card h2 { font-size: 21px; }
.legal-page .card p { margin-top: 10px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .speed, .backdrop-card { grid-template-columns: 1fr; gap: 36px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3 { grid-column: span 1; } .span-4, .span-6 { grid-column: span 2; }
  .privacy-band { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 56px; }
  .nav-inner { gap: 12px; }
  .nav .btn-sm { display: none; }
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: span 1; }
  .section { padding-top: 88px; }
  .card { padding: 22px; }
  .stage { margin-top: 40px; }
  .stage-frame { padding: 5px; border-radius: 14px; }
  .stage-frame img { border-radius: 9px; }
  .flow { gap: 8px 10px; font-size: 13px; }
  .compare { border: 0; background: none; overflow: visible; }
  .compare thead { display: none; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { margin-bottom: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .compare th, .compare td { padding: 4px 0; border: 0; }
  .compare tbody th { font-size: 17px; margin-bottom: 6px; }
  .compare td::before { content: attr(data-label) " · "; color: var(--dim); font-size: 13px; }
  .tl-row { grid-template-columns: 1fr; gap: 8px; }
  .footer-links { margin-left: 0; }
  .btn { width: 100%; }
  .hero .actions, .cta .actions { flex-direction: column; }
  .nav .btn, .mat-picker button { width: auto; }
}

/* fixes */
.card p.metric { margin-top: 0; font-size: clamp(72px, 11vw, 140px); color: transparent; }
.card p.metric-note { font-size: 14px; color: var(--dim); }
.hero h1 { max-width: 17ch; }
