/* ==========================================================================
   Storyglot marketing site
   Fonts: Fredoka (display), Nunito (body), Lora (reading samples)
   ========================================================================== */

:root {
  /* Brand */
  --green: #58cc02;
  --green-hover: #58a700;
  --green-dark: #46a302;
  --green-deep: #3f9e01;
  --green-deeper: #3f8f00;

  --blue: #2563eb;
  --blue-ink: #12336b;
  --blue-ink-2: #1c4fa6;
  --blue-deep: #0f2f66;
  --blue-deepest: #0c2450;

  --ink: #1f2637;
  --ink-hero: #12233f;
  --text: #54607a;
  --muted: #8a93a5;

  --bg: #fbfcfe;
  --bg-soft: #f5f7fb;
  --card: #ffffff;
  --border: #eceff5;
  --border-2: #dfe4f0;

  --orange: #ff9600;

  --shadow-card: 0 5px 0 var(--border);
  --radius: 18px;
  --maxw: 1180px;
}

/* ------------------------------ Reset / base ---------------------------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Material Symbols helper */
.msr {
  font-family: 'Material Symbols Rounded';
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  font-weight: normal;
}
.msr.bold { font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 24; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-phone { animation: none !important; }
}

/* --------------------------------- Nav ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 254, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  padding-top: 16px; padding-bottom: 16px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 25px; color: var(--blue-ink); letter-spacing: -.3px;
}
.brand-mark { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; }
.brand:hover { color: var(--blue-ink); }
.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-link {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px;
  color: #42506b;
}
.nav-link:hover { color: var(--blue-ink); }

/* ------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  border: none; cursor: pointer;
  border-radius: var(--radius);
  transition: transform .06s ease, box-shadow .06s ease;
}
.btn:active { transform: translateY(3px); }
.btn-green {
  color: #fff; background: var(--green);
  box-shadow: 0 5px 0 var(--green-dark);
}
.btn-green:hover { color: #fff; background: var(--green-hover); }
.btn-green:active { box-shadow: 0 2px 0 var(--green-dark); }
.btn-ghost {
  color: var(--blue-ink); background: #fff;
  box-shadow: 0 4px 0 var(--border-2);
}
.btn-ghost:hover { color: var(--blue-ink); }
.btn-ghost:active { box-shadow: 0 1px 0 var(--border-2); }
.btn-white {
  color: var(--green-deeper); background: #fff;
  box-shadow: 0 5px 0 #d6e9c4;
}
.btn-white:hover { color: var(--green-deeper); }
.btn-white:active { box-shadow: 0 2px 0 #d6e9c4; }

.btn-nav { font-size: 15px; padding: 10px 20px; border-radius: 14px; box-shadow: 0 4px 0 var(--green-dark); }
.btn-lg { font-size: 18px; padding: 15px 28px; }
.btn-md { font-size: 17px; padding: 15px 24px; }
.btn-cta { font-size: 18px; padding: 16px 32px; }

/* --------------------------------- Hero --------------------------------- */
.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
  padding-top: 64px; padding-bottom: 40px;
}
.hero-copy { flex: 1 1 380px; min-width: 300px; }
.hero-title {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.02;
  color: var(--ink-hero); margin: 0; letter-spacing: -.5px;
}
.hero-title .accent { color: var(--blue-ink-2); }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6;
  color: var(--text); max-width: 520px; margin: 22px 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.read-on {
  display: flex; align-items: center; gap: 18px;
  margin-top: 30px; flex-wrap: wrap; color: var(--muted);
}
.read-on-label {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: .5px; text-transform: uppercase;
}
.read-on-list { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.read-on-list li {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px; color: var(--text);
}
.read-on-list { list-style: none; margin: 0; padding: 0; }
.read-on-list .msr { font-size: 20px; }

.hero-device { flex: 1 1 320px; min-width: 280px; display: flex; justify-content: center; }
.hero-phone { position: relative; animation: floaty 6s ease-in-out infinite; }
.hero-glow {
  position: absolute; inset: -46px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(88, 204, 2, .16), transparent 70%);
}

/* ---------------------------- Community invite ------------------------- */
.invite-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 8%, rgba(37, 99, 235, .18), transparent 34rem),
    var(--bg-soft);
}
.invite-shell {
  width: min(100%, 580px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.invite-brand { align-self: center; margin-bottom: 22px; }
.invite-card {
  padding: clamp(28px, 7vw, 46px);
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 30px;
  box-shadow: 0 24px 70px -38px rgba(18, 51, 107, .55), var(--shadow-card);
}
.invite-book {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 46px;
  background: linear-gradient(145deg, #dce9ff, #eef8e8);
  border-radius: 26px;
}
.invite-kicker {
  margin: 0 0 8px;
  color: var(--green-deeper) !important;
  font-family: 'Fredoka', sans-serif;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: .8px;
}
.invite-card h1 {
  margin: 0;
  color: var(--blue-ink);
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1.06;
}
.invite-card > p:not(.invite-kicker) {
  margin: 18px auto 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}
.invite-open { margin-top: 26px; justify-content: center; width: 100%; }
.invite-card .invite-help {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* ---------------------------- Device frames ----------------------------- */
.phone {
  position: relative; width: min(250px, 58vw);
  border-radius: 44px; background: #0a0d14; padding: 10px;
}
.phone-hero { box-shadow: 0 44px 90px -30px rgba(18, 51, 107, .6), 0 0 0 2px #23283a; }
.phone-screen {
  position: relative; width: 100%; aspect-ratio: 9 / 19.5;
  border-radius: 35px; overflow: hidden; background: var(--bg-soft);
  display: flex; flex-direction: column;
}
.notch {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%);
  width: 98px; height: 28px; background: #0a0d14; border-radius: 16px; z-index: 4;
}
.home-indicator {
  flex: none; height: 22px; display: flex; align-items: center;
  justify-content: center; background: #fff;
}
.home-indicator span {
  width: 112px; height: 5px; border-radius: 3px; background: #0a0d14; opacity: .85;
}

/* Reader content (hero phone) */
.rdr-topbar {
  flex: none; display: flex; align-items: center; gap: 8px; padding: 42px 14px 8px;
}
.rdr-back {
  width: 28px; height: 28px; border-radius: 9px; background: #f0f3fa;
  display: flex; align-items: center; justify-content: center;
}
.rdr-back .msr { font-size: 17px; color: var(--ink); }
.rdr-title {
  flex: 1; text-align: center; font-family: 'Fredoka', sans-serif;
  font-weight: 600; font-size: 13px; color: var(--ink); margin-right: 28px;
}
.rdr-body { flex: 1; min-height: 0; padding: 0 14px; overflow: hidden; }
.rdr-header {
  border-radius: 16px; background: linear-gradient(155deg, #1c4fa6, #0f2f66); padding: 13px 15px;
}
.rdr-header-meta { display: flex; align-items: center; gap: 7px; }
.rdr-chip {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 8px;
  letter-spacing: 1px; color: #a8c1ec; text-transform: uppercase;
}
.rdr-level {
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 8px; color: #fff;
  background: var(--green); padding: 1px 7px; border-radius: 20px;
}
.rdr-title-fi { font-family: 'Lora', serif; font-weight: 500; font-size: 19px; color: #fff; margin-top: 4px; }
.rdr-title-en { font-family: 'Lora', serif; font-style: italic; font-size: 12px; color: #bcd0f2; margin-top: 2px; }

.rdr-line { display: flex; align-items: center; margin-top: 13px; }
.rdr-line:first-of-type { margin-top: 14px; }
.rdr-line-text { flex: 1; font-family: 'Lora', serif; font-size: 16px; color: #1c2536; }
.rdr-dot {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.rdr-dot.active { background: #e0ecff; }
.rdr-dot.active .msr { font-size: 14px; color: var(--blue); }
.rdr-dot.muted { background: #eef1f8; }
.rdr-dot.muted .msr { font-size: 13px; color: #9aa2b1; font-variation-settings: 'FILL' 1, 'wght' 600; }
.rdr-translation {
  margin-top: 6px; padding: 8px 11px; background: #eef4ff;
  border-left: 3px solid var(--blue); border-radius: 9px;
  font-family: 'Lora', serif; font-size: 13px; color: #26406e;
}

.rdr-player {
  flex: none; margin: 0 12px 10px; background: #fff; border-radius: 16px;
  box-shadow: 0 6px 18px -6px rgba(20, 40, 90, .25), 0 0 0 1px var(--border);
  display: flex; align-items: center; gap: 9px; padding: 8px 10px;
}
.rdr-player-btn {
  flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-ink);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 var(--blue-deepest);
}
.rdr-player-btn .msr { font-size: 22px; color: #fff; }
.rdr-player-label { flex: 1; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 13px; color: var(--ink); }
.rdr-speed {
  flex: none; display: flex; align-items: center; gap: 4px;
  background: #eef1f8; padding: 6px 10px; border-radius: 14px;
}
.rdr-speed .msr { font-size: 14px; color: var(--muted); }
.rdr-speed span:last-child { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 11px; color: #42506b; }

/* ------------------------------ Section head ---------------------------- */
.section { padding-top: 48px; padding-bottom: 48px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-title {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px); color: var(--ink-hero); margin: 0;
}
.section-sub { font-size: 17px; color: var(--text); line-height: 1.6; margin: 14px 0 0; }

/* ------------------------------- Features ------------------------------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.feature-card {
  background: #fff; border: 2px solid var(--border); border-radius: 24px;
  box-shadow: var(--shadow-card); padding: 26px;
}
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-icon .msr { font-size: 28px; }
.feature-icon.blue { background: #eef4ff; } .feature-icon.blue .msr { color: var(--blue); }
.feature-icon.green { background: #e9f7dc; } .feature-icon.green .msr { color: #3f8f00; }
.feature-icon.orange { background: #fff4e6; } .feature-icon.orange .msr { color: var(--orange); }
.feature-card h3 {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 21px;
  color: var(--ink-hero); margin: 0 0 8px;
}
.feature-card p { font-size: 15px; color: var(--text); line-height: 1.6; margin: 0; }

/* ------------------------------- Devices -------------------------------- */
.devices-band {
  background: linear-gradient(180deg, #f2f5fc, #eaeff8);
  border-top: 1px solid #e6ebf5; border-bottom: 1px solid #e6ebf5; margin-top: 40px;
}
.devices-inner { padding-top: 64px; padding-bottom: 64px; text-align: center; }
.devices-inner .section-sub { max-width: 600px; margin-left: auto; margin-right: auto; }
.devices-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 48px; margin-top: 56px;
}
.device-col { display: flex; flex-direction: column; align-items: center; }
.device-label {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--muted); margin-top: 16px;
}

/* Laptop */
.laptop-top {
  width: min(600px, 92vw); background: #0a0d14; border-radius: 16px 16px 0 0;
  padding: 14px 14px 0; box-shadow: 0 40px 74px -30px rgba(18, 51, 107, .55);
}
.laptop-screen {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border-radius: 7px 7px 0 0; overflow: hidden; background: var(--bg-soft);
  display: flex; flex-direction: column;
}
.laptop-base {
  width: min(690px, 99vw); height: 16px;
  background: linear-gradient(180deg, #dbe1ee, #b0bad0);
  border-radius: 0 0 14px 14px; position: relative;
}
.laptop-notch {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 118px; height: 9px; background: #a3adc4; border-radius: 0 0 11px 11px;
}
.mac-bar {
  flex: none; display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--border);
}
.traffic { width: 11px; height: 11px; border-radius: 50%; }
.traffic.red { background: #ff5f57; }
.traffic.yellow { background: #ffbd2e; }
.traffic.green { background: #28c840; }
.mac-title {
  flex: 1; text-align: center; font-family: 'Fredoka', sans-serif;
  font-weight: 700; font-size: 13px; color: var(--blue-ink); margin-right: 33px;
}
.mac-body { flex: 1; min-height: 0; display: flex; }
.mac-sidebar {
  flex: none; width: 38%; background: var(--bg); border-right: 1px solid #eef1f8;
  padding: 14px 12px; display: flex; flex-direction: column; gap: 9px;
}
.mac-sidebar-title {
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 13px;
  color: var(--ink-hero); margin-bottom: 2px;
}
.mac-story { display: flex; align-items: center; gap: 9px; border-radius: 12px; padding: 9px; }
.mac-story.active { background: #e9f0ff; }
.story-cover {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.cover-blue { background: linear-gradient(160deg, #1c4fa6, #12336b); }
.cover-cafe { background: linear-gradient(160deg, #6b4a2a, #3c2915); }
.mac-story-meta { flex: 1; min-width: 0; }
.mac-story-name { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 13px; color: var(--blue-ink); }
.mac-story.locked .mac-story-name { color: var(--ink); }
.mac-story-ch { font-size: 10px; color: #7c93bd; }
.mac-story.locked .mac-story-ch { color: #9aa2b1; }
.mac-reader { flex: 1; min-width: 0; padding: 18px 20px; overflow: hidden; }
.mac-reader-header {
  border-radius: 12px; background: linear-gradient(155deg, #1c4fa6, #0f2f66); padding: 12px 15px;
}
.mac-reader-header .rdr-chip { font-size: 9px; }
.mac-reader-header .rdr-title-fi { font-size: 19px; margin-top: 2px; }
.mac-line { font-family: 'Lora', serif; font-size: 16px; color: #1c2536; margin-top: 14px; }
.mac-line.first { margin-top: 15px; }
.mac-translation {
  margin-top: 8px; padding: 9px 12px; background: #eef4ff;
  border-left: 3px solid var(--blue); border-radius: 10px;
  font-family: 'Lora', serif; font-size: 13px; color: #26406e;
}

/* Tablet */
.tablet {
  width: min(300px, 68vw); background: #0a0d14; border-radius: 30px; padding: 12px;
  box-shadow: 0 36px 64px -28px rgba(18, 51, 107, .55);
}
.tablet-screen {
  position: relative; width: 100%; aspect-ratio: 3 / 4;
  border-radius: 19px; overflow: hidden; background: var(--bg);
  display: flex; flex-direction: column;
}
.tablet-cam {
  position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: #2a2f3d; z-index: 2;
}
.tablet-topbar { flex: none; display: flex; align-items: center; gap: 10px; padding: 16px 16px 10px; }
.tablet-back {
  width: 30px; height: 30px; border-radius: 9px; background: #f0f3fa;
  display: flex; align-items: center; justify-content: center;
}
.tablet-back .msr { font-size: 18px; color: var(--ink); }
.tablet-title {
  flex: 1; text-align: center; font-family: 'Fredoka', sans-serif;
  font-weight: 600; font-size: 13px; color: var(--ink); margin-right: 30px;
}
.tablet-body { flex: 1; min-height: 0; padding: 0 16px 14px; overflow: hidden; }
.tablet-header { border-radius: 14px; background: linear-gradient(155deg, #1c4fa6, #0f2f66); padding: 14px 16px; }
.tablet-header .rdr-chip { font-size: 9px; }
.tablet-header .rdr-title-fi { font-size: 20px; margin-top: 3px; }
.tablet-header .rdr-title-en { font-size: 13px; }
.tablet-line { font-family: 'Lora', serif; font-size: 17px; color: #1c2536; margin-top: 15px; }
.tablet-line.first { margin-top: 16px; }
.tablet-translation {
  margin-top: 8px; padding: 10px 12px; background: #eef4ff;
  border-left: 3px solid var(--blue); border-radius: 10px;
  font-family: 'Lora', serif; font-size: 14px; color: #26406e;
}

/* Phone (library screen in devices row) */
.phone-lib { box-shadow: 0 36px 64px -28px rgba(255, 138, 0, .5); }
.phone-lib .notch { width: 82px; height: 23px; top: 10px; border-radius: 14px; z-index: 3; }
.status-bar {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px 4px;
}
.status-time { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 12px; color: #111726; }
.status-icons { display: flex; align-items: center; gap: 4px; color: #111726; }
.status-icons .msr:first-child { font-size: 13px; }
.status-icons .msr:last-child { font-size: 15px; }
.lang-row {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 6px 13px 8px;
}
.lang-pill {
  display: flex; align-items: center; gap: 6px; background: #fff;
  padding: 6px 10px; border-radius: 12px; box-shadow: 0 2px 0 var(--border-2);
}
.lang-pill .flag { font-size: 14px; }
.lang-pill span:last-child { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 12px; color: var(--ink); }
.streak-pill {
  display: flex; align-items: center; gap: 4px; background: #fff4e6;
  padding: 6px 9px; border-radius: 12px;
}
.streak-pill .msr { font-size: 14px; color: var(--orange); }
.streak-pill span:last-child { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 12px; color: #e07f00; }

.lib-body { flex: 1; min-height: 0; padding: 0 13px; overflow: hidden; }
.continue-card {
  border-radius: 16px; background: linear-gradient(155deg, #1c4fa6, #12336b);
  padding: 12px; display: flex; align-items: center; gap: 10px;
}
.continue-cover {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(160deg, #2c62c2, #163e86);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.continue-meta { flex: 1; min-width: 0; }
.continue-label {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 8px;
  letter-spacing: 1px; color: #ffc84d; text-transform: uppercase;
}
.continue-name { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; color: #fff; }
.progress { margin-top: 6px; height: 6px; border-radius: 5px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.progress-fill { width: 42%; height: 100%; background: var(--green); border-radius: 5px; }

.lib-section-title {
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 9px;
  letter-spacing: 1px; color: #96a0b2; text-transform: uppercase; margin: 12px 2px 8px;
}
.lib-story {
  border: 1.5px solid #e9edf6; background: #fff; border-radius: 14px; padding: 10px;
  display: flex; align-items: center; gap: 9px;
}
.lib-story + .lib-story { margin-top: 9px; }
.lib-cover {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.lib-cover.cafe { font-size: 17px; }
.lib-meta { flex: 1; min-width: 0; }
.lib-name { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 14px; color: var(--ink); }
.lib-desc { font-size: 10px; color: var(--muted); font-weight: 700; }
.lib-chevron .msr { font-size: 18px; color: #c3cad8; }
.lib-lock {
  flex: none; display: flex; align-items: center; gap: 3px;
  background: linear-gradient(150deg, #ffd257, #ff9e00); padding: 4px 8px; border-radius: 20px;
}
.lib-lock .msr { font-size: 11px; color: #fff; }

.tab-bar {
  flex: none; display: flex; justify-content: space-around; align-items: center;
  padding: 7px 10px 5px; background: #fff; border-top: 1px solid var(--border);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 12px; border-radius: 11px; }
.tab.active { background: #e9f0ff; }
.tab .msr { font-size: 17px; color: #a3abba; }
.tab.active .msr { color: #123b7a; }
.tab span:last-child { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 8px; color: #a3abba; }
.tab.active span:last-child { color: #123b7a; }
.phone-lib .home-indicator { height: 18px; }
.phone-lib .home-indicator span { width: 98px; }

/* ----------------------------- How it works ----------------------------- */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 22px;
}
.step-num.n1 { background: var(--blue-ink); box-shadow: 0 4px 0 var(--blue-deepest); }
.step-num.n2 { background: var(--blue); box-shadow: 0 4px 0 #1747b0; }
.step-num.n3 { background: var(--green); box-shadow: 0 4px 0 var(--green-dark); }
.step h3 {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 20px;
  color: var(--ink-hero); margin: 18px 0 8px;
}
.step p { font-size: 15px; color: var(--text); line-height: 1.6; margin: 0; }

/* -------------------------------- CTA band ------------------------------ */
.cta-band { margin: 0 auto 64px; }
.cta-inner {
  border-radius: 32px; background: linear-gradient(150deg, #58cc02, #3f9e01);
  padding: clamp(36px, 5vw, 60px); text-align: center;
  box-shadow: 0 24px 50px -20px rgba(63, 158, 1, .6);
}
.cta-inner h2 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px); color: #fff; margin: 0;
}
.cta-inner p { font-size: 17px; color: #eafbe0; line-height: 1.6; max-width: 520px; margin: 14px auto 28px; }

.waitlist-form {
  max-width: 1000px;
  margin: 30px auto 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 24px;
  background: rgba(19, 78, 2, .18);
  text-align: left;
}
.waitlist-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: 14px;
}
.waitlist-field { display: flex; flex-direction: column; gap: 7px; }
.waitlist-field > span {
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.waitlist-field input,
.waitlist-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: 700 15px/1.2 'Nunito', system-ui, sans-serif;
  box-shadow: 0 4px 0 rgba(38, 111, 0, .55);
}
.waitlist-field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2312336b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.waitlist-field input:focus,
.waitlist-field select:focus { border-color: var(--blue); outline: none; }
.waitlist-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 680px;
  margin: 20px auto 0;
  color: #f3ffe9;
  font-size: 14px;
  line-height: 1.45;
}
.waitlist-consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--blue-ink); }
.waitlist-consent a,
.waitlist-fallback a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.waitlist-verification { display: flex; justify-content: center; min-height: 16px; margin: 18px auto 8px; }
.waitlist-form .btn-cta { display: flex; margin: 12px auto 0; }
.waitlist-form .btn-cta:disabled { cursor: not-allowed; opacity: .62; transform: none; box-shadow: none; }
.waitlist-status { min-height: 22px; margin: 15px auto 0 !important; color: #fff !important; font-size: 14px !important; text-align: center; }
.waitlist-status.error { color: #fff3d4 !important; font-weight: 800; }
.waitlist-success {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 30px auto 0;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 6px 0 rgba(38, 111, 0, .55);
}
.waitlist-success[hidden] { display: none; }
.waitlist-success > .msr { color: var(--green-deeper); font-size: 38px; }
.waitlist-success h3 { margin: 0; color: var(--ink-hero); font-family: 'Fredoka', sans-serif; font-size: 21px; }
.waitlist-success p { margin: 4px 0 0; color: var(--text); font-size: 15px; }
.waitlist-fallback { margin: 20px auto 0 !important; font-size: 13px !important; }
.launch-cta .waitlist-fallback { color: #e9f2ff !important; font-weight: 700; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------- Footer ------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding-top: 34px; padding-bottom: 34px;
}
.footer-brand { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 21px; color: var(--blue-ink); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-weight: 700; font-size: 14px; color: var(--text); }
.footer-links a:hover { color: var(--blue-ink); }
.footer-copy { width: 100%; font-size: 13px; color: var(--muted); padding-top: 8px; }
.footer-copy a { color: var(--muted); text-decoration: underline; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 900px) {
  .waitlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .nav-links a[href^="#"] { display: none; }
  .nav { gap: 12px; }
  .btn-nav { padding-left: 14px; padding-right: 14px; }
  .hero {
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
    padding-top: 40px;
    overflow: clip;
  }
  .hero-copy,
  .hero-device {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  .hero-title,
  .hero-sub { max-width: 100%; overflow-wrap: anywhere; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .read-on { margin-top: 26px; }
  .devices-row { gap: 40px; margin-top: 42px; }
  .device-col { width: 100%; min-width: 0; }
  .cta-inner { border-radius: 24px; }
  .btn-cta { width: 100%; justify-content: center; text-align: center; }
  .waitlist-form { padding: 20px 16px; }
  .waitlist-grid { grid-template-columns: 1fr; }
  .waitlist-success { align-items: flex-start; }
}

/* ------------------------- Legal and support pages ----------------------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue-ink);
  color: #fff;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .15s ease;
}
.skip-link:focus { color: #fff; transform: translateY(0); }

.legal-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .08), transparent 28rem),
    var(--bg);
}
.legal-nav .nav-links { gap: 22px; }
.legal-nav [aria-current="page"] { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 6px; }

.legal-shell { padding-top: 62px; padding-bottom: 80px; }
.legal-hero { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.legal-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e9f0ff;
  color: var(--blue-ink-2);
  font-family: 'Fredoka', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.legal-hero h1 {
  margin: 0;
  color: var(--ink-hero);
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.legal-lead {
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--text);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}
.legal-date { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 800px);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  justify-content: center;
}
.legal-toc {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--border-2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 0 var(--border);
}
.legal-toc-title {
  margin: 0 0 10px;
  color: var(--ink-hero);
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.legal-toc ol { margin: 0; padding-left: 22px; }
.legal-toc li { padding: 4px 0; color: var(--muted); font-size: 13px; }
.legal-toc a { color: var(--text); font-weight: 700; }
.legal-toc a:hover { color: var(--blue-ink); text-decoration: underline; }

.legal-content {
  min-width: 0;
  padding: 0 clamp(22px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 7px 0 var(--border);
}
.legal-content section {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2,
.legal-content h3 { font-family: 'Fredoka', sans-serif; color: var(--ink-hero); }
.legal-content h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 31px);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.legal-content h3 { margin: 28px 0 10px; font-size: 19px; line-height: 1.35; }
.legal-content h2 + h3 { margin-top: 8px; }
.legal-content p,
.legal-content li { color: #46526b; font-size: 16px; line-height: 1.72; }
.legal-content p { margin: 12px 0; }
.legal-content ul,
.legal-content ol { margin: 14px 0; padding-left: 24px; }
.legal-content li + li { margin-top: 8px; }
.legal-content strong { color: var(--ink); }
.legal-content a { text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--blue-ink); }

.legal-callout,
.legal-warning,
.contact-card {
  margin: 22px 0;
  padding: 20px 22px;
  border-radius: 17px;
}
.legal-callout { border: 1px solid #cdddf9; background: #f1f6ff; }
.legal-warning { border: 1px solid #f0cf90; background: #fff8e9; }
.contact-card { border: 1px solid #cbe7b7; background: #f3faed; }
.legal-callout > :first-child,
.legal-warning > :first-child,
.contact-card > :first-child { margin-top: 0; }
.legal-callout > :last-child,
.legal-warning > :last-child,
.contact-card > :last-child { margin-bottom: 0; }
.legal-callout h3,
.legal-warning h3,
.contact-card h3 { margin-top: 0; }

.check-list { list-style: none; padding-left: 0 !important; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-deeper);
  font-weight: 800;
}

.table-wrap {
  max-width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--border-2);
  border-radius: 14px;
}
.table-wrap:focus-visible { outline-offset: 4px; }
.legal-content table { width: 100%; min-width: 580px; border-collapse: collapse; background: #fff; }
.legal-content th,
.legal-content td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal-content th {
  background: var(--bg-soft);
  color: var(--ink-hero);
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
}
.legal-content td { color: #46526b; font-size: 14px; line-height: 1.55; }
.legal-content tr:last-child td { border-bottom: 0; }
.legal-footer [aria-current="page"] { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 4px; }

/* Support page */
.support-hero { margin-bottom: 38px; }
.support-email-button { margin-top: 26px; padding: 14px 24px; }
.support-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto 54px;
}
.support-summary-card {
  padding: 24px;
  border: 1px solid var(--border-2);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 0 var(--border);
}
.support-summary-card.warning-card { border-color: #f0cf90; background: #fffaf0; }
.support-card-label {
  margin: 0 0 9px;
  color: var(--blue-ink-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.support-summary-card h2 {
  margin: 0 0 10px;
  color: var(--ink-hero);
  font-family: 'Fredoka', sans-serif;
  font-size: 20px;
  overflow-wrap: anywhere;
}
.support-summary-card h2 a { text-decoration: underline; text-underline-offset: 3px; }
.support-summary-card > p:last-child { margin: 0; color: var(--text); font-size: 14px; line-height: 1.6; }
.steps-list { list-style: none; padding-left: 0 !important; }
.steps-list li { display: flex; gap: 14px; align-items: flex-start; }
.steps-list li > span {
  display: inline-flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--blue-ink);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.support-contact-link { font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.support-ticket-form { display: grid; gap: 18px; margin-top: 24px; }
.support-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-field { display: grid; gap: 7px; }
.support-field > span {
  color: var(--ink-hero);
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
}
.support-field input,
.support-field select { min-height: 48px; padding: 11px 13px; }
.support-field textarea { min-height: 150px; padding: 13px; resize: vertical; }
.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(45, 104, 207, .16); }
.support-optional-fields { padding: 15px 17px; border: 1px solid var(--border-2); border-radius: 14px; background: #fff; }
.support-optional-fields summary { color: var(--blue-ink); cursor: pointer; font-family: 'Fredoka', sans-serif; font-weight: 600; }
.support-optional-fields[open] summary { margin-bottom: 16px; }
.support-optional-fields .support-field + .support-field { margin-top: 16px; }
.support-confirmation { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 13px; line-height: 1.5; }
.support-confirmation input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue-ink); }
.support-verification { min-height: 1px; }
.support-submit { justify-self: start; min-width: 170px; }
.support-form-status { min-height: 22px; margin: 0 !important; color: var(--blue-ink) !important; font-size: 14px !important; font-weight: 700; }
.support-form-status.error { color: #9f2d2d !important; }
.support-ticket-success { margin-top: 22px; padding: 20px; border: 1px solid #cbe7b7; border-radius: 14px; background: #f3faed; }
.support-ticket-success h3 { margin: 0 0 7px; }
.support-ticket-success p { margin: 0; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc ol { columns: 2; column-gap: 32px; }
  .support-intro-grid { grid-template-columns: 1fr; max-width: 760px; }
}

@media (max-width: 640px) {
  .legal-nav { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .legal-nav .nav-links { gap: 12px; justify-content: flex-end; }
  .legal-nav .nav-link { font-size: 13px; }
  .legal-nav .btn { display: none; }
  .legal-shell { padding-top: 42px; padding-bottom: 54px; }
  .legal-hero { margin-bottom: 38px; }
  .legal-toc ol { columns: 1; }
  .legal-content { padding: 0 20px; border-radius: 20px; }
  .legal-content section { padding: 34px 0; }
  .legal-content p,
  .legal-content li { font-size: 15px; }
  .legal-callout,
  .legal-warning,
  .contact-card { padding: 18px; }
  .support-form-grid { grid-template-columns: 1fr; }
  .support-submit { width: 100%; justify-content: center; }
}

@media print {
  .site-header,
  .site-footer,
  .legal-toc,
  .support-email-button,
  .skip-link { display: none !important; }
  .legal-page { background: #fff; }
  .legal-shell { max-width: none; padding: 0; }
  .legal-hero { margin-bottom: 24px; text-align: left; }
  .legal-layout { display: block; }
  .legal-content { padding: 0; border: 0; box-shadow: none; }
  .legal-content section { break-inside: avoid; padding: 22px 0; }
  .legal-content a { color: inherit; }
}

/* ========================================================================
   Current app previews + Founding Readers beta
   Mirrors the Flutter app's midnight-library palette in lib/theme.dart.
   ======================================================================== */

.btn-mint {
  color: #07111f;
  background: #b7f36b;
  box-shadow: 0 5px 0 #6fa934;
}
.btn-mint:hover { color: #07111f; background: #c8ff82; }
.btn-mint:active { box-shadow: 0 2px 0 #6fa934; }
.btn-dark {
  color: #f7f4ec;
  background: #111d2e;
  box-shadow: 0 5px 0 #07111f;
  padding: 13px 22px;
}
.btn-dark:hover { color: #fff; background: #17263b; }

/* Real app screenshots replace the retired, hand-drawn interface previews. */
.current-app-phone {
  position: relative;
  width: min(310px, 78vw);
  padding: 9px;
  border: 1px solid #25354d;
  border-radius: 48px;
  background: #03070d;
  box-shadow: 0 36px 70px -24px rgba(7, 17, 31, .72);
  overflow: hidden;
}
.current-app-phone img { width: 100%; border-radius: 39px; }
.current-app-phone.reader { box-shadow: 0 36px 70px -24px rgba(18, 51, 107, .7); }
.current-app-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
  max-width: 940px;
  margin: 54px auto 0;
}
.current-app-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.current-app-preview:nth-child(2) { padding-top: 42px; }
.current-app-preview-frame {
  width: 100%;
  max-width: 270px;
  padding: 8px;
  border: 1px solid #25354d;
  border-radius: 40px;
  background: #03070d;
  box-shadow: 0 30px 60px -28px rgba(7, 17, 31, .75);
}
.current-app-preview-frame img { width: 100%; border-radius: 32px; }
.current-app-preview h3 {
  margin: 20px 0 4px;
  color: #12233f;
  font: 700 18px/1.2 'Fredoka', sans-serif;
}
.current-app-preview p { margin: 0; color: var(--text); font-size: 14px; }

.beta-invite-band {
  margin: 76px auto 52px;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 10%, rgba(126, 172, 255, .2), transparent 24rem),
    linear-gradient(145deg, #0e2038, #07111f 58%);
  box-shadow: 0 28px 54px -30px rgba(7, 17, 31, .85);
}
.beta-invite-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: clamp(30px, 5vw, 54px);
}
.beta-invite-band h2 {
  max-width: 720px;
  margin: 0;
  color: #f7f4ec;
  font: 700 clamp(28px, 4vw, 44px)/1.08 'Fredoka', sans-serif;
}
.beta-invite-band p { max-width: 690px; margin: 15px 0 0; color: #b7c1cf; font-size: 17px; }

/* Beta page */
.beta-page {
  --beta-navy: #07111f;
  --beta-navy-soft: #0b1626;
  --beta-card: #111d2e;
  --beta-card-raised: #17263b;
  --beta-border: #2a3b54;
  --beta-ink: #f7f4ec;
  --beta-gray: #b7c1cf;
  --beta-mint: #b7f36b;
  --beta-blue: #7eacff;
  --beta-orange: #ffad62;
  --beta-gold: #f2c65f;
  color: var(--beta-ink);
  background: var(--beta-navy);
}
.beta-page :focus-visible { outline-color: var(--beta-mint); }
.beta-header {
  background: rgba(7, 17, 31, .9);
  border-color: rgba(96, 114, 140, .28);
}
.beta-brand, .beta-brand:hover { color: var(--beta-ink); }
.beta-header .nav-link { color: var(--beta-gray); }
.beta-header .nav-link:hover { color: var(--beta-mint); }

.beta-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  min-height: 720px;
  padding-top: 76px;
  padding-bottom: 82px;
  overflow: hidden;
}
.beta-hero-copy { position: relative; z-index: 3; }
.beta-kicker,
.beta-eyebrow {
  color: var(--beta-mint);
  font: 700 13px/1.2 'Fredoka', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.beta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(183, 243, 107, .32);
  border-radius: 999px;
  background: rgba(183, 243, 107, .08);
}
.beta-hero h1 {
  margin: 22px 0 0;
  color: var(--beta-ink);
  font: 700 clamp(42px, 5.5vw, 70px)/.99 'Fredoka', sans-serif;
  letter-spacing: -.035em;
}
.beta-hero h1 span { color: var(--beta-mint); }
.beta-lead {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--beta-gray);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.62;
}
.beta-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.beta-text-link { color: var(--beta-blue); font-weight: 800; }
.beta-text-link:hover { color: #b8d1ff; }
.beta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.beta-trust li { display: flex; align-items: center; gap: 7px; color: #96a4b7; font-size: 14px; font-weight: 700; }
.beta-trust .msr { color: var(--beta-blue); font-size: 19px; }

.beta-hero-visual { position: relative; height: 600px; }
.app-shot {
  position: absolute;
  width: min(285px, 66%);
  padding: 7px;
  border: 1px solid #354761;
  border-radius: 42px;
  background: #03070d;
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.app-shot img { width: 100%; border-radius: 35px; }
.app-shot-library { top: 0; left: 0; transform: rotate(-5deg); }
.app-shot-reader { right: 0; bottom: -30px; z-index: 2; transform: rotate(5deg); }
.beta-hero-visual::before {
  content: '';
  position: absolute;
  inset: 4% -12% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 95, 195, .38), rgba(31, 128, 84, .1) 42%, transparent 68%);
  filter: blur(12px);
}
.beta-float-card {
  position: absolute;
  z-index: 4;
  left: 22%;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border: 1px solid rgba(242, 198, 95, .42);
  border-radius: 17px;
  background: rgba(17, 29, 46, .94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
  backdrop-filter: blur(12px);
}
.beta-float-card .msr { color: var(--beta-gold); font-size: 29px; }
.beta-float-card div { display: flex; flex-direction: column; }
.beta-float-card strong { color: var(--beta-ink); font: 700 14px 'Fredoka', sans-serif; }
.beta-float-card span:last-child { color: var(--beta-gray); font-size: 12px; }

.beta-section { padding-top: 104px; padding-bottom: 104px; }
.beta-section-heading { max-width: 760px; margin-bottom: 46px; }
.beta-section-heading.compact { margin-bottom: 34px; }
.beta-eyebrow { margin: 0 0 13px; }
.beta-section-heading h2,
.beta-student-copy h2,
.beta-apply-intro h2 {
  margin: 0;
  color: var(--beta-ink);
  font: 700 clamp(32px, 4.2vw, 49px)/1.06 'Fredoka', sans-serif;
  letter-spacing: -.02em;
}
.beta-section-heading > p:last-child,
.beta-student-copy > p,
.beta-apply-intro > p {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--beta-gray);
  font-size: 17px;
  line-height: 1.65;
}
.beta-program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.beta-program-card {
  position: relative;
  min-height: 285px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--beta-border);
  border-radius: 24px;
  background: var(--beta-card);
}
.beta-program-card-premium { border-color: rgba(242, 198, 95, .45); background: linear-gradient(145deg, rgba(242, 198, 95, .12), var(--beta-card) 62%); }
.beta-card-number { position: absolute; top: 19px; right: 22px; color: #60728c; font: 700 12px 'Fredoka', sans-serif; letter-spacing: .12em; }
.beta-card-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; }
.beta-card-icon .msr { font-size: 27px; }
.beta-card-icon.blue { color: var(--beta-blue); background: rgba(126, 172, 255, .1); }
.beta-card-icon.orange { color: var(--beta-orange); background: rgba(255, 173, 98, .1); }
.beta-card-icon.green { color: var(--beta-mint); background: rgba(183, 243, 107, .1); }
.beta-card-icon.gold { color: var(--beta-gold); background: rgba(242, 198, 95, .12); }
.beta-program-card h3 { margin: 24px 0 9px; color: var(--beta-ink); font: 700 21px 'Fredoka', sans-serif; }
.beta-program-card p { margin: 0; color: var(--beta-gray); font-size: 15px; line-height: 1.62; }

.beta-student-band {
  border-top: 1px solid #23436c;
  border-bottom: 1px solid #23436c;
  background:
    radial-gradient(circle at 12% 15%, rgba(126, 172, 255, .18), transparent 27rem),
    linear-gradient(140deg, #0d285d, #071f49 52%, #07111f);
  overflow: hidden;
}
.beta-student-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr);
  align-items: center;
  gap: 70px;
  min-height: 610px;
  padding-top: 78px;
}
.beta-student-copy { align-self: center; padding-bottom: 78px; }
.beta-student-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.beta-student-chips span { padding: 9px 13px; border: 1px solid rgba(126, 172, 255, .28); border-radius: 999px; background: rgba(126, 172, 255, .08); color: #d8e5ff; font-size: 13px; font-weight: 800; }
.beta-store-shot {
  align-self: end;
  width: min(330px, 100%);
  padding: 8px 8px 0;
  border: 1px solid #354761;
  border-bottom: 0;
  border-radius: 43px 43px 0 0;
  background: #03070d;
  box-shadow: 0 -10px 70px -20px rgba(126, 172, 255, .38);
  overflow: hidden;
}
.beta-store-shot img { width: 100%; border-radius: 35px 35px 0 0; }

.beta-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.beta-check-grid > div { display: flex; gap: 14px; align-items: flex-start; padding: 21px; border: 1px solid var(--beta-border); border-radius: 18px; background: var(--beta-card); }
.beta-check-grid .msr { flex: 0 0 auto; margin-top: 1px; color: var(--beta-mint); font-size: 23px; }
.beta-check-grid p { margin: 0; color: var(--beta-gray); font-size: 15px; line-height: 1.5; }
.beta-check-grid strong { color: var(--beta-ink); font-family: 'Fredoka', sans-serif; }

.beta-apply-band { padding: 96px 0; background: #f8f0e3; color: #202533; }
.beta-apply-shell { display: grid; grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr); align-items: start; gap: clamp(38px, 6vw, 80px); }
.beta-apply-intro { position: sticky; top: 116px; }
.beta-apply-intro .beta-eyebrow { color: #1f8054; }
.beta-apply-intro h2 { color: #202533; }
.beta-apply-intro > p { color: #5d6575; }
.beta-apply-intro ul { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.beta-apply-intro li { display: flex; gap: 11px; align-items: flex-start; color: #5d6575; font-size: 14px; line-height: 1.5; }
.beta-apply-intro .msr { flex: none; margin-top: 1px; color: #1f8054; font-size: 20px; }
.beta-form-card { min-width: 0; }
.beta-form {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid #ded4c2;
  border-radius: 28px;
  background: #fffdf8;
  box-shadow: 0 22px 50px -32px rgba(32, 37, 51, .35);
}
.beta-form[hidden] { display: none; }
.beta-form fieldset { min-width: 0; margin: 0; padding: 0 0 30px; border: 0; }
.beta-form fieldset + fieldset { padding-top: 29px; border-top: 1px solid #ded4c2; }
.beta-form legend { margin: 0 0 19px; color: #202533; font: 700 20px 'Fredoka', sans-serif; }
.beta-form-grid { display: grid; gap: 15px; }
.beta-form-grid + .beta-form-grid { margin-top: 15px; }
.beta-form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.beta-form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.beta-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.beta-field + .beta-field:not(.beta-form-grid .beta-field) { margin-top: 15px; }
.beta-field > span { color: #3d4555; font-size: 13px; font-weight: 800; }
.beta-field small { color: #7b8493; font-weight: 600; }
.beta-field input,
.beta-field select,
.beta-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 13px;
  border: 1.5px solid #cfc4b2;
  border-radius: 13px;
  background: #fff;
  color: #202533;
  font: 700 14px/1.3 'Nunito', sans-serif;
}
.beta-field textarea { min-height: 126px; padding-top: 13px; padding-bottom: 13px; resize: vertical; font-weight: 600; }
.beta-field input:focus,
.beta-field select:focus,
.beta-field textarea:focus { border-color: #1f8054; outline: 3px solid rgba(31, 128, 84, .16); outline-offset: 1px; }
.beta-field select {
  appearance: none;
  padding-right: 45px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231f8054' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  box-shadow: 0 3px 0 #e8dfd1;
  cursor: pointer;
}
.beta-confirmations { display: grid; gap: 12px; padding-top: 3px; }
.beta-confirmations label { display: flex; gap: 11px; align-items: flex-start; color: #4e5666; font-size: 13px; line-height: 1.5; }
.beta-confirmations input { flex: 0 0 19px; width: 19px; height: 19px; margin-top: 1px; accent-color: #1f8054; }
.beta-confirmations a { color: #145c3d; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.beta-submit { display: flex; width: 100%; justify-content: center; margin-top: 14px; }
.beta-submit:disabled { cursor: not-allowed; opacity: .6; transform: none; box-shadow: none; }
.beta-status { min-height: 22px; margin: 13px 0 0; color: #5d6575; text-align: center; font-size: 13px; }
.beta-status.error { color: #a93247; font-weight: 800; }
.beta-success {
  padding: 42px 34px;
  border: 1px solid #c9dfb0;
  border-radius: 28px;
  background: #fffdf8;
  text-align: center;
  box-shadow: 0 22px 50px -32px rgba(32, 37, 51, .35);
}
.beta-success[hidden] { display: none; }
.beta-success > .msr { color: #1f8054; font-size: 47px; }
.beta-success h3 { margin: 14px 0 8px; color: #202533; font: 700 26px 'Fredoka', sans-serif; }
.beta-success p { max-width: 560px; margin: 0 auto 24px; color: #5d6575; line-height: 1.6; }
.beta-form-fallback { margin: 18px 0 0; color: #5d6575; text-align: center; font-size: 13px; }
.beta-form-fallback a { color: #145c3d; font-weight: 800; text-decoration: underline; }

.beta-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.beta-faq details { border: 1px solid var(--beta-border); border-radius: 17px; background: var(--beta-card); }
.beta-faq summary { padding: 19px 21px; color: var(--beta-ink); cursor: pointer; font: 700 16px 'Fredoka', sans-serif; }
.beta-faq details p { margin: 0; padding: 0 21px 20px; color: var(--beta-gray); font-size: 14px; line-height: 1.6; }
.beta-footer { border-color: var(--beta-border); background: #050c17; }
.beta-footer .footer-brand { color: var(--beta-ink); }
.beta-footer .footer-links a { color: var(--beta-gray); }
.beta-footer .footer-links a:hover { color: var(--beta-mint); }
.beta-footer .footer-copy,
.beta-footer .footer-copy a { color: #78879b; }

/* -------------------------- Invited beta access ------------------------- */
.beta-access-page { background: var(--beta-navy); }
.access-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
  align-items: center;
  gap: clamp(42px, 7vw, 94px);
  min-height: 760px;
  padding-top: 72px;
  padding-bottom: 90px;
}
.access-hero-copy { position: relative; z-index: 3; }
.access-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--beta-ink);
  font: 700 clamp(46px, 5.8vw, 70px)/.98 'Fredoka', sans-serif;
  letter-spacing: -.035em;
}
.access-hero-copy > p:not(.beta-eyebrow) {
  max-width: 680px;
  margin: 25px 0 0;
  color: var(--beta-gray);
  font-size: 18px;
  line-height: 1.7;
}
.access-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn-access-outline {
  color: var(--beta-ink);
  border: 1px solid var(--beta-border);
  background: var(--beta-card);
  box-shadow: 0 5px 0 #020711;
}
.btn-access-outline:hover { color: var(--beta-mint); background: var(--beta-card-raised); }
.access-hero .beta-trust { margin-top: 30px; }
.access-hero-visual { position: relative; min-height: 590px; }
.access-hero-visual::before {
  content: '';
  position: absolute;
  inset: 7% -8% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 172, 255, .2), transparent 66%);
  filter: blur(10px);
}
.access-phone {
  position: absolute;
  width: min(270px, 58%);
  padding: 7px;
  border: 1px solid #354761;
  border-radius: 39px;
  background: #03070d;
  box-shadow: 0 35px 80px rgba(0, 0, 0, .42);
  overflow: hidden;
}
.access-phone img { width: 100%; border-radius: 32px; }
.access-phone-library { top: 5px; left: 4%; transform: rotate(-5deg); }
.access-phone-reader { right: 3%; bottom: 8px; z-index: 2; transform: rotate(5deg); }
.access-ready-card {
  position: absolute;
  z-index: 4;
  right: 15%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid rgba(183, 243, 107, .4);
  border-radius: 15px;
  background: rgba(17, 29, 46, .95);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .36);
  color: var(--beta-ink);
  font: 700 14px 'Fredoka', sans-serif;
}
.access-ready-card .msr { color: var(--beta-mint); font-size: 25px; }

.access-install-band { padding: 100px 0; background: #f8f0e3; color: #202533; }
.access-section-heading { max-width: 760px; margin-bottom: 42px; }
.access-section-heading.compact { margin-bottom: 34px; }
.access-section-heading .beta-eyebrow { color: #1f8054; }
.access-section-heading h2,
.access-first-session h2,
.access-help-copy h2 {
  margin: 0;
  color: #202533;
  font: 700 clamp(34px, 4.3vw, 50px)/1.04 'Fredoka', sans-serif;
  letter-spacing: -.025em;
}
.access-section-heading > p:last-child {
  max-width: 720px;
  margin: 17px 0 0;
  color: #5d6575;
  font-size: 17px;
  line-height: 1.65;
}
.access-platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.access-platform-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #ded4c2;
  border-radius: 28px;
  background: #fffdf8;
  box-shadow: 0 20px 48px -34px rgba(32, 37, 51, .38);
  scroll-margin-top: 110px;
}
.access-platform-top { display: flex; align-items: center; gap: 16px; }
.access-platform-icon { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; border-radius: 18px; }
.access-platform-icon .msr { font-size: 31px; }
.access-platform-icon.ios { color: #fff; background: #202533; }
.access-platform-icon.android { color: #0a5d3c; background: #dff5d5; }
.access-platform-label { margin: 0 0 2px; color: #7b8493; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.access-platform-card h3 { margin: 0; color: #202533; font: 700 25px 'Fredoka', sans-serif; }
.access-step-list { display: grid; gap: 18px; margin: 30px 0; padding: 0; list-style: none; }
.access-step-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.access-step-list li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: #edf8e7;
  color: #196744;
  font: 700 13px 'Fredoka', sans-serif;
}
.access-step-list strong { display: block; color: #303747; font: 700 15px 'Fredoka', sans-serif; }
.access-step-list p { margin: 4px 0 0; color: #687181; font-size: 14px; line-height: 1.52; }
.access-store-button { width: 100%; justify-content: center; }
.access-account-note { display: flex; gap: 9px; margin: 19px 0 0; color: #737b88; font-size: 12px; line-height: 1.5; }
.access-account-note .msr { flex: 0 0 auto; margin-top: 1px; color: #1f8054; font-size: 18px; }

.access-program { padding-top: 104px; padding-bottom: 104px; }
.access-program .access-section-heading h2 { color: var(--beta-ink); }
.access-program .access-section-heading > p:last-child { color: var(--beta-gray); }
.access-program .access-section-heading .beta-eyebrow { color: var(--beta-mint); }
.access-check-grid .msr { color: var(--beta-mint); }
.access-first-session {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 7vw, 86px);
  margin-top: 74px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--beta-border);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(126, 172, 255, .09), var(--beta-card));
}
.access-first-session h2 { color: var(--beta-ink); }
.access-first-session ol { display: grid; gap: 21px; margin: 0; padding: 0; list-style: none; }
.access-first-session li { display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: start; }
.access-first-session li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--beta-mint);
  color: #13210a;
  font: 700 14px 'Fredoka', sans-serif;
}
.access-first-session li p { margin: 0; color: var(--beta-gray); font-size: 15px; line-height: 1.62; }
.access-first-session li strong { color: var(--beta-ink); }

.access-help-band { padding: 96px 0; border-top: 1px solid #23436c; background: linear-gradient(140deg, #0d285d, #071f49 52%, #07111f); }
.access-help-shell { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: clamp(42px, 7vw, 90px); align-items: start; }
.access-help-copy { position: sticky; top: 116px; }
.access-help-copy h2 { color: var(--beta-ink); }
.access-help-copy > p:not(.beta-eyebrow) { margin: 18px 0 27px; color: #c2cde0; font-size: 16px; line-height: 1.65; }
.access-faq-list { display: grid; gap: 12px; }
.access-faq-list details { border: 1px solid rgba(126, 172, 255, .24); border-radius: 17px; background: rgba(17, 29, 46, .72); }
.access-faq-list summary { padding: 20px 22px; color: var(--beta-ink); cursor: pointer; font: 700 16px 'Fredoka', sans-serif; }
.access-faq-list details p { margin: 0; padding: 0 22px 21px; color: #b7c5d9; font-size: 14px; line-height: 1.62; }
.access-faq-list a { color: var(--beta-mint); font-weight: 800; }

@media (max-width: 980px) {
  .access-hero { grid-template-columns: 1fr; }
  .access-hero-copy { max-width: 760px; }
  .access-hero-visual { width: min(590px, 94vw); margin: 0 auto; }
  .access-platform-grid { grid-template-columns: 1fr; }
  .access-help-shell { grid-template-columns: 1fr; }
  .access-help-copy { position: static; max-width: 720px; }
}

@media (max-width: 700px) {
  .access-hero { min-height: auto; padding-top: 56px; padding-bottom: 70px; }
  .access-hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .access-hero-actions { align-items: stretch; }
  .access-hero-actions .btn { width: 100%; justify-content: center; }
  .access-hero-visual { min-height: 455px; }
  .access-phone { width: min(220px, 63%); }
  .access-phone-reader { display: none; }
  .access-phone-library { top: 0; left: 50%; transform: translateX(-50%) rotate(-2deg); }
  .access-ready-card { right: 5%; bottom: 26px; }
  .access-install-band,
  .access-help-band { padding: 74px 0; }
  .access-program { padding-top: 78px; padding-bottom: 78px; }
  .access-first-session { grid-template-columns: 1fr; margin-top: 54px; }
}

@media (max-width: 980px) {
  .current-app-showcase { gap: 16px; }
  .beta-hero { grid-template-columns: 1fr; padding-top: 62px; }
  .beta-hero-copy { max-width: 760px; }
  .beta-hero-visual { width: min(580px, 92vw); margin: 0 auto; }
  .beta-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beta-apply-shell { grid-template-columns: 1fr; }
  .beta-apply-intro { position: static; max-width: 760px; }
  .beta-form-grid.three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .current-app-showcase { grid-template-columns: 1fr; }
  .current-app-preview:nth-child(2) { padding-top: 0; }
  .current-app-preview-frame { max-width: 300px; }
  .beta-invite-inner { grid-template-columns: 1fr; }
  .beta-invite-inner .btn { justify-self: start; }
  .beta-header .nav-link { display: none; }
  .beta-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 50px;
    padding-top: 48px;
    padding-bottom: 58px;
  }
  .beta-hero-copy { width: 100%; min-width: 0; }
  .beta-hero h1 { font-size: clamp(39px, 12vw, 55px); }
  .beta-hero-visual {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    justify-content: center;
    margin: 0 auto;
  }
  .beta-hero-visual::before { inset: -10% 0; }
  .app-shot { position: relative; width: min(265px, 74vw); border-radius: 35px; }
  .app-shot img { border-radius: 28px; }
  .app-shot-library { top: auto; left: auto; transform: rotate(-2deg); }
  .app-shot-reader { display: none; }
  .beta-float-card { right: 0; bottom: 20px; left: auto; }
  .beta-section { padding-top: 76px; padding-bottom: 76px; }
  .beta-program-grid,
  .beta-check-grid,
  .beta-faq-grid { grid-template-columns: 1fr; }
  .beta-program-card { min-height: 0; }
  .beta-student-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 68px; }
  .beta-student-copy { padding-bottom: 16px; }
  .beta-store-shot { justify-self: center; width: min(320px, 80vw); }
  .beta-apply-band { padding: 74px 0; }
  .beta-form-grid.two,
  .beta-form-grid.three { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .beta-hero-actions { align-items: stretch; }
  .beta-hero-actions .btn { width: 100%; justify-content: center; }
  .beta-text-link { text-align: center; }
  .app-shot { width: min(250px, 76vw); }
  .beta-float-card { right: 0; bottom: 14px; left: auto; }
  .beta-trust { gap: 12px; }
  .beta-program-card,
  .beta-check-grid > div { padding: 20px; }
  .beta-form { padding: 21px 17px; border-radius: 22px; }
}

/* ---------------------- Invited beta access refresh -------------------- */
.access-header {
  border-bottom: 1px solid rgba(126, 172, 255, .14);
  background: rgba(7, 17, 31, .92);
}
.access-nav { display: flex; min-height: 72px; align-items: center; }
.access-private-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--beta-border);
  border-radius: 999px;
  color: var(--beta-gray);
  font-size: 12px;
  font-weight: 800;
}
.access-private-label .msr { color: var(--beta-mint); font-size: 16px; }
.access-welcome {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 92px;
  text-align: center;
}
.access-welcome-mark {
  width: 104px;
  height: 104px;
  margin-bottom: 24px;
  border-radius: 27px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38), 0 0 0 1px rgba(126, 172, 255, .3);
}
.access-overline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 17px;
  color: var(--beta-mint);
  font: 700 13px 'Fredoka', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.access-overline .msr { font-size: 19px; }
.access-welcome h1 {
  max-width: 880px;
  margin: 0;
  color: var(--beta-ink);
  font: 700 clamp(48px, 6vw, 76px)/.98 'Fredoka', sans-serif;
  letter-spacing: -.04em;
}
.access-welcome-lead {
  max-width: 620px;
  margin: 23px auto 0;
  color: var(--beta-gray);
  font-size: 18px;
  line-height: 1.65;
}
.access-welcome-actions { display: flex; gap: 13px; margin-top: 31px; }
.btn-access-secondary {
  border: 1px solid var(--beta-border);
  color: var(--beta-ink);
  background: var(--beta-card);
  box-shadow: 0 5px 0 #020711;
}
.btn-access-secondary:hover { color: var(--beta-mint); background: var(--beta-card-raised); }
.access-account-reminder {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 24px 0 0;
  color: #8795a8;
  font-size: 13px;
  font-weight: 700;
}
.access-account-reminder .msr { color: var(--beta-blue); font-size: 18px; }

.access-content {
  border-radius: 38px 38px 0 0;
  background: #f8f0e3;
  color: #202533;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, .2);
}
.access-content-inner { max-width: 1080px; padding-top: 82px; padding-bottom: 88px; }
.access-title-row { margin-bottom: 34px; }
.access-kicker { margin: 0 0 8px; color: #1f8054; font: 700 13px 'Fredoka', sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.access-title-row h2,
.access-start h2,
.access-support h2 {
  margin: 0;
  color: #202533;
  font: 700 clamp(34px, 4vw, 48px)/1.04 'Fredoka', sans-serif;
  letter-spacing: -.025em;
}
.access-device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.access-device-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(25px, 4vw, 38px);
  scroll-margin-top: 24px;
  border: 1px solid #ded4c2;
  border-radius: 27px;
  background: #fffdf8;
  box-shadow: 0 15px 40px -28px rgba(32, 37, 51, .4), 0 4px 0 #e8dfd1;
}
.access-device-heading { display: flex; align-items: center; gap: 15px; }
.access-device-icon { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 17px; }
.access-device-icon .msr { font-size: 29px; }
.access-device-icon.ios { color: #fff; background: #202533; }
.access-device-icon.android { color: #166742; background: #e3f7d8; }
.access-device-heading span { color: #7b8493; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.access-device-heading h3 { margin: 1px 0 0; color: #202533; font: 700 25px 'Fredoka', sans-serif; }
.access-simple-steps { display: grid; gap: 16px; margin: 29px 0; padding: 0; list-style: none; }
.access-simple-steps li { display: grid; grid-template-columns: 29px 1fr; gap: 11px; align-items: start; }
.access-simple-steps li > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  color: #166742;
  background: #edf8e7;
  font: 700 12px 'Fredoka', sans-serif;
}
.access-simple-steps p { margin: 3px 0 0; color: #5f6877; font-size: 14px; line-height: 1.52; }
.access-simple-steps strong { color: #303747; }
.access-invite-form { position: relative; margin-bottom: 12px; }
.access-invite-form > label:first-child {
  display: block;
  margin-bottom: 8px;
  color: #303747;
  font: 700 13px 'Fredoka', sans-serif;
}
.access-email-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.access-email-row input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #d8cfbf;
  border-radius: 14px;
  outline: none;
  color: #202533;
  background: #fff;
  font: 700 15px 'Nunito', sans-serif;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.access-email-row input::placeholder { color: #9aa1ac; font-weight: 600; }
.access-email-row input:focus {
  border-color: #5c9e3d;
  box-shadow: 0 0 0 4px rgba(126, 172, 255, .17);
}
.access-invite-button {
  width: 100%;
  min-height: 53px;
  justify-content: center;
  border: 1px solid #cbe7b8;
  border-radius: 15px;
  color: #145c3d;
  background: #e8f9dc;
  box-shadow: 0 4px 0 #cbe7b8;
}
.access-invite-button:hover { color: #104d33; background: #dcf5cb; }
.access-invite-button:disabled { cursor: wait; opacity: .68; transform: none; }
.access-invite-verification {
  width: 100%;
  min-height: 1px;
  overflow: hidden;
  border-radius: 14px;
}
.access-invite-verification:not(:empty) { margin-top: 10px; }
.access-invite-status {
  min-height: 19px;
  margin: 8px 0 0;
  color: #6d7582;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.access-invite-status:empty { min-height: 0; margin-top: 0; }
.access-invite-status.success { color: #166742; }
.access-invite-status.error { color: #a32f31; }
.access-invite-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.access-device-button { width: 100%; min-height: 53px; justify-content: center; margin-top: auto; border-radius: 15px; color: #fff; }
.access-device-button.ios { background: #111827; box-shadow: 0 5px 0 #030712; }
.access-device-button.ios:hover { color: #fff; background: #253047; }
.access-device-button.android { background: #168553; box-shadow: 0 5px 0 #0d643e; }
.access-device-button.android:hover { color: #fff; background: #126d45; }
.access-device-button.is-disabled { pointer-events: none; opacity: .48; box-shadow: none; }
.access-card-note { margin: 17px 0 0; color: #848b97; text-align: center; font-size: 12px; line-height: 1.45; }

.access-reward {
  margin-top: 22px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid #263d5e;
  border-radius: 27px;
  background: linear-gradient(135deg, #0b1c35, #10294e);
  box-shadow: 0 18px 42px -28px rgba(7, 17, 31, .7);
}
.access-reward-intro { display: flex; align-items: center; gap: 17px; }
.access-reward-intro > .msr {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
  color: #13210a;
  background: var(--beta-mint);
  font-size: 31px;
}
.access-reward-intro p { margin: 0 0 3px; color: var(--beta-mint); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.access-reward-intro h2 { margin: 0; color: var(--beta-ink); font: 700 clamp(25px, 3.2vw, 37px)/1.08 'Fredoka', sans-serif; }
.access-reward-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 27px; }
.access-reward-list span { padding: 14px; border: 1px solid rgba(126, 172, 255, .2); border-radius: 14px; color: #c2cde0; text-align: center; font-size: 13px; font-weight: 700; }
.access-reward-list strong { margin-right: 4px; color: var(--beta-ink); font: 700 20px 'Fredoka', sans-serif; }

.access-start {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin-top: 22px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid #ded4c2;
  border-radius: 27px;
  background: #fffdf8;
}
.access-start h2 { font-size: clamp(28px, 3.4vw, 40px); }
.access-start > div > p:last-child { max-width: 690px; margin: 14px 0 0; color: #687181; line-height: 1.6; }
.access-start-icon { display: grid; width: 76px; height: 76px; place-items: center; border-radius: 23px; color: #166742; background: #e3f7d8; }
.access-start-icon .msr { font-size: 39px; }

.access-support {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  margin-top: 22px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 27px;
  color: var(--beta-ink);
  background: #13233b;
}
.access-support .access-kicker { color: var(--beta-mint); }
.access-support h2 { color: var(--beta-ink); font-size: clamp(28px, 3.4vw, 40px); }
.access-support > div > p:last-child { max-width: 680px; margin: 13px 0 0; color: #afbdd0; line-height: 1.58; }
.access-support .btn { white-space: nowrap; }
.access-footer { border-top: 1px solid rgba(126, 172, 255, .14); background: #050c17; }
.access-footer .wrap { display: flex; min-height: 88px; align-items: center; gap: 22px; color: #78879b; font-size: 12px; }
.access-footer a { color: #9ba9bc; font-weight: 700; }
.access-footer span { margin-right: auto; }

@media (max-width: 760px) {
  .access-welcome { min-height: 540px; padding-top: 56px; padding-bottom: 72px; }
  .access-welcome-mark { width: 88px; height: 88px; border-radius: 23px; }
  .access-welcome h1 { font-size: clamp(43px, 13vw, 60px); }
  .access-welcome-lead { font-size: 16px; }
  .access-welcome-actions { width: 100%; flex-direction: column; }
  .access-welcome-actions .btn { width: 100%; justify-content: center; }
  .access-account-reminder { max-width: 330px; align-items: flex-start; text-align: left; }
  .access-content { border-radius: 28px 28px 0 0; }
  .access-content-inner { padding-top: 58px; padding-bottom: 62px; }
  .access-device-grid { grid-template-columns: 1fr; }
  .access-device-card { scroll-margin-top: 16px; }
  .access-reward-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-start,
  .access-support { grid-template-columns: 1fr; gap: 24px; }
  .access-start-icon { display: none; }
  .access-support .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .access-private-label { padding: 7px 10px; }
  .access-private-label .msr { display: none; }
  .access-welcome h1 { font-size: 42px; }
  .access-device-card { padding: 23px 19px; }
  .access-reward-intro { align-items: flex-start; }
  .access-reward-intro > .msr { width: 48px; height: 48px; border-radius: 15px; font-size: 27px; }
  .access-reward-list span { padding: 12px 8px; }
}

/* -------------------------- Launch landing page ------------------------- */
.landing-page {
  --launch-navy: #0c2450;
  --launch-paper: #fffaf0;
  background:
    radial-gradient(circle at 80% 5%, rgba(88, 204, 2, .1), transparent 27rem),
    radial-gradient(circle at 12% 14%, rgba(37, 99, 235, .08), transparent 30rem),
    var(--bg);
}
.launch-header { background: rgba(251, 252, 254, .92); box-shadow: 0 10px 32px rgba(12, 36, 80, .04); }
.launch-hero {
  min-height: 690px;
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(62px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
}
.launch-hero-copy { position: relative; z-index: 2; }
.launch-eyebrow,
.launch-kicker {
  margin: 0 0 15px;
  color: var(--green-deeper);
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.launch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #cdeab9;
  border-radius: 999px;
  background: rgba(233, 247, 220, .78);
  letter-spacing: .06em;
}
.launch-eyebrow > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(88, 204, 2, .14);
}
.launch-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ink-hero);
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(44px, 6.1vw, 72px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
}
.launch-hero h1 em { color: var(--blue-ink-2); font-style: normal; }
.launch-lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.62;
}
.launch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.launch-actions .btn { justify-content: center; }
.launch-text-link { color: var(--blue-ink); font-family: 'Fredoka', sans-serif; font-size: 16px; font-weight: 600; }
.launch-text-link:hover { color: var(--blue); }
.launch-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.launch-trust li { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 13px; font-weight: 800; }
.launch-trust .msr { color: var(--green-deeper); font-size: 18px; }
.launch-hero-visual { position: relative; min-height: 590px; display: flex; align-items: center; justify-content: center; }
.launch-hero-visual::before {
  content: '';
  position: absolute;
  width: min(560px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(25, 66, 141, .13), rgba(88, 204, 2, .15));
}
.launch-screen {
  position: absolute;
  width: min(270px, 43vw);
  overflow: hidden;
  border: 8px solid #111827;
  border-radius: 40px;
  background: #111827;
  box-shadow: 0 36px 80px -28px rgba(12, 36, 80, .62);
}
.launch-screen img { width: 100%; }
.launch-screen-front { z-index: 2; transform: translate(36px, 4px) rotate(2deg); }
.launch-screen-back { z-index: 1; transform: translate(-128px, 30px) rotate(-7deg); opacity: .94; }
.launch-float-card {
  position: absolute;
  right: 0;
  bottom: 82px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px -20px rgba(12, 36, 80, .55);
  backdrop-filter: blur(10px);
}
.launch-float-card > .msr { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: #eef4ff; color: var(--blue); }
.launch-float-card strong,
.launch-float-card small { display: block; }
.launch-float-card strong { color: var(--ink-hero); font-size: 14px; }
.launch-float-card small { margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 700; }
.proof-band { border-top: 1px solid #dfe7f5; border-bottom: 1px solid #dfe7f5; background: rgba(240, 244, 252, .76); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 30px; padding-bottom: 30px; }
.proof-grid > div { min-width: 0; padding: 4px 22px; text-align: center; }
.proof-grid > div + div { border-left: 1px solid #d5deed; }
.proof-grid strong,
.proof-grid span { display: block; }
.proof-grid strong { color: var(--blue-ink); font-family: 'Fredoka', sans-serif; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.05; }
.proof-grid span { margin-top: 6px; color: var(--text); font-size: 13px; font-weight: 700; }
.launch-section { padding-top: clamp(74px, 9vw, 112px); padding-bottom: clamp(74px, 9vw, 112px); }
.launch-section-head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.launch-section-head h2,
.reading-flow h2,
.library-copy h2,
.faq-intro h2,
.launch-cta h2 {
  margin: 0;
  color: var(--ink-hero);
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(32px, 4.3vw, 50px);
  letter-spacing: -.025em;
  line-height: 1.08;
}
.launch-section-head > p:last-child,
.reading-flow-copy > p:last-child,
.library-copy > p,
.faq-intro > p { color: var(--text); font-size: 17px; line-height: 1.65; }
.launch-section-head > p:last-child { max-width: 660px; margin: 18px auto 0; }
.product-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; }
.product-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border-2);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 60px -42px rgba(12, 36, 80, .6), var(--shadow-card);
}
.product-card-wide { grid-column: 1 / -1; min-height: 520px; }
.product-card-dark {
  align-self: start;
  min-height: 0;
  background: radial-gradient(circle at 85% 15%, rgba(88, 204, 2, .16), transparent 15rem), linear-gradient(145deg, #12336b, #0c2450);
  border-color: #173f85;
}
.product-card-dark h3,
.product-card-dark p,
.product-card-dark .product-number { color: #fff; }
.product-card-dark p { color: #c7d6ef; }
.product-copy { position: relative; z-index: 2; flex: 1; min-width: 0; }
.product-number { color: var(--green-deeper); font-family: 'Fredoka', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.product-card h3 { margin: 12px 0 14px; color: var(--ink-hero); font-family: 'Fredoka', sans-serif; font-size: clamp(25px, 3vw, 37px); line-height: 1.1; }
.product-card p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.65; }
.product-card.product-card-dark h3 { color: #fff; }
.product-card.product-card-dark p { color: #c7d6ef; }
.product-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.product-list li { position: relative; padding-left: 24px; color: #3f4d67; font-size: 14px; font-weight: 700; }
.product-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green-deeper); font-weight: 900; }
.product-shot {
  align-self: flex-end;
  width: min(280px, 34%);
  flex: none;
  margin-bottom: -112px;
  overflow: hidden;
  border: 7px solid #111827;
  border-radius: 36px 36px 0 0;
  background: #111827;
  box-shadow: 0 28px 60px -30px rgba(12, 36, 80, .65);
}
.product-shot.compact { width: min(205px, 44%); margin: 0 0 -110px -12px; }
.habit-stat { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: #fff; }
.habit-stat .msr { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: #ff9600; font-size: 28px; }
.habit-stat strong { font-size: 15px; }
.reading-flow { background: radial-gradient(circle at 10% 10%, rgba(88, 204, 2, .13), transparent 27rem), linear-gradient(145deg, #12336b, #0c2450); }
.reading-flow-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(460px, 1.2fr); align-items: start; gap: clamp(50px, 8vw, 100px); padding-top: clamp(72px, 9vw, 108px); padding-bottom: clamp(72px, 9vw, 108px); }
.launch-kicker.light { color: #a8dd85; }
.reading-flow h2,
.launch-cta h2 { color: #fff; }
.reading-flow-copy > p:last-child { color: #c7d6ef; }
.flow-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.flow-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; padding: 23px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 22px; background: rgba(255, 255, 255, .075); }
.flow-steps li > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: rgba(255, 255, 255, .12); color: #bff49c; font-family: 'Fredoka', sans-serif; font-size: 22px; font-weight: 700; }
.flow-steps h3 { margin: 2px 0 5px; color: #fff; font-family: 'Fredoka', sans-serif; font-size: 21px; }
.flow-steps p { margin: 0; color: #c7d6ef; font-size: 14px; line-height: 1.55; }
.library-section { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(310px, .84fr); align-items: center; gap: clamp(48px, 8vw, 96px); }
.library-copy > p { max-width: 680px; }
.language-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.language-cloud a { display: inline-flex; align-items: center; padding: 9px 13px; border: 1px solid #dbe4f2; border-radius: 999px; background: #fff; color: #42506b; font-size: 13px; font-weight: 800; box-shadow: 0 3px 0 #edf1f7; transition: transform .08s ease, border-color .08s ease, box-shadow .08s ease; }
.language-cloud a:hover { transform: translateY(-1px); border-color: #bdcbe0; color: var(--blue-ink); box-shadow: 0 4px 0 #e5eaf3; }
.language-cloud a:active { transform: translateY(2px); box-shadow: 0 1px 0 #e5eaf3; }
.language-cloud .language-more { border-color: #cdeab9; background: #eefae7; color: var(--green-deeper); box-shadow: 0 3px 0 #deefcf; }
.language-cloud .language-more:hover { border-color: #addb92; color: var(--green-deeper); box-shadow: 0 4px 0 #d4eac4; }
.language-guide-link { display: inline-flex; gap: 7px; margin-top: 22px; color: var(--blue-ink); font-family: 'Fredoka', sans-serif; font-weight: 600; text-underline-offset: 4px; }
.library-note { position: relative; overflow: hidden; padding: 42px; border-radius: 30px; background: var(--launch-paper); box-shadow: 0 20px 60px -42px rgba(94, 67, 19, .5); }
.library-note::after { content: '“'; position: absolute; right: 20px; top: -30px; color: rgba(18, 51, 107, .08); font-family: Georgia, serif; font-size: 190px; line-height: 1; }
.library-note > .msr { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: #fff1cf; color: #bb7200; font-size: 30px; }
.library-note h3 { position: relative; z-index: 1; margin: 22px 0 12px; color: var(--blue-ink); font-family: 'Fredoka', sans-serif; font-size: 28px; line-height: 1.15; }
.library-note p { position: relative; z-index: 1; margin: 0; color: #6c5b3c; font-family: 'Lora', serif; font-size: 17px; line-height: 1.65; }
.pricing-section { padding: clamp(76px, 9vw, 112px) 0; border-top: 1px solid #e0e7f2; border-bottom: 1px solid #e0e7f2; background: #f2f5fb; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.price-card { position: relative; padding: 28px; border: 1px solid var(--border-2); border-radius: 26px; background: #fff; box-shadow: var(--shadow-card); }
.price-label { margin: 0; color: var(--green-deeper); font-family: 'Fredoka', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 21px 0 0; color: var(--ink-hero); }
.price strong { font-family: 'Fredoka', sans-serif; font-size: 38px; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; font-weight: 700; }
.price-summary { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text); font-size: 14px; line-height: 1.55; }
.faq-section { display: grid; grid-template-columns: minmax(260px, .74fr) minmax(0, 1.26fr); gap: clamp(48px, 8vw, 92px); }
.faq-intro > p { margin: 18px 0 20px; }
.faq-intro > a { color: var(--blue-ink); font-family: 'Fredoka', sans-serif; font-weight: 600; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 22px; border: 1px solid var(--border-2); border-radius: 18px; background: #fff; box-shadow: 0 3px 0 var(--border); }
.faq-list summary { position: relative; padding: 20px 36px 20px 0; color: var(--ink-hero); cursor: pointer; font-family: 'Fredoka', sans-serif; font-size: 17px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 17px; color: var(--blue); font-family: 'Nunito', sans-serif; font-size: 24px; font-weight: 700; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { margin: -3px 0 22px; padding-right: 24px; color: var(--text); font-size: 15px; line-height: 1.6; }
.launch-cta { margin-bottom: 72px; }
.launch-cta-inner { padding: clamp(38px, 6vw, 70px); border-radius: 34px; background: linear-gradient(145deg, #12336b, #0c2450); box-shadow: 0 30px 70px -38px rgba(12, 36, 80, .8); text-align: center; }
.launch-cta-copy { max-width: 700px; margin: 0 auto; }
.launch-cta-copy > p:last-child { margin: 17px auto 0; color: #c7d6ef; font-size: 17px; line-height: 1.6; }
.download-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.download-actions .btn { min-width: 190px; justify-content: center; }
.download-actions-dark .btn { box-shadow: 0 5px 0 rgba(0, 0, 0, .22); }
.download-support { margin: 22px auto 0; color: #9fb3d4; font-size: 13px; font-weight: 700; }
.download-support a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.launch-form { max-width: 620px; display: block; padding: 24px; background: rgba(255, 255, 255, .075); }
.launch-form .waitlist-email { max-width: 520px; margin: 0 auto; text-align: left; }
.launch-form .waitlist-consent { max-width: 520px; }
.launch-footer { background: #f8faff; }

/* Crawlable language library pages */
.seo-language-page { background: #f8faff; }
.seo-language-page main { overflow: hidden; }
.seo-hero { max-width: 900px; padding-top: clamp(72px, 10vw, 124px); padding-bottom: clamp(64px, 8vw, 96px); text-align: center; }
.seo-hero h1 { max-width: 850px; margin: 14px auto 0; color: var(--ink-hero); font-family: 'Fredoka', sans-serif; font-size: clamp(42px, 7vw, 74px); line-height: .99; letter-spacing: -.045em; }
.seo-hero > p:not(.launch-kicker) { max-width: 720px; margin: 24px auto 0; color: var(--text); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.seo-hero > .btn { margin-top: 32px; }
.seo-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 700px; margin: 36px auto 0; overflow: hidden; border: 1px solid var(--border-2); border-radius: 22px; background: #fff; box-shadow: var(--shadow-card); }
.seo-facts > div { display: grid; gap: 3px; padding: 20px 14px; }
.seo-facts > div + div { border-left: 1px solid var(--border-2); }
.seo-facts strong { color: var(--blue-ink); font-family: 'Fredoka', sans-serif; font-size: 25px; }
.seo-facts span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
.seo-section { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); }
.seo-book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.seo-book-card { position: relative; min-height: 220px; padding: 26px; overflow: hidden; border: 1px solid var(--border-2); border-radius: 22px; color: inherit; background: #fff; box-shadow: var(--shadow-card); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.seo-book-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--cover-one), var(--cover-two)); }
.seo-book-card:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -30px rgba(21, 45, 88, .55); }
.seo-book-card h3 { margin: 12px 0 4px; color: var(--ink-hero); font-family: 'Fredoka', sans-serif; font-size: 23px; line-height: 1.15; }
.seo-book-card > span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.seo-book-card > p:not(.seo-book-meta) { margin: 22px 0 18px; color: var(--text); font-size: 14px; }
.seo-book-card > strong { display: block; margin-top: auto; color: var(--blue-ink); font-size: 13px; }
.seo-book-meta { margin: 0; color: var(--green-deeper); font-size: 11px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.seo-how { margin-bottom: clamp(64px, 8vw, 96px); padding: clamp(32px, 5vw, 56px); border-radius: 30px; color: #fff; background: linear-gradient(145deg, #12336b, #0c2450); }
.seo-how h2 { margin: 0 0 28px; color: #fff; font-family: 'Fredoka', sans-serif; font-size: clamp(27px, 4vw, 40px); }
.seo-how ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.seo-how li { display: grid; gap: 8px; align-content: start; padding: 21px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 18px; background: rgba(255, 255, 255, .075); counter-increment: steps; }
.seo-how li::before { content: counter(steps); width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 5px; border-radius: 10px; color: #0c2450; background: #bff49c; font-family: 'Fredoka', sans-serif; font-weight: 700; }
.seo-how li span { color: #c7d6ef; font-size: 14px; line-height: 1.55; }
.seo-related { padding-bottom: clamp(64px, 8vw, 96px); }
.seo-related h2 { color: var(--ink-hero); font-family: 'Fredoka', sans-serif; font-size: 27px; }
.seo-related > div { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-related a { padding: 9px 13px; border: 1px solid var(--border-2); border-radius: 999px; color: var(--blue-ink); background: #fff; font-size: 13px; font-weight: 800; text-decoration: none; box-shadow: 0 3px 0 var(--border); }
.seo-language-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.seo-language-link { display: grid; gap: 5px; min-height: 94px; align-content: center; padding: 20px; border: 1px solid var(--border-2); border-radius: 18px; color: var(--ink-hero); background: #fff; text-decoration: none; box-shadow: var(--shadow-card); transition: transform .15s ease, border-color .15s ease; }
.seo-language-link:hover { transform: translateY(-2px); border-color: #a9bad5; }
.seo-language-link strong { font-family: 'Fredoka', sans-serif; font-size: 19px; }
.seo-language-link span { color: var(--muted); font-size: 12px; font-weight: 700; }

/* Free chapter pages: the web version of Storyglot's warm-paper reader. */
.story-page { --reader-paper: #f8f0e3; --reader-paper-dim: #efe3d0; --reader-raised: #fffdf8; --reader-ink: #202533; --reader-muted: #5d6575; --reader-rule: #ded4c2; --reader-accent: #e5f2e8; margin: 0; background: #07111f; color: #f7f4ec; }
.story-page main { overflow: clip; }
.story-header { position: sticky; top: 0; z-index: 40; border-bottom-color: rgba(126, 172, 255, .2); background: rgba(7, 17, 31, .94); backdrop-filter: blur(18px); }
.story-header .brand { color: #f7f4ec; }
.story-header .nav-link { color: #b7c1cf; }
.story-header .nav-link:hover { color: #fff; }
.story-locale-menu { position: relative; }
.story-locale-menu summary { padding: 7px 11px; border: 1px solid #34465f; border-radius: 999px; color: #d8e1ed; background: #111d2e; cursor: pointer; font-size: 12px; font-weight: 800; list-style: none; }
.story-locale-menu summary::-webkit-details-marker { display: none; }
.story-locale-menu summary::after { content: '⌄'; margin-left: 6px; color: #b7f36b; }
.story-locale-menu[open] summary::after { content: '⌃'; }
.story-locale-menu > div { position: absolute; z-index: 50; top: calc(100% + 9px); right: 0; display: grid; min-width: 190px; max-height: min(420px, 70vh); overflow-y: auto; padding: 8px; border: 1px solid #34465f; border-radius: 15px; background: #111d2e; box-shadow: 0 18px 45px rgba(0, 0, 0, .45); }
.story-locale-menu a,
.story-locale-menu strong { display: block; padding: 9px 11px; border-radius: 9px; color: #d8e1ed; font-size: 12px; text-decoration: none; white-space: nowrap; }
.story-locale-menu a:hover,
.story-locale-menu a:focus-visible { color: #fff; background: #1b2b41; }
.story-locale-menu strong { color: #b7f36b; background: #18283c; }
.story-progress { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.story-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: #b7f36b; }
.story-intro { display: grid; grid-template-columns: minmax(240px, 350px) minmax(0, 1fr); align-items: center; gap: clamp(42px, 7vw, 92px); min-height: 650px; padding-top: 76px; padding-bottom: 92px; }
.web-story-cover { position: relative; display: grid; width: min(100%, 320px); aspect-ratio: .72; place-items: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px 27px 27px 12px; background: linear-gradient(145deg, var(--cover-one), var(--cover-two)); box-shadow: -9px 8px 0 rgba(255, 255, 255, .12), 0 40px 80px -34px rgba(0, 0, 0, .8); transform: rotate(-2deg); }
.web-story-cover::before { content: ''; position: absolute; z-index: 2; left: 4%; width: 1px; height: 82%; background: rgba(255, 255, 255, .22); }
.web-story-cover span { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .28)); font-size: clamp(72px, 10vw, 112px); }
.web-story-cover.has-image { width: min(100%, 350px); aspect-ratio: auto; padding: 8px; border-radius: 16px; background: #fff; box-shadow: -10px 10px 0 rgba(255, 255, 255, .12), 0 40px 80px -34px rgba(0, 0, 0, .88); }
.web-story-cover.has-image::before { display: none; }
.web-story-cover img { display: block; width: 100%; height: auto; border-radius: 10px; }
.story-intro-copy { max-width: 720px; }
.story-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; color: #96a4b7; font-size: 13px; font-weight: 800; }
.story-breadcrumb a { color: #b7c1cf; }
.story-intro h1 { max-width: 780px; margin: 11px 0 0; font: 700 clamp(44px, 6.5vw, 76px)/.98 'PT Serif', Georgia, serif; letter-spacing: -.035em; }
.story-title-translation { margin: 13px 0 0; color: #aebbd0; font: italic 400 clamp(18px, 2.2vw, 24px) 'PT Serif', Georgia, serif; }
.story-blurb { max-width: 680px; margin: 27px 0 0; color: #c7d1df; font-size: 17px; line-height: 1.7; }
.story-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.story-meta span { padding: 8px 12px; border: 1px solid #34465f; border-radius: 999px; color: #d8e1ed; background: #111d2e; font-size: 12px; font-weight: 800; }
.story-reader-layout { display: grid; grid-template-columns: minmax(230px, .52fr) minmax(0, 1.48fr); align-items: start; gap: clamp(34px, 6vw, 78px); max-width: 1190px; padding-top: 92px; padding-bottom: 110px; }
.story-reader-guide { position: sticky; top: 142px; padding-top: 24px; }
.story-reader-guide h2 { margin: 13px 0 0; color: #f7f4ec; font: 700 clamp(27px, 3vw, 39px)/1.05 'Fredoka', sans-serif; }
.story-reader-guide > p:not(.launch-kicker) { margin: 19px 0 0; color: #b7c1cf; line-height: 1.65; }
.story-reader-guide ul { display: grid; gap: 13px; margin: 29px 0 0; padding: 0; list-style: none; }
.story-reader-guide li { display: flex; align-items: center; gap: 11px; color: #d5deea; font-size: 14px; font-weight: 800; }
.story-reader-guide li span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #3a4c65; border-radius: 10px; color: #b7f36b; background: #111d2e; }
.web-reader { min-width: 0; overflow: hidden; border: 1px solid #d2c5b0; border-radius: 32px; background: var(--reader-paper); color: var(--reader-ink); box-shadow: 0 40px 90px -45px rgba(0, 0, 0, .9); }
.reader-chapter-header { margin: 18px; padding: clamp(23px, 4vw, 38px); border-radius: 22px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--cover-one) 72%, #000), color-mix(in srgb, var(--cover-two) 72%, #000)); box-shadow: 0 13px 28px -18px rgba(0, 0, 0, .75); }
.reader-chapter-header > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reader-chapter-header > div > span { font: 800 11px 'Nunito', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.reader-chapter-header > div > strong { padding: 4px 9px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 11px; }
.reader-chapter-header h2 { margin: 14px 0 0; color: #fff; font: 700 clamp(26px, 4vw, 36px)/1.1 'PT Serif', Georgia, serif; }
.reader-chapter-header > p { margin: 5px 0 0; color: rgba(255, 255, 255, .82); font: italic 400 15px 'PT Serif', Georgia, serif; }
.reader-grammar { margin: 0 30px 24px; border: 1.5px solid #897d6a; border-radius: 16px; background: #fff4de; }
.reader-grammar summary { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: #754600; cursor: pointer; font: 800 15px 'Nunito', sans-serif; list-style: none; }
.reader-grammar summary::-webkit-details-marker { display: none; }
.reader-grammar summary span { color: #d17a00; font-size: 11px; }
.reader-grammar-notes { display: grid; gap: 14px; padding: 0 16px 17px; }
.reader-grammar-notes > div { padding-top: 14px; border-top: 1px solid #e2cfae; }
.reader-grammar-notes strong { color: #613b05; }
.reader-grammar-notes p { margin: 5px 0 0; color: #6c5a42; font-size: 14px; line-height: 1.55; }
.reader-copy { padding: 0 clamp(22px, 5vw, 52px) 48px; }
.reader-paragraph + .reader-paragraph { margin-top: 21px; }
.reader-sentence { padding: 5px 3px; }
.reader-sentence-text { margin: 0; color: var(--reader-ink); font: 400 clamp(19px, 2.2vw, 22px)/1.65 'PT Serif', Georgia, serif; }
.reader-token { appearance: none; margin: 0; padding: 2px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 4px; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.reader-sentence.spaced .reader-token { margin-right: .22em; }
.reader-sentence.spaced[dir='rtl'] .reader-token { margin-right: 0; margin-left: .22em; }
.reader-token:hover,
.reader-token:focus-visible { border-bottom-color: #145c3d; outline: 0; background: var(--reader-accent); }
.reader-translation-toggle { min-height: 38px; display: flex; align-items: center; gap: 6px; margin: 5px 0 0 auto; padding: 5px 8px; border: 0; border-radius: 10px; color: #5d6575; background: transparent; cursor: pointer; font: 800 11px 'Nunito', sans-serif; }
.reader-translation-toggle:hover,
.reader-translation-toggle:focus-visible { color: #145c3d; outline: 2px solid #145c3d; outline-offset: 1px; }
.reader-translation-toggle[aria-expanded='true'] span:last-child { transform: rotate(180deg); }
.reader-translation { margin-top: 6px; padding: 11px 14px; border: 1px solid #c4d8c8; border-radius: 14px; color: var(--reader-muted); background: var(--reader-accent); font: italic 400 15px/1.45 'PT Serif', Georgia, serif; }
.reader-scene-break { padding: 24px 0; color: #857b6b; text-align: center; font-size: 12px; letter-spacing: .15em; }
.reader-finish { padding: clamp(34px, 6vw, 62px); border-top: 1px solid var(--reader-rule); background: var(--reader-raised); text-align: center; }
.reader-finish h2 { max-width: 620px; margin: 11px auto 0; color: var(--reader-ink); font: 700 clamp(29px, 4vw, 43px)/1.05 'Fredoka', sans-serif; }
.reader-finish > p:not(.launch-kicker) { max-width: 590px; margin: 17px auto 0; color: var(--reader-muted); line-height: 1.65; }
.reader-finish .btn { margin-top: 28px; }
.reader-store-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.reader-store-actions .btn { min-width: 190px; justify-content: center; margin-top: 0; }
.story-about { max-width: 820px; padding-top: 20px; padding-bottom: 112px; text-align: center; }
.story-about h2 { margin: 12px 0 0; color: #f7f4ec; font: 700 clamp(30px, 4vw, 44px)/1.05 'Fredoka', sans-serif; }
.story-about > p:not(.launch-kicker) { margin: 18px auto 0; color: #b7c1cf; font-size: 16px; line-height: 1.7; }
.story-about > a { display: inline-block; margin-top: 25px; color: #b7f36b; font-weight: 800; }
.story-page .site-footer { border-top-color: #22334a; background: #050c17; }
.story-page .footer-brand { color: #f7f4ec; }
.story-page .footer-links a { color: #b7c1cf; }
.story-page .footer-copy { color: #78879b; }
.word-sheet-backdrop { position: fixed; z-index: 80; inset: 0; background: rgba(3, 7, 13, .62); backdrop-filter: blur(3px); }
.word-sheet { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: min(410px, calc(100vw - 44px)); padding: 28px; border: 1px solid #d2c5b0; border-radius: 25px; color: var(--reader-ink, #202533); background: #fffdf8; box-shadow: 0 30px 70px rgba(0, 0, 0, .38); }
.word-sheet-close { position: absolute; top: 13px; right: 15px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #5d6575; background: #efe3d0; cursor: pointer; font-size: 27px; line-height: 1; }
.word-sheet-close:focus-visible { outline: 3px solid #145c3d; }
.word-sheet-label { margin: 0; color: #145c3d; font: 800 11px 'Nunito', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.word-sheet h2 { margin: 7px 44px 0 0; color: #202533; font: 700 31px 'PT Serif', Georgia, serif; }
.word-sheet-gloss { margin: 10px 0 0; color: #5d6575; font-size: 16px; }
.word-sheet-example { margin-top: 20px; padding: 15px; border-radius: 14px; background: #f8f0e3; }
.word-sheet-example strong { color: #145c3d; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.word-sheet-example p { margin: 7px 0 0; color: #202533; font: 400 15px/1.45 'PT Serif', Georgia, serif; }
.word-sheet-example p:last-child { color: #5d6575; font-style: italic; }
.word-sheet-open { overflow: hidden; }

@media (max-width: 980px) {
  .launch-hero { grid-template-columns: 1fr 380px; gap: 32px; }
  .launch-hero-visual { min-height: 520px; }
  .launch-screen { width: 230px; }
  .launch-screen-back { transform: translate(-95px, 25px) rotate(-7deg); }
  .launch-screen-front { transform: translate(30px, 4px) rotate(2deg); }
  .launch-float-card { right: -8px; bottom: 64px; }
  .product-card:not(.product-card-wide) { min-height: 500px; flex-direction: column; align-items: flex-start; }
  .product-card.product-card-dark { min-height: 0; }
  .product-shot.compact { order: 2; align-self: center; width: 205px; margin: 8px 0 -150px; }
  .reading-flow-inner { grid-template-columns: 1fr 1.15fr; gap: 42px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-language-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-intro { grid-template-columns: 240px 1fr; gap: 46px; }
  .story-reader-layout { grid-template-columns: 1fr; max-width: 820px; }
  .story-reader-guide { position: static; max-width: 680px; padding: 0; text-align: center; }
  .story-reader-guide ul { grid-template-columns: repeat(3, 1fr); }
  .story-reader-guide li { justify-content: center; }
}
@media (max-width: 760px) {
  .launch-nav-links .nav-link { display: none; }
  .launch-hero { min-height: 0; grid-template-columns: 1fr; text-align: center; }
  .launch-eyebrow { font-size: 11px; }
  .launch-lead { margin-left: auto; margin-right: auto; }
  .launch-actions,
  .launch-trust { justify-content: center; }
  .launch-hero-visual { min-height: 550px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div { padding-top: 18px; padding-bottom: 18px; }
  .proof-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid #d5deed; }
  .proof-grid > div:nth-child(4) { border-top: 1px solid #d5deed; }
  .product-grid,
  .reading-flow-inner,
  .library-section,
  .pricing-grid,
  .faq-section { grid-template-columns: 1fr; }
  .product-card,
  .product-card-wide { min-height: 0; flex-direction: column; align-items: flex-start; }
  .product-shot,
  .product-shot.compact { order: 2; align-self: center; width: 220px; margin: 12px 0 -155px; }
  .product-card { padding-bottom: 150px; }
  .product-card-dark { padding-bottom: 42px; }
  .reading-flow-inner { gap: 34px; }
  .pricing-grid { max-width: 520px; margin: 0 auto; }
  .seo-book-grid,
  .seo-how ol { grid-template-columns: 1fr; }
  .seo-language-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-language-link { display: none; }
  .story-intro { grid-template-columns: 1fr; min-height: 0; padding-top: 54px; text-align: center; }
  .web-story-cover { width: min(230px, 70vw); margin: 0 auto; }
  .web-story-cover.has-image { width: min(300px, 78vw); }
  .story-intro-copy { margin: 0 auto; }
  .story-breadcrumb,
  .story-meta { justify-content: center; }
  .story-reader-guide ul { grid-template-columns: 1fr; max-width: 260px; margin-right: auto; margin-left: auto; }
  .story-reader-guide li { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .launch-header .nav { padding-top: 12px; padding-bottom: 12px; }
  .launch-header .brand { font-size: 22px; }
  .launch-header .btn-nav { padding: 9px 12px; font-size: 13px; }
  .launch-hero { padding-top: 44px; gap: 28px; }
  .launch-hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .launch-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .launch-actions .btn { justify-content: center; }
  .download-actions { align-items: stretch; flex-direction: column; }
  .download-actions .btn { width: 100%; }
  .launch-hero-visual { min-height: 470px; margin: 0 -8px; }
  .launch-screen { width: min(205px, 54vw); border-width: 6px; border-radius: 31px; }
  .launch-screen-back { transform: translate(-68px, 18px) rotate(-7deg); }
  .launch-screen-front { transform: translate(42px, 0) rotate(2deg); }
  .launch-float-card { right: 2px; bottom: 24px; padding: 11px 13px; }
  .launch-float-card > .msr { width: 35px; height: 35px; }
  .proof-grid strong { font-size: 23px; }
  .proof-grid span { font-size: 11px; }
  .launch-section { padding-top: 70px; padding-bottom: 70px; }
  .launch-section-head { margin-bottom: 36px; }
  .product-card { border-radius: 24px; padding-left: 24px; padding-right: 24px; }
  .flow-steps li { grid-template-columns: 45px 1fr; gap: 14px; padding: 18px; }
  .flow-steps li > span { width: 45px; height: 45px; border-radius: 14px; }
  .library-note { padding: 30px; }
  .price-card { padding: 27px; }
  .launch-cta { padding-left: 12px; padding-right: 12px; }
  .launch-cta-inner { border-radius: 26px; padding-left: 20px; padding-right: 20px; }
  .launch-form { padding: 18px 14px; }
  .seo-facts { grid-template-columns: 1fr; }
  .seo-facts > div + div { border-left: 0; border-top: 1px solid var(--border-2); }
  .seo-language-grid { grid-template-columns: 1fr; }
  .story-header .nav { padding: 11px 14px; }
  .story-header .brand { font-size: 21px; }
  .story-header .btn-nav { padding: 9px 11px; font-size: 12px; }
  .story-intro { padding-bottom: 70px; }
  .story-reader-layout { width: 100%; padding: 70px 10px 80px; }
  .web-reader { border-radius: 24px; }
  .reader-chapter-header { margin: 10px; padding: 21px; border-radius: 18px; }
  .reader-grammar { margin-right: 18px; margin-left: 18px; }
  .reader-copy { padding-right: 20px; padding-left: 20px; }
  .reader-sentence.spaced .reader-token { margin-right: .17em; }
  .reader-translation-toggle { margin-top: 2px; }
  .word-sheet { right: 0; bottom: 0; width: 100%; max-width: none; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 25px 25px 0 0; }
}

/* ------------------------------- Press kit ------------------------------ */
.press-page { background: #f7f9fd; }
.press-shell { padding-top: 72px; padding-bottom: 100px; }
.press-hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: center; gap: clamp(38px, 7vw, 88px);
  padding: clamp(42px, 7vw, 78px); border-radius: 34px;
  color: #fff; background: linear-gradient(140deg, var(--blue-deepest), #17468f);
  box-shadow: 0 28px 70px -44px rgba(12, 36, 80, .8);
}
.press-hero h1 { margin: 9px 0 0; max-width: 720px; font: 700 clamp(42px, 7vw, 72px)/.98 'Fredoka', sans-serif; letter-spacing: -.8px; }
.press-hero p:not(.launch-kicker) { max-width: 690px; margin: 24px 0 0; color: #dbe7fa; font-size: 19px; line-height: 1.65; }
.press-hero .download-actions { margin-top: 30px; }
.press-app-icon { width: min(100%, 310px); margin: 0 auto; border-radius: 28%; box-shadow: 0 28px 60px -25px rgba(0, 0, 0, .85); }
.press-section { padding-top: 88px; }
.press-section-head { max-width: 730px; }
.press-section-head h2 { margin: 8px 0 0; color: var(--ink-hero); font: 700 clamp(32px, 5vw, 48px)/1.05 'Fredoka', sans-serif; }
.press-section-head > p:not(.launch-kicker) { margin: 17px 0 0; color: var(--text); font-size: 17px; line-height: 1.7; }
.press-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.press-fact { padding: 25px; border: 1px solid var(--border-2); border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }
.press-fact strong { display: block; color: var(--blue-ink); font: 700 28px/1 'Fredoka', sans-serif; }
.press-fact span { display: block; margin-top: 9px; color: var(--text); font-weight: 700; }
.press-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.press-story-card { padding: clamp(28px, 4vw, 42px); border: 1px solid var(--border-2); border-radius: 25px; background: #fff; }
.press-story-card h3 { margin: 0; color: var(--blue-ink); font: 700 25px/1.1 'Fredoka', sans-serif; }
.press-story-card p { margin: 15px 0 0; color: var(--text); line-height: 1.7; }
.press-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.press-shot { overflow: hidden; border: 1px solid var(--border-2); border-radius: 24px; background: #eef2f8; box-shadow: 0 20px 48px -34px rgba(18, 51, 107, .75); }
.press-shot img { width: 100%; }
.press-shot span { display: block; padding: 13px 15px; color: var(--blue-ink); background: #fff; font-size: 13px; font-weight: 800; text-align: center; }
.press-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.press-asset { display: flex; align-items: center; gap: 22px; padding: 24px; border: 1px solid var(--border-2); border-radius: 22px; background: #fff; }
.press-asset img { width: 108px; flex: 0 0 auto; border-radius: 22px; }
.press-asset .social-preview { width: 190px; border-radius: 12px; }
.press-asset h3 { margin: 0; color: var(--ink-hero); font: 700 22px/1.1 'Fredoka', sans-serif; }
.press-asset p { margin: 7px 0 12px; color: var(--text); font-size: 14px; }
.press-asset a { font-weight: 800; }
.press-contact { margin-top: 88px; padding: clamp(34px, 6vw, 62px); border-radius: 30px; color: #fff; background: linear-gradient(140deg, #3f8f00, #58b800); }
.press-contact h2 { margin: 8px 0 0; font: 700 clamp(31px, 5vw, 47px)/1.05 'Fredoka', sans-serif; }
.press-contact > p:not(.launch-kicker) { max-width: 650px; margin: 16px 0 25px; color: #efffe4; font-size: 17px; }
@media (max-width: 900px) {
  .press-facts, .press-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press-assets { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .press-shell { padding-top: 32px; }
  .press-hero { grid-template-columns: 1fr; text-align: center; padding: 38px 24px; }
  .press-hero p:not(.launch-kicker) { margin-right: auto; margin-left: auto; }
  .press-hero .download-actions { justify-content: center; }
  .press-app-icon { width: 180px; grid-row: 1; }
  .press-story-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .press-facts, .press-gallery { grid-template-columns: 1fr; }
  .press-asset { align-items: flex-start; flex-direction: column; }
  .press-asset img, .press-asset .social-preview { width: min(100%, 220px); }
}
