/* ============================================================
   MEOWMORIES WIKI — "Meowmare" Design System
   Nightmare Black + Memory Violet + Warm Amber
   ============================================================ */

:root {
  /* — palette — */
  --ink-950: #06070d;
  --ink-900: #0a0c16;
  --ink-850: #0e1120;
  --ink-800: #141828;
  --ink-700: #1d2338;
  --line: rgba(255, 255, 255, 0.07);
  --line-soft: rgba(255, 255, 255, 0.045);

  --violet: hsl(271, 52%, 56%);
  --violet-hi: hsl(271, 62%, 68%);
  --violet-dim: hsl(271, 40%, 40%);
  --violet-ghost: rgba(153, 102, 216, 0.12);

  --amber: hsl(38, 92%, 62%);
  --amber-hi: hsl(42, 100%, 72%);
  --amber-ghost: rgba(242, 183, 84, 0.1);

  --rose: hsl(345, 80%, 60%);

  --text-1: #eef0fa;
  --text-2: #b9bccd;
  --text-3: #82869a;
  --text-4: #565a6e;

  /* — type — */
  --font-display: "Unbounded", "Outfit", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* — rhythm — */
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --radius-lg: 26px;

  /* — motion — */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================ reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink-950);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--violet); color: #fff; }

/* ============================================================ atmosphere layers */
.atmo {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 70% -10%, rgba(153, 102, 216, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 45% at 12% 100%, rgba(242, 183, 84, 0.07), transparent 55%),
    radial-gradient(ellipse 90% 70% at 50% 50%, #0b0e1a 0%, var(--ink-950) 70%);
}
.atmo::after { /* god-beams */
  content: "";
  position: absolute; inset: -20% -10%;
  background:
    linear-gradient(100deg, transparent 42%, rgba(153, 102, 216, 0.045) 48%, transparent 54%),
    linear-gradient(80deg, transparent 58%, rgba(242, 183, 84, 0.03) 63%, transparent 68%);
  animation: beamDrift 26s ease-in-out infinite alternate;
}
@keyframes beamDrift { to { transform: translateX(4%) rotate(0.6deg); } }

.grain {
  position: fixed; inset: -100%; z-index: 60; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

.stars { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.stars span {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--violet-hi); opacity: 0.5;
  animation: starTwinkle var(--tw, 5s) ease-in-out infinite var(--td, 0s);
}
.stars span.gold { background: var(--amber-hi); }
@keyframes starTwinkle {
  0%, 100% { opacity: 0.12; transform: scale(0.8); }
  50% { opacity: 0.85; transform: scale(1.25); }
}

/* ============================================================ shared */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--violet-hi);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--violet); }
.eyebrow.amber { color: var(--amber); }
.eyebrow.amber::before { background: var(--amber); }

.h-display {
  font-family: var(--font-display); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.01em;
}
.h-serif { font-family: var(--font-serif); font-weight: 600; font-style: italic; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================ nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--violet) 0%, var(--violet-dim) 100%);
  box-shadow: 0 4px 18px rgba(153, 102, 216, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.5s var(--ease-spring);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand small { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em; color: var(--text-3); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 14px; font-size: 13.5px; font-weight: 500; color: var(--text-2);
  border-radius: 8px; transition: color 0.25s, background 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-1); background: var(--violet-ghost); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--amber)); border-radius: 2px;
}
.nav-cta {
  padding: 9px 18px; font-size: 13px; font-weight: 600; border-radius: 10px;
  background: linear-gradient(120deg, var(--violet) 0%, hsl(283, 58%, 52%) 100%);
  box-shadow: 0 4px 16px rgba(153, 102, 216, 0.35);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(153, 102, 216, 0.5); }

/* ============================================================ hero */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero-title { font-size: clamp(52px, 7.2vw, 96px); margin: 22px 0 10px; }
.hero-title .mrow { display: block; }
.hero-title .accent {
  background: linear-gradient(100deg, var(--violet-hi) 10%, var(--amber) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  letter-spacing: 0;
}
.hero-sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(19px, 2.2vw, 24px); color: var(--text-2); max-width: 520px; line-height: 1.5; }
.hero-desc { margin-top: 20px; color: var(--text-2); max-width: 520px; font-size: 15.5px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 500;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  color: var(--text-2); transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.stat-chip:hover { border-color: rgba(153, 102, 216, 0.45); background: var(--violet-ghost); transform: translateY(-2px); }
.stat-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet-hi); box-shadow: 0 0 8px var(--violet-hi); }
.stat-chip.gold .dot { background: var(--amber); box-shadow: 0 0 8px var(--amber); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px; font-size: 14.5px; font-weight: 600;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.btn .arr { transition: transform 0.35s var(--ease-spring); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(120deg, var(--violet) 0%, hsl(283, 58%, 50%) 100%);
  box-shadow: 0 8px 30px rgba(153, 102, 216, 0.4);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(153, 102, 216, 0.55); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost { border: 1px solid var(--line); color: var(--text-2); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: rgba(242, 183, 84, 0.5); color: var(--amber-hi); background: var(--amber-ghost); transform: translateY(-3px); }
.btn-text { padding: 14px 6px; color: var(--text-3); font-weight: 500; }
.btn-text:hover { color: var(--violet-hi); }

/* — hero visual — */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.moon-halo {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(226, 201, 255, 0.95), rgba(153, 102, 216, 0.55) 42%, rgba(60, 40, 110, 0.25) 68%, transparent 72%);
  filter: blur(2px);
  animation: haloPulse 7s ease-in-out infinite;
}
@keyframes haloPulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.035); opacity: 1; } }
.moon-ring {
  position: absolute; inset: 1%; border-radius: 50%; border: 1px dashed rgba(153, 102, 216, 0.35);
  animation: ringSpin 60s linear infinite;
}
.moon-ring.r2 { inset: -5%; border-color: rgba(242, 183, 84, 0.18); animation-duration: 90s; animation-direction: reverse; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.hero-cat { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.hero-cat svg { width: 62%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)); animation: catFloat 6s ease-in-out infinite; }
@keyframes catFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }

.orbit-tag {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  background: rgba(12, 14, 26, 0.82); border: 1px solid var(--line); backdrop-filter: blur(8px);
  color: var(--text-2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  animation: tagBob 5s ease-in-out infinite;
}
.orbit-tag b { color: var(--text-1); font-weight: 600; }
.orbit-tag .k { width: 8px; height: 8px; border-radius: 2px; background: var(--violet-hi); }
.orbit-tag.gold .k { background: var(--amber); }
@keyframes tagBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ot-1 { top: 8%; left: -4%; animation-delay: 0.4s; }
.ot-2 { bottom: 16%; right: -6%; animation-delay: 1.2s; }
.ot-3 { bottom: -2%; left: 12%; animation-delay: 2s; }

.paw-trail { position: absolute; left: -2%; bottom: 4%; z-index: 1; display: flex; gap: 34px; opacity: 0.5; }
.paw-trail svg { width: 22px; height: 22px; fill: var(--violet-dim); transform: rotate(-18deg); }
.paw-trail svg:nth-child(2n) { transform: rotate(14deg) translateY(-10px); fill: var(--violet); opacity: 0.7; }

/* — video band — */
.video-band { padding: 0 0 30px; }
.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-900);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(153, 102, 216, 0.08);
}
.video-frame::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 120px rgba(6, 7, 13, 0.8); border-radius: inherit; }
.video-frame iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.video-label {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  background: rgba(8, 10, 18, 0.7); border: 1px solid var(--line); color: var(--amber); backdrop-filter: blur(6px);
}
.video-label .rec { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: recBlink 1.6s ease-in-out infinite; }
@keyframes recBlink { 50% { opacity: 0.25; } }

/* ============================================================ start here */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 16px; }
.section-head h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--amber); letter-spacing: 0; }
.section-head p { max-width: 380px; color: var(--text-3); font-size: 14.5px; padding-bottom: 6px; }

.start-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gcard {
  position: relative; padding: 30px 30px 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-850) 0%, var(--ink-900) 100%);
  border: 1px solid var(--line-soft); overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.45s;
}
.gcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.gcard:hover { transform: translateY(-6px); border-color: rgba(153, 102, 216, 0.35); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(153, 102, 216, 0.07); }
.gcard:hover::before { opacity: 1; }
.gcard.gold:hover { border-color: rgba(242, 183, 84, 0.4); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(242, 183, 84, 0.07); }
.gcard.gold::before { background: linear-gradient(90deg, transparent, var(--amber), transparent); }

.gcard-num {
  font-family: var(--font-display); font-size: 44px; font-weight: 300; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(153, 102, 216, 0.5);
  transition: -webkit-text-stroke 0.3s, color 0.3s;
}
.gcard:hover .gcard-num { color: var(--violet-hi); -webkit-text-stroke: 1px transparent; }
.gcard.gold .gcard-num { -webkit-text-stroke: 1px rgba(242, 183, 84, 0.45); }
.gcard.gold:hover .gcard-num { color: var(--amber); -webkit-text-stroke: 1px transparent; }
.gcard h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 18px 0 10px; }
.gcard p { color: var(--text-3); font-size: 14px; line-height: 1.7; }
.gcard-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13px; font-weight: 600; color: var(--violet-hi); letter-spacing: 0.04em;
}
.gcard.gold .gcard-link { color: var(--amber); }
.gcard-link .arr { transition: transform 0.3s var(--ease-spring); }
.gcard:hover .gcard-link .arr { transform: translateX(5px); }
.gcard-icon { position: absolute; top: 26px; right: 26px; width: 40px; height: 40px; opacity: 0.5; transition: opacity 0.3s, transform 0.4s var(--ease-spring); }
.gcard:hover .gcard-icon { opacity: 1; transform: rotate(-6deg) scale(1.1); }

/* ============================================================ about game */
.about { position: relative; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.about-copy h2 { font-size: clamp(30px, 4vw, 46px); margin: 16px 0 24px; }
.about-copy h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--violet-hi); }
.about-copy p { color: var(--text-2); font-size: 15.5px; line-height: 1.85; margin-bottom: 18px; max-width: 560px; }
.about-copy p strong { color: var(--text-1); font-weight: 600; }
.about-copy p .hl-v { color: var(--violet-hi); font-weight: 500; }
.about-copy p .hl-a { color: var(--amber); font-weight: 500; }

.fact-panel {
  border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(170deg, var(--ink-850), var(--ink-900));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  position: sticky; top: 100px;
}
.fact-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-3);
}
.fact-head .rec { color: var(--amber); }
.fact-rows li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 15px 24px; border-bottom: 1px solid var(--line-soft);
  transition: background 0.25s;
}
.fact-rows li:last-child { border-bottom: 0; }
.fact-rows li:hover { background: rgba(153, 102, 216, 0.05); }
.fact-rows .fl { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.fact-rows .fv { font-size: 15px; font-weight: 600; color: var(--text-1); text-align: right; }
.fact-rows .fv.gold { color: var(--amber); font-family: var(--font-serif); font-style: italic; font-size: 17px; }

/* ============================================================ final cta */
.finale { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; text-align: center; }
.finale::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(153, 102, 216, 0.14), transparent 60%);
  pointer-events: none;
}
.finale .h-display { font-size: clamp(36px, 5.4vw, 68px); margin: 20px auto 18px; max-width: 800px; }
.finale .h-display em { font-family: var(--font-serif); font-style: italic; color: var(--amber); }
.finale p { color: var(--text-2); max-width: 620px; margin: 0 auto 36px; font-size: 15.5px; }
.finale-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ============================================================ footer */
.footer { border-top: 1px solid var(--line-soft); background: rgba(8, 10, 18, 0.6); padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.footer-about p { color: var(--text-3); font-size: 13.5px; line-height: 1.75; max-width: 340px; margin-top: 14px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--text-2); font-size: 13.5px; transition: color 0.25s, padding-left 0.3s; }
.footer-links a:hover { color: var(--violet-hi); padding-left: 6px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--text-4);
}
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--text-2); }

/* ============================================================ guide page (article) */
.crumbs { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--text-3); padding-top: 108px; }
.crumbs a { color: var(--text-3); transition: color 0.25s; }
.crumbs a:hover { color: var(--violet-hi); }
.crumbs .sep { color: var(--text-4); }
.crumbs .cur { color: var(--amber); }

.article-hero { padding: 30px 0 46px; border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.article-hero h1 { font-size: clamp(36px, 5vw, 58px); margin: 18px 0 16px; max-width: 780px; }
.article-hero h1 em { font-family: var(--font-serif); font-style: italic; color: var(--violet-hi); }
.article-lede { font-family: var(--font-serif); font-style: italic; font-size: clamp(18px, 2vw, 21px); color: var(--text-2); max-width: 640px; line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--text-3); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--violet-hi); }

.article-body { display: grid; grid-template-columns: 1fr 300px; gap: clamp(36px, 5vw, 72px); padding: 52px 0 90px; align-items: start; }
.prose { max-width: 720px; }
.prose > p { color: var(--text-2); font-size: 15.5px; line-height: 1.85; margin-bottom: 20px; }
.prose > p strong { color: var(--text-1); }
.prose h2 {
  font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600;
  margin: 52px 0 18px; padding-top: 34px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 14px; scroll-margin-top: 90px;
}
.prose h2::before { content: ""; width: 4px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, var(--violet), var(--amber)); flex-shrink: 0; }
.prose h3 { font-size: 17.5px; font-weight: 600; margin: 30px 0 12px; color: var(--text-1); }
.prose ul.tick { margin: 6px 0 22px; }
.prose ul.tick li { position: relative; padding-left: 26px; margin-bottom: 11px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.prose ul.tick li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-48deg); }
.prose ol.steps { counter-reset: step; margin: 8px 0 24px; }
.prose ol.steps li { counter-increment: step; position: relative; padding-left: 46px; margin-bottom: 18px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.prose ol.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--violet-hi);
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid rgba(153, 102, 216, 0.35); border-radius: 9px; background: var(--violet-ghost);
}
.prose ol.steps li strong { color: var(--text-1); display: block; margin-bottom: 2px; }

.callout {
  position: relative; margin: 28px 0; padding: 20px 22px 20px 52px; border-radius: 14px;
  font-size: 14.5px; line-height: 1.7; color: var(--text-2);
  background: var(--violet-ghost); border: 1px solid rgba(153, 102, 216, 0.25);
}
.callout::before { content: ""; position: absolute; left: 18px; top: 22px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--violet-hi); }
.callout::after { content: ""; position: absolute; left: 25px; top: 29px; width: 4px; height: 4px; border-radius: 50%; background: var(--violet-hi); }
.callout strong { color: var(--violet-hi); display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.callout.warn { background: var(--amber-ghost); border-color: rgba(242, 183, 84, 0.3); }
.callout.warn::before { border-color: var(--amber); }
.callout.warn::after { background: var(--amber); }
.callout.warn strong { color: var(--amber); }

.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 30px; }
.diff-card {
  padding: 20px; border-radius: 14px; text-align: center; border: 1px solid var(--line-soft);
  background: var(--ink-850); transition: transform 0.35s var(--ease-out), border-color 0.3s;
}
.diff-card:hover { transform: translateY(-4px); }
.diff-card .dname { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.diff-card .drole { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin: 6px 0 10px; }
.diff-card p { font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.diff-card.easy { border-color: rgba(120, 220, 160, 0.25); }
.diff-card.easy .dname { color: hsl(140, 60%, 65%); }
.diff-card.mid { border-color: rgba(242, 183, 84, 0.3); }
.diff-card.mid .dname { color: var(--amber); }
.diff-card.hard { border-color: rgba(240, 100, 130, 0.3); }
.diff-card.hard .dname { color: var(--rose); }

.kbd-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 24px; }
.kbd-item {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2);
  padding: 8px 12px; border-radius: 10px; background: var(--ink-850); border: 1px solid var(--line-soft);
}
.kbd {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--amber-hi);
  padding: 3px 9px; border-radius: 6px; background: rgba(242, 183, 84, 0.1);
  border: 1px solid rgba(242, 183, 84, 0.3); border-bottom-width: 2px;
}

/* — toc sidebar — */
.toc { position: sticky; top: 100px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--ink-900); padding: 22px; }
.toc h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.toc h4::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.toc li { margin-bottom: 2px; }
.toc a {
  display: block; padding: 8px 10px; font-size: 13px; color: var(--text-3); border-radius: 8px;
  border-left: 2px solid transparent; transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.toc a:hover { color: var(--text-1); background: var(--violet-ghost); }
.toc a.active { color: var(--violet-hi); border-left-color: var(--violet); background: var(--violet-ghost); }
.toc-cta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.toc-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 10px; font-size: 13px; font-weight: 600; background: linear-gradient(120deg, var(--violet), hsl(283, 58%, 50%)); transition: transform 0.3s var(--ease-spring); }
.toc-cta a:hover { transform: translateY(-2px); }

.next-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.next-card { padding: 18px; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--ink-850); transition: transform 0.35s var(--ease-out), border-color 0.3s; }
.next-card:hover { transform: translateY(-4px); border-color: rgba(242, 183, 84, 0.35); }
.next-card .nt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); }
.next-card h5 { font-size: 14.5px; font-weight: 600; margin: 8px 0 4px; }
.next-card p { font-size: 12px; color: var(--text-4); }

/* ============================================================ responsive */
@media (max-width: 1020px) {
  .hero-grid, .about-grid, .article-body { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .fact-panel, .toc { position: static; }
  .start-grid, .diff-grid, .next-guides { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .start-grid, .diff-grid, .next-guides, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .ot-2 { right: 0; }
  .ot-1 { left: 0; }
}

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