:root {
  --night: #06131f;
  --night-2: #0a1c2b;
  --panel: #102638;
  --panel-2: #163044;
  --paper: #f2f4f0;
  --paper-2: #e6ebe7;
  --white: #fff;
  --text: #102636;
  --muted: #60737d;
  --mist: #a7bac4;
  --cyan: #63dbe6;
  --cyan-soft: #b8f2f5;
  --coral: #ff8558;
  --gold: #e9c978;
  --line: rgba(12, 38, 55, .15);
  --line-light: rgba(255, 255, 255, .13);
  --display: "Marcellus", Georgia, serif;
  --body: "Alegreya Sans", "Trebuchet MS", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --max: 1200px;
  --shadow: 0 24px 60px rgba(2, 16, 27, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--night); background: var(--cyan); }

.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;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 13px;
  color: var(--night);
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Shared header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  border-bottom: 1px solid var(--line-light);
  background: rgba(6, 19, 31, .96);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  line-height: .95;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  fill: rgba(99, 219, 230, .12);
  stroke: var(--cyan);
  stroke-width: 1.25;
}
.brand small {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .21em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  align-self: stretch;
}
.main-nav a {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 15px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
}
.main-nav a::after {
  position: absolute;
  right: 15px;
  bottom: 0;
  left: 15px;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.search-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid var(--line-light);
  background: transparent;
  cursor: pointer;
}
.search-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.menu-toggle { display: none; gap: 5px; align-content: center; }
.menu-toggle i { width: 20px; height: 1px; display: block; background: currentColor; }
.steam-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--night);
  background: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.steam-button:hover { background: var(--cyan-soft); }
.search-drawer {
  position: absolute;
  top: 72px;
  right: 0;
  left: 0;
  display: none;
  padding: 20px;
  color: var(--white);
  border-top: 1px solid var(--line-light);
  background: var(--night);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .24);
}
.search-drawer.open { display: block; }
.search-box { position: relative; width: min(720px, 100%); margin: 0 auto; }
.search-box form { display: grid; grid-template-columns: 1fr auto; }
.search-box input {
  min-width: 0;
  height: 50px;
  padding: 0 18px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  border-right: 0;
  outline: none;
  background: var(--panel);
}
.search-box input:focus { border-color: var(--cyan); }
.search-box button {
  padding: 0 22px;
  color: var(--night);
  border: 0;
  background: var(--cyan);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.search-suggestions {
  position: absolute;
  z-index: 3;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  display: none;
  padding: 8px;
  border: 1px solid var(--line-light);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.search-suggestions.visible { display: grid; }
.search-suggestions a {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 10px 12px;
  color: var(--mist);
  text-decoration: none;
}
.search-suggestions a:hover { color: var(--white); background: rgba(99,219,230,.08); }
.search-suggestions strong { color: var(--cyan); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }

/* Hero */
.home-hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}
.home-hero > img,
.home-hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-hero > img { object-fit: cover; object-position: center 42%; }
.home-hero::before {
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 15, 25, .96) 0%, rgba(4, 15, 25, .7) 48%, rgba(4, 15, 25, .25) 78%),
    linear-gradient(0deg, rgba(4, 15, 25, .96) 0%, transparent 42%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: end;
  gap: 70px;
  margin: 0 auto;
  padding: 96px 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: inherit;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(99,219,230,.5);
}
.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 102px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.05em;
}
.hero-copy h1 span { display: block; color: var(--cyan-soft); font-size: .55em; letter-spacing: 0; }
.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 21px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--night); background: var(--cyan); }
.button-primary:hover { background: var(--cyan-soft); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.button-dark { color: var(--white); background: var(--night); }
.hero-search {
  margin-top: 36px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(6,19,31,.55);
  backdrop-filter: blur(12px);
}
.hero-search label {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-search form { display: grid; grid-template-columns: 1fr auto; }
.hero-search input {
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  border-right: 0;
  outline: 0;
  background: rgba(255,255,255,.06);
}
.hero-search button { padding: 0 17px; color: var(--night); border: 0; background: var(--cyan); cursor: pointer; }
.hero-file {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(8,28,43,.67);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.hero-file::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 65px;
  height: 3px;
  content: "";
  background: var(--coral);
}
.hero-file h2 { margin: 0 0 18px; font-family: var(--mono); font-size: 10px; color: var(--gold); letter-spacing: .15em; text-transform: uppercase; }
.hero-file dl { margin: 0; }
.hero-file dl div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid var(--line-light); }
.hero-file dt { color: rgba(255,255,255,.48); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.hero-file dd { margin: 0; font-family: var(--display); text-align: right; }
.hero-file .verified { display: flex; gap: 9px; margin: 18px 0 0; color: var(--mist); font-size: 12px; }
.verified-dot { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 6px; border-radius: 50%; background: #6be58f; box-shadow: 0 0 8px rgba(107,229,143,.6); }

/* Homepage sections */
.section { padding: 100px max(20px, calc((100% - var(--max)) / 2)); }
.section-dark {
  color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    var(--night);
  background-size: 44px 44px;
}
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.section-head > p:last-child { max-width: 650px; margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.section-dark .section-head > p:last-child { color: var(--mist); }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-light); }
.quick-card {
  position: relative;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  color: var(--white);
  text-decoration: none;
  background: rgba(255,255,255,.025);
  transition: background 180ms ease;
}
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: rgba(99,219,230,.09); }
.quick-card::after {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(99,219,230,.16);
  border-radius: 50%;
  content: "";
  transition: transform 280ms ease;
}
.quick-card:hover::after { transform: scale(1.25); }
.quick-index { color: var(--cyan); font-family: var(--mono); font-size: 9px; letter-spacing: .15em; }
.quick-card h3 { margin: auto 0 8px; font-family: var(--display); font-size: 24px; font-weight: 400; }
.quick-card p { margin: 0; color: var(--mist); font-size: 14px; }
.quick-arrow { margin-top: 18px; color: var(--gold); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.fact-strip div { padding: 20px; border-right: 1px solid var(--line-light); }
.fact-strip div:last-child { border-right: 0; }
.fact-strip strong { display: block; color: var(--cyan); font-family: var(--display); font-size: 30px; font-weight: 400; }
.fact-strip span { color: var(--mist); font-size: 12px; }
.home-feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}
.home-feature figure { position: relative; margin: 0; }
.home-feature figure::after { position: absolute; z-index: -1; inset: 16px -16px -16px 16px; border: 1px solid rgba(12,38,55,.18); content: ""; }
.home-feature img { width: 100%; aspect-ratio: 16/10; object-fit: cover; box-shadow: var(--shadow); }
.home-feature h2 { margin: 0; font-family: var(--display); font-size: clamp(38px,4.8vw,62px); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.home-feature > div > p { color: var(--muted); font-size: 18px; }
.signal-steps { margin: 28px 0; padding: 0; list-style: none; counter-reset: signal; }
.signal-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  counter-increment: signal;
}
.signal-steps li::before {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--night);
  border-radius: 50%;
  content: counter(signal);
  background: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
}
.signal-steps strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 400; }
.signal-steps span { color: var(--muted); font-size: 14px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.trust-card { padding: 25px; border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.trust-card .tag { color: var(--coral); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.trust-card h3 { margin: 9px 0; font-family: var(--display); font-size: 24px; font-weight: 400; }
.trust-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Inner page frame */
.page-hero {
  position: relative;
  min-height: 330px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}
.page-hero > img,
.page-hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero > img { object-fit: cover; object-position: center; opacity: .55; }
.page-hero::before {
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(6,19,31,.97), rgba(6,19,31,.55) 70%, rgba(6,19,31,.75)), linear-gradient(0deg, var(--night), transparent 45%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 52px;
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--mist); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.breadcrumbs a { color: var(--cyan); text-decoration: none; }
.page-hero h1 { max-width: 850px; margin: 0; font-family: var(--display); font-size: clamp(46px,6vw,76px); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.page-hero p { max-width: 690px; margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: 19px; }
.page-shell {
  width: min(var(--max), calc(100% - 40px));
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 70px;
  margin: 0 auto;
  padding: 70px 0 110px;
}
.page-rail { position: sticky; top: 100px; align-self: start; }
.rail-block { padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.52); }
.rail-block + .rail-block { margin-top: 14px; }
.rail-title { margin: 0 0 10px; color: var(--coral); font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.page-rail nav { display: grid; }
.page-rail nav a {
  padding: 8px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  text-decoration: none;
}
.page-rail nav a:hover { color: var(--text); }
.rail-status { display: flex; gap: 10px; color: var(--muted); font-size: 12px; }
.page-content { min-width: 0; }
.content-section { scroll-margin-top: 90px; margin-bottom: 76px; }
.content-section:last-child { margin-bottom: 0; }
.content-section > .eyebrow { color: var(--text); }
.content-section h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(34px,4.5vw,52px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.content-section > p,
.content-section .lead { max-width: 770px; color: var(--muted); font-size: 18px; }
.content-section .lead { color: var(--text); font-family: var(--display); font-size: 23px; line-height: 1.45; }
.content-section h3 { margin: 0 0 8px; font-family: var(--display); font-size: 23px; font-weight: 400; }
.content-section h4 { margin: 0 0 5px; font-size: 16px; }
.content-section p { margin-top: 0; }
.callout {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  margin: 28px 0;
  padding: 22px;
  border-left: 3px solid var(--cyan);
  background: var(--paper-2);
}
.callout.caution { border-left-color: var(--coral); }
.callout-icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--night); border-radius: 50%; background: var(--cyan); font-family: var(--mono); font-size: 11px; }
.callout.caution .callout-icon { background: var(--coral); }
.callout p { margin: 0; color: var(--muted); font-size: 15px; }
.callout strong { color: var(--text); }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info-card { padding: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.54); }
.info-card .card-kicker { margin: 0 0 7px; color: var(--coral); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon-card { display: grid; grid-template-columns: 34px 1fr; gap: 15px; }
.icon-card svg { width: 31px; fill: none; stroke: var(--cyan); stroke-width: 1.5; }
.checklist { padding: 0; list-style: none; }
.checklist li {
  position: relative;
  margin: 0;
  padding: 13px 14px 13px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.checklist li::before {
  position: absolute;
  top: 16px;
  left: 12px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: var(--night);
  content: "✓";
  background: var(--cyan);
  font-size: 10px;
}
.process-list { position: relative; margin-top: 30px; padding-left: 40px; }
.process-list::before { position: absolute; top: 10px; bottom: 10px; left: 14px; width: 1px; content: ""; background: linear-gradient(var(--cyan), var(--coral)); }
.process-step { position: relative; padding: 0 0 34px 24px; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  position: absolute;
  top: 4px;
  left: -32px;
  width: 14px;
  height: 14px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan);
}
.process-step:last-child::before { background: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.process-step p { margin: 0; color: var(--muted); font-size: 15px; }
.process-step .step-meta { color: var(--coral); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.wide-image { margin: 30px 0; }
.wide-image img { width: 100%; aspect-ratio: 16/8; object-fit: cover; box-shadow: var(--shadow); }
.wide-image figcaption { padding-top: 9px; color: var(--muted); font-size: 12px; }

/* Character directory */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; }
.filter-button {
  padding: 8px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}
.filter-button.active { color: var(--night); border-color: var(--cyan); background: var(--cyan); }
.character-directory { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.character-entry {
  position: relative;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.58);
}
.character-entry.hidden { display: none; }
.character-entry.has-image { min-height: 330px; justify-content: end; color: var(--white); border: 0; }
.character-entry.has-image > img,
.character-entry.has-image::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.character-entry.has-image > img { object-fit: cover; }
.character-entry.has-image::before { z-index: 1; content: ""; background: linear-gradient(0deg, rgba(6,19,31,.96), rgba(6,19,31,.12) 80%); }
.character-entry > div { position: relative; z-index: 2; }
.verification {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.has-image .verification { color: var(--cyan-soft); }
.verification i { width: 6px; height: 6px; border-radius: 50%; background: #6be58f; }
.verification.featured i { background: var(--gold); }
.verification.named i { background: var(--coral); }
.character-entry h3 { margin: 0 0 7px; font-size: 30px; }
.character-entry p { margin: 0; color: var(--muted); font-size: 14px; }
.character-entry.has-image p { color: rgba(255,255,255,.72); }
.character-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.character-meta span { padding: 4px 7px; border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.has-image .character-meta span { color: var(--cyan-soft); border-color: rgba(255,255,255,.18); }

/* Stages / tips */
.activity-table { width: 100%; border-collapse: collapse; margin-top: 24px; background: rgba(255,255,255,.55); }
.activity-table th,
.activity-table td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.activity-table th { color: var(--night); background: var(--paper-2); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.activity-table td { color: var(--muted); font-size: 14px; }
.activity-table td:first-child { color: var(--text); font-weight: 600; }
.tip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.tip-card { position: relative; min-height: 220px; padding: 23px; border: 1px solid var(--line); background: rgba(255,255,255,.58); }
.tip-num { color: var(--cyan); font-family: var(--display); font-size: 32px; }
.tip-card h3 { margin-top: 28px; }
.tip-card p { color: var(--muted); font-size: 14px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec-card { padding: 24px; color: var(--white); background: var(--night-2); }
.spec-card .spec-label { color: var(--gold); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.spec-card dl { display: grid; grid-template-columns: 100px 1fr; margin: 17px 0 0; }
.spec-card dt, .spec-card dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--line-light); }
.spec-card dt { color: var(--mist); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.spec-card dd { font-size: 14px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 22px 54px 22px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 21px;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 17px;
  height: 1px;
  content: "";
  background: var(--text);
}
.faq-list summary::after { transform: rotate(90deg); transition: transform 180ms ease; }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-answer { max-width: 760px; padding: 0 50px 22px 0; color: var(--muted); }
.faq-answer p { margin: 0; }
.source-list { padding: 0; list-style: none; }
.source-list li { display: grid; grid-template-columns: 115px 1fr; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); }
.source-list span { color: var(--coral); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.source-list a { color: var(--text); text-decoration-color: rgba(16,38,54,.28); }

/* Footer */
.site-footer { color: var(--mist); background: #020c14; }
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.25fr repeat(3, .75fr);
  gap: 50px;
  margin: 0 auto;
  padding: 60px 0 40px;
}
.footer-about p { max-width: 330px; margin: 16px 0 0; font-size: 13px; }
.footer-col h2 { margin: 0 0 13px; color: var(--gold); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; margin: 7px 0; color: var(--mist); font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(167,186,196,.52);
  font-size: 11px;
}
.footer-bottom p { max-width: 760px; margin: 0; }
.back-to-top {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--night);
  border: 0;
  opacity: 0;
  background: var(--cyan);
  cursor: pointer;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav a { padding: 0 10px; }
  .steam-button { display: none; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-card { border-bottom: 1px solid var(--line-light); }
  .quick-card:nth-child(3) { border-right: 0; }
  .quick-card:nth-child(4),
  .quick-card:nth-child(5) { border-bottom: 0; }
  .page-shell { gap: 44px; }
  .tip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 72px; }
  .header-inner { min-height: 64px; grid-template-columns: auto auto; justify-content: space-between; }
  .menu-toggle { display: grid; }
  .main-nav {
    position: fixed;
    z-index: 90;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-content: start;
    padding: 22px 20px;
    background: rgba(6,19,31,.99);
  }
  .main-nav.open { display: grid; }
  .main-nav a { min-height: 48px; justify-content: start; border-bottom: 1px solid var(--line-light); }
  .main-nav a::after { display: none; }
  .search-drawer { top: 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; padding: 80px 0 70px; }
  .home-hero { min-height: auto; }
  .home-hero > img { object-position: 60% center; }
  .home-hero::before { background: linear-gradient(0deg,rgba(4,15,25,.98),rgba(4,15,25,.58)); }
  .hero-copy h1 { font-size: clamp(52px,14vw,82px); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-card:nth-child(3) { border-right: 1px solid var(--line-light); }
  .quick-card:nth-child(2n) { border-right: 0; }
  .quick-card:nth-child(4) { border-bottom: 1px solid var(--line-light); }
  .quick-card:last-child { grid-column: 1/-1; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-strip div:nth-child(2) { border-right: 0; }
  .fact-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .home-feature { grid-template-columns: 1fr; gap: 48px; }
  .trust-grid { grid-template-columns: 1fr; }
  .page-shell { grid-template-columns: 1fr; padding-top: 40px; }
  .page-rail { position: static; }
  .page-rail .rail-block:first-child { display: none; }
  .character-directory { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-about { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner,
  .page-hero-inner,
  .page-shell,
  .footer-inner,
  .footer-bottom { width: calc(100% - 32px); }
  .brand-mark { width: 30px; height: 30px; }
  .brand span { font-size: 15px; }
  .header-tools { gap: 6px; }
  .search-toggle, .menu-toggle { width: 38px; height: 38px; }
  .section { padding: 75px 16px; }
  .hero-copy > p:not(.eyebrow) { font-size: 18px; }
  .hero-actions { display: grid; }
  .hero-search { padding: 14px; }
  .hero-search form { grid-template-columns: 1fr; }
  .hero-search input { border-right: 1px solid rgba(255,255,255,.2); }
  .hero-search button { height: 44px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-card,
  .quick-card:nth-child(3),
  .quick-card:nth-child(2n) { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .quick-card:last-child { grid-column: auto; border-bottom: 0; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip div,
  .fact-strip div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .fact-strip div:last-child { border-bottom: 0; }
  .page-hero { min-height: 310px; }
  .page-hero h1 { font-size: 44px; }
  .page-hero p { font-size: 17px; }
  .page-shell { padding-bottom: 80px; }
  .content-section { margin-bottom: 58px; }
  .card-grid, .tip-grid, .spec-grid { grid-template-columns: 1fr; }
  .wide-image img { aspect-ratio: 16/10; }
  .activity-table { display: block; overflow-x: auto; white-space: nowrap; }
  .source-list li { grid-template-columns: 1fr; gap: 3px; }
  .search-suggestions a { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
}

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