@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --surface-2: #F3F0EA;
  --text: #0E1B33;
  --muted: #55617A;
  --border: #E7E2D8;
  --accent: #2C6BEA;
  --accent-text: #FFFFFF;
  --accent-soft: #E8F0FE;
  --accent-ink: #1D4FC4;
  --cyan: #19B6D9;
  --nav: rgba(250, 248, 244, 0.72);
  --glass: rgba(255, 255, 255, 0.66);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow: 0 1px 2px rgba(14, 27, 51, 0.05), 0 16px 40px rgba(14, 27, 51, 0.08);
  --shadow-lift: 0 2px 4px rgba(14, 27, 51, 0.06), 0 26px 56px rgba(14, 27, 51, 0.14);
  --chip: #F1EEE7;
  --line: #E9EEF6;
  --line-2: #D9E3F2;
  --bar: #BFD6F6;
  --mark: #FACC15;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #0B1120;
    --surface: #131B2C;
    --surface-2: #182134;
    --text: #EEF2F8;
    --muted: #9BA7BC;
    --border: #26324A;
    --accent: #5A8CFF;
    --accent-text: #071022;
    --accent-soft: #1B2B4D;
    --accent-ink: #8FB2FF;
    --nav: rgba(11, 17, 32, 0.72);
    --glass: rgba(26, 35, 54, 0.66);
    --glass-border: rgba(255, 255, 255, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.35), 0 26px 56px rgba(0, 0, 0, 0.5);
    --chip: #1C263B;
    --line: #222C42;
    --line-2: #2C3854;
    --bar: #34528A;
    color-scheme: dark;
  }
}

html[data-theme='dark'] {
  --bg: #0B1120;
  --surface: #131B2C;
  --surface-2: #182134;
  --text: #EEF2F8;
  --muted: #9BA7BC;
  --border: #26324A;
  --accent: #5A8CFF;
  --accent-text: #071022;
  --accent-soft: #1B2B4D;
  --accent-ink: #8FB2FF;
  --nav: rgba(11, 17, 32, 0.72);
  --glass: rgba(26, 35, 54, 0.66);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.35), 0 26px 56px rgba(0, 0, 0, 0.5);
  --chip: #1C263B;
  --line: #222C42;
  --line-2: #2C3854;
  --bar: #34528A;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: break-word;
  transition: background-color .2s ease, color .2s ease;
}

a { color: inherit; text-decoration: none; transition: color .15s ease, transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 10;
  padding: 12px 18px; border-radius: 12px; font-weight: 700;
  background: var(--accent); color: var(--accent-text);
}
.skip:focus { top: 16px; color: var(--accent-text); }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 860px; margin: 0 auto; padding-inline: 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: var(--nav);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.brand svg { width: 32px; height: 27px; }
.site-nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; }
.site-nav > a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; }
.site-nav > a[aria-current='page'] { color: var(--accent-ink); }
.theme-toggle {
  width: 44px; height: 44px; margin-left: 4px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
  transition: border-color .15s ease;
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
html[data-theme='dark'] .theme-toggle .sun { display: block; }
html[data-theme='dark'] .theme-toggle .moon { display: none; }

/* Buttons and chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px;
  font-size: 16px; font-weight: 700; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-text); box-shadow: var(--shadow); }
.btn-primary:hover { color: var(--accent-text); box-shadow: var(--shadow-lift); }
.btn-secondary { background: var(--surface); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); }
.btn img { width: 28px; height: 28px; margin-left: -8px; }
.btn svg { width: 16px; height: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--chip); color: var(--muted); font-size: 13px; font-weight: 700; }
.chip-price { background: var(--accent-soft); color: var(--accent-ink); }

.badge { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.badge-quiet { background: var(--chip); color: var(--muted); }

.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.hero { padding-block: 88px 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
h1 { font-size: clamp(44px, 5.6vw, 76px); letter-spacing: -0.04em; line-height: 1.02; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 540px; }
.note { font-size: 15px; color: var(--muted); }

/* Real app images */
.window { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.shot { width: 100%; height: auto; }

.fan-section { padding-block: 16px 104px; overflow: hidden; }
.fan-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-bottom: 40px; }
.fan-head p { font-size: 18px; color: var(--muted); max-width: 560px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.fan { display: flex; justify-content: center; align-items: center; padding: 16px 24px 32px; }
.tile {
  flex: 0 0 auto; margin: 0 -12px; width: 210px; position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:nth-child(2), .tile:nth-child(4) { width: 250px; z-index: 2; }
.tile:nth-child(3) { width: 310px; z-index: 3; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); z-index: 4; }
.tile-media { aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tile figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.tile strong { font-size: 15px; font-weight: 800; }
.tile span { font-size: 13px; color: var(--muted); }
@media (min-width: 1041px) {
  .tile:nth-child(1) figcaption, .tile:nth-child(2) figcaption { padding-right: 24px; }
  .tile:nth-child(4) figcaption, .tile:nth-child(5) figcaption { padding-left: 26px; }
}

.feature-media { border: 1px solid var(--border); border-radius: 26px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.feature-media-tall { display: flex; justify-content: center; padding: 32px; }
.feature-media-tall .shot { width: auto; max-width: 100%; max-height: 460px; border-radius: 18px; box-shadow: var(--shadow); }

/* Launch sign-up */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.notify { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 460px; }
.notify-row { display: flex; flex-wrap: wrap; gap: 8px; }
.notify input[type='email'] {
  flex: 1 1 200px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 16px;
}
.notify input[type='email']:focus-visible { border-color: var(--accent); }
.notify .btn { border: 0; cursor: pointer; font-family: inherit; }
.notify .btn:disabled { opacity: .6; cursor: progress; }
.notify-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify-status { font-size: 14px; color: var(--muted); }
.notify-status.is-error { color: #B42318; }
html[data-theme='dark'] .notify-status.is-error { color: #FF8A80; }
.notify.is-done .notify-row { display: none; }
.notify.is-done .notify-status { padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); font-size: 15px; font-weight: 700; }
.buy-action { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.buy-action .notify { text-align: left; }
.chip-start { align-self: flex-start; }

/* Sections */
.section { padding-block: 24px 104px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
h2 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -0.035em; line-height: 1.08; }
.section-head p { font-size: 18px; color: var(--muted); }
.divided { border-top: 1px solid var(--border); }

/* App cards */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.app-feature {
  border-radius: 30px; box-shadow: var(--shadow); padding: clamp(24px, 3.4vw, 48px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 44px; align-items: center;
}
.app-feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.app-id { display: flex; align-items: center; gap: 14px; }
.app-id img, .app-id .icon { width: 72px; height: 72px; }
.app-name { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.app-id > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.app-feature h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.app-feature p { font-size: 18px; color: var(--muted); max-width: 480px; }

.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; margin-top: 24px; }
.app-small { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.app-small .app-id img { width: 56px; height: 56px; }
.app-small .app-name { font-size: 22px; flex: 1; }
.app-small .app-id { justify-content: space-between; flex-wrap: wrap; }
.app-small h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.app-small p { font-size: 16px; color: var(--muted); }
.app-small-copy { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.app-grid.solo .app-small { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px 44px; align-items: center; }

/* Studio */
.studio { padding-block: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; }
.studio-copy { display: flex; flex-direction: column; gap: 18px; }
.studio-copy p:first-child { font-size: 19px; }
.studio-copy p + p { font-size: 17px; color: var(--muted); }
.studio-copy a { color: var(--accent-ink); font-weight: 700; }

/* App page */
.app-hero { padding-block: 56px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.app-hero img { width: 112px; height: 112px; }
.app-hero .lede { max-width: 640px; }
.meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.reassure { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 700; text-align: left; }
.reassure svg { width: 16px; height: 16px; flex-shrink: 0; }
.big-demo { max-width: 1040px; margin: 0 auto; padding: 8px 24px 112px; }

.features { display: flex; flex-direction: column; gap: 96px; padding-bottom: 112px; }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.feature-copy { display: flex; flex-direction: column; gap: 14px; }
.feature h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.feature p { font-size: 18px; color: var(--muted); max-width: 480px; }
.feature ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 16px; }
.feature li { padding-left: 20px; position: relative; }
.feature li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (min-width: 921px) { .feature.flip .feature-copy { order: 2; } }

.parked-extras { padding-top: 24px; }
.app-small .text-link { align-self: flex-start; }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; padding-bottom: 104px; }
.extra { padding: 22px 24px; border-radius: 20px; display: flex; flex-direction: column; gap: 6px; }
.extra strong { font-size: 16px; font-weight: 800; }
.extra span { font-size: 15px; color: var(--muted); }

.fine { padding-block: 96px; }
.fine h2, .faq h2 { margin-bottom: 32px; font-size: clamp(30px, 3.4vw, 44px); }
.fine-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.fine-card { padding: 26px; border-radius: 22px; display: flex; flex-direction: column; gap: 10px; }
.fine-card h3 { font-size: 17px; }
.fine-card p { font-size: 15px; color: var(--muted); }

.faq { padding-bottom: 96px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; }
summary { cursor: pointer; min-height: 44px; padding: 20px 0; font-size: 17px; font-weight: 700; }
details p { padding-bottom: 20px; font-size: 16px; color: var(--muted); }
details a, .prose a { color: var(--accent-ink); font-weight: 700; }

.buy { padding-bottom: 104px; scroll-margin-top: 80px; }
.buy-panel { border-radius: 30px; box-shadow: var(--shadow); padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.buy-panel img { width: 84px; height: 84px; }
.buy-panel p { font-size: 17px; color: var(--muted); }

/* Text pages */
.page-head { padding-block: 72px 32px; display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); }
.prose { padding-bottom: 104px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; margin-top: 24px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.keys { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: center; margin: 0; }
.keys dt { font-weight: 700; color: var(--text); white-space: nowrap; }
.keys dd { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-2); }
.footer-inner { padding-block: 56px 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.footer-brand p { font-size: 15px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; font-weight: 600; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; line-height: 1.55; }
.footer-col a { display: flex; align-items: center; min-height: 36px; }
.copyright { font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  .hero { padding-block: 48px 64px; gap: 40px; }
  .section { padding-bottom: 72px; }
  .features { gap: 64px; }
  .btn-row:not(.center) .btn { flex: 1 1 auto; }
  .site-header .wrap { padding-inline: 16px; flex-wrap: nowrap; }
  .brand { font-size: 17px; gap: 8px; }
  .site-nav { font-size: 14px; gap: 0; }
  .site-nav > a { padding: 0 8px; }
  .notify .btn { flex: 1 1 100%; }
}

@media (max-width: 1040px) {
  .fan { justify-content: flex-start; align-items: stretch; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 24px; }
  .tile, .tile:nth-child(2), .tile:nth-child(3), .tile:nth-child(4) { margin: 0; width: 270px; scroll-snap-align: center; }
  .tile:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .card:hover, .btn:hover, .tile:hover { transform: none; }
}

