@font-face {
  font-family: "GangwonEdu Modu";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/fonts-archive/GangwonEduModu/GangwonEduModu-Bold.woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/gh/fonts-archive/GangwonEduModu/GangwonEduModu-Bold.woff") format("woff");
}

:root {
  --font-display: "Noto Serif KR", "Playfair Display", Georgia, serif;
  --font-body: "Pretendard Variable", Pretendard, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 700;
  --display-hero: clamp(24px, 3.6vw, 42px);
  --display-section: clamp(20px, 2.8vw, 30px);
  --display-card: 18px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-deep: 0 10px 28px rgba(60, 60, 60, .06);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="paper"] {
  --bg: #ffeedc;
  --bg-elev: #fffaf2;
  --bg-card: #ffffff;
  --bg-alt: #f1ead9;
  --ink: #231b13;
  --ink-soft: rgba(35, 27, 19, .64);
  --ink-dim: rgba(35, 27, 19, .42);
  --line: rgba(35, 27, 19, .1);
  --line-strong: rgba(35, 27, 19, .2);
  --accent: #c45a32;
  --accent-ink: #fff8f2;
  --accent-2: #8a4fae;
  --accent-3: #3d6b8a;
  --nav-bg: #ffeedc;
  --c-classic: #3d6b8a;
  --c-omni: #8a4fae;
  --c-visual: #c2762f;
  --c-webnovel: #3d6b8a;
  --c-genre: #8a4fae;
  --c-lit: #c2762f;
  --c-tale: #5b7a4e;
}

[data-theme="night"],
[data-theme="lab"],
[data-theme="cottage"] {
  --bg: #F7F5F0;
  --bg-elev: #FFFcf8;
  --bg-card: #ffffff;
  --bg-alt: #EFEBE3;
  --ink: #3C3C3C;
  --ink-soft: rgba(60, 60, 60, .68);
  --ink-dim: rgba(60, 60, 60, .42);
  --line: rgba(60, 60, 60, .1);
  --line-strong: rgba(60, 60, 60, .18);
  --accent: #A7B39D;
  --accent-ink: #2A3228;
  --accent-2: #C07A5F;
  --accent-3: #8B5E3C;
  --nav-bg: #F7F5F0;
  --c-webnovel: #7E8C72;
  --c-genre: #C07A5F;
  --c-lit: #8B5E3C;
  --c-classic: #7E8C72;
  --c-omni: #C07A5F;
  --c-visual: #8B5E3C;
  --c-tale: #5b7a4e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 680px) { .wrap { padding: 0 20px; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ""; width: 14px; height: 1px; background: currentColor; }
.eyebrow.is-pill {
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: .01em;
  text-transform: none;
  font-weight: 600;
  color: var(--ink);
  gap: 6px;
  padding: 8px 16px 8px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(35, 27, 19, .08);
}
.eyebrow.is-pill::before { display: none; }

/* Universe bar */
.universe {
  background: color-mix(in srgb, var(--ink) 6%, var(--bg));
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.universe .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 16px;
}
.universe-label {
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-size: 10.5px;
}
a.universe-label:hover { color: var(--ink); }
.universe-links { display: flex; gap: 4px; }
.universe-links a {
  padding: 4px 10px;
  border-radius: 99px;
  color: var(--ink-soft);
  font-weight: 600;
}
.universe-links a:hover { color: var(--ink); }
.universe-links a.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.wm-s { font-size: calc(1em + 1px); }
.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
}
.brand .mark {
  background: var(--accent);
  color: var(--accent-ink);
}
.brand .mark img {
  width: 22px;
  height: 24px;
}
.brand .mark.mark-mascot {
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 0;
  padding: 0;
}
.brand .mark.mark-mascot img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}
.brand.is-home .mark {
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 0;
}
.brand.is-home .mark img {
  width: 32px;
  height: 36px;
}
.brand .sister {
  display: block;
  font-size: 10.5px;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  color: var(--ink-dim);
  font-weight: 500;
  margin-top: -2px;
}
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang {
  display: flex;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
}
.lang button {
  background: transparent;
  border: 1.5px solid var(--line-strong);
  color: var(--ink-soft);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 99px;
}
.lang button.is-active {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  border-radius: 10px;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .site-nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 99px;
  border: 0;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}
.btn-terra {
  background: var(--accent-2);
  color: #fff8f2;
}
.btn-ink {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-dim);
  font-family: var(--font-mono);
}

/* Hero */
.hero { padding: 84px 0 78px; position: relative; overflow: hidden; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--display-hero);
  line-height: 1.22;
  letter-spacing: -.01em;
  margin: 18px 0 18px;
}
.hero h1.is-smaller {
  font-size: clamp(20px, 3vw, 34px);
}
.hero h1.is-smaller ~ .lede {
  font-size: 18px;
}
.hero h1 .hero-line2 {
  display: inline-block;
  white-space: nowrap;
}
.hero h1 .accent { color: var(--accent-2); }
.hero p.lede { font-size: 17px; color: var(--ink-soft); max-width: 52ch; line-height: 1.7; }
.hero p.lede + .lede { margin-top: 12px; }
.hero p.lede.lede-modu {
  font-family: "GangwonEdu Modu", "Pretendard Variable", Pretendard, sans-serif;
  font-weight: 700;
  font-size: 20px;
}

/* Demo cards */
.demo-card {
  border-radius: 24px;
  padding: 26px 24px 22px;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
}
.demo-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
}
.demo-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.reader-chrome {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.reader-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}
.reader-chrome span:nth-child(2) { background: #febc2e; }
.reader-chrome span:nth-child(3) { background: #28c840; }
.scene-line {
  margin: 8px 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.demo-stage {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
}
.bubble { display: flex; gap: 10px; align-items: flex-start; opacity: 0; animation: rise .35s ease forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bubble .avatar {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #14110c;
}
.bubble.c-webnovel .avatar { background: var(--c-webnovel); }
.bubble.c-genre .avatar { background: var(--c-genre); }
.bubble.c-lit .avatar { background: var(--c-lit); }
.bubble .name { font-family: var(--font-mono); font-size: 11px; font-weight: 700; margin-bottom: 3px; }
.bubble.c-webnovel .name { color: var(--c-webnovel); }
.bubble.c-genre .name { color: var(--c-genre); }
.bubble.c-lit .name { color: var(--c-lit); }
.bubble .txt { font-size: 13.5px; }
.cursor-bar {
  display: inline-block;
  width: 6px;
  height: 12px;
  background: var(--ink-soft);
  margin-left: 2px;
  vertical-align: -2px;
  animation: blink .9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.mini-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 99px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.demo-controls { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.demo-controls button {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  cursor: pointer;
}
.demo-controls button.secondary {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  color: var(--ink);
}
.demo-speed, .demo-wpm { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); }
.demo-slider { flex: 1; min-width: 90px; accent-color: var(--accent-2); }
.demo-foot { margin-top: 14px; font-size: 12px; color: var(--ink-dim); line-height: 1.55; }

.rsvp-stage {
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0 8px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.rsvp-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
}

/* Sections */
section { padding: 92px 0; }
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--display-section);
  margin-top: 14px;
  letter-spacing: -.01em;
}
.sec-head p { margin-top: 14px; font-size: 16px; color: var(--ink-soft); max-width: 60ch; }
@media (min-width: 900px) {
  .sec-head:has(.is-flat) { max-width: none; }
  p.is-flat {
    white-space: nowrap;
    max-width: none;
  }
}

.diff-strip {
  background: color-mix(in srgb, var(--ink) 5%, var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-item { padding: 34px 26px; border-right: 1px solid var(--line); }
.diff-item:last-child { border-right: none; }
.diff-item .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 700; }
.diff-item h4 { font-size: 16px; margin: 10px 0 8px; }
.diff-item p { font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .diff-item:nth-child(2n) { border-right: none; }
  .diff-item { border-bottom: 1px solid var(--line); }
}

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cluster-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) { .cluster-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }
.cluster-card, .course-card {
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.cluster-card:hover, .course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-deep); }
.cluster-card .bar, .course-card .bar { position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.k1 .bar { background: var(--c-webnovel); }
.k2 .bar { background: var(--c-genre); }
.k3 .bar { background: var(--c-lit); }
.k4 .bar { background: var(--c-tale); }
.cc1 .bar { background: var(--c-classic); }
.cc2 .bar { background: var(--c-omni); }
.cc3 .bar { background: var(--c-visual); }
.pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 5px 10px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 14px;
}
.k1 .pill { background: rgba(126, 140, 114, .16); color: var(--c-webnovel); }
.k2 .pill { background: rgba(192, 122, 95, .16); color: var(--c-genre); }
.k3 .pill { background: rgba(139, 94, 60, .14); color: var(--c-lit); }
.k4 .pill { background: rgba(91, 122, 78, .16); color: var(--c-tale); }
.cc1 .pill { background: rgba(126, 140, 114, .16); color: var(--c-classic); }
.cc2 .pill { background: rgba(192, 122, 95, .16); color: var(--c-omni); }
.cc3 .pill { background: rgba(139, 94, 60, .14); color: var(--c-visual); }
.cluster-card h3, .course-card h3 {
  font-family: var(--font-display);
  font-size: var(--display-card);
  font-weight: var(--display-weight);
}
.sub { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); margin: 4px 0 14px; }
.cluster-card .sub { font-size: 11px; white-space: nowrap; letter-spacing: 0; }
.cluster-card p, .course-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 18px; }
.stat-row {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.stat-row b { display: block; font-size: 15px; font-family: var(--font-display); color: var(--ink); }
.stat-row span { white-space: nowrap; }

.note {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ink) 5%, var(--bg));
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.note b { color: var(--ink); }

.method-detail { border-top: 1px solid var(--line); background: var(--bg-card); }
.method-detail.m2, .method-detail.m4, .method-detail.m-omni { background: var(--bg); }
.method-detail .wrap { padding: 92px 0; }
.method-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}
.m1 .method-eyebrow { color: var(--c-webnovel); }
.m2 .method-eyebrow { color: var(--c-genre); }
.m3 .method-eyebrow { color: var(--c-lit); }
.m4 .method-eyebrow { color: var(--c-tale); }
.m-classic .method-eyebrow { color: var(--c-classic); }
.m-omni .method-eyebrow { color: var(--c-omni); }
.m-visual .method-eyebrow { color: var(--c-visual); }
.method-detail h2 {
  font-family: var(--font-display);
  font-size: var(--display-section);
  margin-top: 12px;
  font-weight: var(--display-weight);
}
.method-cap {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.65;
}
.method-cap.is-flat { max-width: none; }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 32px; }
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
}
.step-card .snum { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); }
.step-card h5 { font-size: 15.5px; margin: 8px 0 6px; }
.step-card p { font-size: 13px; color: var(--ink-soft); }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.data-table td { padding: 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; color: var(--ink-soft); }
.data-table td:last-child { line-height: 1.55; }
.data-table tr:last-child td { border-bottom: none; }
.data-table .name { font-weight: 700; font-family: var(--font-display); font-size: 16px; color: var(--ink); white-space: nowrap; }
.data-table .cat, .data-table .wpm { font-family: var(--font-mono); color: var(--accent); font-weight: 600; white-space: nowrap; font-size: 12.5px; }
.data-table td.cat:has(.cluster-badge) {
  white-space: normal;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 6px;
  row-gap: 4px;
}
.data-table .cat-label { white-space: nowrap; }
.cluster-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--ink-dim);
  background: color-mix(in srgb, var(--ink) 6%, var(--bg-card));
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
  vertical-align: middle;
}
.features-more {
  margin-top: 22px;
  font-size: 15px;
  color: var(--ink-soft);
}
.features-more a {
  color: var(--accent);
  font-weight: 700;
}

.honesty {
  background: var(--bg-alt);
  color: var(--ink);
  border-radius: 24px;
  padding: 44px 52px 44px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.honesty h3 { font-family: var(--font-display); font-size: var(--display-section); font-weight: var(--display-weight); line-height: 1.4; }
.honesty p { font-size: 14.5px; opacity: .78; margin-top: 14px; line-height: 1.75; }
.honesty > :last-child { justify-self: end; }
@media (max-width: 800px) {
  .honesty {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .honesty > :last-child { justify-self: start; }
}

.synergy {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
@media (max-width: 720px) { .synergy { grid-template-columns: 1fr; } }
.synergy-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.synergy-card h4 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; }
.synergy-card p { font-size: 14px; color: var(--ink-soft); }
.synergy-plus {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  text-align: center;
}

footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.foot-note { font-size: 13px; color: var(--ink-dim); margin-top: 6px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); }
.lang-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}
a.lang-pill:hover { color: var(--ink); border-color: var(--line-strong); }

/* Story Lab */
.lab-section { padding: 72px 0; }
.lab-sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.lab-sec-head h1, .lab-sec-head h2 {
  font-family: var(--font-display);
  font-size: var(--display-hero);
  font-weight: var(--display-weight);
  line-height: 1.25;
}
.lab-sec-head p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: box-shadow .22s var(--ease);
}
.article-card:hover { box-shadow: var(--shadow-deep); }
.article-art {
  min-height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.article-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.article-body .cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.article-body h3 { font-family: var(--font-display); font-size: var(--display-card); font-weight: var(--display-weight); margin: 8px 0 8px; }
.article-body p { font-size: 14px; color: var(--ink-soft); }
.article-meta {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-dim);
}
.blog-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.blog-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.blog-dots span.is-on { background: var(--accent); }
.lab-showcase { background: var(--bg-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.showcase-stage {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 16px 8px;
}
.books { display: flex; gap: 14px; align-items: flex-end; }
.book {
  width: 48px;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, .18);
  color: #fff8ee;
  font-family: var(--font-display);
  font-size: 9px;
  writing-mode: vertical-rl;
  padding: 10px 6px;
  letter-spacing: .04em;
}
.showcase-empty { font-size: 14px; color: var(--ink-dim); }
.lab-promo { padding-bottom: 96px; }
.promo-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) { .promo-grid { grid-template-columns: 1fr; gap: 28px; } }
.promo-copy h2 {
  font-family: var(--font-display);
  font-size: var(--display-section);
  font-weight: var(--display-weight);
  line-height: 1.3;
}
.promo-copy p { margin: 14px 0 24px; color: var(--ink-soft); font-size: 15px; max-width: 42ch; }
.promo-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12px; font-family: var(--font-mono); letter-spacing: .04em; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
}
.field textarea { min-height: 110px; resize: vertical; }
.promo-form .btn { width: 100%; margin-top: 6px; }
.form-ok {
  display: none;
  padding: 14px;
  border-radius: 12px;
  background: rgba(196, 90, 50, .14);
  color: var(--accent);
  font-size: 14px;
  margin-top: 8px;
}
.form-ok.is-on { display: block; }

.article-full {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.article-card.is-open .article-full { display: block; }
.read-more {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.beta-modal {
  position: fixed;
  inset: 0;
  background: rgba(60, 60, 60, .28);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 20px;
}
.beta-modal.is-on { display: flex; }
.beta-sheet {
  background: var(--bg-elev);
  color: var(--ink);
  border-radius: 20px;
  padding: 28px;
  width: min(440px, 100%);
  border: 1px solid var(--line);
}
.beta-sheet h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.beta-sheet p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 16px; }
.beta-sheet input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  margin-bottom: 10px;
}
.beta-actions { display: flex; gap: 8px; margin-top: 8px; }
.beta-actions .btn { flex: 1; }

/* Home landing */
body.is-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.landing-nav .nav-links { font-size: 14px; }
.landing-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 88px;
}
.landing-mascot {
  width: min(280px, 68vw);
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 18px 28px rgba(139, 94, 60, .14));
}
.landing-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.35;
  letter-spacing: -.01em;
  max-width: 14em;
  color: var(--ink);
}
.landing-hero .btn {
  margin-top: 28px;
  min-width: 168px;
  padding: 14px 36px;
}
.lang-home { flex-wrap: wrap; justify-content: flex-end; }
.lang-home button { padding: 7px 14px; font-size: 11px; letter-spacing: .06em; }
@media (max-width: 860px) {
  .landing-nav .nav-links { font-size: 15px; }
}

/* SpeedyTORY — paper theme */
[data-theme="paper"] .brand .mark {
  background: linear-gradient(135deg, var(--accent), #e0a04a);
  color: #fff;
}
[data-theme="paper"] .brand .mark.mark-mascot {
  background: transparent;
}
[data-theme="paper"] .lang {
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
}
[data-theme="paper"] .lang button {
  border: 0;
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--ink-dim);
}
[data-theme="paper"] .lang button.is-active {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  border-color: transparent;
}
[data-theme="paper"] .hero h1 .accent { color: var(--accent); }
[data-theme="paper"] .demo-card {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  box-shadow: 0 30px 60px rgba(35, 27, 19, .22);
}
[data-theme="paper"] .demo-label { color: rgba(246, 239, 228, .55); }
[data-theme="paper"] .demo-controls button.secondary {
  background: rgba(255, 255, 255, .12);
  color: var(--bg);
}
[data-theme="paper"] .demo-wpm { color: rgba(246, 239, 228, .8); }
[data-theme="paper"] .demo-slider { accent-color: var(--accent); }
[data-theme="paper"] .demo-foot { color: rgba(246, 239, 228, .55); }
[data-theme="paper"] .rsvp-stage {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}
[data-theme="paper"] .cc1 .pill { background: rgba(61, 107, 138, .12); }
[data-theme="paper"] .cc2 .pill { background: rgba(138, 79, 174, .12); }
[data-theme="paper"] .cc3 .pill { background: rgba(194, 118, 47, .14); }
[data-theme="paper"] .k1 .pill { background: rgba(61, 107, 138, .12); }
[data-theme="paper"] .k2 .pill { background: rgba(138, 79, 174, .12); }
[data-theme="paper"] .k3 .pill { background: rgba(194, 118, 47, .14); }
[data-theme="paper"] .k4 .pill { background: rgba(91, 122, 78, .14); color: var(--c-tale); }
[data-theme="paper"] .method-detail,
[data-theme="paper"] .method-detail.m2,
[data-theme="paper"] .method-detail.m-omni { background: transparent; }
[data-theme="paper"] .honesty {
  background: var(--ink);
  color: var(--bg);
}
[data-theme="paper"] .scene-line {
  background: rgba(238, 230, 211, .04);
  color: rgba(246, 239, 228, .78);
  border-color: rgba(246, 239, 228, .12);
}
[data-theme="paper"] .mini-tag {
  color: rgba(246, 239, 228, .7);
  border-color: rgba(246, 239, 228, .16);
}
[data-theme="paper"] .demo-speed,
[data-theme="paper"] .cursor-bar { color: rgba(246, 239, 228, .55); }
[data-theme="paper"] .cursor-bar { background: rgba(246, 239, 228, .7); }
[data-theme="paper"] .b2b-panel {
  background: #1a1510;
  color: #f6efe4;
}
[data-theme="paper"] .b2b-panel .lead { color: inherit; opacity: .72; }
[data-theme="paper"] .field label { color: inherit; opacity: .7; }
[data-theme="paper"] .field input,
[data-theme="paper"] .field select,
[data-theme="paper"] .field textarea {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(246, 239, 228, .16);
  color: #f6efe4;
}
[data-theme="paper"] .form-ok {
  background: rgba(196, 90, 50, .18);
  color: #f3d28a;
}

/* Feature manual */
.manual-hero { padding: 64px 0 28px; }
.manual-hero .eyebrow { margin-bottom: 12px; }
.manual-hero h1 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--display-hero);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.manual-hero p { margin-top: 14px; color: var(--ink-soft); max-width: 58ch; font-size: 16px; }
.manual-hero p.is-flat { max-width: none; }
.manual-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.manual-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 6%, var(--bg-card));
  color: var(--ink-dim);
  cursor: pointer;
  line-height: 1.3;
  white-space: nowrap;
}
.manual-tab:hover { color: var(--ink); border-color: var(--line-strong); }
.manual-tab.is-on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
@media (max-width: 720px) {
  .manual-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .manual-tab { white-space: normal; text-align: center; }
}
.manual-panel[hidden] { display: none; }
.manual-placeholder {
  margin: 48px 0 80px;
  padding: 28px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 16px;
  background: color-mix(in srgb, var(--ink) 4%, var(--bg-card));
}
.manual-toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  margin: 28px 0 8px;
  padding: 0;
  list-style: none;
}
@media (max-width: 640px) { .manual-toc { grid-template-columns: 1fr; } }
.manual-toc a {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.manual-toc a:hover { color: var(--ink); }
.manual-sec {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.manual-sec h2 {
  font-family: var(--font-display);
  font-size: var(--display-section);
  font-weight: var(--display-weight);
  margin-bottom: 10px;
}
.manual-sec .lede { color: var(--ink-soft); margin-bottom: 20px; max-width: 62ch; }
.manual-list { list-style: none; }
.manual-list > li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.manual-list > li:last-child { border-bottom: none; }
.manual-list strong { display: block; font-size: 15.5px; margin-bottom: 6px; color: var(--ink); }
.manual-list p, .manual-list .detail { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.manual-sub {
  margin: 10px 0 0;
  padding: 0 0 0 16px;
  list-style: disc;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}
.soon-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.soon-row strong { display: inline; margin: 0; }
.soon-row .lock {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--ink-dim);
}
.soon-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
}
