/* Nifu Games — editorial dark stylesheet
 * Claude-influenced spacing & type, tuned to a dark-fantasy palette
 * that mirrors the in-game design tokens (Fredoka/LuckiestGuy vibe). */

:root {
  /* Palette — dark ink with warm parchment text */
  --ink-0: #0a0418;          /* page base */
  --ink-1: #110828;          /* subtle elevation */
  --ink-2: #1a0e3a;          /* card */
  --ink-3: #261552;          /* hover */

  --paper: #faf6ed;          /* parchment text */
  --paper-2: #d8cae6;        /* soft lavender */
  --muted: #8a7aa3;          /* dim */
  --whisper: #5a4d75;        /* very dim */

  --gold: #f1c97a;           /* refined gold */
  --gold-deep: #c69a3f;
  --magic: #c89cff;          /* violet glow */
  --magic-deep: #7b3fbf;
  --coral: #ff8d6b;          /* warm spark */
  --mint: #6fe0c2;
  --rose: #ff6f88;

  --line: rgba(250, 246, 237, 0.07);
  --line-strong: rgba(200, 156, 255, 0.28);
  --selection: rgba(241, 201, 122, 0.32);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, ui-serif, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Scale */
  --step--1: clamp(0.85rem, 0.83rem + 0.1vw, 0.9rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.1rem, 1.02rem + 0.4vw, 1.25rem);
  --step-2:  clamp(1.35rem, 1.2rem + 0.75vw, 1.6rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.5vw, 2.25rem);
  --step-4:  clamp(2.2rem, 1.7rem + 2.5vw, 3.25rem);
  --step-5:  clamp(2.8rem, 2rem + 4vw, 4.5rem);
  --step-6:  clamp(3.3rem, 2.3rem + 5vw, 5.5rem);

  /* Layout */
  --w-prose: 720px;
  --w-default: 1080px;
  --w-wide: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 10vw, 120px);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
button, input, textarea, select { font: inherit; }
img, svg { display: block; max-width: 100%; }

html, body {
  background: var(--ink-0);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(123, 63, 191, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(241, 201, 122, 0.05), transparent 65%),
    linear-gradient(180deg, var(--ink-0) 0%, var(--ink-1) 50%, var(--ink-0) 100%);
  background-attachment: fixed;
}

/* Editorial decoration — faint star field */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 14% 22%, rgba(250, 246, 237, 0.18) 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 12%, rgba(241, 201, 122, 0.22) 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 78%, rgba(200, 156, 255, 0.18) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 64%, rgba(250, 246, 237, 0.12) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 38%, rgba(250, 246, 237, 0.08) 50%, transparent 51%);
  background-size: 800px 600px;
  background-repeat: repeat;
  opacity: 0.6;
}

/* Type */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--paper);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 600; }
h2 { font-size: var(--step-3); margin-top: 2.6em; margin-bottom: 0.5em; font-weight: 500; }
h3 {
  font-size: var(--step-1);
  margin-top: 2em;
  margin-bottom: 0.4em;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
}

p { color: var(--paper-2); margin-bottom: 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--paper); font-weight: 600; }

a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(241, 201, 122, 0.35);
  transition: color 200ms var(--ease), text-decoration-color 200ms var(--ease);
}
a:hover { color: var(--coral); text-decoration-color: currentColor; }

ul, ol { padding-left: 1.4em; margin-bottom: 1.1em; }
li { margin-bottom: 0.4em; color: var(--paper-2); }
li::marker { color: var(--magic); }

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: var(--section) 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(250, 246, 237, 0.06);
  padding: 0.12em 0.42em;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--gold);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0 2.2em;
  font-size: var(--step--1);
}
th, td {
  text-align: left;
  padding: 0.85em 1em;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: var(--font-body);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
tbody tr:hover { background: rgba(250, 246, 237, 0.03); }

::selection { background: var(--selection); color: var(--paper); }

/* Layout */
.shell { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }
.container {
  width: 100%;
  max-width: var(--w-default);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-prose { max-width: var(--w-prose); }
.container-wide  { max-width: var(--w-wide); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(10, 4, 24, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--w-wide);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-decoration: none;
  transition: opacity 200ms var(--ease);
}
.brand:hover { opacity: 0.8; color: var(--paper); }
.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 30% 30%, var(--gold), var(--gold-deep) 60%, var(--magic-deep)) ;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: var(--ink-1);
  font-weight: 800;
  font-family: var(--font-body);
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.3),
    0 8px 24px -6px rgba(241, 201, 122, 0.4);
}
.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--paper-2);
  font-size: 0.92rem;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}
.nav a:hover { color: var(--paper); background: rgba(250, 246, 237, 0.05); }
.nav a.active {
  color: var(--paper);
  background: rgba(200, 156, 255, 0.1);
}

/* Footer */
.site-footer {
  margin-top: var(--section);
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--step--1);
}
.site-footer .container { max-width: var(--w-wide); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px 32px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--whisper);
  margin: 0 0 12px;
}
.footer-grid .footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-grid .footer-links a {
  color: var(--paper-2);
  text-decoration: none;
  width: max-content;
}
.footer-grid .footer-links a:hover { color: var(--gold); }
.footer-tagline { color: var(--muted); max-width: 320px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 740px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease),
    color 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--paper);
  color: var(--ink-0);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 14px 40px -16px rgba(250, 246, 237, 0.3);
}
.btn-primary:hover { background: var(--gold); color: var(--ink-0); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(250, 246, 237, 0.05); border-color: var(--paper-2); color: var(--paper); }
.btn-icon::after {
  content: "→";
  display: inline-block;
  transition: transform 200ms var(--ease);
}
.btn-icon:hover::after { transform: translateX(3px); }

/* Eyebrow chip */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magic);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(200, 156, 255, 0.08);
  border: 1px solid rgba(200, 156, 255, 0.18);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

/* Hero — landing */
.hero {
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 9vw, 120px);
  text-align: left;
}
.hero .lockup { max-width: 880px; }
.hero h1 {
  font-size: var(--step-6);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 22px 0 26px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, var(--gold) 0%, var(--magic) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  font-size: var(--step-1);
  color: var(--paper-2);
  max-width: 620px;
  line-height: 1.55;
  margin-bottom: 36px;
}
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page hero — non-landing */
.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 48px);
}
.page-hero h1 {
  font-size: var(--step-4);
  margin: 18px 0 18px;
  font-weight: 600;
}
.page-hero .lead {
  font-size: var(--step-1);
  color: var(--paper-2);
  max-width: 640px;
}
.page-hero .meta {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: var(--step--1);
}
.page-hero .meta strong { color: var(--paper); font-weight: 600; }

/* Section primitives */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding: clamp(24px, 4vw, 56px) 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: var(--step-3); font-weight: 500; }
.section-head p { color: var(--muted); max-width: 480px; margin: 0; }

/* Game cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease),
    box-shadow 300ms var(--ease);
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 32px 80px -28px rgba(123, 63, 191, 0.45);
}
.game-card .cover {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(241, 201, 122, 0.25), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(200, 156, 255, 0.3), transparent 55%),
    linear-gradient(135deg, #2a1656 0%, #150830 100%);
}
.game-card .cover .cover-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -0.03em;
  color: var(--paper);
  opacity: 0.92;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding: 8%;
  text-wrap: balance;
}
.game-card[data-status="upcoming"] .cover {
  background:
    radial-gradient(circle at 30% 30%, rgba(111, 224, 194, 0.2), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(200, 156, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #1f1147 0%, #0d0820 100%);
}
.game-card[data-status="upcoming"] .cover-mark { opacity: 0.55; }
.game-card[data-status="placeholder"] .cover {
  background:
    repeating-linear-gradient(45deg, rgba(250, 246, 237, 0.04) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #14102a 0%, #0d0820 100%);
}
.game-card[data-status="placeholder"] .cover-mark {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.game-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.game-card .tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magic);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(200, 156, 255, 0.1);
  border: 1px solid rgba(200, 156, 255, 0.22);
}
.game-card .tag-status-released { color: var(--mint); background: rgba(111, 224, 194, 0.08); border-color: rgba(111, 224, 194, 0.22); }
.game-card .tag-status-upcoming { color: var(--gold); background: rgba(241, 201, 122, 0.08); border-color: rgba(241, 201, 122, 0.22); }
.game-card .tag-status-tba { color: var(--muted); background: rgba(250, 246, 237, 0.05); border-color: var(--line); }
.game-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0;
  line-height: 1.1;
}
.game-card p { color: var(--paper-2); font-size: var(--step--1); line-height: 1.55; margin: 0; }
.game-card .arrow {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.game-card .arrow::after { content: "→"; transition: transform 200ms var(--ease); }
.game-card:hover .arrow::after { transform: translateX(4px); }

/* Studio note section */
.note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 4vw, 56px) 0;
  align-items: start;
}
.note h2 { margin-top: 0; }
.note .label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--whisper);
  font-weight: 600;
  margin-bottom: 16px;
}
.note p { font-size: var(--step-1); line-height: 1.6; color: var(--paper-2); }

@media (max-width: 760px) {
  .note { grid-template-columns: 1fr; }
}

/* Document body */
.doc { padding: 0 0 var(--section); }
.doc.container-prose .section { padding: 0; margin: 0 0 28px; scroll-margin-top: 96px; }
.doc h2:first-of-type { margin-top: 0; }
.toc {
  background: rgba(250, 246, 237, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0 56px;
}
.toc h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--whisper);
  font-weight: 600;
  margin: 0 0 14px;
}
.toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc ol li {
  counter-increment: toc;
  padding-left: 32px;
  position: relative;
  margin-bottom: 8px;
  font-size: var(--step--1);
  break-inside: avoid;
}
.toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--font-display);
  color: var(--magic);
  font-weight: 600;
  font-size: 0.85rem;
}
.toc a { color: var(--paper); text-decoration: none; }
.toc a:hover { color: var(--gold); }
@media (max-width: 600px) { .toc ol { columns: 1; } }

.callout {
  background: linear-gradient(135deg, rgba(200, 156, 255, 0.08), rgba(241, 201, 122, 0.04));
  border: 1px solid rgba(200, 156, 255, 0.22);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}
.callout strong { color: var(--gold); }
.callout-warn {
  background: linear-gradient(135deg, rgba(255, 111, 136, 0.08), transparent);
  border-color: rgba(255, 111, 136, 0.28);
}
.callout-warn strong { color: var(--rose); }

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin: 32px 0;
}
.contact-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 200ms var(--ease);
}
.contact-card:hover { border-color: var(--line-strong); }
.contact-card h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--whisper);
  margin: 0 0 8px;
  font-weight: 600;
}
.contact-card p { margin: 0 0 14px; font-size: var(--step--1); }
.contact-card a {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  text-decoration: none;
  color: var(--paper);
}
.contact-card a:hover { color: var(--gold); }

/* Game-page hero */
.game-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
}
.game-hero .lockup { max-width: 540px; }
.game-hero .frame {
  aspect-ratio: 9/16;
  max-height: 640px;
  margin-inline: auto;
  width: 100%;
  max-width: 360px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 30% 25%, rgba(241, 201, 122, 0.45), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(200, 156, 255, 0.5), transparent 55%),
    linear-gradient(160deg, #2a1656 0%, #0d0820 100%);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 60px 120px -40px rgba(123, 63, 191, 0.55),
    0 0 0 6px rgba(0, 0, 0, 0.5),
    0 0 0 7px rgba(250, 246, 237, 0.08);
  position: relative;
  overflow: hidden;
}
.game-hero .frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
}
.game-hero .frame .frame-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--paper);
  text-align: center;
  padding: 16%;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

@media (max-width: 820px) {
  .game-hero { grid-template-columns: 1fr; }
  .game-hero .frame { order: -1; max-width: 240px; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 40px 0;
}
.fact { background: var(--ink-1); padding: 22px 24px; }
.fact .label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--whisper);
  font-weight: 600;
  margin-bottom: 8px;
}
.fact .value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  color: var(--paper);
  letter-spacing: -0.01em;
}

/* Pillars (feature list) */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  margin: 32px 0;
}
.pillar {
  padding: 4px 0;
}
.pillar .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--magic);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  display: block;
}
.pillar h3 {
  margin: 0 0 8px;
  font-size: var(--step-1);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pillar p { color: var(--paper-2); font-size: var(--step--1); margin: 0; line-height: 1.55; }

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