/* ==========================================================================
   歯のケア図鑑 (DENTAL CARE ATLAS) — Editorial Design System
   Warm Porcelain & Botanical Teal Palette | Light & Dark Theme Ready
   ========================================================================== */

:root {
  /* Core surfaces */
  --bg: #fbfbf8;
  --bg-alt: #f2f6f4;
  --surface: #ffffff;
  --surface-subtle: #f5f7f6;
  --surface-tint: #e8f1ef;

  /* Typography & Ink */
  --ink: #172324;
  --ink-secondary: #3b4c4e;
  --ink-muted: #5d6e70;

  /* Brand Accent (Botanical Teal) */
  --accent: #0f5c5b;
  --accent-hover: #0a4645;
  --accent-soft: #e3f0ee;
  --accent-mid: #1c7c79;

  /* Clinical Stage Accents (Semantic Only) */
  --stage-c0: #2f7d64;
  --stage-c0-bg: #e7f4ee;
  --stage-c1: #9a7416;
  --stage-c1-bg: #faf3dc;
  --stage-c2: #c06014;
  --stage-c2-bg: #fbece0;
  --stage-c3: #bd382c;
  --stage-c3-bg: #fbe7e5;
  --stage-c4: #7f1d28;
  --stage-c4-bg: #f5dfe3;

  /* Borders & Elevation */
  --border: #dce5e3;
  --border-strong: #c2d1ce;
  --shadow-sm: 0 1px 2px rgba(18, 36, 37, 0.04), 0 2px 8px rgba(18, 36, 37, 0.03);
  --shadow-md: 0 6px 22px rgba(15, 42, 42, 0.07), 0 1px 3px rgba(15, 42, 42, 0.04);
  --shadow-lg: 0 16px 40px rgba(15, 42, 42, 0.1);

  /* Typography Families */
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --header-h: 66px;
  --container-w: 1160px;

  /* SVG Diagram Palette */
  --svg-enamel: #fcfcf9;
  --svg-enamel-stroke: #b5c6c3;
  --svg-dentin: #f4e8c9;
  --svg-pulp: #e47873;
  --svg-gum: #e7b5b3;
  --svg-bone: #e3e6e2;
  --svg-arch-bg: #f6f9f8;
  --svg-tooth: #ffffff;
  --svg-tooth-stroke: #9eb2af;
}

[data-theme="dark"] {
  --bg: #0f1617;
  --bg-alt: #141e20;
  --surface: #182426;
  --surface-subtle: #1d2b2d;
  --surface-tint: #193131;

  --ink: #ecf2f1;
  --ink-secondary: #c5d3d2;
  --ink-muted: #8fa4a5;

  --accent: #4ec4ba;
  --accent-hover: #6ad4cb;
  --accent-soft: rgba(78, 196, 186, 0.14);
  --accent-mid: #3aa59c;

  --stage-c0: #63c7a3;
  --stage-c0-bg: rgba(99, 199, 163, 0.14);
  --stage-c1: #e5b94c;
  --stage-c1-bg: rgba(229, 185, 76, 0.15);
  --stage-c2: #ee924a;
  --stage-c2-bg: rgba(238, 146, 74, 0.15);
  --stage-c3: #f0746a;
  --stage-c3-bg: rgba(240, 116, 106, 0.16);
  --stage-c4: #e76c82;
  --stage-c4-bg: rgba(231, 108, 130, 0.18);

  --border: #253638;
  --border-strong: #354c4f;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 18px 46px rgba(0, 0, 0, 0.48);

  --svg-enamel: #e8eeec;
  --svg-enamel-stroke: #7b9694;
  --svg-dentin: #decb9c;
  --svg-pulp: #de6863;
  --svg-gum: #a86c6d;
  --svg-bone: #283638;
  --svg-arch-bg: #131d1f;
  --svg-tooth: #e2ebe9;
  --svg-tooth-stroke: #6f8886;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--accent-hover);
}

button {
  font-family: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tabular {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 0.78rem;
  font-weight: 500;
}

.header-counter:hover {
  border-color: var(--border-strong);
  color: var(--accent);
}

.header-counter-num {
  font-weight: 600;
  color: var(--accent);
}

.header-pr-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.header-pr-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.header-pr-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.pr-mini-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--surface-tint);
  color: var(--accent);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--ink);
  background: var(--surface-subtle);
}

.mobile-menu-btn {
  display: none;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 55;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 14px 24px 20px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.mobile-nav-list a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ==========================================================================
   Buttons & Reusable Controls
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  line-height: 1.3;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

[data-theme="dark"] .btn-primary {
  color: #0b1617;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .btn-primary:hover {
  color: #0b1617;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-secondary);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface-subtle);
  color: var(--ink);
}

.btn-sm {
  padding: 7px 13px;
  font-size: 0.83rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 52px 0 56px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.62rem, 2.55vw, 2.25rem);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.015em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  margin: 0 0 18px;
  color: var(--ink);
}

.hero-lead {
  font-size: 0.99rem;
  line-height: 1.85;
  color: var(--ink-secondary);
  margin: 0 0 26px;
  max-width: 56ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.hero-pillar {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-pillar-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.hero-pillar-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-pillar-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.hero-visual {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  aspect-ratio: 16 / 10;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.hero-caption-item {
  display: flex;
  flex-direction: column;
}

.hero-caption-label {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.hero-caption-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-caption-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* ==========================================================================
   Section Scaffolding
   ========================================================================== */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 740px;
  margin-bottom: 36px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}

.section-desc {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.96rem;
  line-height: 1.8;
}

/* ==========================================================================
   Section 1: C Meaning & C0-C4 Interactive Explorer
   ========================================================================== */

.etymology-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.etymology-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.etymology-card-accent {
  background: var(--surface-tint);
  border-color: color-mix(in srgb, var(--accent) 26%, var(--border));
}

.etymology-formula {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.etymology-letter {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}

.etymology-eq {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--ink-muted);
}

.etymology-word {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
}

.etymology-jp {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.etymology-text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-secondary);
  line-height: 1.78;
}

.co-trivia-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 8px;
}

/* Stage Selector Bar */
.stage-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.stage-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.stage-tab:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.stage-tab-code {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
}

.stage-tab-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.stage-tab-layer {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.stage-tab.is-active {
  border-color: var(--stage-color, var(--accent));
  background: var(--stage-bg, var(--accent-soft));
  box-shadow: var(--shadow-sm);
}

.stage-tab.is-active .stage-tab-code {
  color: var(--stage-color, var(--accent));
}

/* Tooth Explorer Panel */
.stage-explorer {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.tooth-diagram-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.tooth-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}

.tooth-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.tooth-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.stage-detail-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.stage-badge {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.stage-recover-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--ink-secondary);
}

.stage-detail-title {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}

.stage-detail-summary {
  margin: 0 0 18px;
  color: var(--ink-secondary);
  font-size: 0.94rem;
}

.stage-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stage-meta-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.stage-meta-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.stage-meta-val {
  font-size: 0.89rem;
  color: var(--ink);
  line-height: 1.55;
}

.stage-advice-box {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  border-left: 3px solid var(--accent);
  font-size: 0.89rem;
  color: var(--ink);
  line-height: 1.65;
}

/* Comparison Table */
.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 680px;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table th {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--surface-subtle);
  white-space: nowrap;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr.is-highlighted {
  background: var(--accent-soft);
}

.table-stage-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Section 2: Interactive Brushing Map & Timer
   ========================================================================== */

.brushing-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 36px;
}

.arch-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.arch-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.arch-panel-title {
  font-size: 0.96rem;
  font-weight: 700;
  margin: 0;
}

.arch-hint {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.arch-svg-wrap {
  background: var(--svg-arch-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.arch-svg {
  width: 100%;
  height: auto;
}

.arch-hotspot {
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.arch-hotspot circle.hs-ring {
  transition: r 0.18s ease, stroke-width 0.18s ease, opacity 0.18s ease;
}

.arch-hotspot:hover circle.hs-core,
.arch-hotspot.is-active circle.hs-core {
  fill: var(--accent);
}

.arch-hotspot.is-active circle.hs-ring {
  stroke: var(--accent);
  stroke-width: 2.5;
  opacity: 0.45;
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.zone-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.zone-chip:hover {
  border-color: var(--accent);
}

.zone-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

[data-theme="dark"] .zone-chip.is-active {
  color: #0b1617;
}

.zone-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zone-chip.is-active .zone-num {
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
}

.zone-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.zone-risk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.risk-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--stage-c3-bg);
  color: var(--stage-c3);
}

.zone-area-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.zone-detail-title {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.zone-detail-why {
  margin: 0 0 18px;
  font-size: 0.93rem;
  color: var(--ink-secondary);
}

.zone-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.zone-step-item {
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.zone-step-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.zone-step-text {
  font-size: 0.9rem;
  color: var(--ink);
  margin: 0;
}

.zone-ng-box {
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  background: var(--stage-c2-bg);
  color: var(--ink);
  font-size: 0.87rem;
  line-height: 1.6;
}

.zone-ng-box strong {
  color: var(--stage-c2);
}

/* Brushing Basics + Interactive Timer */
.technique-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.technique-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.technique-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

.technique-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.technique-desc {
  margin: 0 0 12px;
  font-size: 0.89rem;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.technique-metric {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* Interactive Brushing Timer Widget */
.timer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
}

.timer-ring-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  margin-inline: auto;
}

.timer-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.timer-ring-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s linear;
}

.timer-readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timer-clock {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.timer-phase-num {
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-top: 5px;
}

.timer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.timer-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.timer-mode-group {
  display: inline-flex;
  gap: 6px;
}

.mode-pill {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--ink-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.mode-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

[data-theme="dark"] .mode-pill.is-active {
  color: #0b1617;
}

.timer-current-zone {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 4px;
}

.timer-current-tip {
  font-size: 0.89rem;
  color: var(--ink-secondary);
  margin: 0 0 14px;
}

.timer-step-dots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 16px;
}

.timer-step-bar {
  height: 6px;
  border-radius: 99px;
  background: var(--border);
  transition: background-color 0.2s ease;
}

.timer-step-bar.is-done {
  background: var(--accent-mid);
}

.timer-step-bar.is-current {
  background: var(--accent);
}

.timer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ==========================================================================
   Sponsor Banner (HisatorNotebook PR)
   ========================================================================== */

.sponsor-wrap {
  padding: 28px 0;
}

.sponsor-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}

.sponsor-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.sponsor-pr-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--surface-tint);
  color: var(--accent);
  margin-bottom: 6px;
}

.sponsor-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.sponsor-desc {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.sponsor-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sponsor-feat-tag {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
}

/* ==========================================================================
   Section 3: Toothbrush & Sub-Items Guide
   ========================================================================== */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.spec-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.spec-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.spec-pick {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.spec-body {
  font-size: 0.84rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Bristle Visual Compare */
.bristle-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.bristle-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.bristle-svg-box {
  height: 76px;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.bristle-card h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.bristle-best {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.bristle-card p {
  font-size: 0.87rem;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.68;
}

/* Sub-block Heading */
.sub-heading {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--ink);
}

/* Plaque Removal Bar Visual */
.removal-callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.removal-bars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.removal-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.removal-pct {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}

.removal-track {
  height: 10px;
  border-radius: 99px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  overflow: hidden;
}

.removal-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
}

.removal-fill.is-low {
  background: var(--stage-c2);
}

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

.subtool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.subtool-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.subtool-title {
  font-size: 1.04rem;
  font-weight: 700;
  margin: 0;
}

.subtool-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.subtool-desc {
  font-size: 0.89rem;
  color: var(--ink-secondary);
  margin: 0 0 10px;
  line-height: 1.7;
}

.subtool-tip {
  font-size: 0.84rem;
  color: var(--ink);
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ==========================================================================
   Section 4: Interactive Care Kit Finder
   ========================================================================== */

.finder-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
}

.finder-q-group {
  margin-bottom: 20px;
}

.finder-q-group:last-child {
  margin-bottom: 0;
}

.finder-q-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.finder-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.finder-opt {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--ink-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.finder-opt:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.finder-opt.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

[data-theme="dark"] .finder-opt.is-selected {
  color: #0b1617;
}

.finder-result {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.finder-res-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

.finder-res-title {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 700;
  margin: 4px 0 12px;
}

.finder-res-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.finder-res-list li {
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.87rem;
}

.finder-res-list strong {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.finder-res-tip {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  border-left: 3px solid var(--accent);
  font-size: 0.86rem;
  color: var(--ink);
  margin: 0;
}

/* ==========================================================================
   Section 5: Stephan Curve, Daily Routine, FAQ & Quiz
   ========================================================================== */

.stephan-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.stephan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.stephan-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  margin: 0;
}

.stephan-svg-wrap {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
}

.stephan-caption {
  font-size: 0.89rem;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.75;
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.routine-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.routine-card.is-priority {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: linear-gradient(180deg, var(--surface-tint) 0%, var(--surface) 44%);
}

.routine-time {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.routine-card h3 {
  font-size: 1.06rem;
  margin: 6px 0 10px;
}

.routine-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 42px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
  text-align: left;
}

.faq-trigger:hover {
  background: var(--surface-subtle);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--ink-muted);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-panel {
  padding: 0 20px 18px;
  font-size: 0.91rem;
  color: var(--ink-secondary);
  line-height: 1.8;
}

/* Interactive Quiz */
.quiz-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.quiz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.quiz-question {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.5;
}

.quiz-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.quiz-choice {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.quiz-choice:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.quiz-choice:disabled {
  cursor: default;
}

.quiz-choice.is-correct {
  border-color: var(--stage-c0);
  background: var(--stage-c0-bg);
  color: var(--ink);
  font-weight: 700;
}

.quiz-choice.is-wrong {
  border-color: var(--stage-c3);
  background: var(--stage-c3-bg);
  color: var(--ink);
}

.quiz-feedback {
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  border-left: 3px solid var(--accent);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   Footer: Visitor Counter + HisatorNotebook PR + Editorial Note
   ========================================================================== */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px;
  margin-bottom: 28px;
}

.counter-panel,
.footer-pr-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}

.counter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.counter-panel-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.vc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.vc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stage-c0);
}

.vc-status-dot.is-fallback {
  background: var(--stage-c1);
}

.counter-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.counter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.counter-card-label {
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.counter-card-val {
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.15;
}

.counter-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.footer-pr-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.footer-pr-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-pr-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
}

.footer-pr-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.footer-pr-desc {
  margin: 12px 0 0;
  font-size: 0.87rem;
  color: var(--ink-secondary);
  line-height: 1.72;
}

.medical-note {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.medical-note strong {
  color: var(--ink-secondary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--ink-secondary);
}

.footer-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .stage-explorer,
  .brushing-layout,
  .finder-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .section {
    padding: 54px 0;
  }

  .etymology-strip,
  .technique-grid,
  .bristle-compare,
  .routine-grid,
  .subtools-grid,
  .removal-bars,
  .quiz-choices {
    grid-template-columns: 1fr;
  }

  .stage-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .sponsor-banner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timer-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .header-pr-name {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 16px;
  }

  .hero {
    padding: 36px 0 42px;
  }

  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .stage-meta-list,
  .zone-list,
  .spec-grid,
  .counter-metrics {
    grid-template-columns: 1fr;
  }

  .stage-explorer,
  .arch-panel,
  .zone-detail-card,
  .finder-box,
  .timer-card,
  .stephan-box,
  .quiz-box,
  .sponsor-banner {
    padding: 20px 18px;
  }

  .header-counter {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
