@font-face {
  font-family: Geist;
  src: url('assets/geist-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* A single blue accent from the existing brand. Buttons and surfaces use 12px
   corners; the app icon retains its original shape. All sections share a theme. */
:root {
  color-scheme: light;
  --background: #f5f8fc;
  --surface: #eaf0f8;
  --text: #112c4d;
  --muted: #4d6078;
  --accent: #216bbc;
  --button: #216bbc;
  --button-text: #f7faff;
  --border: #cbd7e5;
  --radius: 12px;
  font-family: Geist, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --background: #0c192b;
    --surface: #12243b;
    --text: #edf3fb;
    --muted: #a9b9ce;
    --accent: #75b5f3;
    --button: #75b5f3;
    --button-text: #102540;
    --border: #2b3d53;
  }
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --background: #0c192b;
  --surface: #12243b;
  --text: #edf3fb;
  --muted: #a9b9ce;
  --accent: #75b5f3;
  --button: #75b5f3;
  --button-text: #102540;
  --border: #2b3d53;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--background); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--background); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--surface); padding: 16px; z-index: 1; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.site-header { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 730; font-size: 19px; letter-spacing: -.65px; white-space: nowrap; }
.brand-accent { color: var(--accent); }
nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 540; }
nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.theme-toggle { background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 12px; min-height: 44px; cursor: pointer; font-size: 12px; white-space: nowrap; }
.theme-toggle:hover { color: var(--text); background: var(--surface); }
.hero { display: grid; grid-template-columns: 0.9fr 1.15fr; align-items: center; gap: 48px; padding-block: 74px 100px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 24px; }
.hero-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 24px; }
.hero-heading .eyebrow { margin: 0; }
.alpha-stamp { display: inline-flex; align-items: center; border: 1px solid var(--accent); border-radius: var(--radius); padding: 8px 11px; color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.alpha-note { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 14px 0 0; }
h1 { font-size: clamp(42px, 5.3vw, 72px); line-height: 1.05; letter-spacing: -.065em; font-weight: 720; margin: 0; max-width: 470px; text-wrap: balance; }
.hero-description { color: var(--muted); line-height: 1.65; font-size: 17px; margin: 24px 0 30px; max-width: 390px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--button); color: var(--button-text); font-size: 14px; font-weight: 650; border-radius: var(--radius); min-height: 54px; padding: 0 21px; white-space: nowrap; }
.button:hover { color: var(--button-text); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 560; }
.demo { margin: 0; min-width: 0; }
.demo-image { display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.demo-image picture { display: block; }
.demo-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.demo-image:hover img { transform: scale(1.035); }
figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; font-size: 12px; color: var(--muted); }
figcaption a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-weight: 550; }
h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -.045em; font-weight: 660; margin: 0; text-wrap: balance; }
h3 { font-size: 19px; letter-spacing: -.025em; line-height: 1.3; font-weight: 620; margin: 0; }
p { font-size: 15px; line-height: 1.7; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 64px 80px; border-top: 1px solid var(--border); }
.feature-intro p { color: var(--muted); max-width: 310px; margin-top: 20px; }
.phone-mark { width: 112px; height: 112px; object-fit: contain; margin-top: 32px; }
.feature-list article + article { margin-top: 29px; }
.feature-list p { color: var(--muted); max-width: 420px; margin: 9px 0 0; }
.feature-list .text-link { margin-top: 7px; }
.setup { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 56px 48px; margin-bottom: 80px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.setup-intro p { color: var(--muted); max-width: 360px; margin: 20px 0 15px; }
.questions { align-self: start; border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 16px; font-weight: 570; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 25px; font-weight: 400; flex-shrink: 0; }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); margin: 0 0 24px; }
.fingerprint { font-size: 12px; overflow-wrap: anywhere; }
details p a, .feature-list p a { text-decoration: underline; text-underline-offset: 4px; color: var(--accent); }
.site-footer { padding-block: 30px 36px; border-top: 1px solid var(--border); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.footer-top .brand { font-size: 16px; }
.site-footer p { color: var(--muted); font-size: 11px; line-height: 1.75; max-width: 900px; margin: 9px 0 0; }
.site-footer p a { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .button, .text-link { transition: transform 180ms ease-out; }
  .demo-image img { transition: transform 400ms ease-out; }
  .hero-copy, .demo { animation: arrive 650ms ease-out both; }
  .demo { animation-delay: 100ms; }
  @keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover, .button:active, .demo-image:hover img { transform: none; }
}

@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 32px; }
  .hero-actions { gap: 12px; }
  .hero-description { font-size: 16px; }
  .features, .setup { gap: 64px; }
}

@media (max-width: 767px) {
  .shell { width: calc(100% - 40px); }
  .site-header { height: 80px; gap: 12px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  nav { gap: 14px; font-size: 12px; }
  .site-header nav > a:first-child { display: none; }
  .theme-toggle { font-size: 11px; padding-inline: 9px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 34px 52px; }
  h1 { font-size: clamp(44px, 9.3vw, 65px); max-width: 480px; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .hero-heading { gap: 10px 12px; margin-bottom: 20px; }
  .hero-description { font-size: 16px; margin-block: 21px 23px; }
  .hero-actions { gap: 20px; }
  figcaption { gap: 10px; padding-top: 8px; font-size: 11px; }
  .features { grid-template-columns: 1fr; gap: 30px; padding-block: 42px 50px; }
  .phone-mark { display: none; }
  .feature-intro p { max-width: 400px; }
  .feature-list article + article { margin-top: 26px; }
  .setup { grid-template-columns: 1fr; gap: 30px; padding: 32px 24px; margin-bottom: 52px; }
  .setup-intro p { max-width: 430px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-top nav { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 374px) {
  .shell { width: calc(100% - 32px); }
  .brand { font-size: 14px; }
  .site-header nav { gap: 9px; }
  .site-header nav > a { font-size: 11px; }
  h1 { font-size: 42px; }
  .hero-actions { gap: 12px; }
  figcaption { flex-wrap: wrap; }
}

.not-found { padding-block: 72px 120px; }
.not-found p { color: var(--muted); margin: 20px 0 30px; }
