/* The rhythm notebook. Tenant presentation; forms and data remain native. */
:root {
  --nbook-ink: #3b243f;
  --nbook-ink-deep: #291a2d;
  --nbook-paper: #f2ead9;
  --nbook-paper-light: #fbf5e8;
  --nbook-orange: #de8b49;
  --nbook-rule: #927c65;
  --color-primary: var(--nbook-ink);
  --color-primary-content: var(--nbook-paper);
  --color-base-100: var(--nbook-paper-light);
  --color-base-200: var(--nbook-paper);
  --color-base-content: var(--nbook-ink);
  --color-base-300: #c5b79f;
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Archivo", sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
  background: var(--nbook-ink);
  color: var(--nbook-paper);
  font-family: "Archivo", sans-serif;
  background-image: url("grain.da2ca5dac3e1.svg");
}
body > main { width: 100%; }
.nbook-header, .nbook-hero, .nbook-about, .nbook-footer { color: var(--nbook-paper); }
.nbook-header a, .nbook-hero a, .nbook-footer a { color: inherit; }
[data-student-preview-invitation] { color: var(--nbook-ink); font-size: .75rem; }
[data-student-preview-invitation] a { color: var(--nbook-ink); }
a, button { -webkit-tap-highlight-color: transparent; }
:is(a, button, input, textarea, select):focus-visible { outline: 3px solid var(--nbook-orange); outline-offset: 5px; }
.nbook-header { padding: 0 3.5vw; }
.nbook-header-inner { max-width: 1600px; margin: auto; min-height: 132px; display: flex; align-items: center; gap: 3rem; border-bottom: 1px solid #f2ead943; }
.nbook-logo { width: clamp(170px, 18vw, 240px); flex-shrink: 0; display: block; }
.nbook-logo img { width: 100%; height: auto; max-height: 115px; object-fit: contain; }
.nbook-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.6rem); }
.nbook-nav a { font-size: .88rem; padding: .9rem 0; text-decoration-thickness: 1px; text-underline-offset: .4rem; }
.nbook-nav a:hover { color: var(--nbook-orange); }
.nbook-header-end { display: flex; align-items: center; gap: 1.3rem; }
.nbook-header-cta { border: 1px solid #f2ead9ba; border-radius: 3rem; padding: .8rem 1.2rem; font-size: .85rem; white-space: nowrap; }
.nbook-header-cta:hover { background: var(--nbook-paper); color: var(--nbook-ink); }
.nbook-languages .join { border: 0; background: none; border-radius: 0; }
.nbook-languages button { min-height: 44px; background: none !important; color: var(--nbook-paper) !important; font-size: .72rem; padding: .6rem .45rem; opacity: 1; }
.nbook-languages [aria-current] { text-decoration: underline; text-decoration-color: var(--nbook-orange); text-underline-offset: .5rem; }
.nbook-hero { max-width: 1660px; margin: auto; padding: 70px 5vw 60px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 1vw; align-items: center; }
.nbook-introduction { position: relative; z-index: 2; padding: 1rem 0 3rem; }
.nbook-eyebrow { font-size: .69rem; font-weight: 500; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 1.6rem; }
.nbook-introduction h1 { font: 600 clamp(3.7rem, 5.5vw, 6rem)/1.02 "Fraunces", Georgia, serif; letter-spacing: -.055em; max-width: 7em; margin: 0 0 1.8rem; }
.nbook-introduction h1 em { color: var(--nbook-orange); font-weight: 600; }
.nbook-intro-copy { font-size: clamp(1rem, 1.32vw, 1.25rem); line-height: 1.65; max-width: 27ch; margin-bottom: 2.2rem; }
.nbook-button { display: inline-flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 48px; padding: .85rem 1.2rem; background: var(--nbook-ink); border: 1px solid var(--nbook-ink); color: var(--nbook-paper) !important; border-radius: 2px; font-size: .9rem; line-height: 1.4; font-weight: 600; transition: background .2s, transform .2s; text-decoration: none; }
.nbook-button:hover { background: var(--nbook-ink-deep); transform: translateY(-2px); }
.nbook-button-paper { background: var(--nbook-paper); color: var(--nbook-ink) !important; border-color: var(--nbook-paper); }
.nbook-button-paper:hover { background: white; }
.nbook-price { white-space: nowrap; }
.nbook-location { margin: 4rem 0 0; font-size: 0.6875rem; letter-spacing: .13em; line-height: 1.7; }
.nbook-location > span { display: block; height: 1px; width: 36px; background: var(--nbook-paper); margin-bottom: 1.2rem; }
.nbook-notebook { position: relative; min-width: 0; margin: 0 28px 0 0; scroll-margin-top: 2.5rem; }
.nbook-paper-stack { position: relative; border-radius: 9px 17px 17px 9px; isolation: isolate; background: #d1bc97; box-shadow: 1px 3px 0 #9b8160, 2px 5px 0 #e4d4b8, 3px 8px 0 #bca785, 4px 10px 0 #eddfc5, 5px 13px 0 #aa906e, 5px 19px 0 #241b22, 9px 24px 30px #0f071d88; transform: rotate(-2deg); }
.nbook-spread { position: relative; min-height: 630px; padding: 25px 25px 35px; color: var(--nbook-ink); background-color: var(--nbook-paper); background-image: linear-gradient(90deg, #94754e1c, transparent 5%, #fff9e91a 45%, #8d735223 49.5%, #8566463d 50%, #fffaf19c 51%, transparent 56%, #91745110 98%), url("grain.da2ca5dac3e1.svg"); border-radius: 9px 17px 17px 9px; }
.nbook-spread[hidden] { display: none !important; }
.nbook-spread + .nbook-spread { margin-top: 2rem; }
[data-notebook-ready] .nbook-spread + .nbook-spread { margin-top: 0; }
.nbook-spread-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: start; gap: 2rem; border-bottom: 1px solid #c5854e88; padding: 0 5px 12px; }
.nbook-spread-top :is(p, h2, span) { margin: 0; font: 500 0.6875rem/1.5 "Archivo", sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.nbook-spread-top h2, .nbook-spread-top > span { text-align: right; }
.nbook-intro-drawing { position: relative; height: 475px; }
.nbook-intro-drawing > img { width: 100%; height: 100%; object-fit: contain; }
.nbook-annotation { font: 400 clamp(.95rem, 1.7vw, 1.45rem)/1.18 "Kalam", cursive; position: relative; display: inline-block; }
.nbook-intro-drawing > .nbook-annotation { position: absolute; z-index: 1; max-width: 8ch; }
.nbook-annotation > span { display: block; color: var(--nbook-orange); font: 400 2rem/1 Georgia, serif; }
.nbook-note-listen { left: 5%; top: 7%; transform: rotate(-5deg); }
.nbook-note-feel { right: 5%; top: 5%; transform: rotate(5deg); text-align: right; }
.nbook-note-step { right: 1%; bottom: 4%; transform: rotate(-3deg); }
.nbook-quote { margin: 1rem 1% 0 51%; text-align: center; font: italic .9rem/1.45 Georgia, serif; }
.nbook-quote p { margin: 0; }
.nbook-quote cite { display: block; font: .6875rem/1.6 "Archivo", sans-serif; margin-top: .5rem; letter-spacing: .06em; }
.nbook-ribbon { position: absolute; left: 49.15%; width: 25px; top: -6px; bottom: -33px; background: linear-gradient(90deg, #b86828, #e9a264 25%, #ca7331 85%, #9d5422); color: #fff5e4; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .2em; padding-top: 340px; text-align: center; font-size: 0.6875rem; box-shadow: 3px 2px 4px #61401e4d; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 98%, 0 100%); z-index: 3; }
.nbook-chapter-nav { position: absolute; z-index: 1; right: -39px; top: 35px; bottom: 20px; width: 45px; }
.nbook-tabs { height: 100%; display: flex; flex-direction: column; justify-content: space-around; gap: 8px; }
@media (min-width: 761px) {
  .nbook-notebook:not([data-notebook-ready]) .nbook-chapter-nav { height: 580px; bottom: auto; }
}
.nbook-tab { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 75px; flex: 1; max-height: 112px; border-radius: 0 8px 8px 0; background: #5b3d60; box-shadow: 3px 3px 4px #150c1c55; writing-mode: vertical-rl; text-transform: uppercase; font-size: 0.6875rem; font-weight: 600; letter-spacing: .14em; padding: 10px 9px 10px 18px; transition: transform .2s, background .2s; transform: rotate(-2deg); color: var(--nbook-paper) !important; }
.nbook-tab:hover, .nbook-tab[aria-selected="true"] { background: var(--nbook-orange); color: var(--nbook-ink-deep) !important; transform: rotate(-2deg) translateX(6px); }
.nbook-tab:focus-visible { outline-offset: 4px; }
.nbook-tab-intro { font-size: 0.6875rem; }
.nbook-tab-hint { margin: 2.5rem 0 0; text-align: right; font: 400 .95rem "Kalam", cursive; color: #f2ead9c7; }
.nbook-tab-hint span { margin-left: 1rem; color: var(--nbook-orange); }
.nbook-dance-spread { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 35px; }
.nbook-dance-spread > header { grid-column: 1/-1; }
.nbook-illustrated-page { min-width: 0; padding: 35px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.nbook-illustrated-page > .nbook-annotation { align-self: flex-start; transform: rotate(-4deg); max-width: 15ch; }
.nbook-illustrated-page img { width: 100%; height: 320px; object-fit: contain; }
.nbook-pencil-caption { font: 400 1rem/1.3 "Kalam", cursive; margin-top: .8rem; transform: rotate(-3deg); text-align: center; }
.nbook-lesson-page { padding: 40px 0 0; display: flex; flex-direction: column; min-width: 0; }
.nbook-lesson-page .nbook-eyebrow { font-size: 0.6875rem; letter-spacing: .1em; margin-bottom: 1rem; }
.nbook-lesson-page h2 { font: 600 clamp(2.1rem, 3vw, 3.2rem)/1.05 "Fraunces", Georgia, serif; letter-spacing: -.04em; margin: 0 0 1rem; }
.nbook-lesson-page h2 em { color: #a35426; font-size: .9em; }
.nbook-lesson-page > p { font-size: .82rem; line-height: 1.65; }
.nbook-lesson-page .nbook-lesson-lead { font: 600 1rem/1.4 "Fraunces", Georgia, serif; margin: 0 0 .8rem; }
.nbook-lesson-facts { margin: 1rem 0 1.3rem; font-size: .73rem; line-height: 1.5; }
.nbook-lesson-facts > div { border-top: 1px solid #a68d6b66; padding: .6rem 0; }
.nbook-lesson-facts dt { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .25rem; }
.nbook-lesson-facts dd { margin: 0; }
.nbook-lesson-action { margin-top: auto; font-size: .76rem; padding: .7rem .8rem; width: 100%; }
.nbook-small-link { display: inline-block; font-size: .78rem; text-decoration: underline; text-decoration-color: var(--nbook-orange); text-underline-offset: 6px; text-decoration-thickness: 1px; padding: .7rem 0; }
.nbook-lesson-page .nbook-small-link { font-size: 0.6875rem; }
.nbook-next-band { background: var(--nbook-paper); color: var(--nbook-ink); box-shadow: 0 -8px 24px #1b0a2211; padding: 2rem 5vw; }
.nbook-next-inner { max-width: 1450px; margin: auto; display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.nbook-next-inner > .nbook-eyebrow { width: 100%; margin: 0 0 -.5rem; font-size: 0.6875rem; }
.nbook-open-notebook { font: 600 clamp(1.5rem, 2.8vw, 2.4rem)/1.2 "Fraunces", Georgia, serif; display: flex; align-items: center; gap: 1.2rem; margin-right: auto; }
.nbook-index { border: 1px solid #a65d2b; font: 400 1rem "Archivo", sans-serif; padding: .6rem .7rem; }
.nbook-next-inner > a:not(.nbook-open-notebook) { font-size: .83rem; border-bottom: 1px solid #ac663a; padding: .8rem 0; }
.nbook-wrap { max-width: 1390px; margin: auto; padding-left: 5vw; padding-right: 5vw; }
.nbook-about { padding-top: 6rem; padding-bottom: 6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.nbook-about h2 { font: 600 clamp(2rem, 3.6vw, 3.7rem)/1.13 "Fraunces", Georgia, serif; letter-spacing: -.045em; }
.nbook-about h2 em { color: var(--nbook-orange); }
.nbook-about-copy { padding-top: 2rem; }
.nbook-about-copy > p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1rem; }
.nbook-radio { border-top: 1px solid #f2ead94d; padding-top: 1.4rem; margin-top: 1.8rem; display: flex; gap: 1rem; }
.nbook-radio > span:first-child { color: var(--nbook-orange); font-size: 2rem; }
.nbook-radio > span:last-child { font-size: .85rem; line-height: 1.7; }
.nbook-trial-section { background: var(--nbook-paper); color: var(--nbook-ink); background-image: url("grain.da2ca5dac3e1.svg"); }
.nbook-trial-inner { padding-top: 5rem; padding-bottom: 5rem; display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.nbook-trial-inner h2 { font: 600 clamp(2.5rem, 4vw, 4rem)/1.1 "Fraunces", Georgia, serif; letter-spacing: -.05em; margin-bottom: 1.5rem; }
.nbook-trial-inner p { max-width: 36ch; line-height: 1.7; }
.nbook-trial-inner .nbook-trial-price { font: 600 2.8rem/1.3 "Fraunces", Georgia, serif; margin-top: 2rem; }
.nbook-trial-price span { font: 400 .8rem/1.4 "Archivo", sans-serif; }
.nbook-small-note { font-size: .75rem; margin-top: 1rem; }
.nbook-trial-form { box-shadow: 6px 7px 0 #d7c5a8; }
.nbook-trial-form form { border: 1px solid #a89578; border-radius: 3px; }
.nbook-trial-form :is(input, textarea, select), .nbook-page :is(input, textarea, select) { border-color: #88725b; }
.nbook-trial-form input[type=checkbox], .nbook-page input[type=checkbox] { border-color: #88725b; }
.nbook-footer { font-size: .8rem; padding: 3rem 5vw 2rem; }
.nbook-footer-inner { max-width: 1450px; margin: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.nbook-footer-name { font: 600 1.25rem "Fraunces", Georgia, serif; margin: 0 0 .5rem; }
.nbook-footer nav { display: flex; gap: 1.4rem; align-items: start; flex-wrap: wrap; }
.nbook-footer a { text-decoration: underline; text-underline-offset: .3rem; }
.nbook-preview { width: 100%; border-top: 1px solid #f2ead94d; padding-top: 1.5rem; font-size: .73rem; line-height: 1.6; }
.nbook-copyright { width: 100%; font-size: 0.6875rem; }
/* Secondary pages share the notebook's paper rather than the hero's geometry. */
.nbook-shell { max-width: 1250px; margin: 3rem auto 5rem; padding: 0 4vw; color: var(--nbook-ink); }
.nbook-page { background: var(--nbook-paper); background-image: url("grain.da2ca5dac3e1.svg"); padding: clamp(1.5rem, 5vw, 5rem); border-radius: 3px 12px 12px 3px; box-shadow: 3px 4px 0 #b8a383, 5px 7px 0 #e4d4b8, 7px 12px 0 #211623, 9px 19px 30px #190f2366; }
.nbook-heading { font: 600 clamp(2.5rem, 5vw, 5rem)/1.08 "Fraunces", Georgia, serif; letter-spacing: -.05em; margin: 0 0 2rem; max-width: 18ch; }
.nbook-prose { font-size: 1rem; line-height: 1.85; max-width: 75ch; }
.nbook-prose p { margin-bottom: 1.25rem; }
.nbook-prose a { text-decoration: underline; text-underline-offset: 4px; }
.nbook-rule { border: 0; border-top: 1px solid #99836988; margin: 2rem 0; }
.nbook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2.5rem 0; }
.nbook-card { border-top: 1px solid #998369; padding: 1.5rem 0; min-width: 0; }
.nbook-card h2 { font: 600 1.8rem/1.2 "Fraunces", Georgia, serif; margin-bottom: 1.2rem; letter-spacing: -.025em; }
.nbook-card .nbook-eyebrow { margin-bottom: 1rem; }
.nbook-page .nbook-button { margin: 1rem 0; }
.nbook-page table { width: 100%; }
@media (min-width: 1580px) {
  .nbook-hero { padding-left: 70px; padding-right: 70px; }
  .nbook-spread { min-height: 690px; }
  .nbook-intro-drawing { height: 520px; }
}
@media (max-width: 1100px) {
  .nbook-header-inner { gap: 1.5rem; min-height: 115px; }
  .nbook-header-cta { display: none; }
  .nbook-hero { grid-template-columns: .64fr 1.36fr; padding: 60px 4vw 45px; }
  .nbook-introduction h1 { font-size: clamp(3rem, 5.6vw, 4rem); }
  .nbook-intro-copy { font-size: 1rem; max-width: 24ch; }
  .nbook-introduction .nbook-button { font-size: .77rem; padding: .8rem; gap: .5rem; }
  .nbook-spread { min-height: 570px; padding: 20px 19px 30px; }
  .nbook-intro-drawing { height: 410px; }
  .nbook-quote { font-size: .76rem; }
  .nbook-dance-spread { column-gap: 25px; }
  .nbook-lesson-page { padding-top: 25px; }
  .nbook-lesson-page > p { font-size: .73rem; }
  .nbook-lesson-facts { margin: .7rem 0; font-size: 0.6875rem; }
  .nbook-illustrated-page img { height: 290px; }
}
@media (max-width: 760px) {
  .nbook-header { padding: 0 5vw; }
  .nbook-header-inner { min-height: 115px; display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; padding: 12px 0 0; }
  .nbook-logo { width: 155px; }
  .nbook-logo img { max-height: 78px; }
  .nbook-header-end { grid-column: 2; grid-row: 1; }
  .nbook-nav { grid-row: 2; grid-column: 1/-1; width: 100%; justify-content: space-between; gap: .5rem; margin: 0; }
  .nbook-nav a { font-size: .72rem; padding: .7rem 0; min-height: 44px; }
  .nbook-hero { display: flex; flex-direction: column; gap: 0; padding: 38px 6vw 30px; overflow: clip; }
  .nbook-introduction { width: 100%; padding: 0 0 2rem; }
  .nbook-introduction .nbook-eyebrow { font-size: 0.6875rem; margin-bottom: 1.2rem; }
  .nbook-introduction h1 { font-size: clamp(3rem, 10.5vw, 4.8rem); max-width: 11ch; margin-bottom: 1.2rem; }
  .nbook-intro-copy { font-size: .94rem; line-height: 1.65; max-width: 34ch; margin-bottom: 1.4rem; }
  .nbook-introduction .nbook-button { font-size: .85rem; padding: .8rem 1rem; }
  .nbook-location { display: none; }
  .nbook-notebook { width: 100%; margin: 0; padding-top: 65px; }
  .nbook-chapter-nav { top: 0; bottom: auto; right: auto; width: 100%; height: 54px; position: absolute; z-index: 3; }
  .nbook-tabs { flex-direction: row; gap: 5px; justify-content: flex-start; height: auto; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
  .nbook-tab { writing-mode: horizontal-tb; min-width: 0; min-height: 46px; max-height: none; flex: 0 0 auto; transform: none; border-radius: 4px; padding: .7rem .8rem; font-size: 0.6875rem; letter-spacing: .055em; }
  .nbook-tab:hover, .nbook-tab[aria-selected=true] { transform: none; }
  .nbook-paper-stack { transform: rotate(-1deg); }
  .nbook-spread { min-height: 440px; padding: 16px 16px 24px; }
  .nbook-spread-top { gap: 1rem; padding-bottom: 9px; }
  .nbook-spread-top :is(p, h2, span) { font-size: 0.6875rem; letter-spacing: .09em; }
  .nbook-intro-drawing { height: 320px; }
  .nbook-intro-drawing .nbook-annotation { font-size: 1rem; }
  .nbook-quote { font-size: .7rem; margin-left: 40%; }
  .nbook-quote cite { font-size: 0.6875rem; }
  .nbook-ribbon { width: 15px; padding-top: 270px; font-size: 0.6875rem; bottom: -20px; }
  .nbook-note-step { bottom: 0; }
  .nbook-note-listen { left: 0; }
  .nbook-note-feel { right: 0; }
  .nbook-tab-hint { margin: 2rem 0 0; font-size: .8rem; text-align: center; }
  .nbook-dance-spread { display: grid; grid-template-columns: 1fr; gap: 0; background-image: url("grain.da2ca5dac3e1.svg"); }
  .nbook-illustrated-page { padding: 15px 0 0; position: relative; min-height: 190px; }
  .nbook-illustrated-page > .nbook-annotation { position: absolute; top: 20px; left: 0; max-width: 12ch; font-size: .95rem; }
  .nbook-illustrated-page img { height: 205px; width: 90%; margin-left: 10%; }
  .nbook-pencil-caption { position: absolute; right: 0; bottom: 0; font-size: .8rem; max-width: 13ch; }
  .nbook-lesson-page { padding: 20px 3px 0; }
  .nbook-lesson-page h2 { font-size: 2.5rem; margin-bottom: .7rem; }
  .nbook-lesson-page h2 br::after { content: " "; }
  .nbook-lesson-page .nbook-eyebrow { margin-bottom: .6rem; }
  .nbook-lesson-page > p { font-size: .85rem; }
  .nbook-lesson-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: .74rem; margin: 1rem 0; }
  .nbook-lesson-action { font-size: .85rem; }
  .nbook-lesson-page .nbook-small-link { font-size: .75rem; }
  .nbook-next-band { padding: 1.8rem 6vw; }
  .nbook-next-inner { gap: .7rem 1.3rem; }
  .nbook-next-inner > .nbook-eyebrow { margin-bottom: .4rem; font-size: 0.6875rem; }
  .nbook-open-notebook { width: 100%; font-size: 1.55rem; gap: .8rem; }
  .nbook-next-inner > a:not(.nbook-open-notebook) { font-size: .72rem; }
  .nbook-index { font-size: .9rem; padding: .5rem .6rem; }
  .nbook-about { padding: 3rem 6vw; display: block; }
  .nbook-about h2 { font-size: 2.25rem; }
  .nbook-about-copy { padding-top: 1.5rem; }
  .nbook-about-copy > p { font-size: .94rem; }
  .nbook-trial-inner { display: block; padding: 3rem 6vw; }
  .nbook-trial-inner h2 { font-size: 2.75rem; }
  .nbook-trial-inner > div:first-child { margin-bottom: 2rem; }
  .nbook-trial-inner p { font-size: .9rem; }
  .nbook-trial-inner .nbook-trial-price { font-size: 2.2rem; }
  .nbook-trial-price span { font-size: .72rem; }
  .nbook-trial-form .card-body { padding: 1.25rem; }
  .nbook-footer { padding: 2.5rem 6vw 2rem; }
  .nbook-footer nav { font-size: .75rem; gap: 1rem; }
  .nbook-footer-name { font-size: 1.1rem; }
  .nbook-shell { margin: 2rem auto 3rem; padding: 0 5vw; }
  .nbook-page { padding: 1.5rem; }
  .nbook-heading { font-size: 2.5rem; }
  .nbook-grid { grid-template-columns: 1fr; gap: 1rem; }
  .nbook-prose { font-size: .9rem; }
  .nbook-card h2 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nbook-tab, .nbook-button { transition: none; }
  .nbook-button:hover { transform: none; }
}
@media print {
  body { background: white; color: black; }
  .nbook-header, .nbook-footer, .nbook-chapter-nav, .nbook-tab-hint, .nbook-ribbon { display: none; }
  .nbook-hero, .nbook-about, .nbook-trial-inner { display: block; }
  .nbook-spread[hidden] { display: block !important; }
  .nbook-spread { break-inside: avoid; margin: 2rem 0; color: black; }
  .nbook-paper-stack { transform: none; box-shadow: none; }
}
