/* CrownGrid Official Web Hub by DevLuce
 * Design System: Warm Parchment (#FBF8F3) + Velvet Slate (#121418) + Royal Gold (#C68A12)
 * Editorial Tabletop Clarity · Instrument Serif + Gowun Batang + Figtree + Pretendard
 * WCAG AA >= 4.5:1 · Tabular Numerals · Zero CLS · Pure Static CSS
 */

:root {
  --bg-parchment: #FBF8F3;
  --bg-cream: #F3ECE0;
  --bg-paper: #FFFFFF;
  --bg-slate: #121418;
  --bg-slate-elevated: #1B1F27;

  --border-subtle: rgba(18, 20, 24, 0.10);
  --border-strong: rgba(18, 20, 24, 0.20);
  --border-slate: rgba(251, 248, 243, 0.14);

  --text-primary: #121418;
  --text-secondary: #414752;
  --text-muted: #585F6B;
  --text-on-slate: #FBF8F3;
  --text-on-slate-muted: #C2C9D4;

  --gold-royal: #C68A12;
  --gold-text: #8A5C04;
  --gold-bright: #F2C554;
  --gold-soft: rgba(198, 138, 18, 0.11);
  --gold-border: rgba(198, 138, 18, 0.32);

  --region-peach: #F9D5B7;
  --region-sky: #C7E4F7;
  --region-sage: #CBE9D0;
  --region-lavender: #DDD5F3;

  --status-ok: #137649;
  --status-no: #B4232C;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-device: 0 24px 52px -14px rgba(18, 20, 24, 0.24), 0 6px 16px rgba(18, 20, 24, 0.08);
  --shadow-icon: 0 10px 24px -6px rgba(18, 20, 24, 0.18);
  --shadow-board: 0 18px 40px -14px rgba(18, 20, 24, 0.14);

  --container-max: 1160px;
  --prose-max: 860px;

  --font-serif: "Literata", "Iowan Old Style", Georgia, serif;
  --font-serif-ko: "Gowun Batang", "AppleMyungjo", "Noto Serif KR", Georgia, serif;
  --font-sans: "Figtree", "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--bg-parchment);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

html[lang="ko"] {
  word-break: keep-all;
  overflow-wrap: break-word;
}

::selection {
  background: rgba(198, 138, 18, 0.20);
  color: var(--text-primary);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-parchment);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

a:hover {
  color: var(--text-primary);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-royal);
  outline-offset: 3px;
  border-radius: 6px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.12em 0.42em;
  color: var(--text-primary);
}

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

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

.skip-link:focus,
.skip-link:hover {
  color: var(--gold-bright);
}

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

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

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

.container--prose {
  max-width: var(--prose-max);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 243, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

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

.brand__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}

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

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

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

@media (max-width: 640px) {
  .site-header__inner {
    gap: 8px;
    min-height: 56px;
    padding: 8px 0;
  }
  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 2px;
    padding-bottom: 2px;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links a {
    white-space: nowrap;
    font-size: 0.84rem;
    padding: 6px 9px;
  }
  .lang-switch {
    margin-left: auto;
    flex-shrink: 0;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
  margin-left: 4px;
}

.lang-switch a,
.lang-switch span {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  line-height: 1.2;
}

.lang-switch a {
  color: var(--text-secondary);
}

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

.lang-switch .is-active {
  background: var(--bg-slate);
  color: var(--gold-bright);
}

/* Friend Challenge Banner (rendered dynamically via challenge.js only for valid ?d=&t=) */
.challenge-wrap {
  padding: 20px 0 0;
}

.challenge-banner {
  background: var(--bg-slate);
  color: var(--text-on-slate);
  border: 1px solid rgba(242, 197, 84, 0.42);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 820px) {
  .challenge-banner {
    flex-direction: row;
    align-items: center;
    padding: 26px 32px;
  }
}

.challenge-banner__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.challenge-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.challenge-banner__time {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bg-slate);
  background: var(--gold-bright);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.challenge-banner__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--text-on-slate);
  line-height: 1.35;
}

.challenge-banner__sub {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--text-on-slate-muted);
  max-width: 58ch;
}

.challenge-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* Breadcrumb */
.breadcrumb {
  padding: 24px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--gold-text);
}

.breadcrumb [aria-current="page"] {
  color: var(--text-primary);
  font-weight: 600;
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
}

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

.btn__svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--bg-slate);
  color: var(--text-on-slate);
  border-color: var(--bg-slate);
}

.btn--primary:hover {
  background: #232833;
  color: var(--gold-bright);
}

.btn--gold {
  background: var(--gold-bright);
  color: var(--bg-slate);
  border-color: var(--gold-bright);
}

.btn--gold:hover {
  background: #F8D474;
  color: var(--bg-slate);
}

.btn--secondary {
  background: var(--bg-paper);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--bg-cream);
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.btn--slate-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-slate);
  border-color: var(--border-slate);
}

.btn--slate-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-on-slate);
}

/* Typography & Sections */
.section {
  padding: 68px 0;
}

.section--tight {
  padding: 40px 0;
}

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

.section--slate {
  background: var(--bg-slate);
  color: var(--text-on-slate);
  border-top: none;
}

.section--slate h2,
.section--slate h3 {
  color: var(--text-on-slate);
}

.section--slate p {
  color: var(--text-on-slate-muted);
}

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.024em;
  line-height: 1.12;
  margin-top: 0;
  text-wrap: balance;
}

html[lang="ko"] h1,
html[lang="ko"] h2 {
  font-family: var(--font-serif-ko);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.24;
}

h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  margin-bottom: 20px;
}

html[lang="ko"] h1 {
  font-size: clamp(2.05rem, 4.1vw, 3.1rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

html[lang="ko"] h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

h3, h4 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin-top: 0;
  text-wrap: balance;
}

h3 {
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 8px;
}

p {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--text-secondary);
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 58ch;
}

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

.meta-line {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 14px;
}

/* Spec Check List */
.spec-checks {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.spec-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spec-checks svg {
  width: 16px;
  height: 16px;
  color: var(--gold-text);
  flex-shrink: 0;
}

/* Pills (retained for any subpages) */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  font-weight: 700;
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.pill--gold {
  background: var(--gold-soft);
  border-color: var(--gold-border);
  color: var(--gold-text);
}

.pill--slate {
  background: var(--bg-slate);
  border-color: var(--bg-slate);
  color: var(--gold-bright);
}

/* Hero */
.hero {
  padding: 48px 0 44px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 68px 0 56px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 56px;
  }
}

.hero__app-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: var(--shadow-icon);
  flex-shrink: 0;
}

.hero__meta-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero__meta-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__showcase {
  width: 100%;
  max-width: 360px;
  padding: 24px;
  border-radius: 32px;
  background: linear-gradient(150deg, #F3ECE0 0%, #FAF5EC 100%);
  border: 1px solid rgba(198, 138, 18, 0.22);
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  .hero__showcase {
    padding: 16px;
    border-radius: 26px;
  }
}

.hero__phone-frame {
  width: 100%;
  max-width: 268px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-slate);
  box-shadow: var(--shadow-device);
}

.hero__phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.launch-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.6;
}

.launch-note strong {
  color: var(--text-primary);
}

.launch-note a {
  text-decoration: underline;
}

/* GEO Direct-Answer Card */
.geo-answer {
  background: var(--bg-paper);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
}

@media (min-width: 760px) {
  .geo-answer {
    padding: 38px 42px;
  }
}

.geo-answer h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  margin-bottom: 16px;
}

html[lang="ko"] .geo-answer h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

.geo-answer p {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.72;
  max-width: 74ch;
}

.geo-answer p + p {
  color: var(--text-secondary);
}

.geo-answer__meta {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Integrated Spec Strip inside GEO Band */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-box {
  background: transparent;
  border: none;
  padding: 0;
}

.stat-box__val {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat-box__val--gold {
  color: var(--gold-text);
}

.stat-box__label {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.45;
}

/* 3-Second Visual Rule Demo (Static HTML/CSS 4x4 Verified Unique Board) */
.rules-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 860px) {
  .rules-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 52px;
  }
}

.rule-ledger {
  margin-top: 28px;
  border-top: 1px solid var(--border-strong);
}

.rule-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.rule-row__num {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-text);
  padding-top: 2px;
}

.rule-row h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.rule-row p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.board-demo {
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-board);
  max-width: 368px;
  width: 100%;
  margin: 0 auto;
}

.board-demo__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.board-demo__head .tabular {
  font-family: var(--font-mono);
  color: var(--gold-text);
}

.mini-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2.5px solid var(--bg-slate);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-paper);
}

.mini-board__borders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mini-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(18, 20, 24, 0.16);
  color: var(--text-primary);
  user-select: none;
}

.mini-cell--peach { background: var(--region-peach); }
.mini-cell--sky { background: var(--region-sky); }
.mini-cell--sage { background: var(--region-sage); }
.mini-cell--lavender { background: var(--region-lavender); }

.mini-cell__x {
  color: rgba(18, 20, 24, 0.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mini-cell__crown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--bg-slate);
  color: var(--gold-bright);
  box-shadow: 0 4px 10px rgba(18, 20, 24, 0.22);
}

.board-demo__caption {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
}

/* Asymmetric Bento Feature Grid */
.feature-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 860px) {
  .feature-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }
  .feature-bento__item:nth-child(1) { grid-column: span 7; }
  .feature-bento__item:nth-child(2) { grid-column: span 5; }
  .feature-bento__item:nth-child(3) { grid-column: span 5; }
  .feature-bento__item:nth-child(4) { grid-column: span 7; }
}

.feature-bento__item {
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-bento__item--accent {
  background: linear-gradient(155deg, #F6EFE2 0%, #FFFFFF 70%);
  border-color: var(--gold-border);
}

.feature-bento__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.feature-bento__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-bento__icon--slate {
  background: var(--bg-slate);
  color: var(--gold-bright);
}

.feature-bento__meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.feature-bento code {
  white-space: nowrap;
}

/* Standard Cards (Comparisons & Subpages — zero ghost-card shadow) */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

@media (min-width: 900px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card--interactive:hover {
  border-color: var(--gold-royal);
  transform: translateY(-2px);
}

.card__tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-text);
}

.card__tag--slate {
  color: var(--text-primary);
}

.card__cta {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--gold-text);
}

/* Screenshot Gallery (inside Velvet Slate exhibition band) */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1120px) {
  .gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: visible;
  }
}

.shot-card {
  margin: 0;
  scroll-snap-align: start;
  background: var(--bg-slate-elevated);
  border: 1px solid var(--border-slate);
  border-radius: 22px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shot-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #0D0F13;
}

.shot-card figcaption {
  font-size: 0.84rem;
  color: var(--text-on-slate-muted);
  line-height: 1.48;
  padding: 0 6px 4px;
}

.shot-card figcaption strong {
  color: var(--text-on-slate);
}

/* Comparison Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: left;
  font-size: 0.94rem;
  background: var(--bg-paper);
  border: 1px solid var(--border-strong);
}

thead th {
  background: var(--bg-slate);
  color: var(--text-on-slate);
  font-weight: 700;
  padding: 15px 18px;
  border-bottom: 2px solid var(--gold-royal);
}

thead th.col-gold {
  color: var(--gold-bright);
}

thead th:last-child {
  min-width: 112px;
}

tbody td,
tbody th {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  color: var(--text-secondary);
  line-height: 1.56;
}

tbody th {
  color: var(--text-primary);
  font-weight: 700;
  width: 28%;
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: none;
}

td.cell-gold {
  color: var(--text-primary);
  background: rgba(198, 138, 18, 0.055);
}

.badge-yes {
  color: var(--status-ok);
  font-weight: 700;
  white-space: nowrap;
}

.badge-no {
  color: var(--status-no);
  font-weight: 700;
}

/* Disclosure & Callout Boxes (Zero side-tab) */
.callout {
  background: var(--bg-paper);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.94rem;
  line-height: 1.66;
}

.callout strong {
  color: var(--text-primary);
}

.callout--disclosure {
  background: var(--bg-cream);
  border-color: var(--gold-border);
}

.callout--slate {
  background: var(--bg-slate);
  color: var(--text-on-slate);
  border-color: rgba(242, 197, 84, 0.34);
}

.callout--slate p {
  color: var(--text-on-slate-muted);
}

.callout--slate strong {
  color: var(--gold-bright);
}

.callout--slate a,
.prose .callout--slate a {
  color: var(--gold-bright);
  text-decoration: underline;
}

.callout--slate a:hover,
.prose .callout--slate a:hover {
  color: #FFF2C2;
}

/* Verdict Box */
.verdict-box {
  background: var(--bg-paper);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin: 28px 0 36px;
}

.verdict-box h2 {
  font-size: 1.55rem;
  color: var(--gold-text);
  margin-bottom: 12px;
}

html[lang="ko"] .verdict-box h2 {
  font-size: 1.32rem;
}

.verdict-box p {
  color: var(--text-primary);
  max-width: 68ch;
}

/* Prose (68ch Editorial Reading Column) */
.prose p,
.prose ul,
.prose ol {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

html[lang="ko"] .prose h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose h3 {
  margin-top: 28px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 10px;
  line-height: 1.66;
}

.prose li strong {
  color: var(--text-primary);
}

.prose a {
  text-decoration: underline;
}

/* Editorial FAQ Accordion & List */
.faq-list {
  display: flex;
  flex-direction: column;
}

details.faq-item:first-child,
article.faq-item:first-child {
  border-top: 1px solid var(--border-strong);
}

details.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 0;
  background: transparent;
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.38;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold-text);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

details.faq-item[open] summary::after {
  content: "\2212";
  background: var(--bg-slate);
  color: var(--gold-bright);
}

details.faq-item .faq-item__body {
  padding: 0 4px 24px;
  max-width: 66ch;
}

details.faq-item .faq-item__body p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.68;
}

details.faq-item .faq-item__body a {
  text-decoration: underline;
}

/* Fallback for static article.faq-item */
article.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 4px;
  background: transparent;
}

article.faq-item h3 {
  font-size: 1.06rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

article.faq-item p {
  color: var(--text-secondary);
  max-width: 66ch;
  margin-bottom: 0;
}

/* CTA Band */
.cta-band {
  background: var(--bg-slate);
  color: var(--text-on-slate);
  border: 1px solid rgba(242, 197, 84, 0.28);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 780px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    padding: 44px 48px;
  }
}

.cta-band h2 {
  color: var(--text-on-slate);
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--text-on-slate-muted);
  max-width: 52ch;
}

.cta-band code {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-on-slate);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--bg-slate);
  padding: 44px 0 32px;
  font-size: 0.9rem;
  color: var(--text-on-slate-muted);
}

.site-footer p {
  color: var(--text-on-slate-muted);
}

.site-footer__brand {
  color: var(--text-on-slate);
  font-weight: 700;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.site-footer__links a {
  color: var(--text-on-slate-muted);
}

.site-footer__links a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.site-footer__copy {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border-slate);
  font-size: 0.84rem;
  color: var(--text-on-slate-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.site-footer__copy a {
  color: var(--gold-bright);
  text-decoration: underline;
}

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

/* 6-Language Switcher 390px Responsive Overrides */
body { overflow-x: clip; }
.lang-switch { flex-wrap: wrap; max-width: 100%; }
.lang-switch a, .lang-switch span { font-size: 0.75rem; padding: 4px 8px; white-space: nowrap; line-height: 1.2; }
.lang-switch [aria-current="page"] { background: var(--bg-ink); color: #FBF8F3; }
@media (max-width: 640px) {
  .lang-switch { margin-left: 0; padding: 2px; gap: 1px; }
  .lang-switch a, .lang-switch span { font-size: 0.7rem; padding: 4px 6px; }
}
