:root {
  --bg: #080b14;
  --card: #121726;
  --paper: #fbf3e4;
  --paper-2: #f3e6cf;
  --ink: #231914;
  --ink-muted: #6b584b;
  --text: #f7f2e7;
  --muted: #b8c0d4;
  --primary: #b83b14;
  --primary-hover: #962d0d;
  --accent: #fbbf24;
  --border: rgba(251, 191, 36, 0.22);
  --border-soft: rgba(247, 242, 231, 0.14);
  --radius: 16px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.58);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
h1 { font-size: 48px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(8, 11, 20, 0.84);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link { color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-link:hover { color: var(--accent); text-decoration: none; }

.mobile-dock {
  display: none;
}

/* Full-Viewport Illustrated Bonfire Stage */
.hero-immersive, .box-immersive {
  position: relative;
  min-height: calc(100vh - 58px);
  padding: 40px 0 64px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hero-backdrop-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0;
  transition: opacity 0.65s ease;
  display: block;
}
.hero-backdrop-img.active { opacity: 1; }
.hero-embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(8, 11, 20, 0.58) 0%,
    rgba(8, 11, 20, 0.14) 30%,
    rgba(8, 11, 20, 0.08) 58%,
    rgba(8, 11, 20, 0.88) 88%,
    #080b14 100%
  );
}
.hero-center, .box-shell { position: relative; z-index: 3; }
.hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-top-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow, .cd-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(8, 11, 20, 0.72);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.cd-pill { color: var(--text); letter-spacing: 0.02em; }
.hero-display {
  font-size: 64px;
  color: var(--text);
  text-shadow: 0 6px 32px rgba(0, 0, 0, 0.72);
  margin-bottom: 14px;
}
.hero-display em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--text);
  max-width: 52ch;
  margin-bottom: 28px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.82);
}
.hero-lead { font-size: 18px; color: var(--muted); max-width: 56ch; margin-bottom: 24px; }

/* Hero CTA & Interactive Floating Parchment Slips */
.by-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.by-scene-bar {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(8, 11, 20, 0.68);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
  margin-bottom: 28px;
}
.by-scene-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.by-code-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  background: rgba(8, 11, 20, 0.68);
  border: 1px solid var(--border-soft);
  padding: 5px 6px 5px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.by-code-input {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 13px;
  width: 165px;
  outline: none;
}
.by-code-go {
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.by-scene-btn.active {
  background: var(--primary);
  color: #ffffff;
}
.by-float-zone {
  position: relative;
  width: 100%;
  max-width: 1060px;
  min-height: 270px;
  display: grid;
  grid-template-columns: 1fr 1fr 220px 1fr 1fr;
  align-items: end;
  gap: 14px;
  padding: 130px 4px 12px;
}
.by-float-gap { pointer-events: none; }
.by-float-note {
  background: var(--paper);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  text-align: left;
  font-family: var(--font-head);
  font-size: 14px;
  line-height: 1.32;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(184, 59, 20, 0.18);
  cursor: pointer;
  transform: rotate(var(--rot, -3deg));
  transition: transform 0.22s ease, opacity 0.35s ease, box-shadow 0.22s ease;
  animation: byFloat 4.5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.by-float-note:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.04);
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.45);
}
.by-float-note small {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}
.by-float-note.burning {
  opacity: 0;
  transform: translateY(-70px) scale(0.4) rotate(18deg);
  filter: blur(3px);
}
@keyframes byFloat {
  0%, 100% { transform: rotate(var(--rot, -3deg)) translateY(0px); }
  50% { transform: rotate(var(--rot, -3deg)) translateY(-8px); }
}
.by-float-hint {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: var(--paper);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  margin: 10px 0 0;
}
.by-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.by-share-pill {
  flex: 1;
  min-width: 110px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(8, 11, 20, 0.78);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 0 12px;
}
.by-share-pill:hover { border-color: var(--accent); text-decoration: none; }
.by-seo-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.by-seo-panel {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
}
.by-seo-panel ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.by-seo-panel li {
  padding: 10px 14px;
  background: rgba(8, 11, 20, 0.55);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
}
.by-usecases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.by-usecase {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
}
.by-usecase p { margin: 0; color: var(--muted); font-size: 14px; }

/* 3-Step Guide Bar & Sealed Slips Wall */
.by-guide-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.by-guide-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(12, 17, 30, 0.84);
  border: 1px solid var(--border-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  backdrop-filter: blur(12px);
}
.by-guide-step.active {
  border-color: var(--accent);
  color: var(--text);
}
.by-guide-step.done {
  border-color: var(--primary);
  color: var(--text);
}
.by-guide-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.by-guide-step.done .by-guide-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.by-sealed-wall {
  margin-top: 16px;
  margin-bottom: 16px;
}
.by-sealed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.by-sealed-chip {
  padding: 10px 10px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
}
.by-sealed-chip small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: 2px;
}
.by-sealed-empty {
  padding: 10px 10px;
  border-radius: 10px;
  background: rgba(8, 11, 20, 0.48);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}


/* Warm Parchment Stationery Modal & Cards */
.by-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 9, 18, 0.84);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.by-paper-card {
  position: relative;
  width: min(100%, 480px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(184, 59, 20, 0.16);
  text-align: left;
}
.by-paper-card h2, .by-paper-card h3 { color: var(--ink); }
.by-paper-card .by-label { color: var(--ink); }
.by-paper-card .by-hint { color: var(--ink-muted); }
.by-paper-card .by-input, .by-paper-card .by-textarea {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(35, 25, 20, 0.22);
}
.by-paper-card .by-input:focus, .by-paper-card .by-textarea:focus {
  outline: 2px solid var(--primary);
  border-color: transparent;
}
.by-paper-card .by-pill {
  background: var(--paper-2);
  color: var(--ink-muted);
  border: 1px solid rgba(35, 25, 20, 0.15);
}
.by-paper-card .by-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.by-paper-card .by-chip {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(35, 25, 20, 0.2);
}
.by-paper-card .by-chip:hover {
  background: var(--paper-2);
  border-color: var(--primary);
  color: var(--primary);
}
.by-paper-card .btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(35, 25, 20, 0.24);
}
.by-paper-card .by-msg { color: var(--primary); font-weight: 600; }
.by-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(35, 25, 20, 0.18);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
}
.by-stamp {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  margin-right: 44px;
  white-space: nowrap;
}

.section { padding: 64px 0; border-top: 1px solid var(--border-soft); }
.section-alt { background: rgba(18, 23, 38, 0.55); }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }
.section-sub { color: var(--muted); font-size: 16px; max-width: 58ch; }

.steps-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.step-item { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 24px; }
.step-num { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.step-item p { margin: 0; color: var(--muted); font-size: 14px; }

.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.compare-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 24px; }
.compare-card p { margin: 0; color: var(--muted); font-size: 14px; }

.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 16px 24px; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
.faq-item p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.article-stage { padding: 108px 0 64px; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 32px; font-size: 22px; }
.prose h3 { margin-top: 24px; font-size: 18px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }

.cta-banner { margin-top: 48px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-banner p { margin: 0; color: var(--muted); font-size: 14px; }
.faq-block { margin-top: 48px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(184, 59, 20, 0.55);
}
.btn-primary:hover { background: var(--primary-hover); text-decoration: none; }
.btn-secondary {
  background: rgba(8, 11, 20, 0.72);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { border-color: var(--accent); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--muted); font-size: 14px; min-height: 36px; padding: 0 12px; }
.btn-ghost:hover { color: var(--text); transform: none; }
.btn-full { width: 100%; border-radius: 12px; }

.site-footer { border-top: 1px solid var(--border-soft); padding: 48px 0; background: var(--bg); }
.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.footer-note { color: var(--muted); font-size: 14px; margin: 0; max-width: 64ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 12px; margin: 0; }

/* Box Page & Form Primitives */
.by-card {
  background: rgba(12, 17, 30, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}
.by-field { margin-bottom: 16px; }
.by-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.by-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.by-input, .by-textarea {
  width: 100%;
  background: rgba(8, 11, 20, 0.8);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
}
.by-textarea { min-height: 84px; resize: vertical; }
.by-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.by-chip { border-radius: 999px; padding: 6px 12px; font-size: 12px; cursor: pointer; }
.by-radio-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.by-radio-row.two { grid-template-columns: 1fr 1fr; }
.by-pill { border-radius: 10px; padding: 10px 12px; text-align: center; font-size: 14px; font-weight: 600; cursor: pointer; }

.by-stage { position: relative; border-radius: 14px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); margin-bottom: 20px; }
.by-stage-visual { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.by-stage-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.by-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.by-stage-meta { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--border-soft); font-size: 14px; background: rgba(8, 11, 20, 0.92); }
.by-heat { color: var(--accent); font-weight: 600; }

.by-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.by-cd-cell { background: rgba(8, 11, 20, 0.78); border: 1px solid var(--border-soft); border-radius: 10px; padding: 12px 8px; text-align: center; }
.by-cd-num { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--text); }
.by-cd-lbl { font-size: 12px; color: var(--muted); }

.by-share-row { display: flex; gap: 8px; margin-bottom: 12px; }
.by-share-row .by-input { font-size: 14px; }
.by-msg { font-size: 14px; color: var(--accent); margin: 8px 0 0; min-height: 20px; }
.by-error { color: var(--primary) !important; }
.by-hidden { display: none !important; }

.by-slips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.by-slip-card { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 16px; box-shadow: var(--shadow-sm); }
.by-slip-tag { font-size: 12px; font-weight: 700; color: var(--primary); letter-spacing: 0.06em; margin-bottom: 6px; }
.by-slip-text { font-size: 15px; color: var(--ink); margin: 0 0 8px; word-break: break-word; }
.by-slip-in { font-size: 14px; color: var(--primary-hover); margin: 0 0 8px; word-break: break-word; }
.by-slip-by { font-size: 12px; color: var(--ink-muted); margin: 0; }

.by-theater { position: fixed; inset: 0; z-index: 100; background: rgba(4, 6, 12, 0.96); display: flex; align-items: center; justify-content: center; padding: 16px; }
.by-theater-frame { position: relative; width: min(100%, 400px); aspect-ratio: 9 / 16; max-height: 92vh; background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.by-theater-canvas { width: 100%; height: 100%; display: block; }
.by-theater-close { position: absolute; top: 12px; right: 12px; z-index: 5; background: rgba(8, 11, 20, 0.78); color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 12px; cursor: pointer; }
.by-poster-wrap { margin-top: 20px; text-align: center; }
.by-poster-img { max-width: 260px; width: 100%; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 12px; box-shadow: var(--shadow-lg); }
.by-box-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 28px; align-items: start; }
.by-disclaimer { font-size: 12px; color: var(--muted); margin-top: 12px; }
.by-my-boxes { margin-top: 16px; }
.by-my-boxes-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.by-my-box-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(8, 11, 20, 0.75); border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--text); backdrop-filter: blur(8px); }
.by-my-box-link:hover { border-color: var(--accent); text-decoration: none; }

@media (max-width: 820px) {
  .by-box-layout, .by-seo-cols, .by-usecases, .by-guide-bar { grid-template-columns: 1fr; gap: 12px; }
  .compare-grid, .steps-list { grid-template-columns: 1fr; }
  .by-float-zone { grid-template-columns: 1fr 1fr; padding-top: 90px; }
  .by-float-gap { display: none; }
}
@media (max-width: 640px) {
  h1, .hero-display { font-size: 36px; }
  h2 { font-size: 22px; }
  .container { padding: 0 16px; }
  .site-nav { display: none; }
  .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(8, 11, 20, 0.94);
    border-top: 1px solid var(--border-soft);
    backdrop-filter: blur(14px);
    padding: 6px 8px env(safe-area-inset-bottom, 6px);
  }
  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 0;
    text-decoration: none;
  }
  .dock-item:hover { color: var(--accent); text-decoration: none; }
  .site-footer { padding-bottom: 92px; }
  .hero-immersive, .box-immersive { padding: 24px 0 40px; min-height: auto; }
  .hero-sub { font-size: 15px; margin-bottom: 18px; }
  .by-hero-actions { width: 100%; gap: 10px; margin-bottom: 14px; }
  .by-hero-actions .btn { width: 100%; min-height: 46px; font-size: 15px; }
  .by-scene-bar { margin-bottom: 14px; }
  .by-scene-btn { padding: 7px 11px; font-size: 13px; }
  .by-float-zone { padding-top: 32px; min-height: 0; gap: 10px; }
  .by-float-note { font-size: 13px; padding: 10px 12px; }
  .by-paper-card { padding: 20px; }
  .by-paper-card .by-pill { font-size: 13px; padding: 9px 8px; white-space: nowrap; }
  .by-slips-grid { grid-template-columns: 1fr; }
  .by-sealed-grid { grid-template-columns: repeat(2, 1fr); }
  .by-share-row { flex-direction: column; }
  .cta-banner { flex-direction: column; align-items: stretch; }
  .cta-banner .btn { width: 100%; }
  .by-theater { padding: 0; }
  .by-theater-frame { width: 100%; height: 100%; max-height: 100vh; border-radius: 0; border: none; }
}
