@font-face {
  font-family: "Maru Manabu";
  src: url("./fonts/heading-small.woff") format("woff");
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Manabu Policy";
  src: url("./fonts/policy.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #273952;
  --text: #3c4854;
  --muted: #53616f;
  --accent: #a24b2c;
  --accent-hover: #853a20;
  --peach: #f7e7db;
  --sand: #fbf6ee;
  --leaf: #e8efe4;
  --leaf-ink: #3a5943;
  --rule: #e8e0d6;
  --white: #ffffff;
  --shadow: 0 8px 26px rgba(51, 42, 31, .10);
  --heading: "Maru Manabu", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --body: "Hiragino Sans", "Yu Gothic", Meiryo, "Noto Sans CJK JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html.zoom-open { overflow: hidden; }
body { margin: 0; color: var(--text); background: var(--white); font: 400 15px/1.85 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--heading); font-weight: 700; line-height: 1.26; }
h2 { font-size: clamp(1.85rem, 3.35vw, 2.75rem); letter-spacing: -.04em; }
h3 { font-size: 1.4rem; }
p + p { margin-top: 12px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b95836; outline-offset: 4px; }
section[id], main[id], .reader-heading { scroll-margin-top: 92px; }
.wrap { width: min(1140px, calc(100% - 72px)); margin-inline: auto; }
.section { padding-block: 78px; }
.skip-link { position: fixed; top: 6px; left: 8px; z-index: 20; padding: 10px 14px; border-radius: 8px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 5; top: 0; background: var(--white); border-bottom: 1px solid #f0eae3; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.27; }
.brand img { flex: none; object-fit: contain; border-radius: 9px; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .06em; margin-top: 4px; }
.site-header nav { display: flex; align-items: center; gap: clamp(15px, 3.2vw, 37px); font-size: 13px; font-weight: 700; white-space: nowrap; }
.site-header nav a { padding-block: 12px; }
.site-header nav a:hover, .breadcrumb a:hover { color: var(--accent); }

.hero, .product-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5.3vw, 76px); align-items: center; }
.hero { padding-block: clamp(45px, 7vw, 88px) clamp(52px, 7vw, 86px); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .09em; }
.eyebrow-line { display: inline-block; width: 24px; height: 1px; background: #ce835d; flex: none; }
.hero h1 { font-size: clamp(2.72rem, 5.6vw, 4.48rem); letter-spacing: -.052em; }
.hero-lede, .product-lede { margin-top: 23px; line-height: 1.92; }
.hero-lede strong { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; margin-top: 23px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 12px; padding: 9px 17px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap; transition: background-color .16s ease, border-color .16s ease; }
.button.primary { background: var(--accent); color: var(--white); }
.button.primary:hover { background: var(--accent-hover); }
.button.secondary { color: var(--ink); background: var(--white); border-color: #d9cec2; }
.button.secondary:hover:not(:disabled) { background: var(--sand); border-color: #bfad9c; }
.button.text-button { color: var(--accent); padding-inline: 2px; }
.button.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.button.compact { min-height: 44px; padding: 7px 12px; font-size: 12px; gap: 6px; }
.micro { margin-top: 12px; font-size: 11px; line-height: 1.75; color: var(--muted); }

.book-scene { position: relative; isolation: isolate; display: block; overflow: hidden; aspect-ratio: 1.17; border-radius: 24px; background: var(--sand); border: 1px solid #eee4d8; }
.scene-orbit { position: absolute; z-index: -1; width: 84%; height: 73%; inset: 13% auto auto 9%; border-radius: 48% 52% 40% 60%; background: var(--peach); transform: rotate(-11deg); }
.scene-kicker, .scene-caption { position: absolute; z-index: 3; border-radius: 999px; background: var(--white); color: var(--ink); border: 1px solid var(--rule); font-size: 11px; font-weight: 700; }
.scene-kicker { top: 17px; left: 17px; padding: 5px 12px; letter-spacing: .04em; }
.scene-caption { bottom: 15px; right: 15px; padding: 6px 12px; }
.dot { width: 7px; height: 7px; margin-right: 2px; display: inline-block; border-radius: 50%; background: #bd6b43; vertical-align: 1px; }
.scene-cover, .scene-page { position: absolute; width: 47%; height: auto; object-fit: contain; border: 1px solid #e3dcd1; border-radius: 3px; box-shadow: var(--shadow); transition: transform .22s ease; }
.scene-cover { left: 13%; top: 13%; z-index: 2; transform: rotate(-7deg); }
.scene-page { left: 45%; top: 16%; z-index: 1; transform: rotate(9deg); }
.book-scene:hover .scene-cover { transform: rotate(-9deg) translateX(-3px); }
.book-scene:hover .scene-page { transform: rotate(11deg) translateX(3px); }

.catalog-section, .help-section { background: var(--sand); border-block: 1px solid #f1e9df; }
.catalog-section { padding-block: 65px 70px; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-note { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 2px; }
.filters { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin-block: 24px 18px; }
.filters label { display: grid; gap: 5px; font-weight: 700; color: var(--ink); font-size: 11px; }
.filters select { min-width: 148px; min-height: 44px; padding: 6px 25px 6px 11px; border-radius: 9px; border: 1px solid #ddcfc0; background: var(--white); color: var(--ink); font-size: 13px; }
.filter-count { margin: 0 0 9px 4px; color: var(--muted); font-size: 12px; }
.catalog-item { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; border: 1px solid var(--rule); background: var(--white); border-radius: 20px; padding: 15px; }
.catalog-cover { display: grid; place-items: center; border-radius: 11px; background: #e9efe6; padding: 18px 24px; }
.catalog-cover img { width: min(155px, 100%); height: auto; box-shadow: var(--shadow); border-radius: 2px; border: 1px solid #e7e3d8; }
.catalog-copy { align-self: center; padding: 14px 18px 15px 0; }
.pill-row { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; background: #f4eee5; color: #66523f; font-weight: 700; font-size: 11px; line-height: 1.55; white-space: nowrap; }
.pill.leaf { background: var(--leaf); color: var(--leaf-ink); }
.series { font-size: 12px; color: var(--muted); margin-top: 10px; }
.catalog-copy h3 { margin-block: 4px 9px; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.catalog-copy p:not(.series) { font-size: 14px; }
.catalog-sample { color: var(--ink); }
.catalog-sample span { color: var(--accent); font-size: 11px; font-weight: 700; margin-right: 4px; }
.catalog-copy .actions { margin-top: 15px; }
.empty-state { padding: 26px; border: 1px solid var(--rule); background: var(--white); border-radius: 14px; }
.empty-state button { margin-top: 12px; }

.live-section { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(24px, 6vw, 80px); align-items: center; }
.live-copy h2 { margin-bottom: 17px; }
.live-copy .button { margin-top: 12px; }
.dialogue-sample { display: block; padding: 15px; border: 1px solid var(--rule); border-radius: 17px; background: var(--sand); }
.dialogue-tag { display: block; margin: 0 0 8px 4px; color: var(--ink); font-weight: 700; font-size: 12px; }
.dialogue-sample img { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; }
.dialogue-more { display: block; text-align: right; margin: 8px 3px 0 0; color: var(--accent); font-size: 12px; font-weight: 700; }
.help-grid { display: grid; grid-template-columns: 1fr 1.28fr; gap: 38px; }
.help-grid h2 { margin-bottom: 12px; }
.faq details, .toc-transcript { border: 1px solid var(--rule); border-radius: 10px; background: var(--white); }
.faq details + details { margin-top: 8px; }
.faq summary, .toc-transcript summary { padding: 12px 15px; cursor: pointer; color: var(--ink); font-weight: 700; font-size: 13px; }
.faq p { margin: 0; padding: 0 15px 13px; font-size: 13px; }
.faq p a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.site-footer { background: var(--white); }
.footer-inner { padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.footer-inner > p, .footer-preview { font-size: 11px; color: var(--muted); }
.footer-inner .brand { font-size: 13px; }
.footer-links { display: flex; flex-basis: 100%; flex-wrap: wrap; gap: 0 19px; }
.footer-links a, .seller-notice { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a[aria-current="page"] { color: var(--accent); font-weight: 700; }

.breadcrumb { display: flex; align-items: center; gap: 8px; padding-top: 19px; font-size: 12px; color: var(--muted); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.product-hero {
  grid-template-areas: "copy visual" "entry visual";
  row-gap: 22px;
  padding-block: 24px 47px;
}
.product-copy { grid-area: copy; align-self: end; }
.product-entry { grid-area: entry; align-self: start; }
.product-entry .actions { margin-top: 0; }
.seller-notice { min-height: 36px; }
.product-hero h1 { font-size: clamp(2.4rem, 5.3vw, 4.28rem); letter-spacing: -.045em; }
.product-lede { margin-top: 16px; }
.product-lede strong { display: block; margin-bottom: 3px; color: var(--ink); }
.product-scene { grid-area: visual; max-height: 320px; }
.reading-section { border-block: 1px solid #f2e8dd; background: var(--sand); }
.reading-section .section, .purchase-section .section { padding-block: clamp(30px, 5vw, 54px); }
.preview-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 14px); margin: 17px 0 0; padding: 0; list-style: none; }
.preview-page { display: grid; gap: 8px; height: 100%; padding: 10px; border: 1px solid var(--rule); border-radius: 13px; background: var(--white); }
.preview-page:hover { border-color: #c59072; }
.preview-title { display: flex; gap: 7px; align-items: center; color: var(--ink); font-size: 14px; font-weight: 700; }
.preview-number { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); color: var(--leaf-ink); font-size: 11px; }
.preview-art { display: flex; justify-content: center; align-items: start; height: clamp(78px, 19vw, 154px); overflow: hidden; padding: 6px 6px 0; border-radius: 7px; background: #f0eae1; }
.preview-art img { width: min(100%, 184px); height: auto; border: 1px solid #e1dbd1; border-radius: 2px; box-shadow: 0 3px 9px rgba(51, 42, 31, .10); }
.preview-open { color: var(--accent); font-size: 11px; font-weight: 700; }
.full-sample, .pro-plan { border: 1px solid var(--rule); border-radius: 10px; background: var(--white); }
.full-sample { margin-top: 13px; }
.full-sample summary, .pro-plan summary { min-height: 44px; padding: 10px 12px; cursor: pointer; color: var(--ink); font-size: 13px; font-weight: 700; }
.reader { border-top: 1px solid var(--rule); border-radius: 0 0 10px 10px; overflow: hidden; background: var(--white); }
.reader-tools { padding: 15px 17px 11px; }
.reader-stages { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-bottom: 13px; border-bottom: 1px solid #f0e9e0; }
.reader-stages button { min-height: 44px; padding: 6px 10px; border: 1px solid #e5dacc; border-radius: 8px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.3; }
.reader-stages button[aria-pressed="true"] { border-color: #bb704d; background: var(--peach); color: #703417; }
.reader-heading, .toc-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 11px; }
.reader-heading h3, .toc-panel-heading h3 { font-size: clamp(1.05rem, 2.3vw, 1.44rem); }
.reader-edition { color: var(--muted); font-size: 10px; }
.reader-canvas { display: grid; place-items: center; padding: 16px; background: #ede8e0; }
.paper-button, .toc-paper-button { display: block; padding: 0; border: 1px solid #ded4c8; background: var(--white); border-radius: 4px; }
.paper-button { width: min(100%, 695px); box-shadow: var(--shadow); }
.paper-button img, .toc-paper-button img { width: 100%; height: auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: clamp(9px, 4vw, 35px); padding: 12px 8px; }
.page-count { min-width: 54px; text-align: center; color: var(--ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sample-links, .purchase-help { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 4px; }
.sample-links a, .purchase-help a { min-height: 44px; display: inline-flex; gap: 5px; align-items: center; color: var(--accent); font-size: 13px; font-weight: 700; }
.sample-links a:hover, .purchase-help a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sample-links a > span:not([aria-hidden]) { font-size: 10px; color: var(--muted); }
.sample-note { color: var(--muted); font-size: 12px; margin-top: 12px; }

.toc-layout { display: grid; grid-template-columns: minmax(205px, .48fr) minmax(0, 1.52fr); gap: 16px; margin-top: 22px; }
.chapter-list { display: grid; align-content: start; gap: 5px; }
.chapter-list button { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 8px; text-align: left; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 700; }
.chapter-list button span { white-space: nowrap; font-size: 11px; color: var(--accent); }
.chapter-list button[aria-pressed="true"] { background: var(--peach); border-color: #bb704d; }
.toc-panel { min-width: 0; padding: 12px; background: var(--sand); border: 1px solid var(--rule); border-radius: 13px; }
.toc-panel-heading { padding-top: 0; padding-bottom: 9px; }
.toc-paper-button { width: 100%; }
.toc-transcript { margin-top: 9px; }
.toc-transcript table { width: 100%; border-collapse: collapse; font-size: 13px; }
.toc-transcript th, .toc-transcript td { padding: 6px 9px; text-align: left; border-top: 1px solid var(--rule); }
.toc-transcript td:first-child { white-space: nowrap; }
.textbook-note { border-radius: 12px; border: 1px solid #e2e9df; background: #f6f9f4; padding: 16px 18px; margin-top: 16px; }
.textbook-note h3 { margin-bottom: 6px; font-size: 16px; }
.textbook-note p { font-size: 13px; }

.purchase-section { border-bottom: 1px solid #f1e9df; }
.home-buy { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: clamp(17px, 3vw, 27px); border: 1px solid #ead8c9; border-radius: 15px; background: var(--sand); }
.home-buy .eyebrow { margin-bottom: 8px; }
.home-buy h2 { font-size: clamp(1.5rem, 3.35vw, 2.6rem); }
.purchase-lede { margin-top: 7px; font-size: 13px; }
.home-buy-action { flex: none; text-align: right; }
.home-buy-action .price { color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1.36; margin-bottom: 6px; }
.home-buy-action .price span { font-size: 15px; margin-left: 3px; }
.purchase-note { margin-top: 11px; color: var(--muted); font-size: 13px; }
.refund-note { margin-top: 10px; padding: 11px 13px; border: 1px solid var(--rule); border-radius: 9px; background: var(--sand); font-size: 13px; }
.refund-note strong { color: var(--ink); }
.pro-plan { margin-top: 6px; background: #f4f7f9; border-color: #dce6ec; }
.pro-plan-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 0 12px 11px; }
.pro-plan-content p { font-size: 13px; }

.policy-page {
  --body: "Noto Manabu Policy", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --heading: "Maru Manabu", "Noto Manabu Policy", "Hiragino Sans", sans-serif;
}
.policy-main { max-width: 850px; padding-block: clamp(32px, 6vw, 76px); }
.policy-intro h1 { font-size: clamp(1.85rem, 5vw, 3.3rem); }
.policy-title-part { white-space: nowrap; }
.policy-intro > p:last-child { margin-top: 13px; }
.policy-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.policy-actions .button { white-space: normal; }
.policy-panel, .license-panel { margin-top: 15px; padding: clamp(15px, 3vw, 25px); border: 1px solid var(--rule); border-radius: 14px; }
.policy-panel { background: var(--sand); }
.license-home { background: var(--sand); }
.license-pro { background: #f4f7f9; border-color: #dce6ec; }
.policy-panel h2, .license-heading h2 { font-size: clamp(1.25rem, 3vw, 1.8rem); letter-spacing: 0; }
.license-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.policy-panel p, .license-panel > p { margin-top: 9px; }
.policy-panel > a, .policy-help a, .sales-terms dd a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.policy-panel > a { display: inline-flex; min-height: 44px; align-items: center; gap: 5px; }
.policy-version, .policy-help { color: var(--muted); font-size: 13px; }
.policy-help { margin-top: 16px; }
.policy-details { margin-top: 10px; border: 1px solid var(--rule); border-radius: 9px; background: var(--white); }
.policy-details summary { min-height: 44px; padding: 9px 12px; color: var(--ink); font-weight: 700; cursor: pointer; }
.clause-list { padding: 14px clamp(12px, 2.5vw, 24px) 21px; border-top: 1px solid var(--rule); }
.clause-list h3 { margin: 1.25em 0 .45em; font-size: 1.14rem; }
.clause-list h3:first-child { margin-top: 0; }
.clause-list h4 { color: var(--ink); margin-block: 12px 6px; font-size: 1rem; }
.clause-list ul { padding-left: 1.35em; }
.clause-list li + li { margin-top: 6px; }
.sales-terms { border: 1px solid var(--rule); border-radius: 14px; margin: 0; }
.sales-terms > div { display: grid; grid-template-columns: minmax(130px, .33fr) minmax(0, 1fr); gap: 5px 16px; padding: 14px; }
.sales-terms > div + div { border-top: 1px solid var(--rule); }
.sales-terms dt { color: var(--ink); font-weight: 700; }
.sales-terms dd { margin: 0; }

.zoom-dialog { width: min(960px, calc(100vw - 24px)); max-width: none; max-height: 92dvh; border: 1px solid var(--rule); border-radius: 12px; padding: 0; background: var(--white); color: var(--ink); }
.zoom-dialog[open] { display: flex; flex-direction: column; }
.zoom-dialog::backdrop { background: rgba(29, 34, 42, .72); }
.zoom-header { display: flex; align-items: center; gap: 7px; flex: none; padding: 8px; border-bottom: 1px solid var(--rule); }
.zoom-header strong { margin-right: auto; font-size: 12px; line-height: 1.45; }
.zoom-body { min-height: 0; overflow: auto; overscroll-behavior: contain; background: #eee7dc; padding: 7px; }
.zoom-body img { width: min(100%, 860px); height: auto; margin-inline: auto; }
.zoom-body.large img { width: max(100%, 940px); max-width: none; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .desktop-break { display: none; }
  .hero, .product-hero { gap: 24px; }
  .hero h1 { font-size: clamp(2.4rem, 5.45vw, 4.1rem); }
  .book-scene { aspect-ratio: 1.08; }
  .catalog-item { grid-template-columns: 215px minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 680px) {
  body { font-size: 14px; }
  .wrap { width: calc(100% - 32px); }
  .section { padding-block: 47px; }
  section[id], main[id], .reader-heading { scroll-margin-top: 107px; }
  .header-inner { display: grid; gap: 3px; justify-content: stretch; min-height: auto; padding-block: 5px; }
  .header-inner .brand { font-size: 14px; }
  .header-inner .brand img { width: 37px; height: 37px; }
  .header-inner .brand small { font-size: 9px; margin-top: 3px; }
  .site-header nav { gap: 8px 21px; font-size: 11px; }
  .site-header nav a { padding-block: 4px; }
  .hero, .product-hero, .live-section, .help-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding-block: 32px 43px; }
  .hero h1 { font-size: clamp(2.32rem, 8.8vw, 3.35rem); }
  .hero-lede, .product-lede { margin-top: 14px; }
  .actions { margin-top: 15px; gap: 8px; }
  .button { padding-inline: 12px; gap: 8px; }
  .micro { margin-top: 8px; }
  .book-scene { aspect-ratio: 1.25; border-radius: 16px; }
  .scene-cover { top: 13%; width: 44%; left: 15%; }
  .scene-page { top: 15%; width: 44%; }
  .scene-kicker, .scene-caption { font-size: 9px; }
  .scene-kicker { top: 9px; left: 9px; }
  .scene-caption { bottom: 9px; right: 9px; }
  .catalog-section { padding-block: 42px; }
  .heading-row { display: block; }
  .section-note { margin-top: 8px; }
  .section-note br { display: none; }
  .filters { margin-top: 15px; gap: 8px; }
  .filters select { min-width: 123px; }
  .filter-count { font-size: 11px; margin-left: 0; }
  .catalog-item { grid-template-columns: 1fr; gap: 7px; padding: 11px; border-radius: 14px; }
  .catalog-cover { padding: 13px; }
  .catalog-cover img { width: 115px; }
  .catalog-copy { padding: 5px 5px 7px; }
  .catalog-copy p:not(.series) { font-size: 13px; }
  .help-grid { gap: 13px; }
  .product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(78px, 25%);
    grid-template-areas: "copy visual" "entry entry";
    gap: 13px 10px;
    padding-block: 13px 26px;
  }
  .product-hero h1 { font-size: clamp(1.75rem, 7.5vw, 2.6rem); }
  .product-copy .eyebrow { font-size: 10px; margin-bottom: 5px; }
  .product-lede { margin-top: 8px; font-size: 12px; line-height: 1.65; }
  .product-scene { align-self: start; max-height: 134px; aspect-ratio: .86; border-radius: 9px; }
  .product-scene .scene-cover { top: 8%; left: 14%; width: 72%; transform: rotate(-4deg); }
  .product-scene .scene-page, .product-scene .scene-kicker, .product-scene .scene-caption { display: none; }
  .preview-page { padding: 6px; gap: 4px; border-radius: 8px; }
  .preview-title { justify-content: center; gap: 3px; font-size: 11px; }
  .preview-number { width: 15px; height: 15px; font-size: 9px; }
  .preview-art { padding: 4px 3px 0; }
  .preview-open { font-size: 10px; text-align: center; }
  .reader-tools { padding: 9px 8px; }
  .reader-stages { gap: 4px; padding-bottom: 7px; }
  .reader-stages button { padding-inline: 7px; font-size: 11px; }
  .reader-canvas { padding: 7px; }
  .pager { padding-block: 8px; }
  .toc-layout { grid-template-columns: 1fr; gap: 8px; }
  .chapter-list { grid-template-columns: 1fr 1fr; }
  .chapter-list button { font-size: 11px; gap: 5px; padding-inline: 6px; }
  .chapter-list button span { font-size: 10px; }
  .home-buy { display: grid; gap: 9px; }
  .home-buy-action { text-align: left; }
  .home-buy-action .button { width: 100%; }
  .purchase-help, .sample-links { column-gap: 12px; }
  .purchase-help a, .sample-links a { font-size: 12px; }
  .sales-terms > div { grid-template-columns: 1fr; }
  .footer-inner { padding-block: 17px; }
}
@media (max-width: 355px) {
  .wrap { width: calc(100% - 24px); }
  .hero h1 { font-size: 2.12rem; }
  .chapter-list { grid-template-columns: 1fr; }
  .zoom-header .button { padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
