@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light dark;
  --bg: #f5f6f8;
  --panel: #e7edf8;
  --surface: #ffffff;
  --text: #141821;
  --muted: #5e6674;
  --line: #dde2ea;
  --blue: #2350d8;
  --blue-text: #1f47c2;
  --blue-soft: #d5e0fa;
  --hero: linear-gradient(165deg, #1f46c9 0%, #2f5fe6 50%, #86a6f2 100%);
  --footer: #12151c;
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0f15;
    --panel: #141b29;
    --surface: #182030;
    --text: #e8ebf0;
    --muted: #9aa3b2;
    --line: #262f40;
    --blue: #6f97ff;
    --blue-text: #93b1ff;
    --blue-soft: #1d2a47;
    --hero: linear-gradient(165deg, #142f8f 0%, #1e44b8 50%, #3c63cf 100%);
    --footer: #07090d;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
svg { display: block; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 450; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 20px; font-weight: 550; letter-spacing: -0.01em; line-height: 1.25; }
code { font-family: var(--mono); font-size: 0.88em; }

.sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 19px; margin-top: 14px; }
.sub.center { max-width: 34em; margin-left: auto; margin-right: auto; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }
.section { padding: 112px 24px 0; }
.wrap.section { padding-left: 24px; padding-right: 24px; }

.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.wordmark { font-size: 26px; font-weight: 600; letter-spacing: -0.035em; color: var(--blue); }
.wordmark:hover { text-decoration: none; }
.nav { display: flex; gap: 30px; margin-left: auto; padding-right: 10px; border-right: 1px solid var(--line); padding-right: 28px; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.btn-outline { font-size: 15px; font-weight: 500; color: var(--text); border: 1px solid var(--line); background: var(--surface); padding: 7px 16px; border-radius: 99px; }
.btn-outline:hover { text-decoration: none; border-color: var(--muted); }
.wordmark + .btn-outline { margin-left: auto; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  margin-top: 8px; padding: 96px 80px; border-radius: 24px;
  background: var(--hero); color: #fff;
}
.hero-lead { font-size: clamp(30px, 4vw, 46px); font-style: italic; font-weight: 400; letter-spacing: -0.03em; color: rgb(255 255 255 / 0.7); line-height: 1.1; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 600; letter-spacing: -0.035em; margin-top: 6px; }
.hero h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.03em; margin-top: 6px; }
.hero-sub { font-size: 19px; color: rgb(255 255 255 / 0.85); margin: 24px 0 32px; max-width: 30em; }

.signup { display: flex; align-items: center; max-width: 420px; padding: 5px 5px 5px 20px; border-radius: 99px; background: rgb(255 255 255 / 0.9); }
.signup input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; font: inherit; font-size: 16px; color: #141821; outline: none; }
.signup input::placeholder { color: #6b7280; }
.signup button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #141821; color: #fff; cursor: pointer; }
.signup button:hover { background: #000; }
.signup:focus-within { box-shadow: 0 0 0 3px rgb(255 255 255 / 0.45); }
.signup button .ic { width: 20px; height: 20px; stroke-width: 2; }
.signup-note { margin-top: 12px; font-size: 14px; color: rgb(255 255 255 / 0.8); }
.signup-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.signup-note.done { color: #fff; font-weight: 550; }

.instance {
  margin: 0; padding: 28px; border-radius: 20px;
  background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.instance-host { font-size: 15px; color: rgb(255 255 255 / 0.8); padding-bottom: 16px; border-bottom: 1px solid rgb(255 255 255 / 0.2); }
.instance-host b { color: #fff; font-family: var(--mono); font-weight: 500; }
.instance ul { list-style: none; margin: 0; padding: 6px 0; }
.instance li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; font-size: 17px; line-height: 1.35; }
.instance li .ic { margin-top: 1px; }
.instance li + li { border-top: 1px solid rgb(255 255 255 / 0.12); }
.instance li code { display: block; margin-top: 4px; font-size: 14px; color: rgb(255 255 255 / 0.7); overflow-wrap: anywhere; }
.instance-foot { padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 0.2); font-size: 14px; color: rgb(255 255 255 / 0.8); }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.tile { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 18px; background: var(--panel); color: var(--blue); margin-bottom: 22px; }
.tile .ic { width: 56px; height: 56px; stroke-width: 1.2; }
.apps h3 { font-size: 26px; font-weight: 450; letter-spacing: -0.02em; margin-bottom: 10px; }
.apps p { color: var(--muted); }
.apps .status { margin-top: 14px; font-size: 14px; color: var(--blue-text); }

/* Spectrum */
.spectrum { position: relative; max-width: 900px; margin: 64px auto 0; padding-top: 40px; }
.spectrum-bar { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--line), var(--blue) 50%, var(--line)); }
.mark { position: absolute; top: 0; left: var(--x); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: 14px; color: var(--muted); white-space: nowrap; }
.mark::after { content: ""; width: 12px; height: 12px; margin-top: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.mark.start { transform: none; align-items: flex-start; }
.mark.end { left: auto; right: 0; transform: none; align-items: flex-end; }
.mark.us { color: var(--blue-text); font-weight: 600; font-size: 16px; }
.mark.us::after { width: 20px; height: 20px; margin-top: 9px; border: 5px solid var(--blue); }
.spectrum-ends { display: flex; justify-content: space-between; margin-top: 18px; font-size: 15px; }
.spectrum-ends span:last-child { text-align: right; }
.spectrum-ends small { color: var(--muted); font-size: 14px; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 80px; }
.icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--panel); color: var(--blue); margin-bottom: 22px; }
.points h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 14px; }
.points p { color: var(--muted); }

/* Panels */
.panel { margin-top: 112px; padding: 80px; border-radius: 24px; background: var(--panel); }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.steps .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 600; color: var(--blue-text); background: var(--blue-soft); margin-bottom: 14px; }
.steps h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: center; }
.plan { padding: 36px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plan-name { font-size: 15px; font-weight: 600; color: var(--blue-text); }
.price { font-size: 60px; font-weight: 450; letter-spacing: -0.04em; line-height: 1; margin: 14px 0 28px; }
.price span { font-size: 18px; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.ticks .ic { color: var(--blue); width: 20px; height: 20px; stroke-width: 2.2; }
.pricing-text p { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 34em; }
.pricing-text h2 { margin-bottom: 8px; }

/* Compare */
.table-wrap { overflow-x: auto; margin-top: 48px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; font-weight: 500; color: var(--muted); }
.compare tbody th { font-weight: 450; width: 28%; }
.compare td { color: var(--muted); }
.compare .us { color: var(--text); font-weight: 600; background: color-mix(in srgb, var(--panel) 70%, transparent); }
.compare thead th.us { color: var(--blue-text); }
.compare .price-row th, .compare .price-row td { padding-top: 18px; padding-bottom: 18px; }
.compare .price-row b { display: block; font-size: 18px; font-weight: 600; color: var(--text); }
.compare .price-row small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 48px; margin-top: 56px; }
.promises h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.promises p { color: var(--muted); }
.encryption { margin-top: 64px; padding: 40px 44px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.encryption h3 { font-size: 26px; font-weight: 450; margin-bottom: 14px; }
.encryption p { color: var(--muted); max-width: 52em; }
.encryption p + p { margin-top: 12px; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.phase { border-top: 3px solid color-mix(in srgb, var(--blue) 25%, transparent); padding-top: 22px; }
.phase.now { border-top-color: var(--blue); }
.when { font-size: 22px; letter-spacing: -0.01em; }
.phase.now .when { color: var(--blue-text); font-weight: 600; }
.phase h3 { font-size: 28px; font-weight: 450; letter-spacing: -0.02em; margin: 14px 0 16px; }
.phase ul { list-style: none; margin: 0; padding: 0; }
.phase li { padding: 6px 0; color: var(--muted); }

/* About & FAQ */
.about { font-size: 21px; line-height: 1.55; margin-top: 24px; }
#faq h2 { margin-bottom: 28px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-size: 19px; font-weight: 500; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; font-weight: 300; color: var(--muted); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); padding-bottom: 22px; }

/* CTA */
#waitlist { margin-top: 112px; }
.cta { grid-template-columns: 1fr; text-align: center; padding: 88px 40px; }
.cta .hero-text { display: flex; flex-direction: column; align-items: center; }
.cta h2 { max-width: 16em; margin-bottom: 32px; }
.cta .signup { width: 100%; }

/* Footer */
.site-footer { margin-top: 112px; padding: 72px 0 32px; background: var(--footer); color: #c9ced8; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid .wordmark { color: #7fa1ff; margin-bottom: 8px; }
.footer-grid .aside { margin-top: 18px; font-style: italic; color: #8a91a0; font-size: 14px; max-width: 24em; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.col-title { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #8a91a0; margin-bottom: 6px; }
.footer-grid a { color: #e5e8ee; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid #262b35; font-size: 13px; color: #8a91a0; }

/* Text pages */
.prose { padding-top: 64px; }
.prose h1 { font-size: clamp(40px, 5vw, 56px); }
.prose .updated { color: var(--muted); font-size: 14px; margin: 10px 0 36px; }
.prose h2 { font-size: 24px; font-weight: 550; letter-spacing: -0.01em; margin: 36px 0 8px; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose .updated + p { color: var(--text); font-size: 19px; }

/* Focus */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 50%, transparent); outline-offset: 3px; border-radius: 6px; }

/* Responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding: 64px 48px; }
  .apps { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; gap: 48px; }
  .plan { max-width: 440px; }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 56px 40px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .wrap.section { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 80px; }
  .nav { display: none; }
  .wordmark { font-size: 23px; }
  .wordmark + .nav + .btn-outline { margin-left: auto; }
  .hero { padding: 48px 24px; border-radius: 20px; }
  .instance { padding: 20px; }
  .instance li { font-size: 16px; gap: 12px; }
  .instance li code { font-size: 12px; }
  .apps, .points, .steps, .roadmap, .promises { grid-template-columns: 1fr; }
  .points { gap: 40px; margin-top: 64px; }
  .panel { margin-top: 80px; padding: 48px 24px; border-radius: 20px; }
  .encryption { padding: 28px 24px; }
  .mark { font-size: 12px; }
  .mark.us { font-size: 14px; }
  .mark.mid { flex-direction: column-reverse; top: 38px; }
  .mark.mid::after { margin: 0 0 6px; }
  .spectrum-ends { margin-top: 40px; }
  .cta { padding: 56px 24px; }
  #waitlist, .site-footer { margin-top: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
