/* Self-hosted Inter Tight (copied from @expo-google-fonts/inter-tight by the build). */
@font-face { font-family: 'Inter Tight'; font-weight: 400; font-display: swap; src: url('fonts/InterTight_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter Tight'; font-weight: 500; font-display: swap; src: url('fonts/InterTight_500Medium.ttf') format('truetype'); }

:root {
  --bg: #FAFAF7; --surface: #F1F1EC; --surface-2: #EDEDE8; --ink: #111110; --ink-2: #3A3A36;
  --muted: #6B6B65; --line: #E4E4DE; --line-strong: #D6D6CF;
  --blue: #2F6BFF; --blue-ink: #2459E0; --cyan: #22C3E6;
  --font: 'Inter Tight', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-anchor: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-ink); }
a:hover { color: var(--ink); }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
h1, h2, p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Header */
.header { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.logo-name { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.nav-link { color: var(--muted); text-decoration: none; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-width: 150px; padding: 0 20px; border-radius: 9999px; background: var(--ink); color: #FFFFFF; text-decoration: none; font-weight: 500; }
.nav-cta:hover { color: #FFFFFF; background: var(--ink-2); }
/* Phones: one row, logo left; drop the promise link and shrink the button. */
@media (max-width: 600px) {
  .header { flex-wrap: nowrap; }
  .nav { flex-wrap: nowrap; gap: 10px; }
  .nav-link { display: none; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-cta { min-width: 0; height: 36px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
  .lang { width: 84px; }
}
.lang { position: relative; display: flex; align-items: center; width: 92px; height: 36px; padding: 3px; border: 0; border-radius: 9999px; background: var(--surface-2); font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; }
.lang span:not(.lang-knob) { position: relative; flex: 1; text-align: center; }
.lang-knob { position: absolute; top: 3px; left: 3px; width: 43px; height: 30px; border-radius: 9999px; background: #FFFFFF; transition: left .25s cubic-bezier(.3,.7,.3,1); }
.lang[aria-checked="true"] .lang-knob { left: 46px; }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero-text { flex: 999 1 460px; min-width: 0; }
.hero h1 { font-size: clamp(48px, 7vw, 88px); line-height: 0.98; font-weight: 500; letter-spacing: -0.045em; }
.hero-sub { margin-top: 24px; max-width: 520px; font-size: 19px; line-height: 28px; color: var(--ink-2); }
.stores { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 60px; min-width: 172px; padding: 0 22px 0 18px; border-radius: 14px; background: var(--ink); color: #FFFFFF; text-decoration: none; }
.store:hover { color: #FFFFFF; }
.store-light { background: #FFFFFF; color: var(--ink); }
.store-light:hover { color: var(--ink); }
.store-icon { width: 26px; height: 26px; flex: none; }
.store-text { display: flex; flex-direction: column; }
.store-small { font-size: 11px; line-height: 14px; letter-spacing: 0.02em; }
.store-big { font-size: 22px; line-height: 26px; font-weight: 500; letter-spacing: -0.02em; }
.hero-demo { flex: 1 1 340px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Zoom on scroll: the hero sticks while you scroll through the stage, and the phone
   grows to fill the screen over a black backdrop. main.js sets the transforms and opacities. */
.hero-stage { overflow-x: clip; }
/* The header (92px) sits above the hero, so pad the bottom by as much to center the content below it. */
.hero-stage.zoomable .hero { position: sticky; min-height: 100vh; box-sizing: border-box; padding-top: 24px; padding-bottom: 116px; } /* top and stage height: main.js */
.zoom-bg { display: none; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: 1; background: #000000; opacity: 0; pointer-events: none; }
.hero-stage.zoomable .zoom-bg { display: block; }
.zoom-note { display: none; position: absolute; z-index: 2; max-width: 260px; transform: translateY(-50%); flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; color: #F2F2F0; opacity: 0; pointer-events: none; }
.zoom-note p { margin: 0; font-size: 22px; line-height: 30px; letter-spacing: -0.01em; }
.zoom-next { display: none; position: absolute; z-index: 2; opacity: 0; background: #000000; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 9999px; border: 1px solid #3A3A38; color: #F2F2F0; font-size: 15px; font-weight: 500; text-decoration: none; }
.zoom-next:hover { color: #FFFFFF; background: #1C1C1B; }
.hero-stage { position: relative; }
.hero-stage.zoomable .zoom-note { display: flex; }
@media (max-width: 759px) { .hero-stage.zoomable .zoom-note { display: none; } } /* no room beside the phone */
/* Phones: a small close button in the top right corner instead, over the full-screen app. */
.zoom-close { display: none; position: absolute; z-index: 3; height: 36px; padding: 0 14px 0 12px; gap: 6px; border-radius: 9999px; align-items: center; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.22); color: #FFFFFF; font-size: 14px; font-weight: 500; text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; will-change: opacity; }
/* Phones: the page locks while the app zooms in (.app-locked) and while it fills the screen
   (.app-open), until the close button or the back gesture (main.js). */
.app-open-btn { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 9999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.hero-stage.phone-mode .app-open-btn { display: inline-flex; }
.app-backdrop { position: fixed; inset: 0; z-index: 1; background: #000000; opacity: 0; pointer-events: none; }
html.app-open .app-backdrop { opacity: 1; }
html.app-locked, html.app-locked body { overflow: hidden; overscroll-behavior: none; }
html.app-locked .hero .phone-wrap { position: relative; z-index: 2; will-change: transform; }
html.app-open .hero .phone-wrap { will-change: auto; transform: none !important; }
html.app-open .hero .phone-scale { transform: none !important; }
html.app-open #app-screen { position: fixed; z-index: 1000; inset: 0; width: 100% !important; height: 100% !important; border-radius: 0 !important; }
html.app-open #app-frame { width: 100% !important; height: 100% !important; }
html.app-open .zoom-close { display: flex; position: fixed; top: 10px; right: 10px; z-index: 1001; opacity: 1; }
.hero-stage.zoomable .zoom-next { display: inline-flex; }
.hero-stage.zoomable .phone-wrap { position: relative; z-index: 2; will-change: transform; }
/* Own layers, so scrolling only moves and fades them instead of repainting. */
.hero-stage.zoomable .zoom-bg, .hero-stage.zoomable .hero-text, .zoom-note, .zoom-next { will-change: opacity; }

/* Phone frame: a 390×844 screen in a 10px bezel, scaled down to fit. */
.phone-wrap { flex: none; width: 308px; height: 648px; }
.phone-scale { transform: scale(.75); transform-origin: top left; }
@media (max-height: 860px) { .phone-wrap { width: 267px; height: 562px; } .phone-scale { transform: scale(.65); } }
@media (max-height: 740px) { .phone-wrap { width: 226px; height: 475px; } .phone-scale { transform: scale(.55); } }

/* Big screens: use more of the width, and give the hero bigger type and a bigger phone. */
@media (min-width: 1440px) {
  .wrap { max-width: 1400px; padding-left: 48px; padding-right: 48px; }
  .hero h1 { font-size: clamp(88px, 6.4vw, 120px); }
  .hero-sub { max-width: 600px; font-size: 22px; line-height: 32px; }
}
.phone { width: 410px; height: 864px; border-radius: 56px; background: var(--ink); padding: 10px; text-align: left; }
.screen { position: relative; width: 390px; height: 844px; border-radius: 46px; overflow: hidden; background: #050505; }
.screen iframe { display: block; width: 390px; height: 844px; border: 0; background: #050505; }

/* Promise */
.block { padding-top: 120px; padding-bottom: 120px; }
.promise { padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--ink); color: #F2F2F0; }
.kicker-dark { font-size: 14px; color: #9A9A94; }
.h-big { margin-top: 12px; max-width: 680px; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.02; font-weight: 500; letter-spacing: -0.04em; }
.promises { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 32px; }
.promises li { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid #3A3A38; }
.promises b { font-size: 19px; line-height: 26px; font-weight: 500; }
.promise-get { margin-top: 56px; padding-top: 40px; border-top: 1px solid #3A3A38; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.promise-get h3 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -0.03em; }
.promise-get p { margin: 10px 0 0; font-size: 17px; line-height: 26px; color: #9A9A94; }
.promises span { font-size: 15px; line-height: 22px; color: #9A9A94; }
/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-in { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--muted); }

.kicker-sm { font-size: 14px; color: var(--muted); }

