/* =========================================================
   Buegelprofis — KCASINO 이용 가이드
   Professional / Trust / Minimal / Modern
   ========================================================= */

:root {
  --bg: #faf9f5;
  --surface: #ffffff;
  --surface-2: #f3f1ea;
  --ink: #121917;
  --ink-soft: #39433f;
  --muted: #66716c;
  --line: #e4e0d7;
  --line-strong: #cec8bb;
  --green: #0f5c4a;
  --green-dark: #0a3f33;
  --green-soft: #e8f1ed;
  --copper: #b06a3c;
  --copper-soft: #f7eee7;
  --dark: #0d1512;
  --cream: #f4efe4;
  --serif: "Noto Serif KR", Georgia, "Times New Roman", serif;
  --sans: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -36px rgba(13, 21, 18, 0.38);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

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

img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4, p, ul, ol, table { margin-top: 0; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
}
.skip-link:focus { left: 12px; top: 12px; }

.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;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

/* ---------- top bar ---------- */

.topbar {
  background: var(--dark);
  color: #d8ddd9;
  font-size: 12.5px;
  letter-spacing: 0.01em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 6px;
}
.topbar p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.topbar .age {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}
.topbar-links { display: flex; gap: 14px; }
.topbar-links a { color: #d8ddd9; text-decoration: none; }
.topbar-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #f6f2e8;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.01em;
}
.brand-text small {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover { color: var(--green); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--green-dark); color: #fff !important; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- reading progress ---------- */

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 250;
  background: transparent;
  pointer-events: none;
}
.read-progress > div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--copper), var(--green));
}

/* ---------- shared type ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--copper);
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.85;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.btn:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.btn--solid {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn--solid:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; }
.btn--copper {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}
.btn--copper:hover { background: #96552d; border-color: #96552d; color: #fff; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(15, 92, 74, 0.09), transparent 60%),
    radial-gradient(600px 320px at -5% 110%, rgba(176, 106, 60, 0.07), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.3vw, 3.5rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  box-shadow: inset 0 -0.34em 0 var(--green-soft);
}
.hero .lead { max-width: 36em; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* summary card */

.summary-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--green), var(--copper));
}
.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.summary-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.summary-head span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.summary-list { margin: 0; }
.summary-list > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.summary-list > div:last-child { border-bottom: 0; }
.summary-list dt { margin: 0; color: var(--muted); font-size: 12.5px; }
.summary-list dd { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.55; }
.summary-list code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: 2px 6px;
  border-radius: 5px;
}
.summary-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}
.copy-btn {
  margin-left: 6px;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--green); color: var(--green); }

/* ---------- trust strip ---------- */

.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 20px 24px;
  border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item b {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.trust-item span { font-size: 13.5px; font-weight: 600; }

/* ---------- sections ---------- */

.section { padding: 78px 0; }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--soft { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 38px;
}
.section-head .kicker { margin: 0; padding-top: 9px; }
.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.7vw, 2.15rem);
  line-height: 1.38;
  letter-spacing: -0.02em;
}
.section-head .lead { margin: 0; max-width: 46em; }

/* ---------- chain ---------- */

.chain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.chain-card {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.chain-card .num {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--copper);
}
.chain-card h3 { margin: 0 0 10px; font-size: 17px; }
.chain-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.chain-card--accent { background: var(--green-soft); border-color: #cfe0d8; }

/* ---------- steps ---------- */

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.step-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
.step-list h3 { margin: 4px 0 6px; font-size: 16.5px; }
.step-list p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- callout ---------- */

.callout {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 18px;
  margin: 28px 0 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--copper-soft);
}
.callout::before {
  content: "";
  border-radius: 99px;
  background: var(--copper);
}
.callout p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.callout strong { color: var(--ink); }

/* ---------- change causes ---------- */

.cause-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.cause {
  padding: 22px;
  border-top: 2px solid var(--copper);
  background: var(--surface);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.cause h3 { margin: 0 0 8px; font-size: 15.5px; }
.cause p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- checklist ---------- */

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  counter-reset: check;
}
.check-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.check-item::before {
  counter-increment: check;
  content: counter(check);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
}
.check-item h3 { margin: 3px 0 5px; font-size: 15.5px; }
.check-item p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
.check-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- table ---------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 14px;
}
.data-table th,
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data-table thead th {
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.data-table tbody th {
  width: 148px;
  font-weight: 600;
  background: var(--surface-2);
}
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td { color: var(--ink-soft); }

/* ---------- games ---------- */

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.game-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.game-card .tag {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}
.game-card h3 { margin: 0 0 8px; font-size: 16px; }
.game-card p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- signals ---------- */

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.signal {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.signal .flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a3b2f;
}
.signal .flag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b4483a;
}
.signal h3 { margin: 0 0 8px; font-size: 15.5px; }
.signal p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- faq ---------- */

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
  color: var(--copper);
}
.faq details[open] summary::after { content: "−"; }
.faq .answer {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- author / sources ---------- */

.provenance {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  margin-top: 34px;
}
.author-box,
.source-box {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.author-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #f6f2e8;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
}
.author-box h3 { margin: 2px 0 3px; font-size: 16px; }
.author-box .role {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}
.author-box p { margin: 0 0 10px; font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.author-box a { font-size: 12.5px; font-weight: 600; }
.source-box h3 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.source-box ul { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.85; color: var(--ink-soft); }
.correction {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--copper);
  background: var(--copper-soft);
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- CTA ---------- */

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 54px 48px;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(176, 106, 60, 0.22), transparent 60%),
    linear-gradient(135deg, var(--green-dark), var(--dark));
  color: #f2f0e8;
}
.cta-panel h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  line-height: 1.4;
}
.cta-panel p {
  max-width: 48em;
  margin: 0 0 24px;
  font-size: 14.5px;
  color: #c8d0cb;
}
.cta-panel .btn--solid { background: var(--cream); border-color: var(--cream); color: var(--dark); }
.cta-panel .btn--solid:hover { background: #fff; border-color: #fff; color: var(--dark); }
.cta-note {
  margin: 18px 0 0 !important;
  font-size: 11.5px !important;
  color: #9faaa4 !important;
}

/* ---------- footer ---------- */

.footer {
  margin-top: 78px;
  padding: 56px 0 26px;
  background: var(--dark);
  color: #b9c1bc;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 38px;
}
.footer .brand { color: #f2f0e8; margin-bottom: 14px; }
.footer .brand:hover { color: #fff; }
.footer .brand-text small { color: #8f9a94; }
.footer-brand p { margin: 0 0 12px; line-height: 1.8; font-size: 12.5px; color: #9faaa4; }
.footer-license { font-size: 11.5px !important; color: #7f8a84 !important; line-height: 1.8 !important; }
.footer h3 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f2f0e8;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #b9c1bc; text-decoration: none; font-size: 12.5px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.11);
  font-size: 11.5px;
  color: #7f8a84;
}
.footer-bottom p { margin: 0; }

/* ---------- simple pages ---------- */

.page-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.page-hero h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.page-hero .lead { max-width: 48em; margin: 0; }
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
}
.page-body { padding: 54px 0 10px; }
.prose { max-width: 800px; }
.prose h2 {
  margin: 44px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.4;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 1.1rem; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose a { font-weight: 500; }
.prose .note {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--copper);
  background: var(--copper-soft);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.prose .note p:last-child { margin-bottom: 0; }

.notfound { padding: 100px 0; text-align: center; }
.notfound h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.notfound p { color: var(--muted); margin-bottom: 26px; }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .summary-card { max-width: 560px; }
  .section-head { grid-template-columns: 1fr; gap: 6px; margin-bottom: 30px; }
  .section-head .kicker { padding-top: 0; }
  .chain-grid, .signal-grid { grid-template-columns: 1fr; }
  .cause-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .provenance { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .topbar-links { display: none; }
  .menu-toggle { display: grid; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(13,21,18,0.4);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta { justify-content: center; margin-top: 12px; border-bottom: 0 !important; }
  .header-inner { position: relative; min-height: 66px; }

  .hero { padding: 54px 0 48px; }
  .hero h1 { font-size: clamp(1.85rem, 7.2vw, 2.5rem); }
  .summary-card { padding: 22px; }
  .summary-list > div { grid-template-columns: 74px 1fr; }
  .trust-item { padding: 16px; }
  .section { padding: 56px 0; }
  .section--surface, .section--soft { padding: 56px 0; }
  .check-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr; }
  .step-list li { grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 18px; }
  .step-list li::before { width: 36px; height: 36px; }
  .cta-panel { padding: 38px 26px; }
  .footer { margin-top: 56px; padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  .wrap { width: min(100% - 1.6rem, var(--wrap)); }
  .brand-text strong { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

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