/* YouBible landing · design: Figma "Landing · youbible.app" (Landing v2 · desktop 1440 / mobile 390). */

@font-face { font-family: "Newsreader"; font-weight: 400; font-display: swap; src: url("fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 600; font-display: swap; src: url("fonts/newsreader-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #1f1d1b;
  --grey: #5f5a54;
  --muted: #a8a097;
  --cream: #fbf3e6;
  --paper: #fbf9f5;
  --honey: #e3b955;
  --honey-text: #8a6d25;
  --sky: #e2ecf6;
  --peach: #f9e1d1;
  --honey-pale: #f6e7c1;
  --sage: #e9ecdc;
  --night: #24222b;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius-card: 36px;
  --page: min(1312px, calc(100% - 48px));
}

* { box-sizing: border-box; }
/* Safari paints the area under its bottom bar with the page colour: dark, like the footer that ends the page. No bounce, so the dark never shows above the hero. */
html { -webkit-text-size-adjust: 100%; background: var(--ink); overscroll-behavior-y: none; }
/* Cream painted as an image: Safari reads the body's background-color (transparent here) and falls back to the dark page colour. */
body { margin: 0; background: linear-gradient(var(--cream), var(--cream)); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Type */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 7.4vw, 96px); line-height: 1; letter-spacing: -0.03em; }
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -0.03em; }
.title-small { font-size: clamp(34px, 3.4vw, 48px); }
.title-light { color: var(--cream); }
.lead { font-size: clamp(16px, 1.45vw, 20px); line-height: 1.55; color: var(--grey); max-width: 640px; }
.lead-light { color: #cfc8be; }
.fineprint { font-size: 14px; font-weight: 500; color: var(--grey); }

/* Buttons and badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 16px; border-radius: 14px; padding: 15px 20px; transition: transform .2s ease, background .2s ease; }
.btn:active { transform: scale(.98); }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #2a2826; }
.btn-soft { background: rgba(31, 29, 27, .06); color: var(--ink); }
.btn-soft:hover { background: rgba(31, 29, 27, .1); }
.btn-small { border-radius: 999px; padding: 11px 20px; font-size: 15px; }
.badges { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 11px; height: 56px; padding: 0 22px 0 16px; background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 13px; transition: transform .2s ease; }
.badge:hover { transform: translateY(-2px); }
.badge span { display: flex; flex-direction: column; font-weight: 600; font-size: 22px; line-height: 1.05; letter-spacing: -0.015em; }
.badge small { font-size: 11px; font-weight: 500; letter-spacing: .01em; }

/* Nav: floating glass capsule */
.nav { position: fixed; z-index: 50; top: 20px; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 32px)); height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 18px; border-radius: 34px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); box-shadow: 0 10px 28px rgba(31, 29, 27, .08), inset 0 1px 0 rgba(255, 255, 255, .75); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
/* Brand: Folio the book alone (same drawing as the tab icon) and a tight sans wordmark. */
.brand { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 700; font-size: 22px; letter-spacing: -0.035em; }
.brand img { width: 40px; height: 40px; }
.brand-light { color: var(--cream); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-weight: 500; font-size: 15px; padding: 9px 16px; border-radius: 999px; transition: background .2s ease; }
.nav-links a:hover, .nav-links a.is-active { background: rgba(31, 29, 27, .06); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; display: inline-flex; }
.lang select { appearance: none; -webkit-appearance: none; font: 600 14px var(--sans); color: var(--ink); padding: 11px 30px 11px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7) no-repeat right 12px center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231f1d1b' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); border: 1px solid rgba(31, 29, 27, .08); cursor: pointer; }
.lang select:focus-visible { outline: 2px solid var(--honey-text); outline-offset: 2px; }

/* Phones */
.phone { --w: 340px; position: relative; isolation: isolate; width: var(--w); aspect-ratio: 415 / 874; border-radius: calc(var(--w) * .155); padding: calc(var(--w) * .028); background: #0a0a0b; box-shadow: inset 0 0 0 calc(var(--w) * .004) #2c2b29, 0 calc(var(--w) * .1) calc(var(--w) * .22) rgba(48, 33, 18, .2), 0 calc(var(--w) * .02) calc(var(--w) * .05) rgba(48, 33, 18, .16); }
/* Natural titanium band around the glass */
.phone::before { content: ""; position: absolute; z-index: -1; inset: calc(var(--w) * -.0075); border-radius: calc(var(--w) * .1625); background: linear-gradient(140deg, #cfccc5 0%, #8d8a84 20%, #4f4d49 46%, #9d9a93 70%, #5e5c57 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 0 0 2px rgba(0, 0, 0, .25); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .128); }
/* Dynamic Island */
.phone .dim { position: absolute; inset: calc(var(--w) * .028); border-radius: calc(var(--w) * .128); background: #000; opacity: 0; pointer-events: none; }
.phone::after { content: ""; position: absolute; top: calc(var(--w) * .054); left: 50%; width: calc(var(--w) * .3); height: calc(var(--w) * .089); transform: translateX(-50%); background: #000; border-radius: 999px; }

/* 1 · Hero */
/* The phones follow the copy (a French or Spanish title can take two lines); the bottom padding is the part of the phones in view. */
.hero { position: relative; padding-bottom: 467px; overflow: hidden; background: linear-gradient(180deg, #e2ecf6 0%, #eee5e1 32%, #f9e1d1 62%, #fbeee0 85%, #fbf3e6 100%); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 112px; }
.hero-icon { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 14px 30px rgba(107, 77, 51, .18); margin-bottom: 18px; }
.hero .lead { max-width: 560px; margin-top: 16px; }
.hero .badges { margin-top: 24px; }
.hero .fineprint { margin-top: 14px; }
.hero-phones { position: relative; left: 50%; width: 0; height: 0; }
.phone-center { position: absolute; --w: 320px; left: -160px; top: 0; z-index: 3; }
.phone-left { position: absolute; --w: 280px; left: -370px; top: 70px; transform: rotate(7deg); }
.phone-right { position: absolute; --w: 280px; left: 92px; top: 45px; transform: rotate(-7deg); }
/* Moved on scroll: own layers, so Safari does not repaint the hero each frame. */
.hero-phones .phone { will-change: transform; }

/* 2 · Features: four windows side by side, all visible at once */
.features { width: var(--page); margin: 0 auto; padding: 130px 0 120px; background: var(--cream); }
.features > .title { margin-bottom: 48px; }
/* Each card is a subgrid of three rows (title, text, window), so the windows line up whatever the text length. */
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; row-gap: 0; }
.fcard { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 28px 22px 0; border-radius: 32px; background: var(--bg); overflow: hidden; }
.fcard h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.12; letter-spacing: -0.02em; }
.fcard p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--grey); min-height: 45px; }
.fcard .tile-view { margin-top: 22px; border-radius: 22px 22px 0 0; box-shadow: 0 18px 40px rgba(77, 56, 31, .12); }

/* 3 · Sky (pinned stack): centred, the whole stack in view */
.sky { position: relative; background: var(--night); }
/* The hour's colour changes in one short transition per hour, not on every scroll frame. */
.sky-pin { background: #33282b; transition: background-color .6s ease; height: 100vh; min-height: 680px; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 96px; overflow: hidden; }
.sky .title { font-size: clamp(36px, 3.6vw, 52px); }
.sky-copy { display: flex; flex-direction: column; align-items: center; }
.sky-copy .lead { margin-top: 12px; max-width: 560px; font-size: 18px; }
.hours { display: inline-flex; gap: 6px; margin-top: 22px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.hour { font-weight: 600; font-size: 14px; color: #cfc8be; padding: 9px 16px; border-radius: 999px; transition: background .35s ease, color .35s ease; }
.hour.is-on { background: var(--cream); color: var(--ink); }
.stack { --w: min(320px, calc((100vh - 340px) * .44)); position: relative; width: var(--w); height: calc(var(--w) * 874 / 415 + 76px); margin-top: 14px; }
.stack .phone-stack { --w: inherit; }
.phone-stack { position: absolute; left: 0; top: 76px; box-shadow: 0 -12px 40px rgba(0, 0, 0, .5); transform-origin: 50% 0; will-change: transform; }
.phone-stack .dim { will-change: opacity; }

/* 4 · Path: the games, as small windows */
.game { background: var(--honey-pale); padding: 130px 24px 120px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.game .lead { margin-top: 18px; max-width: 620px; }
.mosaic { width: min(1312px, 100%); margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 20px; text-align: left; }
.mosaic .tile { width: calc((100% - 60px) / 4); }
/* On a computer every window has the same height so the rows line up. */
.mosaic .tile-view { --dh: 640; }
.mosaic .tile-view.quick-view { --dcrop: 128; }
.tile { padding: 14px 14px 14px; border-radius: 28px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 18px 40px rgba(140, 102, 26, .1); transition: transform .35s ease, box-shadow .35s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(140, 102, 26, .16); }
.tile-label { font-weight: 600; font-size: 16px; padding: 4px 6px 12px; }
.tile-view { position: relative; aspect-ratio: 393 / var(--dh, var(--h)); overflow: hidden; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(31, 29, 27, .05); }
.screen-mini { position: absolute; left: 0; width: 100%; aspect-ratio: 393 / 852; top: calc(var(--dcrop, var(--crop)) / var(--dh, var(--h)) * -100%); container-type: inline-size; overflow: hidden; }
.phone .screen { position: absolute; inset: calc(var(--w) * .028); border-radius: calc(var(--w) * .128); overflow: hidden; container-type: inline-size; background: var(--paper); }
.screen .shot { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; opacity: 0; }
.screen .shot.is-on { opacity: 1; }
.ov { position: absolute; left: calc(var(--x) / 393 * 100%); top: calc(var(--y) / 852 * 100%); width: calc(var(--w) / 393 * 100%); height: calc(var(--h) / 852 * 100%); opacity: 0; }
.blank { background: #f7f6ee; border-bottom: .5cqw dashed #c9a24a; }
.chip { display: grid; place-items: center; background: #fff; border: .3cqw solid #e3b955; border-radius: 3.6cqw; box-shadow: 0 1.5cqw 4cqw rgba(140, 102, 26, .25); font: 500 4cqw var(--sans); color: var(--ink); transform-origin: 0 0; }
.cover { background: #fbf9f5; }
.hide { background: #fbf9f5; opacity: 1; }
.pick { border: .8cqw solid var(--honey-text); border-radius: 3.6cqw; box-shadow: 0 0 0 2cqw rgba(227, 185, 85, .25); }
.okmark { border-radius: 50%; background: var(--ink) no-repeat center / 60% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.3L7.4 12.5L14 5.8' stroke='%23fbf3e6' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .2); }
.glow { border: .7cqw solid var(--honey); border-radius: 3cqw; box-shadow: 0 0 0 1.5cqw rgba(227, 185, 85, .22); }
.count { display: grid; place-items: center; background: #fffdfc; font: 600 5.6cqw var(--sans); color: var(--ink); letter-spacing: -0.02em; }
.track { background: #eae5d9; border-radius: 999px; overflow: hidden; }
.track i { display: block; height: 100%; width: 33%; background: #e4b953; border-radius: 999px; }
/* Animated pieces of the demos get their own layers: the window under them is never repainted. */
.tap, .ov:not(.hide), [data-demo="explain"] .shot { will-change: transform, opacity; }
.tap { position: absolute; left: 50%; top: 50%; width: 13cqw; aspect-ratio: 1; margin: -6.5cqw 0 0 -6.5cqw; border-radius: 50%; background: rgba(31, 29, 27, .22); border: .6cqw solid rgba(255, 255, 255, .95); box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .18); opacity: 0; pointer-events: none; }

/* 5 · Pricing */
.pricing { padding: 140px 24px 120px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pricing .lead { margin-top: 16px; }
.toggle { display: inline-flex; gap: 2px; margin-top: 32px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid rgba(31, 29, 27, .1); }
.toggle button { font: 600 15px var(--sans); color: var(--grey); background: none; border: 0; padding: 11px 22px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .25s ease, color .25s ease; }
.toggle button em { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(227, 185, 85, .25); color: var(--honey-text); }
.toggle button[aria-checked="true"] { background: var(--ink); color: #fff; }
.toggle button[aria-checked="true"] em { background: var(--honey); color: var(--ink); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 24px; margin-top: 44px; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(31, 29, 27, .08); border-radius: 28px; padding: 36px; }
.plan-plus { border: 2px solid var(--honey); box-shadow: 0 24px 48px rgba(140, 102, 26, .14); }
.badge-free { background: var(--honey); font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; font-weight: 600; }
.plan-desc { margin-top: 4px; font-size: 15px; color: var(--grey); }
.price { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; }
.price strong { font-size: 52px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.price span { color: var(--grey); }
.price-note { margin-top: 8px; font-size: 14px; color: var(--grey); }
.plan .btn { margin-top: 24px; }
.checks { list-style: none; padding: 24px 0 0; margin: 28px 0 0; border-top: 1px solid rgba(31, 29, 27, .08); display: grid; gap: 11px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks li::before { content: ""; width: 18px; height: 18px; flex: none; background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.3L7.4 12.5L14 5.8' stroke='%231f1d1b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks-honey li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.3L7.4 12.5L14 5.8' stroke='%238a6d25' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pricing-foot { margin-top: 20px; font-size: 13px; color: var(--grey); }
.pricing #faq { margin-top: 120px; scroll-margin-top: 120px; }
.faq { width: min(800px, 100%); margin-top: 36px; text-align: left; border-top: 1px solid rgba(31, 29, 27, .1); }
.faq details { border-bottom: 1px solid rgba(31, 29, 27, .1); padding: 22px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 22px; height: 22px; flex: none; background: no-repeat center/22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 11H17M11 5V17' stroke='%231f1d1b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--grey); max-width: 700px; line-height: 1.6; }

/* 6 · Download */
.download { position: relative; height: 860px; overflow: hidden; background: #f5ead2; display: flex; justify-content: center; }
.download-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 96px; }
.cta-icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 16px 36px rgba(107, 77, 51, .18); margin-bottom: 28px; }
.download .title { font-size: clamp(38px, 4.8vw, 68px); }
.download .lead { margin-top: 16px; }
.download .badges { margin-top: 34px; }
.hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 420px; }

/* Footer */
.footer { background: var(--ink); color: var(--muted); padding: 72px 64px 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand p { margin-top: 14px; font-size: 15px; }
.footer-cols { display: flex; gap: 96px; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-cols h4 { color: var(--cream); font-size: 14px; font-weight: 600; }
.footer-cols a:hover { color: var(--cream); }
.footer-bottom .langs button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.footer-bottom .langs button:hover, .footer-bottom .langs button[aria-current="true"] { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }

/* ---------- Tablet ---------- */
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic .tile { width: calc((100% - 20px) / 2); }
  .fcard:nth-child(n+3) { margin-top: 20px; }
}

/* ---------- Mobile (design: Landing v2 · mobile 390) ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { background: rgba(255, 253, 249, .94); backdrop-filter: none; -webkit-backdrop-filter: none; top: 12px; height: 56px; padding: 0 8px 0 12px; border-radius: 28px; width: calc(100% - 32px); }
  .brand { font-size: 20px; gap: 4px; }
  .brand img { width: 36px; height: 36px; }
  .nav-end { gap: 6px; }
  .lang select { padding: 9px 26px 9px 12px; font-size: 13px; background-position: right 10px center; }
  .btn-small { padding: 10px 16px; font-size: 14px; }

  /* The nav already shows the icon: the screens come up into the first view instead. */
  .hero { padding-bottom: 360px; }
  .hero-copy { padding: 92px 20px 0; }
  .hero-icon { display: none; }
  .display { font-size: 54px; letter-spacing: -0.035em; }
  .hero .lead { margin-top: 14px; max-width: 320px; }
  .hero .badges { margin-top: 24px; gap: 10px; flex-wrap: nowrap; }
  .badge { height: 48px; padding: 0 16px 0 12px; gap: 8px; border-radius: 11px; }
  .badge span { font-size: 18px; }
  .badge small { font-size: 9.5px; }
  .hero .fineprint { font-size: 13px; }
  .hero-phones { margin-top: 60px; }
  .phone-center { --w: 250px; left: -125px; }
  .phone-left { --w: 210px; left: -287px; top: 80px; transform: rotate(8deg); }
  .phone-right { --w: 210px; left: 63px; top: 50px; transform: rotate(-8deg); }

  .features { width: 100%; padding: 72px 0 64px; }
  .features > .title { padding: 0 24px; margin-bottom: 24px; }
  .features { overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .quad { grid-auto-flow: column; grid-auto-columns: 280px; grid-template-columns: none; grid-template-rows: repeat(3, auto); column-gap: 12px; width: max-content; padding: 0 24px; will-change: transform; }
  .fcard { padding: 24px 18px 0; }
  .fcard:nth-child(n+3) { margin-top: 0; }
  .fcard h3 { font-size: 24px; }

  .sky-pin { min-height: 0; padding: 84px 16px 0; }
  .sky .title { font-size: 34px; }
  .sky-copy .lead { font-size: 15px; }
  .hours { gap: 2px; padding: 4px; margin-top: 16px; }
  .hour { font-size: 13px; padding: 8px 11px; }
  .stack { --w: min(240px, calc((100vh - 330px) * .44)); height: calc(var(--w) * 874 / 415 + 56px); }
  .phone-stack { top: 56px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .45); }

  .game { padding: 72px 0 64px; }
  .game .title, .game .lead { padding: 0 20px; }
  .mosaic { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 16px; padding: 0 16px; margin-top: 28px; }
  .mosaic .tile { width: 100%; max-width: 420px; }
  .mosaic .tile-view { --dh: initial; }
  .mosaic .tile-view.quick-view { --dcrop: initial; }
  .tile:hover { transform: none; }

  .pricing { padding: 72px 16px 64px; }
  .plans { grid-template-columns: 1fr; width: 100%; gap: 14px; margin-top: 28px; }
  .plan { padding: 28px 24px; border-radius: 24px; }
  .price strong { font-size: 44px; }
  .faq summary { font-size: 16px; }
  .pricing #faq { margin-top: 56px; }

  .download { height: 640px; }
  .download-copy { padding: 56px 20px 0; }
  .cta-icon { width: 76px; height: 76px; border-radius: 17px; margin-bottom: 20px; }
  .download .badges { flex-wrap: nowrap; gap: 10px; }
  .hills { height: 280px; }

  .footer { padding: 48px 24px 36px; }
  .footer-cols { gap: 0; width: 100%; justify-content: space-between; }
  .footer-bottom { flex-direction: column; margin-top: 32px; }
}

/* Reduced motion: no smooth scroll, no pin; the stack shows the night phone on top */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone-stack:not(:last-child) { display: none; }
  .sky-pin { background: #1e1d27; }
}

/* Title words for the intro */
.display .word, .display .word > span { display: inline-block; }

/* Legal pages */
.legal { width: min(680px, calc(100% - 48px)); margin: 0 auto; padding: 150px 0 120px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.03em; margin-top: 14px; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--grey); font-size: 17px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-size: 14px; font-weight: 500; color: var(--grey); }
.legal .short { margin-top: 36px; padding: 24px 28px; border-radius: 24px; background: rgba(255, 255, 255, .66); border: 1px solid rgba(31, 29, 27, .06); }
.legal .short ul { padding-left: 18px; }
