@font-face {
  font-family: Fraunces;
  src: url('/assets/fraunces.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f8f5ee;
  --ink: #281d18;
  --muted: #675a50;
  --wine: #76271f;
  --gold: #d9b574;
  --forest: #29594d;
  --line: #d9d1c3;
  --device: #1b1410;
  --serif: Fraunces, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--wine); }
a:focus-visible, button:focus-visible, iframe:focus-visible { outline: 3px solid var(--forest); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
p { line-height: 1.65; }
h2 { font-size: clamp(38px, 4.6vw, 59px); line-height: 1.12; letter-spacing: -1.8px; text-wrap: balance; }
h3 { font-size: 29px; line-height: 1.2; letter-spacing: -0.6px; }
cite { font-style: italic; }

.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 12px; z-index: 20; padding: 12px 18px; background: var(--paper); font-weight: 600; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.quiet { font-size: 13px; color: var(--muted); }
.text-link { font-size: 14px; font-weight: 600; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 16px 24px; border-radius: 6px; background: var(--wine); color: #fff7e7; font-size: 14px; font-weight: 600; text-decoration: none; }
.button:hover { background: #5e1e18; color: #fff7e7; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 25px; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 25px; letter-spacing: -0.7px; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 10px; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { font-size: 14px; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.site-header nav .nav-cta { padding: 12px 18px; border: 1px solid var(--wine); border-radius: 6px; color: var(--wine); font-weight: 600; }
.menu-toggle { display: none; padding: 11px 15px; border: 1px solid var(--line); border-radius: 5px; background: none; color: var(--ink); font-size: 13px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; padding-block: 63px 53px; }
.hero h1 { font-size: clamp(52px, 5.6vw, 74px); line-height: 1.05; letter-spacing: -0.045em; text-wrap: balance; }
.hero-copy { padding-bottom: 2px; }
.hero-copy > p:first-child { max-width: 470px; font-size: 19px; }
.hero-copy .quiet { margin-top: 20px; }

/* Device frames. The bezel and island are drawn; the screens inside are unretouched captures. */
.desktop-screen { overflow: hidden; border: 5px solid #342920; border-radius: 9px; background: #211910; box-shadow: 0 16px 35px #310c1650; }
.desktop-screen img { width: 100%; }
.phone { position: relative; container-type: inline-size; }
.phone img { width: 100%; border: 2.8cqw solid var(--device); border-radius: 17.5cqw; background: var(--device); box-shadow: 0 14px 34px #2a160c40; }
.phone::after { content: ''; position: absolute; top: 2.5%; left: 50%; width: 29%; aspect-ratio: 126 / 37; border-radius: 99px; background: #000; transform: translateX(-50%); }

/* Product stage */
.product-stage { padding: 25px 44px 22px; border-radius: 12px; background: var(--wine); color: #f8ead1; overflow: hidden; }
.screens { position: relative; padding-right: 106px; }
.phone-screen { position: absolute; right: 0; bottom: -7px; width: 23.4%; max-width: 250px; transform: rotate(2deg); }
.stage-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; color: #efd5b4; font-size: 13px; }
.stage-footer a { color: #fff6df; }
.stage-footer a:hover { color: #fff; }
.product-stage a:focus-visible { outline-color: var(--gold); }

.platform-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.platform-strip > span { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.platform-strip p { white-space: nowrap; }

/* Bringing books into the library */
.book-sources { padding-block: 84px; border-bottom: 1px solid var(--line); }
.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 48px; }
.source-grid article { display: flex; flex-direction: column; align-items: flex-start; border-top: 3px solid var(--wine); padding-top: 24px; }
.source-grid h3 { margin-bottom: 16px; }
.source-grid p { margin-bottom: 24px; font-size: 15px; color: var(--muted); }
.source-grid a { margin-top: auto; }

/* The apps */
.experience { padding-block: 99px 97px; }
.section-intro { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }
.section-intro > p { max-width: 450px; font-size: 17px; color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px; margin-top: 57px; }
.app-grid h3 { margin-top: 26px; font-size: 24px; }
.app-grid p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.feature-grid h3 { margin-bottom: 14px; }
.feature-grid p { font-size: 15px; line-height: 1.75; color: var(--muted); }
.feature-grid a { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 600; }

/* Read along */
.readalong { padding-block: 84px; background: #eee4d1; }
.readalong-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 84px; align-items: center; }
.readalong-screens { position: relative; padding: 0 0 34px; margin-right: 34px; }
.readalong-screens .phone-screen { right: -34px; bottom: 0; width: 27%; transform: none; }
.readalong-copy h2 { margin-bottom: 23px; }
.readalong-copy > p { max-width: 460px; margin-bottom: 19px; font-size: 16px; color: var(--muted); }
.readalong-copy .text-link { display: inline-block; margin-top: 8px; }

/* Demo */
.demo-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; padding-block: 95px; }
.demo-copy h2 { margin-bottom: 22px; }
.demo-copy > p { max-width: 525px; margin-bottom: 17px; font-size: 16px; color: var(--muted); }
.demo-copy > p.quiet { max-width: 470px; font-size: 13px; }
.demo-copy .button { margin: 9px 0 17px; }
.demo-index { padding: 31px 38px; border-left: 1px solid var(--line); }
.demo-index > p { margin-bottom: 14px; font-family: var(--serif); font-size: 24px; }
.demo-index li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.demo-index li:last-child { border-bottom: 0; }

/* Install */
.install-section { padding-block: 84px; background: #e9ece5; }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 53px; margin: 47px 0 32px; }
.step-number { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 19px; border: 1px solid #8d9e90; border-radius: 50%; font-size: 13px; color: var(--forest); }
.install-steps h3 { margin-bottom: 13px; font-size: 25px; }
.install-steps p { max-width: 310px; font-size: 14px; color: #546052; }
.guide-promo { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-bottom: 16px; padding: 12px 30px 12px 12px; border: 1px solid #ccd6c9; border-radius: 8px; background: #f7f9f3; }
.guide-promo-thumb { position: relative; display: block; overflow: hidden; border: 1px solid #d6e0d1; border-radius: 5px; }
.guide-promo-thumb::before { content: ''; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; border-radius: 50%; background: var(--wine); box-shadow: 0 4px 12px #281d1840; transform: translate(-50%, -50%); }
.guide-promo-thumb::after { content: ''; position: absolute; top: 50%; left: 50%; border-block: 6px solid transparent; border-left: 10px solid #fff7e7; transform: translate(-36%, -50%); }
.guide-promo-thumb:hover::before { background: #5e1e18; }
.guide-promo h3 { margin-bottom: 5px; font-size: 22px; }
.guide-promo p { font-size: 13px; line-height: 1.55; color: #546052; }
.guide-promo .button { min-height: 44px; padding: 12px 20px; }
.install-command { padding: 27px 30px 23px; border: 1px solid #ccd6c9; border-radius: 8px; background: #f7f9f3; }
.install-command > div:first-child { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.install-command strong { font-size: 14px; }
.install-command > div:first-child > span { font-size: 12px; color: #546052; }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 16px; border: 1px solid #d6e0d1; border-radius: 5px; background: #e9eee3; }
.code-row code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.code-row button { flex-shrink: 0; min-width: 72px; padding: 9px 15px; border: 1px solid #aab9a8; border-radius: 4px; background: #f7f9f3; color: var(--forest); font-size: 12px; }
.code-row button:hover { background: #dde7d7; }
#copy-status { min-height: 20px; margin-top: 9px; font-size: 12px; color: var(--forest); }
.install-command > a { margin-right: 24px; font-size: 12px; }
.platform-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 53px; padding-top: 43px; }
.platform-links h3 { margin-bottom: 13px; font-size: 24px; }
.platform-links p { font-size: 13px; line-height: 1.75; color: #546052; }
.platform-links a { display: inline-block; margin-top: 19px; font-size: 12px; font-weight: 600; }
.platform-actions { display: flex; flex-direction: column; align-items: flex-start; }
.platform-actions.apple-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 19px; }
.apple-actions a.store-badge, .platform-links .apple-actions a.testflight-button { margin-top: 0; }
.platform-links a.store-badge { display: inline-flex; padding: 0; line-height: 0; border-radius: 7px; }
.store-badge img { display: block; height: 40px; width: auto; }
.platform-links a.testflight-button { display: inline-flex; align-items: center; gap: 9px; height: 40px; margin-top: 12px; padding: 0 14px 0 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); text-decoration: none; }
.platform-links a.testflight-button:hover { border-color: var(--ink); }
.testflight-button img { display: block; width: 26px; height: 26px; border-radius: 6px; }

/* Integrations and feedback */
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 105px; padding-block: 91px; }
.integrations { margin-block: 26px; border-top: 1px solid var(--line); }
.integrations li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--muted); }
.integrations strong { color: var(--ink); font-weight: 600; }
.early-users { padding-left: 53px; border-left: 1px solid var(--line); }
.early-users img { margin-bottom: 23px; border-radius: 13px; }
.early-users h3 { margin-bottom: 16px; }
.early-users > p { margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.early-users > a { font-size: 13px; font-weight: 600; }
.early-users > p.quiet { max-width: 335px; margin-top: 28px; font-size: 12px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 29px; border-top: 1px solid var(--line); }
.site-footer .brand { font-size: 22px; }
.site-footer nav { display: flex; gap: 25px; font-size: 12px; }

/* Demo wrapper and sources page */
.demo-page { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
.demo-header { display: flex; flex-shrink: 0; align-items: center; gap: 23px; padding: 14px 25px; border-bottom: 1px solid var(--line); font-size: 13px; }
.demo-header .brand { margin-right: auto; font-size: 22px; }
.demo-header button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink); font-size: 12px; }
.demo-notice { flex-shrink: 0; padding: 10px 25px; background: #eee4d1; }
.demo-notice p { font-size: 12px; line-height: 1.55; }
.demo-notice p:last-child { margin-top: 2px; font-size: 11px; color: var(--muted); }
#demo-frame { flex: 1; width: 100%; min-height: 0; border: 0; background: #f1e7d0; }

.sources { max-width: 680px; margin: 0 auto; padding: 50px 24px 72px; }
.sources h1 { margin: 30px 0; font-size: 46px; line-height: 1.15; letter-spacing: -1.4px; }
.sources h2 { margin: 30px 0 15px; font-size: 28px; letter-spacing: -0.5px; }
.sources p { margin: 15px 0; font-size: 15px; }
.sources ul { padding-left: 22px; list-style: disc; font-size: 14px; line-height: 2; }

.not-found { padding-block: 64px 88px; }
.not-found h1 { font-size: clamp(40px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.04em; }
.not-found p { max-width: 46ch; margin-top: 14px; font-size: 17px; color: var(--muted); }
.not-found .actions { margin-top: 28px; }

/* Install guide */
.guide-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-block: 46px 30px; }
.guide-intro h1 { font-size: clamp(40px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.04em; }
.guide-intro p { margin-top: 12px; font-size: 17px; color: var(--muted); }
.guide-intro .guide-meta { flex-shrink: 0; margin: 0; font-size: 13px; text-align: right; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 304px; gap: 36px; align-items: start; }
.guide-lesson { min-width: 0; }
.guide-player { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.guide-player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--paper); }
.guide-player video::cue { font-size: clamp(12px, 1.5vw, 20px); background: #281d18eb; color: var(--paper); }
.guide-transport { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 16px 0 24px; }
.guide-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.guide-controls { display: flex; gap: 8px; }
.guide-controls button { min-height: 40px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 5px; background: none; color: var(--ink); font-size: 13px; }
.guide-controls button:hover:not(:disabled) { background: #eee7dd; }
.guide-controls button:disabled { opacity: 0.4; cursor: default; }
.guide-step { padding-top: 22px; border-top: 1px solid var(--line); }
.guide-step h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.5px; }
.guide-step p { max-width: 68ch; margin-top: 11px; font-size: 15px; color: var(--muted); }
.guide-step .guide-condition { font-size: 12px; color: var(--wine); }
.guide-step .guide-condition:empty { display: none; }
.guide-resources { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-block: 25px; font-size: 13px; }
.guide-resources .guide-jump { display: none; }
.guide-chapters { position: sticky; top: 24px; min-width: 0; padding-left: 24px; border-left: 1px solid var(--line); }
.guide-chapters-heading { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 14px; }
.guide-chapters-heading h2 { font-size: 25px; letter-spacing: -0.4px; }
.guide-chapters-heading span { font-size: 12px; color: var(--muted); }
.guide-chapter-list { max-height: calc(100dvh - 112px); min-height: 390px; padding-right: 4px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.chapter-group { margin-bottom: 9px; padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.chapter-group summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 2px; font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; }
.chapter-group summary::-webkit-details-marker { display: none; }
.chapter-group summary::after { content: '+'; font-size: 19px; font-weight: 400; color: var(--muted); }
.chapter-group[open] summary::after { content: '−'; }
.chapter-group summary small { margin-left: auto; font-size: 11px; font-weight: 400; color: var(--muted); }
.chapter-group .optional-description { margin: 0 2px 10px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.chapter-button { display: grid; grid-template-columns: 22px minmax(0, 1fr) 33px; align-items: start; gap: 8px; width: 100%; min-height: 42px; padding: 10px 9px; border: 0; border-radius: 4px; background: none; color: var(--muted); font-size: 13px; line-height: 1.45; text-align: left; }
.chapter-button:hover { background: #eee7dd; color: var(--ink); }
.chapter-button:focus-visible { outline-offset: -3px; }
.chapter-number, .chapter-time { padding-top: 1px; font-size: 11px; font-variant-numeric: tabular-nums; opacity: 0.88; }
.chapter-time { text-align: right; }
.chapter-button[aria-current='step'] { background: var(--wine); color: #fff7e7; }
.chapter-button[aria-current='step'] .chapter-number, .chapter-button[aria-current='step'] .chapter-time { opacity: 0.85; }
.guide-about { margin-block: 20px 34px; padding-top: 19px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.guide-about summary { width: fit-content; cursor: pointer; }
.guide-about p { max-width: 85ch; margin-top: 12px; line-height: 1.7; }

@media (min-width: 1450px) {
  .hero { padding-block: 77px 63px; }
}

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 40px; }
  .product-stage { padding-inline: 28px; }
  .screens { padding-right: 76px; }
  .section-intro { gap: 40px; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; max-width: 640px; margin-inline: auto; }
  .feature-grid { gap: 36px; }
  .source-grid { gap: 30px; }
  .readalong-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .demo-section, .more { gap: 56px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; }
  .guide-chapters { padding-left: 18px; }
  .install-steps, .platform-links { gap: 30px; }
  .early-users { padding-left: 36px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  .wrap { width: calc(100% - 40px); }
  h3 { font-size: 26px; }

  .site-header { position: relative; min-height: 81px; }
  .brand { font-size: 24px; }
  .brand img { width: 34px; height: 34px; }
  .menu-toggle { display: block; }
  .site-header nav { display: none; position: absolute; top: 73px; left: 0; right: 0; z-index: 10; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: 0 12px 25px #281d1820; }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: 13px; }
  .site-header nav .nav-cta { margin-top: 8px; text-align: center; }

  .hero { grid-template-columns: 1fr; gap: 22px; padding-block: 38px 34px; }
  .hero h1 { font-size: clamp(44px, 12.4vw, 64px); }
  .hero-copy > p:first-child { max-width: 500px; font-size: 17px; }

  .product-stage { padding: 19px 18px 16px; border-radius: 8px; }
  /* The phone is taller than the browser capture at this size, so give it headroom. */
  .screens { padding: 36px 44px 0 0; }
  .desktop-screen { border-width: 3px; border-radius: 6px; }
  .phone-screen { width: 30%; bottom: -3px; }
  .stage-footer { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 17px; font-size: 12px; }
  .readalong-screens { padding-top: 30px; }
  .platform-strip { flex-wrap: wrap; justify-content: flex-start; gap: 12px 22px; padding-block: 23px; font-size: 12px; }
  .platform-strip > span { width: 100%; margin-bottom: 3px; font-size: 17px; }

  .experience { padding-block: 57px; }
  .book-sources { padding-block: 57px; }
  .source-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .section-intro { grid-template-columns: 1fr; gap: 22px; }
  .section-intro > p { max-width: 520px; font-size: 16px; }
  /* Phones scroll sideways at a legible size instead of shrinking to thumbnails. */
  .app-grid { display: flex; gap: 24px; max-width: none; margin: 37px -20px 0; padding: 0 20px 24px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .app-grid article { flex: 0 0 68%; max-width: 280px; scroll-snap-align: center; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 24px; padding-top: 40px; }

  .readalong { padding-block: 49px; }
  .readalong-copy > p { max-width: 540px; font-size: 15px; }
  .demo-section { grid-template-columns: 1fr; gap: 30px; padding-block: 58px; }
  .demo-copy > p { font-size: 15px; }
  .demo-index { padding: 28px 0 0; border-top: 1px solid var(--line); border-left: 0; }

  .install-section { padding-block: 56px; }
  .install-steps { grid-template-columns: 1fr; gap: 26px; margin-top: 31px; }
  .install-steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 17px; }
  .step-number { grid-row: 1 / 3; margin-top: 2px; }
  .install-steps h3 { margin-bottom: 10px; font-size: 24px; }
  .install-steps p { max-width: 500px; }
  .guide-promo { grid-template-columns: 96px minmax(0, 1fr); gap: 14px 16px; padding: 14px; }
  .guide-promo h3 { font-size: 20px; }
  .guide-promo .button { grid-column: 1 / -1; }
  .install-command { padding: 20px 18px; }
  .install-command > div:first-child { display: block; margin-bottom: 16px; }
  .install-command > div:first-child > span { display: block; margin-top: 7px; }
  .code-row { display: block; padding: 13px; }
  .code-row code { display: block; font-size: 11px; }
  .code-row button { margin-top: 14px; padding: 9px 18px; }
  .install-command > a { display: inline-block; margin: 5px 18px 0 0; }
  .platform-links { grid-template-columns: 1fr; gap: 27px; padding-top: 34px; }
  .platform-links p { max-width: 520px; }
  .platform-links a { margin-top: 12px; }

  .more { grid-template-columns: 1fr; gap: 37px; padding-block: 55px; }
  .early-users { padding: 32px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .site-footer { flex-wrap: wrap; gap: 18px; padding-block: 24px; }

  .guide-intro { display: block; padding-block: 28px 22px; }
  .guide-intro p { font-size: 15px; }
  .guide-intro .guide-meta { margin-top: 12px; text-align: left; }
  .guide-layout { display: block; }
  .guide-transport { margin-bottom: 20px; }
  .guide-step { padding-top: 18px; }
  .guide-step h2 { font-size: 25px; }
  .guide-resources { gap: 14px 19px; }
  .guide-resources .guide-jump { display: inline; }
  .guide-chapters { position: static; margin-top: 9px; padding: 22px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .guide-chapter-list { max-height: none; min-height: 0; padding-right: 0; overflow: visible; }
  .chapter-group summary { font-size: 15px; }
  .chapter-button { min-height: 46px; padding: 12px 10px; font-size: 14px; }

  .demo-header { flex-wrap: wrap; gap: 10px 16px; padding: 11px 14px; }
  .demo-header .brand { font-size: 20px; }
  .demo-header .brand img { width: 28px; height: 28px; }
  .demo-notice { padding: 9px 14px; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .actions { gap: 14px; }
  .product-stage { padding-inline: 12px; }
  .app-grid { margin-inline: -16px; padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
