/*
 * The AA Big Book website, in the app's own look.
 *
 * Colours are the app icon's (app/lib/core/theme/app_theme.dart, Brand): the cover's
 * blue, the pages' cream, the ribbon's amber, night blue. Three typefaces, the same
 * files the app bundles: Fraunces for titles, Literata for anything read at length,
 * Plus Jakarta Sans for everything else.
 *
 * Light and dark: every colour a page uses is a variable below. The site is light
 * unless the visitor chooses dark with the switch in the header (site.js), which sets
 * data-theme on <html>; the device's own setting is not followed. Sections that are the book's cover or the night sky
 * (hero, the numbers, the footer) look the same in both.
 *
 * The markup has two families of class names, from the site it was ported from:
 * st-* on the home page, inner-* and friends on every other page.
 */

@font-face { font-family: Fraunces; font-weight: 600; font-display: swap; src: url("/fonts/fraunces-600.woff2") format("woff2"); }
@font-face { font-family: Fraunces; font-weight: 700; font-display: swap; src: url("/fonts/fraunces-700.woff2") format("woff2"); }
@font-face { font-family: Literata; font-weight: 400; font-display: swap; src: url("/fonts/literata-400.woff2") format("woff2"); }
@font-face { font-family: Literata; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/literata-400-italic.woff2") format("woff2"); }
@font-face { font-family: Literata; font-weight: 700; font-display: swap; src: url("/fonts/literata-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("/fonts/jakarta-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("/fonts/jakarta-500.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("/fonts/jakarta-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("/fonts/jakarta-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("/fonts/jakarta-800.woff2") format("woff2"); }

/* ── The colours ─────────────────────────────────────────────────────────── */
:root {
  color-scheme: light;

  /* The icon: these are the same in light and dark. */
  --cover: #1560B0;
  --cover-hi: #2C7FD6;
  --cover-deep: #0B3B75;
  --night: #06172D;
  --ribbon: #F6A21A;
  --ribbon-deep: #D9860A;
  --on-ribbon: #2A1B00;
  --cream: #F8F1DE;
  --bright: #FFF8E6;
  --sky: #7DB6F2;
  /* Amber as small print on the cover's blue, where the ribbon's own amber is too dark to read. */
  --amber-soft: #FFD591;
  --cover-gradient: radial-gradient(130% 130% at 8% 0%, var(--cover-hi) 0, var(--cover) 42%, var(--cover-deep) 100%);
  /* The hero: the light falls on the far corner, so the words sit on the deeper blue. */
  --hero-gradient: radial-gradient(80% 90% at 92% 8%, var(--cover-hi) 0, rgba(44, 127, 214, 0) 62%), linear-gradient(140deg, var(--cover) 0, var(--cover-deep) 100%);
  --night-gradient: radial-gradient(120% 90% at 50% 0%, #1B5CA6 0, var(--cover-deep) 40%, var(--night) 84%);

  /* The page: these change with the theme. */
  --bg: #F7F4EE;
  --bg-soft: #FBF3DF;
  --card: #FFFFFF;
  --ink: #14233A;
  --muted: #55647D;
  --line: #E2DACB;
  --accent: #1560B0;
  --amber-text: #9A5B00;
  --tint: #EAF1FA;
  --page: #FBF3DF;
  --page-ink: #1F2A3C;
  --chip: #FDEBC8;
  --chip-ink: #5E3A00;
  --lift: 0 16px 38px rgba(11, 59, 117, .10), 0 2px 6px rgba(11, 59, 117, .06);
  --lift-strong: 0 28px 64px rgba(11, 59, 117, .18), 0 4px 10px rgba(11, 59, 117, .08);

  --display: Fraunces, Georgia, "Times New Roman", serif;
  --reading: Literata, Georgia, "Times New Roman", serif;
  --ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Dark: only when the visitor chooses it with the switch. Light is what everybody starts with, whatever the device is set to. */
:root[data-theme="dark"] {
  --bg: #06172D;
  --bg-soft: #0A2140;
  --card: #0F2A4D;
  --ink: #F3EDDF;
  --muted: #A9B8CC;
  --line: #1B3961;
  --accent: #7DB6F2;
  --amber-text: #F6A21A;
  --tint: #0D2647;
  --page: #0B1B31;
  --page-ink: #E9E1CF;
  --chip: #4A3508;
  --chip-ink: #FFD591;
  --lift: 0 16px 38px rgba(0, 0, 0, .35);
  --lift-strong: 0 28px 64px rgba(0, 0, 0, .45);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ── Everywhere ──────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--ribbon); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* The light/dark switch, put into both headers by site.js. */
.theme-toggle { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); cursor: pointer; transition: transform .15s ease, background .15s ease; }
.theme-toggle:hover { transform: translateY(-1px); }
.theme-toggle::before { content: ""; width: 20px; height: 20px; background: currentColor;
  /* a moon: "go dark" */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.4 14.2A8.5 8.5 0 0 1 9.8 3.6a.7.7 0 0 0-.9-.9A9.9 9.9 0 1 0 21.3 15.1a.7.7 0 0 0-.9-.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.4 14.2A8.5 8.5 0 0 1 9.8 3.6a.7.7 0 0 0-.9-.9A9.9 9.9 0 1 0 21.3 15.1a.7.7 0 0 0-.9-.9Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-toggle[aria-pressed="true"]::before {
  /* a sun: "go light" */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.6'/%3E%3Cpath d='M12 1.8v3M12 19.2v3M1.8 12h3M19.2 12h3M4.8 4.8l2.1 2.1M17.1 17.1l2.1 2.1M4.8 19.2l2.1-2.1M17.1 6.9l2.1-2.1' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.6'/%3E%3Cpath d='M12 1.8v3M12 19.2v3M1.8 12h3M19.2 12h3M4.8 4.8l2.1 2.1M17.1 17.1l2.1 2.1M4.8 19.2l2.1-2.1M17.1 6.9l2.1-2.1' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.st-nav .theme-toggle { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: var(--bright); margin-left: 22px; }
.inner-header .theme-toggle { margin-left: 22px; }

/* The store buttons' marks. The App Store one is a plain "get it" arrow: the glyph in
   the markup only exists in Apple's own fonts and showed as an empty box elsewhere. */
.st-store-icon, .inner-stores > a > span:first-child:not(.play) { font-size: 0 !important; width: 24px; height: 24px; flex: 0 0 auto; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v11m0 0 4.5-4.5M12 14 7.5 9.5M4.5 17.5v1.2A2.3 2.3 0 0 0 6.8 21h10.4a2.3 2.3 0 0 0 2.3-2.3v-1.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v11m0 0 4.5-4.5M12 14 7.5 9.5M4.5 17.5v1.2A2.3 2.3 0 0 0 6.8 21h10.4a2.3 2.3 0 0 0 2.3-2.3v-1.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ── Home: the hero, on the book's cover ─────────────────────────────────── */
.st-home { color: var(--ink); }
.st-hero { min-height: 100svh; color: var(--bright); background: var(--hero-gradient); position: relative; overflow: hidden; }
/* The groove where the cover folds, and the ribbon hanging from the top. */
.st-hero::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 4px; background: rgba(255, 255, 255, .13); }
.st-hero::after { content: ""; position: absolute; right: max(6vw, 28px); top: 0; width: 34px; height: 92px; z-index: 6; background: linear-gradient(var(--ribbon), var(--ribbon-deep)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); filter: drop-shadow(0 6px 10px rgba(6, 23, 45, .35)); }
.st-nav { height: 82px; max-width: 1440px; margin: auto; padding: 0 calc(max(6vw, 28px) + 64px) 0 5vw; display: flex; align-items: center; position: relative; z-index: 5; }
.st-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 21px; }
.st-brand img { width: 40px; height: 40px; }
.st-nav nav { display: flex; gap: 34px; font-size: 14px; font-weight: 600; margin-left: auto; }
.st-nav nav a { opacity: .82; }
.st-nav nav a:hover { opacity: 1; }
.st-menu { display: none; position: relative; margin-left: 10px; }
.st-menu summary { list-style: none; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; display: grid; place-items: center; font-size: 19px; cursor: pointer; }
.st-menu summary::-webkit-details-marker { display: none; }
.st-menu div { position: absolute; right: 0; top: 52px; background: var(--card); color: var(--ink); padding: 10px; border-radius: 20px; box-shadow: var(--lift-strong); width: 200px; display: flex; flex-direction: column; font-weight: 600; }
.st-menu div a { padding: 12px 14px; border-radius: 12px; }
.st-menu div a:hover { background: var(--tint); }
.st-hero-grid { min-height: calc(100svh - 82px); max-width: 1440px; margin: auto; padding: 30px 5vw 40px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; position: relative; z-index: 2; }
.st-hero-copy { max-width: 690px; }
.st-kicker { font-size: 12px; letter-spacing: .2em; font-weight: 800; color: var(--amber-soft); margin: 0 0 22px; }
/* On the page's own ground (not on blue): the darker amber that reads there. */
.st-kicker.blue, .st-library .st-kicker { color: var(--amber-text); }
.st-hero h1 { font-size: clamp(50px, 5.6vw, 84px); line-height: 1; margin: 0; color: var(--bright); }
.st-hero h1 em { font-style: normal; color: var(--ribbon); }
.st-lede { font-size: 19px; line-height: 1.7; color: rgba(248, 241, 222, .86); max-width: 620px; margin: 28px 0 30px; }
.st-stores { display: flex; gap: 12px; flex-wrap: wrap; }
.st-stores > a { min-width: 190px; height: 62px; padding: 0 20px; border-radius: 999px; background: var(--bright); color: var(--night); display: flex; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 12px 30px rgba(6, 23, 45, .28); transition: transform .15s ease; }
.st-stores > a:hover { transform: translateY(-2px); }
.st-play { font-size: 21px; color: var(--ribbon-deep); line-height: 1; }
.st-stores > a > span:last-child { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.st-stores small { font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.st-stores strong { font-size: 18px; font-weight: 800; }
.st-trust { font-size: 12.5px; color: rgba(248, 241, 222, .78); margin-top: 20px; }
.st-device-stage { height: 690px; position: relative; display: grid; place-items: center; }
.st-device-stage > img { height: 620px; max-width: 90%; object-fit: contain; border: 10px solid var(--night); border-radius: 46px; background: var(--night); box-shadow: 0 45px 90px rgba(3, 12, 26, .55); transform: rotate(3deg); position: relative; z-index: 2; }
.st-orbit { position: absolute; border: 1px solid rgba(255, 248, 230, .2); border-radius: 50%; }
.st-orbit.one { width: 570px; height: 570px; }
.st-orbit.two { width: 690px; height: 690px; }
.st-callout { position: absolute; z-index: 4; background: var(--bright); color: var(--night); padding: 14px 18px; border-radius: 999px; font-weight: 700; font-size: 13px; box-shadow: 0 18px 40px rgba(3, 12, 26, .35); }
.st-callout.top { right: 1%; top: 20%; }
.st-callout.bottom { left: 5%; bottom: 19%; background: var(--ribbon); color: var(--on-ribbon); }

/* ── Home: the sections ──────────────────────────────────────────────────── */
.st-intro { padding: 120px 24px 80px; text-align: center; max-width: 900px; margin: auto; }
.st-intro h2, .st-section-head h2 { font-size: clamp(40px, 5vw, 66px); line-height: 1.04; margin: 0; color: var(--ink); }
.st-intro > p:last-child, .st-section-head > p:last-child { max-width: 650px; margin: 26px auto 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.st-feature-stack { max-width: 1180px; margin: auto; padding: 20px 24px 120px; }
.st-feature-stack article { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; margin: 0 0 110px; }
.st-shot { height: 680px; border-radius: 12px 40px 40px 12px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative; box-shadow: var(--lift-strong); }
/* Each one a book off the shelf, as in the app's Literature tab. */
.st-shot::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 4px; background: rgba(255, 255, 255, .2); }
.st-shot.blue { background: linear-gradient(150deg, var(--cover-hi), var(--cover-deep)); }
.st-shot.aqua { background: linear-gradient(150deg, #136C60, #0A3F3D); }
.st-shot.violet { background: linear-gradient(150deg, #5E4EA8, #33286B); }
.st-shot img { height: 94%; max-width: 82%; object-fit: cover; object-position: top; border: 9px solid var(--night); border-bottom: 0; border-radius: 44px 44px 0 0; background: var(--night); box-shadow: 0 35px 70px rgba(3, 12, 26, .45); }
.st-feature-copy > span { font-family: var(--display); font-weight: 700; color: var(--amber-text); font-size: 34px; line-height: 1; }
.st-feature-copy h3 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; margin: 14px 0 22px; }
.st-feature-copy > p { font-size: 18px; line-height: 1.75; color: var(--muted); }
.st-feature-copy ul { list-style: none; padding: 0; margin: 26px 0; }
.st-feature-copy li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); color: var(--ink); position: relative; font-weight: 500; }
/* The app's ribbon, as the bullet. */
.st-feature-copy li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 20px; background: linear-gradient(var(--ribbon), var(--ribbon-deep)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }

.st-proof { background: var(--night-gradient); color: var(--bright); padding: 110px max(5vw, 24px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 7%; align-items: center; }
.st-proof h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; margin: 0; }
.st-proof > div:first-child > p:last-child { color: rgba(248, 241, 222, .8); line-height: 1.7; font-size: 17px; max-width: 520px; }
.st-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.st-stats article { min-height: 180px; padding: 26px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 22px; background: rgba(255, 255, 255, .06); }
.st-stats span { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--amber-soft); }
.st-stats strong { display: block; font-family: var(--display); font-size: 54px; line-height: 1; margin-top: 20px; }
.st-stats p { color: rgba(248, 241, 222, .76); margin: 8px 0 0; }

.st-reviews { padding: 120px 0; background: var(--bg-soft); overflow: hidden; }
.st-section-head { text-align: center; padding: 0 24px; }
.st-review-grid { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 64px 5vw 34px; scrollbar-width: none; }
.st-review-grid::-webkit-scrollbar { display: none; }
.st-review-grid blockquote { margin: 0; min-width: 390px; max-width: 440px; background: var(--card); border-radius: 26px; padding: 32px; scroll-snap-align: center; box-shadow: var(--lift); display: flex; flex-direction: column; }
.st-quote { font: 700 64px/0.8 var(--display); color: var(--ribbon); height: 34px; }
.st-stars { color: var(--ribbon); letter-spacing: 3px; margin-top: 6px; }
.st-review-grid blockquote > p { font-family: var(--reading); font-size: 17px; line-height: 1.65; color: var(--ink); min-height: 140px; }
.st-review-grid footer { display: flex; flex-direction: column; margin-top: auto; }
.st-review-grid footer small { color: var(--muted); margin-top: 4px; }

.st-library { background: var(--bg); padding: 110px max(5vw, 24px); display: grid; grid-template-columns: 1fr .75fr 1fr; gap: 5%; align-items: center; }
.st-library h2 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.04; margin: 0; }
.st-library-copy > p:nth-of-type(2) { color: var(--muted); font-size: 17px; line-height: 1.7; }
.st-library-copy > a { display: inline-block; margin-top: 22px; padding: 14px 22px; border-radius: 999px; background: var(--ribbon); color: var(--on-ribbon); font-weight: 800; box-shadow: 0 10px 24px rgba(217, 134, 10, .28); }
.st-library-phone { height: 640px; overflow: hidden; border-radius: 12px 40px 40px 12px; background: var(--cover-gradient); display: flex; align-items: flex-end; justify-content: center; box-shadow: var(--lift-strong); }
.st-library-phone img { width: 83%; border: 8px solid var(--night); border-bottom: 0; border-radius: 42px 42px 0 0; background: var(--night); transform: translateY(5%); }
.st-library-links { display: flex; flex-direction: column; }
.st-library-links a { display: grid; grid-template-columns: 54px 1fr; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 700; transition: padding .15s ease; }
.st-library-links a:hover { padding-left: 8px; color: var(--accent); }
.st-library-links span { font-family: var(--display); font-size: 26px; color: var(--accent); }

.st-faq { padding: 120px max(5vw, 24px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; background: var(--bg-soft); }
.st-faq h2 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.04; margin: 0; }
.st-faq details { background: var(--card); border-radius: 20px; padding: 20px 24px; margin-bottom: 12px; box-shadow: var(--lift); }
.st-faq summary { font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary b { color: var(--ribbon-deep); font-size: 22px; line-height: 1; transition: transform .15s ease; }
.st-faq details[open] summary b { transform: rotate(45deg); }
.st-faq details p { color: var(--muted); line-height: 1.7; margin: 14px 0 0; }

.st-cta { text-align: center; padding: 110px 24px; background: linear-gradient(160deg, var(--cover) 0, var(--cover-deep) 100%); color: var(--bright); }
.st-cta > img { width: 104px; margin-bottom: 20px; filter: drop-shadow(0 18px 30px rgba(3, 12, 26, .45)); }
.st-cta h2 { font-size: clamp(46px, 5.6vw, 76px); line-height: 1; margin: 0; }
.st-cta > p:nth-of-type(2) { color: rgba(248, 241, 222, .82); font-size: 17px; }
.st-cta .st-stores { justify-content: center; margin-top: 30px; }

/* ── The footers (home and inner pages share the look) ───────────────────── */
.st-footer, .inner-footer { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 620px) 330px; justify-content: space-between; align-content: start; gap: 64px 100px; padding: 96px max(10.5vw, 40px) 40px; color: var(--bright); background-color: var(--night); background-image: radial-gradient(circle at 1px 1px, rgba(246, 162, 26, .16) 1px, transparent 1.2px), radial-gradient(circle at 70% 15%, rgba(21, 96, 176, .35), transparent 38%); background-size: 56px 56px, 100% 100%; }
.st-footer nav, .st-footer > div, .st-footer > small, .inner-footer nav, .inner-footer > div, .inner-footer > small { position: relative; z-index: 1; }
.st-footer .st-brand, .inner-footer .inner-brand { gap: 16px; font-family: var(--display); font-weight: 700; font-size: 36px; color: var(--bright); }
.st-footer .st-brand img, .inner-footer .inner-brand img { width: 60px; height: 60px; }
.st-footer > div > p, .inner-footer > div > p { max-width: 560px; margin: 34px 0 0; color: rgba(248, 241, 222, .74); font-size: 20px; line-height: 1.7; }
.st-footer .st-stores, .inner-footer .inner-stores { display: flex; justify-content: flex-start; gap: 14px; margin-top: 36px; flex-wrap: nowrap; max-width: none; }
.st-footer .st-stores > a, .inner-footer .inner-stores > a { flex: 0 0 auto; width: 232px; min-width: 0; height: 78px; padding: 0 22px; border: 1.5px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--bright); box-shadow: none; display: flex; align-items: center; justify-content: center; gap: 12px; transition: .2s; }
.st-footer .st-stores > a:hover, .inner-footer .inner-stores > a:hover { border-color: var(--ribbon); background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.st-footer .st-play, .inner-footer .inner-stores .play { font-size: 26px; color: var(--ribbon); }
.st-footer .st-store-icon, .inner-footer .inner-stores > a > span:first-child:not(.play) { width: 30px; height: 30px; }
.st-footer .st-stores small, .inner-footer .inner-stores small { font-size: 12px; color: rgba(248, 241, 222, .7); font-weight: 500; }
.st-footer .st-stores strong, .inner-footer .inner-stores strong { font-size: 20px; font-weight: 800; }
.inner-footer .inner-stores > a > span:last-child { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.st-footer nav, .inner-footer nav { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.st-footer nav strong, .inner-footer nav > strong { color: var(--ribbon); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.st-footer nav a, .inner-footer nav a { width: max-content; color: rgba(248, 241, 222, .8); font-size: 19px; line-height: 1.25; transition: .2s; }
.st-footer nav a:hover, .inner-footer nav a:hover { color: #fff; transform: translateX(4px); }
.sister-link, .st-footer .sister-link, .inner-footer .sister-link { margin-top: 6px !important; color: var(--ribbon) !important; font-size: 16px !important; font-weight: 700; }
.st-footer > small, .inner-footer > small { grid-column: 1 / -1; align-self: end; margin-top: 10px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(248, 241, 222, .55); font-size: 12px; line-height: 1.6; }

/* ── Inner pages: header, shell, titles ──────────────────────────────────── */
.inner-header { height: 78px; padding: 0 max(5vw, 24px); display: flex; align-items: center; border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 20; }
.inner-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-family: var(--display); font-size: 20px; }
.inner-brand img { width: 38px; height: 38px; }
.inner-header nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 600; margin-left: auto; }
.inner-header nav a:hover { color: var(--accent); }
.inner-header details { display: none; position: relative; margin-left: 10px; }
.inner-header summary { list-style: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 18px; cursor: pointer; }
.inner-header summary::-webkit-details-marker { display: none; }
.inner-header details div { position: absolute; right: 0; top: 52px; width: 200px; padding: 10px; background: var(--card); border-radius: 20px; box-shadow: var(--lift-strong); display: flex; flex-direction: column; font-weight: 600; }
.inner-header details a { padding: 12px 14px; border-radius: 12px; }
.inner-header details a:hover { background: var(--tint); }

.inner-shell { max-width: 1220px; margin: auto; padding: 80px 24px 120px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: start; }
.inner-main { min-width: 0; }
.inner-title { padding-bottom: 56px; border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.inner-title.compact { padding-bottom: 44px; margin-bottom: 44px; }
.inner-kicker { font-size: 11.5px; letter-spacing: .2em; font-weight: 800; color: var(--amber-text); margin: 0 0 20px; text-transform: uppercase; }
.inner-title h1, .reading-article > header h1 { font-size: clamp(46px, 6vw, 78px); line-height: 1.02; color: var(--ink); margin: 0; }
.inner-title h1 em { font-style: normal; color: var(--accent); }
.inner-title > p:not(.inner-kicker) { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 700px; margin: 26px 0 0; }
.inner-title > small { display: block; color: var(--amber-text); font-weight: 700; margin-top: 20px; }
.inner-back { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 36px; }
.inner-back:hover { text-decoration: underline; text-underline-offset: 4px; }

/* The card at the side: the app, as a small book with its ribbon. */
.inner-side { position: -webkit-sticky; position: sticky; top: 25px; }
.inner-product { position: relative; padding: 26px 24px 18px; border-radius: 8px 24px 24px 8px; background: var(--card); box-shadow: var(--lift); overflow: hidden; }
.inner-product::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--cover-gradient); }
.inner-product::after { content: ""; position: absolute; right: 22px; top: 0; width: 18px; height: 40px; background: linear-gradient(var(--ribbon), var(--ribbon-deep)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.inner-product > p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.inner-stores { display: flex; gap: 7px; }
.inner-stores > a { flex: 1 1; min-width: 0; background: var(--night); color: var(--bright); border-radius: 999px; padding: 9px 10px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.inner-stores > a > span:first-child { font-size: 14px; }
.inner-product .inner-stores > a > span:first-child:not(.play) { width: 15px; height: 15px; }
.inner-stores > a > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.inner-stores small { font-size: 6.5px; letter-spacing: .02em; }
.inner-stores strong { font-size: 10.5px; white-space: nowrap; }
.inner-stores .play { color: var(--ribbon); }
.side-label { display: block; margin: 24px 0 8px; color: var(--amber-text); font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.inner-product > a { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13.5px; font-weight: 500; }
.inner-product > a:last-child { border-bottom: 0; }
.inner-product > a:hover { color: var(--accent); }
.inner-product > a.active { color: var(--ink); font-weight: 800; }
.inner-product > a.active::before { content: ""; width: 7px; height: 14px; background: linear-gradient(var(--ribbon), var(--ribbon-deep)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); margin-right: 9px; }
.inner-product > a b { margin-left: auto; }

/* ── Literature ──────────────────────────────────────────────────────────── */
/* The collections as books on a shelf: the app's four covers, then round again. */
.sleek-collections { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sleek-collections > article { position: relative; border-radius: 10px 26px 26px 10px; padding: 28px 28px 26px 38px; min-height: 380px; display: flex; flex-direction: column; color: var(--bright); background: linear-gradient(150deg, #1C66B6, var(--cover-deep)); box-shadow: var(--lift); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.sleek-collections > article::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 4px; background: rgba(255, 255, 255, .2); }
.sleek-collections > article:hover { transform: translateY(-4px); box-shadow: var(--lift-strong); }
.sleek-collections > article:nth-child(4n+2) { background: linear-gradient(150deg, #136C60, #0A3F3D); }
.sleek-collections > article:nth-child(4n+3) { background: linear-gradient(150deg, #984C19, #63300F); }
.sleek-collections > article:nth-child(4n+4) { background: linear-gradient(150deg, #5E4EA8, #33286B); }
.collection-top { display: flex; justify-content: space-between; align-items: center; }
.collection-top span { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; background: var(--ribbon); color: var(--on-ribbon); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.collection-top small { color: rgba(248, 241, 222, .92); font-weight: 600; }
.sleek-collections h2 { font-size: 34px; line-height: 1.05; margin: 36px 0 12px; }
.sleek-collections p { color: rgba(248, 241, 222, .92); line-height: 1.6; font-size: 14.5px; }
.collection-samples { display: flex; flex-direction: column; margin-top: auto; }
.collection-samples a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 13px; }
.collection-samples a:hover { color: #fff; }
.collection-open { align-self: flex-start; margin-top: 20px; padding: 11px 18px; border-radius: 999px; background: var(--bright); color: var(--night); font-size: 13px; font-weight: 800; }

.sleek-reading-list { display: grid; gap: 10px; }
.sleek-reading-list > a { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--card); box-shadow: var(--lift); transition: transform .15s ease; }
.sleek-reading-list > a:hover { transform: translateX(4px); }
.sleek-reading-list span { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; color: var(--accent); }
.sleek-reading-list small { display: block; color: var(--amber-text); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; }
.sleek-reading-list h2 { font: 700 clamp(17px, 1.8vw, 21px)/1.3 var(--ui); letter-spacing: -.01em; margin: 0; }
.sleek-reading-list b { font-size: 12.5px; color: var(--accent); font-weight: 700; }
.collection-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 44px; }
.collection-nav a, .journal-categories a { padding: 11px 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 13px; font-weight: 600; }
.collection-nav a:hover, .journal-categories a:hover { border-color: var(--accent); color: var(--accent); }

/* ── Reading: a page of the book ─────────────────────────────────────────── */
.reading-shell, .legal-shell { grid-template-columns: minmax(0, 780px) 300px; }
.reading-article { background: var(--page); color: var(--page-ink); border-radius: 26px; padding: 44px clamp(22px, 5vw, 56px) 48px; box-shadow: var(--lift); position: relative; }
/* The reader's amber line across the head of the page. */
.reading-article::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 26px 26px 0 0; background: linear-gradient(90deg, var(--ribbon), var(--ribbon-deep)); }
.reading-article .inner-back { margin-bottom: 30px; }
.reading-article > header { padding-bottom: 34px; margin-bottom: 40px; text-align: center; position: relative; }
/* The chapter opening: its name, then a short amber rule. */
.reading-article > header::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 48px; height: 3px; margin-left: -24px; border-radius: 2px; background: var(--ribbon); }
.reading-article > header h1 { font-size: clamp(38px, 5vw, 62px); color: var(--page-ink); }
.reading-deck, .journal-article .article-deck { max-width: 620px; margin: 20px auto 0; color: var(--muted); font-size: 17.5px; line-height: 1.65; }
.reading-meta { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.reading-meta span { padding: 8px 13px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); font-size: 11.5px; font-weight: 700; }
.markdown-body { font: 19px/1.75 var(--reading); color: var(--page-ink); }
.markdown-body p { margin: 0 0 1.45em; }
.markdown-body h2 { font-size: 32px; line-height: 1.15; color: var(--page-ink); margin: 1.9em 0 .6em; scroll-margin-top: 20px; }
.markdown-body h3 { font-size: 24px; line-height: 1.2; color: var(--page-ink); margin: 1.6em 0 .5em; }
.markdown-body ol, .markdown-body ul { padding-left: 1.4em; }
.markdown-body li { margin-bottom: .6em; }
.markdown-body blockquote { margin: 1.8em 0; padding: 18px 24px; border-left: 4px solid var(--ribbon); border-radius: 0 16px 16px 0; background: rgba(246, 162, 26, .1); }
.markdown-body blockquote p:last-child { margin-bottom: 0; }
/* The mark between printed pages, as the app sets it. */
.markdown-body hr { border: 0; margin: 2.6em 0; text-align: center; }
.markdown-body hr::before { content: "·  ·  ·"; font-family: var(--display); color: var(--muted); letter-spacing: .3em; }
.markdown-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reading-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 30px; }
.reading-next a { display: flex; flex-direction: column; padding: 18px 20px; border-radius: 18px; background: var(--card); box-shadow: var(--lift); color: var(--ink); transition: transform .15s ease; }
.reading-next a:hover { transform: translateY(-2px); }
.reading-next a:last-child { text-align: right; }
.reading-next small { color: var(--amber-text); font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.reading-next strong { font-size: 14.5px; }

/* The Yellow Card, as the card on the table at a meeting: yellow, black capitals, in dark too. */
[data-reading="readings/the-yellow-card"] .markdown-body { max-width: 520px; margin: 0 auto; transform: rotate(-.7deg); padding: 12px; border-radius: 6px; background: linear-gradient(135deg, #FFE94D, #FFDD00 55%, #F7CF00); box-shadow: 0 18px 34px rgba(0, 0, 0, .28), 0 1px 2px rgba(0, 0, 0, .14); }
[data-reading="readings/the-yellow-card"] .markdown-body p { margin: 0; padding: 34px 16px; border: 2.5px solid #111; text-align: center; font: 800 clamp(20px, 4.6vw, 30px)/1.75 var(--ui); letter-spacing: .03em; text-transform: uppercase; color: #111; }
[data-reading="readings/the-yellow-card"] .markdown-body strong { font-weight: 800; }

/* ── The blog ────────────────────────────────────────────────────────────── */
.journal-featured { position: relative; display: grid; grid-template-columns: 1fr 190px; gap: 28px; padding: 38px 38px 38px 46px; border-radius: 12px 30px 30px 12px; background: var(--cover-gradient); color: var(--bright); margin-bottom: 30px; box-shadow: var(--lift-strong); overflow: hidden; }
.journal-featured::before { content: ""; position: absolute; left: 16px; top: 0; bottom: 0; width: 4px; background: rgba(255, 255, 255, .16); }
.journal-featured::after { content: ""; position: absolute; right: 34px; top: 0; width: 26px; height: 58px; background: linear-gradient(var(--ribbon), var(--ribbon-deep)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.journal-featured span { color: var(--amber-soft); font-size: 10.5px; font-weight: 800; letter-spacing: .18em; }
.journal-featured h2 { font-size: 40px; line-height: 1.05; margin: 16px 0; }
.journal-featured p { color: rgba(248, 241, 222, .86); line-height: 1.65; }
.journal-featured b { display: inline-block; margin-top: 24px; padding: 11px 18px; border-radius: 999px; background: var(--bright); color: var(--night); font-size: 12.5px; }
.journal-featured aside { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: 24px; display: flex; flex-direction: column; justify-content: flex-end; text-transform: capitalize; }
.journal-featured aside small { color: var(--amber-soft); font-weight: 700; margin-bottom: 7px; }
.journal-categories { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 72px; }
.journal-section { scroll-margin-top: 30px; margin-bottom: 80px; }
.journal-section > header { max-width: 650px; margin-bottom: 28px; }
.journal-section > header h2 { font-size: 40px; line-height: 1.05; margin: 0; color: var(--ink); }
.journal-section > header > p:last-child { color: var(--muted); line-height: 1.65; }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.journal-grid > a { border-radius: 24px; padding: 26px; min-height: 290px; display: flex; flex-direction: column; background: var(--card); box-shadow: var(--lift); transition: transform .2s ease, box-shadow .2s ease; }
.journal-grid > a:hover { transform: translateY(-3px); box-shadow: var(--lift-strong); }
.journal-grid span { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; color: var(--accent); }
.journal-grid small { color: var(--muted); margin-top: 22px; font-weight: 600; }
.journal-grid h2, .journal-grid h3 { font-size: 26px; line-height: 1.12; margin: 12px 0; }
.journal-grid p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.journal-grid b { margin-top: auto; color: var(--amber-text); font-size: 12.5px; }

/* An article is a page too, on white rather than the book's cream. */
.journal-article { background: var(--card); color: var(--ink); }
.journal-article > header { text-align: left; }
.journal-article > header::after { left: 0; margin-left: 0; }
.journal-article .article-deck { margin-left: 0; }
.journal-article .reading-meta { justify-content: flex-start; }
.journal-article .markdown-body, .journal-article .markdown-body h2, .journal-article .markdown-body h3, .journal-article > header h1 { color: var(--ink); }
.journal-article .markdown-body section { position: relative; padding-top: 15px; }
.journal-article .markdown-body table { width: 100%; border-collapse: collapse; margin: 2em 0; font: 14.5px/1.5 var(--ui); }
.journal-article .markdown-body td, .journal-article .markdown-body th { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.journal-article .markdown-body th { background: var(--tint); color: var(--ink); }
.article-hero-image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; margin: -6px 0 38px; }
.article-note { padding: 18px 22px; border-radius: 0 18px 18px 0; background: var(--tint); border-left: 4px solid var(--accent); color: var(--muted); margin-bottom: 40px; }
.article-note strong { color: var(--ink); }
.article-note p { font-size: 14px; line-height: 1.65; margin: 7px 0 0; }
.article-cta { position: relative; margin-top: 60px; padding: 34px 34px 34px 42px; border-radius: 10px 26px 26px 10px; background: var(--cover-gradient); color: var(--bright); overflow: hidden; }
.article-cta::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 4px; background: rgba(255, 255, 255, .16); }
.article-cta h2 { font-size: 32px; line-height: 1.08; margin: 0; }
.article-cta p { color: rgba(248, 241, 222, .84); }
.article-cta a { display: inline-block; margin-top: 10px; padding: 12px 20px; border-radius: 999px; background: var(--ribbon); color: var(--on-ribbon); font-weight: 800; }

/* ── Privacy and terms ───────────────────────────────────────────────────── */
.legal-content .inner-title { margin-bottom: 46px; }
.numbered-legal { counter-reset: legal; font: 16.5px/1.8 var(--ui); color: var(--muted); }
.numbered-legal h2 { counter-increment: legal; position: relative; font-size: 28px; line-height: 1.2; color: var(--ink); margin: 54px 0 16px; padding-left: 52px; }
.numbered-legal h2::before { content: counter(legal, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--display); color: var(--amber-text); font-size: 24px; }
.numbered-legal h3 { font-size: 20px; color: var(--ink); margin: 30px 0 10px; }
.numbered-legal p { margin: 0 0 18px; }
.numbered-legal ul { padding-left: 22px; }
.numbered-legal li { margin-bottom: 8px; }
.numbered-legal strong { color: var(--ink); }
.numbered-legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.numbered-legal table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14.5px; }
.numbered-legal td, .numbered-legal th { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.numbered-legal th { background: var(--tint); color: var(--ink); }

/* ── The cookie question: the app's night pill ───────────────────────────── */
.cookie-consent { position: fixed; left: 50%; bottom: 20px; z-index: 1000; width: min(920px, calc(100% - 32px)); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 20px 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; background: var(--night); color: var(--bright); box-shadow: 0 24px 70px rgba(2, 8, 23, .55); }
.cookie-consent strong { display: block; font-family: var(--display); font-size: 19px; margin-bottom: 6px; }
.cookie-consent p { max-width: 590px; margin: 0; color: rgba(248, 241, 222, .78); font-size: 13.5px; line-height: 1.55; }
.cookie-consent p a { color: var(--ribbon); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-actions button { border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 12px 18px; font: 800 12.5px var(--ui); cursor: pointer; }
.cookie-decline { background: transparent; color: var(--bright); }
.cookie-accept { background: var(--ribbon); border-color: var(--ribbon) !important; color: var(--on-ribbon); }

/* ── A page that is not there, and the short wait during an update ────────── */
.lost { min-height: 100vh; display: grid; place-items: center; padding: 32px 24px; text-align: center; }
.lost main { max-width: 520px; }
.lost img { width: 96px; height: 96px; }
.lost h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; margin: 22px 0 10px; }
.lost h2 { font: 500 18px/1.6 var(--ui); letter-spacing: 0; color: var(--muted); margin: 0 0 28px; }
.lost p { color: var(--muted); line-height: 1.6; }
.lost nav { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.lost nav a { padding: 13px 20px; border-radius: 999px; background: var(--card); box-shadow: var(--lift); font-weight: 700; }
.lost nav a:first-child { background: var(--ribbon); color: var(--on-ribbon); }

/* ── Narrower screens ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .st-nav nav, .inner-header nav { display: none; }
  .st-menu, .inner-header details { display: block; }
  .st-nav .theme-toggle, .inner-header .theme-toggle { margin-left: auto; }
  .st-hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 56px; }
  .st-hero-copy { margin: auto; }
  .st-lede { margin-left: auto; margin-right: auto; }
  .st-stores { justify-content: center; }
  .st-device-stage { height: 650px; }
  .st-feature-stack article { gap: 5%; }
  .st-shot { height: 570px; }
  .st-proof { grid-template-columns: 1fr; gap: 44px; }
  .st-library { grid-template-columns: 1fr 1fr; gap: 40px 5%; }
  .st-library-links { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .st-faq { grid-template-columns: 1fr; gap: 36px; }
  .st-footer, .inner-footer { grid-template-columns: 1fr; padding: 80px 8vw 36px; }
  .st-footer > small, .inner-footer > small { grid-column: auto; }
  .inner-shell { grid-template-columns: 1fr; gap: 50px; padding-top: 56px; }
  .inner-side { position: static; order: -1; }
  .legal-shell .inner-side, .reading-shell .inner-side { order: 2; }
}

@media (max-width: 700px) {
  .cookie-consent { bottom: 10px; align-items: stretch; flex-direction: column; gap: 16px; padding: 19px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions button { padding: 13px 10px; }
}

@media (max-width: 620px) {
  /* No room for the ribbon beside the buttons on a phone. */
  .st-hero::after { display: none; }
  .st-hero::before { left: 8px; width: 3px; }
  .st-nav { height: 70px; padding: 0 18px 0 22px; }
  .st-brand img { width: 34px; height: 34px; }
  .st-hero-grid { min-height: auto; padding: 44px 18px 0 22px; }
  .st-kicker { font-size: 10.5px; }
  .st-hero h1 { font-size: 46px; }
  .st-lede { font-size: 16.5px; line-height: 1.6; }
  .st-stores { flex-direction: column; }
  .st-stores > a { width: 100%; height: 60px; }
  .st-device-stage { height: 550px; }
  .st-device-stage > img { height: 510px; border-width: 7px; border-radius: 38px; }
  .st-orbit.one { width: 390px; height: 390px; }
  .st-orbit.two { width: 470px; height: 470px; }
  .st-callout { padding: 11px 14px; font-size: 11.5px; }
  .st-callout.top { right: 0; top: 23%; }
  .st-callout.bottom { left: 0; bottom: 16%; }
  .st-intro { padding: 84px 20px 54px; }
  .st-intro h2, .st-section-head h2 { font-size: 38px; }
  .st-feature-stack { padding: 10px 14px 64px; }
  .st-feature-stack article { grid-template-columns: 1fr; margin-bottom: 76px; gap: 34px; }
  .st-feature-stack article:nth-child(2) .st-feature-copy { order: 2; }
  .st-shot { height: 520px; border-radius: 10px 28px 28px 10px; }
  .st-shot img { border-radius: 34px 34px 0 0; border-width: 7px; }
  .st-feature-copy { padding: 0 10px; text-align: center; }
  .st-feature-copy h3 { font-size: 38px; }
  .st-feature-copy > p { font-size: 16.5px; }
  .st-feature-copy li { text-align: left; }
  .st-proof { padding: 76px 20px; }
  .st-faq h2, .st-library h2, .st-proof h2 { font-size: 39px; }
  .st-stats article { padding: 20px; min-height: 150px; }
  .st-stats strong { font-size: 42px; }
  .st-reviews { padding: 84px 0; }
  .st-review-grid { padding: 44px 16px 30px; }
  .st-review-grid blockquote { min-width: 86vw; padding: 26px; }
  .st-library { grid-template-columns: 1fr; padding: 76px 20px; }
  .st-library-phone { height: 540px; }
  .st-library-links { grid-template-columns: 1fr; }
  .st-faq { padding: 80px 20px; }
  .st-cta { padding: 84px 16px; }
  .st-cta h2 { font-size: 46px; }
  .st-footer, .inner-footer { padding: 64px 20px 32px; gap: 50px; }
  .st-footer .st-brand, .inner-footer .inner-brand { font-size: 28px; }
  .st-footer .st-brand img, .inner-footer .inner-brand img { width: 48px; height: 48px; }
  .st-footer > div > p, .inner-footer > div > p { margin-top: 24px; font-size: 17px; }
  .st-footer .st-stores, .inner-footer .inner-stores { flex-direction: column; }
  .st-footer .st-stores > a, .inner-footer .inner-stores > a { width: 100%; height: 66px; }
  .st-footer nav a, .inner-footer nav a { font-size: 17.5px; }
  .st-footer > small, .inner-footer > small { font-size: 11.5px; }

  .inner-header { height: 68px; padding: 0 16px; }
  .inner-title { padding-bottom: 38px; margin-bottom: 38px; }
  .inner-title h1 { font-size: 42px; }
  .inner-shell { padding: 40px 16px 76px; display: block; }
  .inner-side { display: none; }
  .journal-grid, .sleek-collections { grid-template-columns: 1fr; }
  .sleek-collections > article { min-height: 340px; }
  .sleek-reading-list > a { grid-template-columns: 40px 1fr; padding: 16px; }
  .sleek-reading-list > a b { display: none; }
  .sleek-reading-list span { font-size: 22px; }
  .reading-article { padding: 30px 20px 34px; border-radius: 22px; }
  .reading-article > header h1 { font-size: 36px; }
  .markdown-body { font-size: 18px; line-height: 1.72; }
  .reading-next { grid-template-columns: 1fr; }
  .reading-next a:last-child { text-align: left; }
  .numbered-legal h2 { font-size: 24px; padding-left: 44px; }
  .numbered-legal h2::before { font-size: 20px; }
  .journal-featured { grid-template-columns: 1fr; padding: 28px 24px 28px 34px; }
  .journal-featured h2 { font-size: 31px; }
  .journal-featured aside { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding: 18px 0 0; }
  .journal-section > header h2 { font-size: 34px; }
  .journal-categories { margin-bottom: 52px; }
  .article-hero-image { border-radius: 14px; }
  .article-cta { padding: 28px 24px 28px 34px; }
}
