/* GlazeSort — Kyoto Celadon & Smoked Walnut Studio
 * Design Tokens synchronized with 03-design.md:
 *   Light (Default): Warm Washi Alabaster #F2EFE9 · Tray #E6E0D4 · Walnut #4A3B31 · Celadon #1F6E5C · Brass #B58428
 *   Dark (Lacquer): Deep Slate Lacquer #14191D · Tray #1C2329 · Walnut #6E5645 · Celadon #3BB295 (on #14191D) · Brass #E0B05C
 * Typography: Fraunces (Display/Serif) + Atkinson Hyperlegible (UI/Counters/Body)
 * WCAG AA/AAA · 390px Mobile Safe · Zero CLS
 */

:root {
  --bg-canvas: #F2EFE9;
  --bg-tray: #E6E0D4;
  --bg-surface: #FAF8F3;
  --bg-elevated: #FFFFFF;
  --wood-walnut: #4A3B31;
  --wood-walnut-edge: #6B5647;
  --glass-fill: rgba(255, 253, 248, 0.68);
  --glass-border: rgba(74, 59, 49, 0.24);
  --glass-glow: #B58428;
  --text-primary: #1E2428;
  --text-secondary: #4E585E;
  --text-muted: #677278;
  --accent-celadon: #1F6E5C;
  --accent-celadon-hover: #175748;
  --accent-celadon-soft: rgba(31, 110, 92, 0.12);
  --text-on-celadon: #FFFFFF;
  --accent-brass: #B58428;
  --accent-brass-soft: rgba(181, 132, 40, 0.14);
  --text-on-brass: #1E2428;
  --border-hairline: rgba(30, 36, 40, 0.11);
  --border-strong: rgba(30, 36, 40, 0.22);
  --shadow-soft: 0 14px 34px -14px rgba(30, 36, 40, 0.16), 0 4px 12px rgba(30, 36, 40, 0.06);
  --shadow-tray: inset 0 2px 10px rgba(74, 59, 49, 0.08);
  --shadow-bead: 0 4px 8px rgba(30, 36, 40, 0.18);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 9999px;

  --container-max: 1020px;
  --font-display: "Fraunces", Georgia, "Pretendard Variable", "Apple SD Gothic Neo", "Hiragino Mincho ProN", serif;
  --font-ui: "Atkinson Hyperlegible", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Kaku Gothic ProN", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-canvas: #14191D;
  --bg-tray: #1C2329;
  --bg-surface: #1F272E;
  --bg-elevated: #27313A;
  --wood-walnut: #6E5645;
  --wood-walnut-edge: #8C705B;
  --glass-fill: rgba(242, 239, 233, 0.08);
  --glass-border: rgba(242, 239, 233, 0.24);
  --glass-glow: #E0B05C;
  --text-primary: #F2EFE9;
  --text-secondary: #B7C0C7;
  --text-muted: #8A959E;
  --accent-celadon: #3BB295;
  --accent-celadon-hover: #4CC5A8;
  --accent-celadon-soft: rgba(59, 178, 149, 0.16);
  --text-on-celadon: #14191D;
  --accent-brass: #E0B05C;
  --accent-brass-soft: rgba(224, 176, 92, 0.16);
  --text-on-brass: #14191D;
  --border-hairline: rgba(242, 239, 233, 0.14);
  --border-strong: rgba(242, 239, 233, 0.28);
  --shadow-soft: 0 16px 38px -14px rgba(0, 0, 0, 0.50), 0 4px 12px rgba(0, 0, 0, 0.30);
  --shadow-tray: inset 0 2px 12px rgba(0, 0, 0, 0.34);
  --shadow-bead: 0 5px 10px rgba(0, 0, 0, 0.42);
}

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

html {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-celadon);
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: color 0.18s var(--ease-out), background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2.5px solid var(--accent-brass);
  outline-offset: 3px;
  border-radius: 6px;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wood-walnut);
  color: #FAF8F3;
  font-weight: 700;
  padding: 10px 18px;
  z-index: 100;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 16px;
  top: 12px;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 22px;
}

.container--prose {
  max-width: 780px;
}

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

/* Header & 6-Language Switcher */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg-canvas) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-hairline);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  min-height: 66px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 10px rgba(30, 36, 40, 0.16);
  flex-shrink: 0;
}

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

.nav-links > a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.nav-links > a:hover,
.nav-links > a[aria-current="page"] {
  color: var(--text-primary);
  background: var(--bg-tray);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  margin-left: 2px;
}

.theme-toggle:hover {
  border-color: var(--accent-brass);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  margin-left: 4px;
  max-width: 100%;
}

.lang-switch a,
.lang-switch span {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--text-primary);
  background: var(--bg-tray);
}

.lang-switch .is-active,
.lang-switch [aria-current="page"] {
  background: var(--accent-celadon);
  color: var(--text-on-celadon);
}

@media (max-width: 640px) {
  .site-header__inner {
    gap: 8px;
    min-height: 58px;
  }
  .nav-links > a {
    font-size: 0.82rem;
    padding: 6px 8px;
  }
  .lang-switch {
    margin-left: 0;
    padding: 2px;
    gap: 1px;
  }
  .lang-switch a,
  .lang-switch span {
    font-size: 0.7rem;
    padding: 4px 6px;
  }
}

/* Hero */
.hero {
  padding: 36px 0 22px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
}

.badge--celadon {
  background: var(--accent-celadon-soft);
  color: var(--accent-celadon);
}

.badge--brass {
  background: var(--accent-brass-soft);
  color: var(--text-primary);
  border: 1px solid color-mix(in srgb, var(--accent-brass) 45%, transparent);
}

.badge--walnut {
  background: var(--wood-walnut);
  color: #FAF8F3;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-top: 0;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(1.95rem, 4.4vw, 2.95rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  color: var(--text-secondary);
  line-height: 1.66;
  max-width: 64ch;
  margin: 0;
}

/* Studio Puzzle Stage Shell */
.demo-section {
  padding: 10px 0 42px;
}

.studio-shell {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.studio-shell.is-large-print {
  font-size: 1.15rem;
}

.studio-shell.is-large-print .btn {
  font-size: 1.04rem;
  min-height: 48px;
}

.studio-shell.is-large-print .stat-chip__val {
  font-size: 1.32rem;
}

@media (max-width: 480px) {
  .studio-shell {
    padding: 16px 12px;
    border-radius: 20px;
  }
}

.studio-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-hairline);
}

.studio-course {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.studio-course__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text-primary);
}

.date-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-tray);
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.fair-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-celadon-soft);
  color: var(--accent-celadon);
}

.studio-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-canvas);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

.toggle-chip:hover {
  border-color: var(--accent-celadon);
  color: var(--text-primary);
}

.toggle-chip.is-active {
  background: var(--accent-celadon);
  border-color: var(--accent-celadon);
  color: var(--text-on-celadon);
}

/* Calm Meta Bar (Zero Timers!) */
.meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 2px 12px;
}

.stat-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.stat-chip__label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
}

.stat-chip__val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.tap-hint {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Linen Ceramic Tray & Frosted Glass Cylinders */
.kiln-tray {
  background: var(--bg-tray);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-tray);
  padding: 26px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-height: 430px;
}

@media (max-width: 480px) {
  .kiln-tray {
    padding: 22px 8px 18px;
    gap: 20px;
    min-height: 396px;
  }
}

.tray-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  width: 100%;
}

@media (max-width: 480px) {
  .tray-row {
    gap: 10px;
  }
}

.cylinder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 0;
  margin: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s var(--ease-out);
}

.cylinder:active {
  transform: scale(0.97);
}

.cylinder__seal {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-brass);
  color: var(--text-on-brass);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(181, 132, 40, 0.38);
  z-index: 3;
}

.cylinder__glass {
  position: relative;
  width: 72px;
  height: 214px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  background: var(--glass-fill);
  border: 2px solid var(--glass-border);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
  box-shadow: inset 4px 0 10px rgba(255, 255, 255, 0.34), 0 8px 18px -10px rgba(30, 36, 40, 0.20);
  transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out), transform 0.18s var(--ease-out);
}

.cylinder.is-selected .cylinder__glass {
  border-color: var(--accent-celadon);
  box-shadow: 0 0 0 3px var(--accent-celadon-soft), 0 10px 22px -10px rgba(31, 110, 92, 0.35);
}

.cylinder.is-valid-target .cylinder__glass {
  border-color: var(--glass-glow);
  box-shadow: 0 0 0 3.5px var(--accent-brass-soft), 0 0 18px color-mix(in srgb, var(--glass-glow) 35%, transparent);
}

.cylinder.is-complete .cylinder__glass {
  border-color: var(--accent-celadon);
  background: color-mix(in srgb, var(--accent-celadon) 8%, var(--glass-fill));
}

.cylinder__walnut {
  width: 78px;
  height: 11px;
  margin-top: -2px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--wood-walnut-edge) 0%, var(--wood-walnut) 45%);
  box-shadow: 0 6px 12px rgba(30, 36, 40, 0.22);
}

.bead {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border-bottom: 3px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-bead);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
  flex-shrink: 0;
}

.bead.is-lifted {
  transform: translateY(-16px) scale(1.04);
  box-shadow: 0 14px 20px -4px rgba(30, 36, 40, 0.34);
  z-index: 2;
}

.bead__sheen {
  position: absolute;
  top: 5px;
  left: 8px;
  width: 16px;
  height: 9px;
  border-radius: 50%;
  transform: rotate(-24deg);
  pointer-events: none;
}

.bead__emblem {
  width: 26px;
  height: 26px;
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .cylinder__glass {
    width: 64px;
    height: 186px;
    padding: 8px 4px 7px;
    gap: 4px;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
  }
  .cylinder__walnut {
    width: 70px;
    height: 10px;
  }
  .bead {
    width: 40px;
    height: 40px;
  }
  .bead__emblem {
    width: 23px;
    height: 23px;
  }
}

/* Safe Branch Rewind Deadlock Banner */
.deadend-bar {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: var(--accent-brass-soft);
  border: 1.5px solid var(--accent-brass);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Thumb Dock */
.thumb-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-hairline);
}

.dock-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), transform 0.15s var(--ease-out);
}

.btn:hover:not(:disabled) {
  border-color: var(--accent-celadon);
  text-decoration: none;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--celadon {
  background: var(--accent-celadon);
  border-color: var(--accent-celadon);
  color: var(--text-on-celadon);
}

.btn--celadon:hover:not(:disabled) {
  background: var(--accent-celadon-hover);
  border-color: var(--accent-celadon-hover);
  color: var(--text-on-celadon);
}

.btn--brass {
  background: var(--accent-brass);
  border-color: var(--accent-brass);
  color: var(--text-on-brass);
}

.btn--walnut {
  background: var(--wood-walnut);
  border-color: var(--wood-walnut);
  color: #FAF8F3;
}

.demo-toast {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-celadon-soft);
  color: var(--accent-celadon);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

/* Clear Celebration & 9:16 Seal Card Export Panel */
.clear-panel {
  margin-top: 18px;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 2px solid var(--accent-brass);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.clear-panel h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
  color: var(--accent-celadon);
}

.clear-panel__sub {
  margin: 0 0 18px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.clear-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.clear-panel__bridge {
  margin: 14px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-hairline);
  max-width: 56ch;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Content Sections (GEO Direct Answer, Features, Honest Ads) */
.section {
  padding: 44px 0;
}

.section--border {
  border-top: 1px solid var(--border-hairline);
}

.geo-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.geo-box h2 {
  font-size: clamp(1.38rem, 2.5vw, 1.75rem);
  margin-bottom: 12px;
}

.geo-box p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.72;
}

.app-bridge {
  margin-top: 20px;
  background: var(--bg-tray);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.app-bridge p {
  margin: 0;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 56ch;
}

.app-bridge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

@media (min-width: 760px) {
  .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
}

.feat-card__kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-celadon);
  margin-bottom: 8px;
}

.feat-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.feat-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.66;
}

/* Privacy & Support Prose */
.breadcrumb {
  padding-top: 22px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--text-muted);
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 14px 0 22px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.callout {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent-celadon);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--text-primary);
}

.callout--brass {
  border-left-color: var(--accent-brass);
  background: var(--accent-brass-soft);
}

.prose h2 {
  font-size: 1.32rem;
  margin: 28px 0 10px;
}

.prose p,
.prose li {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.prose code {
  background: var(--bg-tray);
  color: var(--text-primary);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.88em;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.guide-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.guide-item h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.guide-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--wood-walnut);
  color: #E6E0D4;
  padding: 40px 0 28px;
  font-size: 0.88rem;
}

[data-theme="dark"] .site-footer {
  background: #0E1215;
  border-top: 1px solid var(--border-hairline);
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 32px;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #FAF8F3;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.site-footer a {
  color: #F2EFE9;
}

.site-footer__copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(250, 248, 243, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 0.82rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
