@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.3626eba5.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.5d93ee62.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f3f4f5;
  --surface: #fbfbfc;
  --surface-2: #e9ebed;
  --fg: #131416;
  --muted: #565b61;
  --line: #dcdfe2;
  --accent: #c7353b;
  --accent-ink: #fff8f8;
  --accent-soft: #f7e3e3;
  --hud: #121314;
  --hud-fg: #f2f3f4;
  --r-surface: 18px;
  --r-key: 10px;
  --r-pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 60px -28px rgb(19 20 22 / .28);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --section-space: clamp(72px, 10vw, 144px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0f10;
    --surface: #17181a;
    --surface-2: #1f2123;
    --fg: #eceef0;
    --muted: #a2a8ae;
    --line: #2a2d30;
    --accent: #ff6369;
    --accent-ink: #1c0a0b;
    --accent-soft: #3a1a1c;
    --hud: #050506;
    --hud-fg: #f2f3f4;
    --shadow: 0 30px 60px -28px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0f10;
  --surface: #17181a;
  --surface-2: #1f2123;
  --fg: #eceef0;
  --muted: #a2a8ae;
  --line: #2a2d30;
  --accent: #ff6369;
  --accent-ink: #1c0a0b;
  --accent-soft: #3a1a1c;
  --hud: #050506;
  --hud-fg: #f2f3f4;
  --shadow: 0 30px 60px -28px rgb(0 0 0 / .6);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
p { max-width: 62ch; margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.6rem + 5.4vw, 5.25rem); line-height: 1.02; }
h2 { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem); line-height: 1.08; }
h3 { line-height: 1.15; }
h1 em, h2 em { display: inline-block; line-height: 1.1; padding-bottom: .08em; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: var(--section-space); }
.hero { min-height: 100dvh; }
.lede { color: var(--muted); }
.mono { font-family: var(--mono); }
.ic { display: inline-grid; place-items: center; width: 1em; height: 1em; font-style: normal; flex-shrink: 0; }
.ic svg { width: 100%; height: 100%; fill: currentColor; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn, .lang-switch { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: var(--r-pill); font-weight: 500; text-decoration: none; white-space: nowrap; }
.btn { transition: transform 200ms var(--ease), background-color 200ms var(--ease); }
.btn .ic { font-size: 1.1em; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: 8px; z-index: 30; padding: 10px 20px; min-height: 44px; background: var(--surface); border-radius: var(--r-pill); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; height: 64px; border-bottom: 1px solid transparent; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header[data-scrolled] { border-bottom-color: var(--line); }
.nav-inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: clamp(12px, 2vw, 28px); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; line-height: 1.15; justify-self: start; }
.brand img { width: 32px; height: 32px; flex-shrink: 0; }
.nav-links, .nav-actions, .footer-links { display: flex; align-items: center; gap: 20px; }
.nav-links a, .footer-links > a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
.nav-links { font-size: 14px; }
.nav-actions { gap: 8px; }
.lang-switch { font: 500 13px var(--mono); border-color: var(--line); padding: 8px 13px; }
html[lang="en"] .language-en, html[lang="es"] .language-es { display: none; }
.github-pill { font-size: 14px; }
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; gap: 24px; align-items: center; }
.footer-credit { color: var(--fg); }
.footer-links { flex-wrap: wrap; gap: 16px; }
.not-found { padding-block: var(--section-space); }
.not-found p, .not-found .actions { margin-top: 24px; }
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 719px) {
  .nav-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .nav-links, .github-pill span { display: none; }
  .github-pill { width: 44px; padding: 0; }
  .brand { font-size: 14px; gap: 8px; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .btn:active { transform: none; }
}

.product-hero { display: grid; align-items: center; padding-block: var(--section-space); }
.product-split { display: grid; gap: 40px; align-items: start; }
.product-split > * { min-width: 0; }
.product-copy { display: grid; gap: 24px; justify-items: start; }
.product-hero .product-split { align-items: center; }
.product-hero h1 em { font-style: normal; color: var(--accent); }
.product-note, .hub-return { font-size: 14px; color: var(--muted); }
.product-note.mono { font-size: 12px; }
.brand-bubble { width: 32px; height: 28px; flex-shrink: 0; fill: var(--accent); }
.bubble-bars { fill: var(--bg); }
.bubble-bars rect { transform-box: fill-box; transform-origin: center; }
.product-copy code, .policy code { font: .85em var(--mono); overflow-wrap: anywhere; }
.demo-stage { display: grid; gap: 24px; margin: 0; padding: clamp(24px, 4vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface); box-shadow: var(--shadow); }
.demo-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.demo-text { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.4; min-height: 10em; overflow-wrap: anywhere; }
.demo-hud { display: inline-flex; align-items: center; justify-self: start; gap: 12px; min-height: 56px; padding: 12px 24px; background: var(--hud); color: var(--hud-fg); border-radius: var(--r-pill); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.demo-dot { display: inline-block; width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--accent); }
.demo-stage button { font: inherit; font-weight: 500; cursor: pointer; justify-self: start; }
.demo-stage [hidden] { display: none; }
.section-heading { max-width: 720px; }
.keys-flow { display: grid; gap: 40px; list-style: none; padding: 0; margin: 48px 0 32px; }
.keys-flow li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; }
.keys-flow h3 { font-size: 1.25rem; margin-bottom: 12px; }
.keys-flow p { color: var(--muted); }
.key { display: grid; place-items: end start; width: 64px; height: 64px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-key); box-shadow: 0 3px 0 var(--line); font: 500 15px var(--mono); }
.app-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 32px 0 24px; }
.app-chips li { padding: 8px 16px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); font-size: 14px; }
.product-capture { width: 100%; border-radius: var(--r-surface); box-shadow: var(--shadow); }
.streak-capture { display: block; max-width: 600px; }
.privacy-panel { background: var(--accent-soft); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-surface); }
.privacy-facts { margin: 0; padding: 0; list-style: none; }
.privacy-facts li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.privacy-facts li:first-child { padding-top: 0; }
.terminal { margin: 0; padding: clamp(20px, 3vw, 32px); background: var(--hud); color: var(--hud-fg); border-radius: var(--r-surface); box-shadow: var(--shadow); font-size: 13px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal code { font: inherit; }
.terminal span { color: var(--hud-fg); opacity: .8; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { min-height: 44px; padding-block: 22px; font-weight: 500; cursor: pointer; }
.faq-list summary::marker { color: var(--accent); }
.faq-list p { padding-bottom: 24px; color: var(--muted); }
.policy { max-width: 800px; padding-block: var(--section-space); }
.policy-heading { margin-bottom: 64px; }
.policy section { padding-block: 32px; border-top: 1px solid var(--line); }
.policy section h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem); margin-bottom: 24px; }
.policy section p + p { margin-top: 20px; }
.policy p, .policy li, .permission-list dd { color: var(--muted); }
.policy ul { padding-left: 24px; }
.policy li + li { margin-top: 12px; }
.permission-list { margin: 0; }
.permission-list > div + div { margin-top: 28px; }
.permission-list dt { font-weight: 600; }
.permission-list dd { margin: 8px 0 0; }
@media (min-width: 960px) {
  .product-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .keys-flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 419px) {
  .wrap { padding-inline: 16px; }
  .keys-flow li { gap: 16px; }
}
