:root {
  --bg: #faf7f2;
  --surface: #fffdf8;
  --surface-2: #f0eadf;
  --text: #18351d;
  --muted: #667160;
  --soft: #8a937f;
  --brand: #1e3f20;
  --brand-2: #2e5731;
  --brown: #8c6239;
  --amber: #d99f45;
  --blue: #5d7f92;
  --line: rgba(30, 63, 32, 0.13);
  --shadow: 0 22px 70px rgba(30, 63, 32, 0.1);
  --font: "Pretendard Variable", Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --px: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }

/* Always reserve the vertical scrollbar gutter so the nav (and all centered
   content) doesn't shift horizontally between short and long pages. */
html { scrollbar-gutter: stable; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 159, 69, 0.16), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 44%, #f4efe6 100%);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }

nav {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 0;
  background: rgba(250, 247, 242, 0.86);
  border-bottom: 1px solid rgba(30, 63, 32, 0.08);
  backdrop-filter: blur(16px);
}

.nav-inner, .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--px);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.nav-inner .logo { justify-self: start; }
.nav-inner .nav-links { justify-self: center; }
.nav-inner .nav-actions { justify-self: end; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand);
  white-space: nowrap;
}

.brand-symbol { width: 24px; height: 24px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a, .nav-trigger, .nav-actions > a:not(.btn) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  border: 0;
  background: transparent;
  font-family: inherit;
  padding: 0;
  cursor: pointer;
}

.nav-links a:hover, .nav-trigger:hover, .nav-actions > a:not(.btn):hover,
.nav-links a.active, .nav-actions a.active { color: var(--text); }

.nav-item { position: relative; padding: 8px 0; }

.feature-menu {
  position: absolute;
  top: 32px;
  left: -20px;
  width: min(520px, calc(100vw - 40px));
  padding: 10px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-item:hover .feature-menu, .nav-item:focus-within .feature-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.feature-menu a {
  display: block;
  padding: 12px;
  border-radius: 6px;
}

.feature-menu a:hover { background: rgba(30, 63, 32, 0.06); }
.feature-menu strong { display: block; color: var(--text); font-size: 13px; }
.feature-menu span { display: block; margin-top: 3px; color: var(--soft); font-size: 12px; line-height: 1.35; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 40px;
  border: 0;
  background: var(--brand);
  color: #fffdf8;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

.btn:focus-visible,
.sample-dialog-close:focus-visible {
  outline: 3px solid rgba(217, 159, 69, 0.55);
  outline-offset: 3px;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}

.btn.nav-enterprise {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}

.btn.nav-enterprise:hover {
  border-color: rgba(30, 63, 32, 0.32);
  background: rgba(30, 63, 32, 0.045);
}

.hero {
  padding: clamp(64px, 10vw, 112px) 0 42px;
}

.hero.container {
  padding-left: var(--px);
  padding-right: var(--px);
}

.eyebrow {
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 16px 0 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.section { padding: 56px 0; }

.section.container {
  padding-left: var(--px);
  padding-right: var(--px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-note {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(30, 63, 32, 0.05);
}

.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }

.empty-card {
  border-style: dashed;
  background: rgba(255, 253, 248, 0.42);
  box-shadow: none;
}

.empty-card h3 {
  color: rgba(24, 53, 29, 0.68);
}

.empty-card p {
  color: var(--soft);
  font-weight: 700;
}

.empty-line {
  width: 100%;
  height: 10px;
  margin-top: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(30, 63, 32, 0.1), rgba(30, 63, 32, 0.03));
}

.sample-library-grid {
  align-items: start;
}

.sample-library-card {
  min-width: 0;
}

.story-cover-button {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.story-cover-button:focus-visible {
  outline: 3px solid rgba(217, 159, 69, 0.55);
  outline-offset: 6px;
  border-radius: 8px;
}

.book-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4.22;
  width: 100%;
  min-height: 340px;
  border: 1px solid rgba(24, 53, 29, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(24, 53, 29, 0.18), transparent 12%),
    linear-gradient(145deg, #fff4d4, #d8e2c8 50%, #f7d79c);
  box-shadow:
    0 22px 60px rgba(24, 53, 29, 0.14),
    inset 0 0 0 1px rgba(255, 253, 248, 0.38);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.story-cover-button:hover .book-cover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 72px rgba(24, 53, 29, 0.18),
    inset 0 0 0 1px rgba(255, 253, 248, 0.42);
}

.cover-spine {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34px;
  background:
    linear-gradient(90deg, rgba(24, 53, 29, 0.24), rgba(255, 253, 248, 0.05)),
    rgba(24, 53, 29, 0.1);
}

.cover-label {
  position: absolute;
  top: 22px;
  left: 52px;
  right: 24px;
  color: rgba(24, 53, 29, 0.66);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cover-art {
  position: absolute;
  top: 64px;
  left: 52px;
  right: 24px;
  height: 42%;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.48);
  border-radius: 8px;
  box-shadow: inset 0 0 34px rgba(255, 253, 248, 0.26);
}

.cover-art::before,
.cover-art::after {
  content: "";
  position: absolute;
  display: block;
}

.cover-title {
  position: absolute;
  left: 52px;
  right: 24px;
  bottom: 78px;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  line-height: 1.05;
}

.cover-meta {
  position: absolute;
  left: 52px;
  right: 24px;
  bottom: 32px;
  color: rgba(24, 53, 29, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.cover-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 0 2px;
}

.cover-card-footer strong,
.cover-card-footer small {
  display: block;
}

.cover-card-footer strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

.cover-card-footer small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.cover-open {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.cover-forest .book-cover,
.reader-book.cover-forest .reader-page,
.cover-forest.reader-visual .reader-cover-art {
  background:
    linear-gradient(90deg, rgba(24, 53, 29, 0.18), transparent 12%),
    linear-gradient(145deg, #f7e7b7, #bcd7aa 52%, #78a474);
}

.cover-forest .cover-art {
  background: linear-gradient(180deg, #dbeec8 0%, #9fc78b 58%, #5d7d4b 100%);
}

.cover-forest .cover-art::before {
  left: 14%;
  bottom: 0;
  width: 26%;
  height: 72%;
  border-radius: 999px 999px 12px 12px;
  background: #2e5731;
  box-shadow: 74px 18px 0 -10px #3e6f42, 126px -6px 0 -18px #234927;
}

.cover-forest .cover-art::after {
  left: 0;
  right: 0;
  bottom: -18px;
  height: 44%;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 253, 248, 0.38);
}

.cover-school .book-cover,
.reader-book.cover-school .reader-page,
.cover-school.reader-visual .reader-cover-art {
  background:
    linear-gradient(90deg, rgba(24, 53, 29, 0.18), transparent 12%),
    linear-gradient(145deg, #f7dfa7, #d9a765 54%, #8aa2a8);
}

.cover-school .cover-art {
  background: linear-gradient(180deg, #cfe0e0 0%, #f7dfaa 52%, #a87845 100%);
}

.cover-school .cover-art::before {
  left: 18%;
  bottom: 0;
  width: 64%;
  height: 58%;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(90deg, transparent 46%, rgba(24, 53, 29, 0.28) 46% 54%, transparent 54%),
    repeating-linear-gradient(90deg, rgba(255, 253, 248, 0.58) 0 18px, transparent 18px 34px),
    #b66e3b;
}

.cover-school .cover-art::after {
  left: 35%;
  top: 14%;
  width: 30%;
  height: 28%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #7e4f30;
}

.cover-moon .book-cover,
.reader-book.cover-moon .reader-page,
.cover-moon.reader-visual .reader-cover-art {
  background:
    linear-gradient(90deg, rgba(24, 53, 29, 0.18), transparent 12%),
    linear-gradient(145deg, #d7e6ef, #5d7f92 54%, #253b4a);
}

.cover-moon .cover-art {
  background: radial-gradient(circle at 78% 24%, #fff7c9 0 13%, transparent 14%), linear-gradient(180deg, #1f3445, #5d7f92 58%, #d7e6ef);
}

.cover-moon .cover-art::before {
  left: 18%;
  bottom: 16%;
  width: 58%;
  height: 18%;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 36px -34px 0 -2px rgba(255, 253, 248, 0.36), 92px -16px 0 -8px rgba(255, 253, 248, 0.4);
}

.cover-moon .cover-art::after {
  right: 22%;
  bottom: 0;
  width: 22%;
  height: 42%;
  border-radius: 999px 999px 0 0;
  background: #f5bf63;
}

.cover-grandma .book-cover,
.reader-book.cover-grandma .reader-page,
.cover-grandma.reader-visual .reader-cover-art {
  background:
    linear-gradient(90deg, rgba(24, 53, 29, 0.18), transparent 12%),
    linear-gradient(145deg, #f9e5c4, #d89b72 54%, #8f6b58);
}

.cover-grandma .cover-art {
  background: linear-gradient(180deg, #f4d9b8, #d89b72 62%, #81533e);
}

.cover-grandma .cover-art::before {
  left: 18%;
  bottom: 0;
  width: 58%;
  height: 48%;
  border-radius: 8px 8px 0 0;
  background: #fff4d4;
  box-shadow: 20px 18px 0 -6px rgba(24, 53, 29, 0.16);
}

.cover-grandma .cover-art::after {
  left: 28%;
  top: 18%;
  width: 44%;
  height: 30%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #7b4c37;
}

.cover-tiger .book-cover,
.reader-book.cover-tiger .reader-page,
.cover-tiger.reader-visual .reader-cover-art {
  background:
    linear-gradient(90deg, rgba(24, 53, 29, 0.18), transparent 12%),
    linear-gradient(145deg, #f5d793, #d8913e 52%, #34533a);
}

.cover-tiger .cover-art {
  background: linear-gradient(180deg, #f5d793 0%, #d8913e 58%, #34533a 100%);
}

.cover-tiger .cover-art::before {
  left: 29%;
  top: 18%;
  width: 42%;
  height: 52%;
  border-radius: 50%;
  background:
    repeating-linear-gradient(105deg, transparent 0 13px, rgba(24, 53, 29, 0.76) 13px 18px),
    #e8a24a;
}

.cover-tiger .cover-art::after {
  left: 0;
  right: 0;
  bottom: -12px;
  height: 38%;
  border-radius: 50% 50% 0 0;
  background: rgba(24, 53, 29, 0.38);
}

.cover-abc .book-cover,
.reader-book.cover-abc .reader-page,
.cover-abc.reader-visual .reader-cover-art {
  background:
    linear-gradient(90deg, rgba(24, 53, 29, 0.18), transparent 12%),
    linear-gradient(145deg, #f7eab8, #8eb8c0 52%, #597a89);
}

.cover-abc .cover-art {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fffdf8, #a9cad0);
}

.cover-abc .cover-art::before {
  content: "ABC";
  position: static;
  color: #1e3f20;
  font-family: var(--font-serif);
  font-size: clamp(54px, 8vw, 86px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cover-abc .cover-art::after {
  right: 16%;
  bottom: 14%;
  width: 34%;
  height: 18%;
  border-radius: 999px;
  background: rgba(217, 159, 69, 0.55);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(46, 87, 49, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field span {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(217, 159, 69, 0.35);
  border-color: rgba(30, 63, 32, 0.3);
}

.support-proof {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.support-logo-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 20%, rgba(217, 159, 69, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(240, 234, 223, 0.92), rgba(255, 253, 248, 0.76));
  text-align: center;
}

.support-logo-placeholder span {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px dashed rgba(30, 63, 32, 0.28);
  border-radius: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.support-logo-placeholder strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.3;
}

.support-logo-placeholder small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.support-proof-copy {
  padding: clamp(28px, 4vw, 46px);
}

.support-proof-copy h2 {
  margin-top: 14px;
}

.support-proof-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.proof-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.proof-facts span {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(240, 234, 223, 0.46);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.proof-facts strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 12px;
}

.demo-placeholder {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 62vw, 680px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 18%, rgba(217, 159, 69, 0.24), transparent 28%),
    radial-gradient(circle at 78% 10%, rgba(93, 127, 146, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(240, 234, 223, 0.86));
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 34px);
}

.demo-shell {
  height: 100%;
  min-height: inherit;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(30, 63, 32, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 24px 70px rgba(30, 63, 32, 0.12);
}

.demo-topbar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.demo-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(30, 63, 32, 0.22);
}

.demo-stage {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: clamp(32px, 6vw, 74px);
  text-align: center;
}

.demo-play {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(64px, 9vw, 92px);
  height: clamp(64px, 9vw, 92px);
  border-radius: 50%;
  background: var(--brand);
  color: #fffdf8;
  box-shadow: 0 18px 48px rgba(30, 63, 32, 0.22);
}

.demo-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fffdf8;
}

.demo-label {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.1;
}

.demo-copy {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.demo-meta {
  position: absolute;
  left: clamp(26px, 4vw, 50px);
  right: clamp(26px, 4vw, 50px);
  bottom: clamp(26px, 4vw, 50px);
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.sample-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #efe4d1;
  color: var(--text);
  box-shadow: 0 34px 120px rgba(24, 53, 29, 0.28);
  overflow: hidden;
}

.sample-dialog::backdrop {
  background: rgba(24, 53, 29, 0.42);
  backdrop-filter: blur(10px);
}

.sample-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.86);
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.reader-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: min(780px, calc(100dvh - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 253, 248, 0.58), transparent 30%),
    linear-gradient(180deg, #f5ead8, #e4d4bc);
}

.reader-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 18px 76px 16px 28px;
  border-bottom: 1px solid rgba(24, 53, 29, 0.12);
}

.reader-topbar span,
.reader-topbar strong {
  display: block;
}

.reader-topbar span {
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
}

.reader-topbar strong {
  margin-top: 4px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.reader-cta {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.reader-book {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  padding: clamp(18px, 3vw, 34px);
}

.reader-book::after {
  content: "";
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  left: 50%;
  width: 28px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(24, 53, 29, 0.12), rgba(255, 253, 248, 0.2), rgba(24, 53, 29, 0.1));
  pointer-events: none;
}

.reader-visual,
.reader-page {
  min-height: 520px;
  border: 1px solid rgba(24, 53, 29, 0.14);
  background: #fffaf0;
  box-shadow: 0 18px 54px rgba(24, 53, 29, 0.12);
}

.reader-visual {
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 8px 0 0 8px;
}

.reader-cover-art {
  position: relative;
  overflow: hidden;
  width: min(330px, 100%);
  aspect-ratio: 3 / 4.22;
  border: 1px solid rgba(24, 53, 29, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(24, 53, 29, 0.2);
}

.reader-cover-art .cover-art {
  top: 64px;
  left: 52px;
  right: 24px;
  height: 42%;
}

.reader-cover-art strong {
  position: absolute;
  left: 52px;
  right: 24px;
  bottom: 74px;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
}

.reader-cover-art small {
  position: absolute;
  left: 52px;
  right: 24px;
  bottom: 30px;
  color: rgba(24, 53, 29, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.reader-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 70px);
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.reader-page-kicker {
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
}

.reader-page h2 {
  max-width: 540px;
  margin: 16px 0 22px;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.08;
}

.reader-page p {
  max-width: 540px;
  margin: 0;
  color: var(--text);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 650;
  line-height: 1.75;
}

.reader-question {
  max-width: 540px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(30, 63, 32, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.54);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.reader-controls {
  position: sticky;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 16px;
  align-items: center;
  padding: 16px 28px 22px;
  border-top: 1px solid rgba(24, 53, 29, 0.12);
  background: rgba(239, 228, 209, 0.96);
  backdrop-filter: blur(12px);
}

.reader-nav {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(24, 53, 29, 0.16);
  border-radius: 50%;
  background: #fffdf8;
  color: var(--brand);
  cursor: pointer;
}

.reader-nav:disabled {
  opacity: 0.34;
  cursor: default;
}

.reader-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reader-progress {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.reader-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 53, 29, 0.12);
}

.reader-progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 0.2s ease;
}

.band {
  padding: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(30, 63, 32, 0.95), rgba(46, 87, 49, 0.86)),
    var(--brand);
  color: #fffdf8;
}

.band p { color: rgba(255, 253, 248, 0.78); }
.band .btn { background: #fffdf8; color: var(--brand); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.list {
  display: grid;
  gap: 12px;
}

.list-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.list-item strong { display: block; margin-bottom: 5px; }
.list-item span { color: var(--muted); line-height: 1.55; }
.list-item.empty-slot strong,
.list-item.empty-slot span { color: var(--soft); }

footer {
  padding: 54px var(--px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-enterprise { display: none; }
  .grid, .grid.two, .split { grid-template-columns: 1fr; }
  .reader-shell {
    min-height: 0;
    overflow: auto;
  }
  .reader-book {
    grid-template-columns: 1fr;
  }
  .reader-book::after { display: none; }
  .reader-visual {
    min-height: 420px;
    border-radius: 8px 8px 0 0;
  }
  .reader-page {
    min-height: auto;
    border-top: 0;
    border-left: 1px solid rgba(24, 53, 29, 0.14);
    border-radius: 0 0 8px 8px;
  }
  .support-proof,
  .proof-facts {
    grid-template-columns: 1fr;
    min-width: 0;
    max-width: 100%;
  }
  .support-proof-copy,
  .proof-facts span {
    min-width: 0;
    max-width: 100%;
  }
  .support-proof-copy p {
    max-width: 100%;
  }
  .support-logo-placeholder {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .section-head { display: block; }
  .section-note { margin-top: 12px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav-actions > a:not(.btn) { display: none; }
  .nav-inner { padding: 0 18px; }
  .hero-actions .btn { width: 100%; }
  .band { padding: 26px; }
  .book-cover { min-height: 410px; }
  .cover-title {
    bottom: 70px;
    font-size: 28px;
  }
  .cover-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .cover-open { width: 100%; text-align: center; }
  .sample-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
  .sample-dialog-close { top: 10px; right: 10px; }
  .reader-shell {
    max-height: calc(100dvh - 20px);
  }
  .reader-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 62px 16px 18px;
  }
  .reader-cta { width: 100%; }
  .reader-book { padding: 14px; }
  .reader-visual {
    min-height: 360px;
    padding: 18px;
  }
  .reader-cover-art { width: min(250px, 100%); }
  .reader-cover-art .cover-spine { width: 28px; }
  .reader-cover-art .cover-label {
    top: 18px;
    left: 42px;
    right: 20px;
    font-size: 11px;
  }
  .reader-cover-art .cover-art {
    top: 54px;
    left: 42px;
    right: 20px;
    height: 36%;
  }
  .reader-cover-art strong {
    left: 42px;
    right: 20px;
    bottom: 54px;
    font-size: 24px;
  }
  .reader-cover-art small {
    left: 42px;
    right: 20px;
    bottom: 22px;
    font-size: 11px;
  }
  .reader-page { padding: 24px; }
  .reader-page h2 { font-size: 30px; }
  .reader-page p { font-size: 18px; line-height: 1.7; }
  .reader-question { margin-top: 20px; }
  .reader-controls {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
    padding: 14px 18px 18px;
  }
  .reader-nav {
    width: 42px;
    height: 42px;
  }
  .demo-placeholder { min-height: 470px; padding: 14px; }
  .demo-stage { padding: 28px 18px 116px; }
}
