/* ==========================================================================
   Refined Apple / Stripe-Press Editorial Design System for jasonhou.com
   - Eliminates orphan words via text-wrap: balance & strict line-breaking
   - Crisp Chinese/English font pairing (PingFang SC / SF Pro Display, weight 600)
   - Card-based book edition catalog (zero cramped rowspan tables)
   - Symmetric Apple Bento grids & generous editorial whitespace
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --surface: #F5F5F7;
  --surface-hover: #EFEFF2;
  --ink: #1D1D1F;
  --ink-body: #3A3A3C;
  --ink-muted: #6E6E73;
  --ink-light: #86868B;
  --border: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.05);
  --primary: #0071E3;
  --primary-hover: #0077ED;
  --primary-link: #0066CC;
  --primary-soft: rgba(0, 113, 227, 0.08);
  --success: #007A52;
  --success-soft: #E9F7F1;
  --radius-xl: 28px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 24px 54px rgba(0, 0, 0, 0.09);
  --max-w: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
}

/* Prevent single-character orphan lines on all headings globally */
h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "PingFang TC", "Helvetica Neue", sans-serif;
  text-wrap: balance;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  color: var(--ink);
}
p {
  text-wrap: pretty;
}

a {
  color: var(--primary-link);
  text-decoration: none;
  transition: color 0.16s ease, opacity 0.16s ease;
}
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; margin: 0 auto; }

/* ---- Apple Frosted-Glass Global Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; opacity: 0.78; }
.brand-badge {
  background: var(--ink);
  color: #FFFFFF;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--ink-muted);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border-radius: 980px;
  padding: 3px;
}
.lang-switch a {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 4px 11px;
  border-radius: 980px;
  white-space: nowrap;
}
.lang-switch a.current {
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.lang-switch a:hover { text-decoration: none; color: var(--ink); }

/* ---- Hero Section ---- */
.hero {
  padding: 88px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #F2F4F8 0%, #FFFFFF 75%);
  border-bottom: 1px solid var(--border-subtle);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--primary);
}
.hero-sub {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 32px;
  max-width: 540px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- Apple Pill Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: rgba(0, 113, 227, 0.32);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}
.btn-amber {
  background: var(--ink);
  color: #FFFFFF;
}
.btn-amber:hover {
  background: #333336;
  color: #FFFFFF;
}
.btn-sm {
  padding: 8px 17px;
  font-size: 13.5px;
}

/* ---- Hero Featured Book Card ---- */
.hero-book-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  text-align: center;
}
.hero-book-card img {
  width: 192px;
  margin: 14px auto 22px;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}
.price-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--surface);
  padding: 4px 12px;
  border-radius: 980px;
}

/* ---- Alternating Sections ---- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); }
.section-head {
  margin-bottom: 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* ---- Grids & Bento Cards ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.25s ease;
  border: 1px solid var(--border-subtle);
}
.section-alt .card {
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 18.5px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--primary); text-decoration: none; }
.card p {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.card-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.card-footer a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-link);
}

/* ---- Symmetric Dual Feature Bento (Tool + Consulting) ---- */
.bento-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
.bento-feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px 38px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}
.bento-feature-card.dark-accent {
  background: #1D1D1F;
  color: #F5F5F7;
}
.bento-feature-card.dark-accent .eyebrow { color: #64A9FF; }
.bento-feature-card.dark-accent h2 { color: #FFFFFF; }
.bento-feature-card.dark-accent p { color: #A1A1A6; }
.bento-feature-card h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.bento-feature-card p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.bento-feature-card .cta-row {
  margin-top: auto;
}

/* ---- Book Covers in Grid ---- */
.book-thumb {
  height: 220px;
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #FFFFFF;
  padding: 16px;
}
.book-thumb img {
  height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
}
.book-thumb.cover-typographic {
  padding: 22px;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  color: #FFFFFF;
}
.cover-tiktok { background: linear-gradient(145deg, #1D1D1F 0%, #2C2C2E 100%); }
.cover-opc { background: linear-gradient(145deg, #1D1D1F 0%, #3A3A3C 100%); }
.cover-typographic .ct-tag { font-size: 11px; letter-spacing: 0.05em; opacity: 0.72; font-weight: 600; }
.cover-typographic .ct-title { font-size: 18px; font-weight: 600; line-height: 1.35; }
.cover-typographic .ct-author { font-size: 12px; opacity: 0.72; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-muted);
  white-space: nowrap;
}
.tag-indigo { background: var(--primary-soft); color: var(--primary); }
.tag-amber { background: rgba(29, 29, 31, 0.08); color: var(--ink); }
.tag-green { background: var(--success-soft); color: var(--success); }

/* ---- Apple-Style Book Edition Catalog (Replaces Cramped Rowspan Table) ---- */
.catalog-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 28px 0 48px;
}
.catalog-series {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 30px;
  border: 1px solid var(--border-subtle);
}
.catalog-series-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.catalog-series-head h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.catalog-series-sub {
  font-size: 13.5px;
  color: var(--ink-muted);
}
.edition-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.edition-row {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1.3fr auto;
  gap: 16px;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border: 1px solid var(--border-subtle);
}
.edition-lang {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.edition-lang span {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-light);
  margin-top: 2px;
}
.edition-isbn {
  font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: var(--ink-body);
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
.edition-isbn span {
  display: block;
  white-space: nowrap;
}
.edition-meta {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.edition-action {
  text-align: right;
  white-space: nowrap;
}

/* ---- Author Timeline Cards (Replaces Table) ---- */
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 44px;
}
.milestone-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.milestone-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.milestone-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.milestone-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}

/* ---- Book Detail Showcase ---- */
.book-detail-hero {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 52px;
  align-items: start;
}
.book-cover-large {
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.buy-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 28px 0;
}
.buy-box-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.buy-options { display: flex; flex-direction: column; gap: 12px; }
.buy-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.buy-option strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.buy-option span { font-size: 13px; color: var(--ink-light); }

/* ---- A+ Showcase Gallery ---- */
.aplus-stack { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.aplus-stack img { border-radius: 18px; box-shadow: var(--shadow-sm); }

/* ---- Editorial Article Page ---- */
.geo-toc {
  position: sticky;
  top: 66px;
  z-index: 40;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-radius: 980px;
  padding: 6px 12px;
  margin: 20px 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  border: 1px solid var(--border-subtle);
}
.geo-toc a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-body);
  padding: 5px 12px;
  border-radius: 980px;
}
.geo-toc a:hover {
  background: #FFFFFF;
  color: var(--primary);
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.tldr-box {
  background: var(--surface);
  padding: 28px 32px;
  border-radius: var(--radius);
  margin: 24px 0 36px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-body);
}
.tldr-box strong:first-child {
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0 36px;
}
.fact-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
}
.fact-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}
.fact-badge {
  background: #FFFFFF;
  color: var(--ink-muted);
  padding: 3px 10px;
  border-radius: 980px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.fact-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.45;
}
.fact-meta {
  font-size: 12.5px;
  color: var(--ink-light);
  line-height: 1.5;
  margin-bottom: 12px;
}
.fact-quote {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.glossary-dl {
  background: var(--surface);
  border-radius: 20px;
  padding: 26px 28px;
  margin: 22px 0 32px;
}
.glossary-dl dt { font-weight: 600; color: var(--ink); font-size: 15.5px; margin-top: 16px; }
.glossary-dl dt:first-child { margin-top: 0; }
.glossary-dl dd { font-size: 14.5px; color: var(--ink-muted); margin: 4px 0 0 0; line-height: 1.65; }

.source-ledger {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px 26px;
  margin: 28px 0;
  font-size: 13.5px;
}
.source-ledger h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.source-ledger ul { margin: 0 0 0 18px; }
.source-ledger li { margin-bottom: 6px; color: var(--ink-muted); }

.related-mesh {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0 36px;
}
.related-link-card {
  display: block;
  background: var(--surface);
  border-radius: 18px;
  padding: 22px 24px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.related-link-card:hover {
  background: var(--surface-hover);
  text-decoration: none;
  transform: translateY(-2px);
}
.related-link-card span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.related-link-card strong {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.prose h2 {
  font-size: 25px;
  font-weight: 600;
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  scroll-margin-top: 120px;
}
.prose h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.prose p {
  margin-bottom: 18px;
  color: var(--ink-body);
  font-size: 16.5px;
  line-height: 1.78;
}
.prose ul, .prose ol {
  margin: 0 0 22px 22px;
  color: var(--ink-body);
  font-size: 16px;
  line-height: 1.75;
}
.prose li { margin-bottom: 10px; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.prose th, .prose td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
  line-height: 1.58;
}
.prose th {
  background: var(--surface);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* ---- FAQ ---- */
.faq-item {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 14px;
}
.faq-item h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; }
.faq-item p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-muted); }

/* ---- Tool UI ---- */
.tool-panel {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 22px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field select, .field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: #FFFFFF;
  color: var(--ink);
}
.field select:focus, .field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}
.output-box {
  background: #1D1D1F;
  color: #F5F5F7;
  border-radius: 16px;
  padding: 24px;
  font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  margin: 22px 0;
}
.agreement-box {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 24px 26px;
  margin-top: 20px;
  font-size: 15px;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  font-size: 13.5px;
  color: var(--ink-light);
  margin-top: 18px;
}
.meta-list div strong { color: var(--ink); }

/* ---- Apple Light-Gray Footer ---- */
.site-footer {
  background: var(--surface);
  color: var(--ink-light);
  padding: 56px 0 40px;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--ink); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.site-footer h4 { color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; font-size: 12.5px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero-grid, .book-detail-hero, .grid-2, .grid-3, .grid-4, .bento-feature-grid,
  .form-grid, .footer-grid, .fact-grid, .related-mesh, .milestone-grid, .edition-row {
    grid-template-columns: 1fr;
  }
  .edition-action { text-align: left; }
  .hero { padding: 52px 0 44px; }
  .section { padding: 60px 0; }
  .nav-links { display: none; }
}
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #FFFFFF; }
}
