:root {
  --ink: #f7f8ff;
  --muted: #aab2cd;
  --subtle: #737d9d;
  --night: #070a12;
  --panel: #0e1322;
  --panel-2: #151b2e;
  --panel-3: #1a2137;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #20d9ff;
  --cyan-soft: rgba(32, 217, 255, 0.13);
  --pink: #ff4fb8;
  --pink-soft: rgba(255, 79, 184, 0.13);
  --amber: #ffb84d;
  --amber-soft: rgba(255, 184, 77, 0.13);
  --green: #63e6a7;
  --danger: #ff7b86;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% -10%, rgba(96, 64, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 10% 30%, rgba(32, 217, 255, 0.08), transparent 30rem),
    var(--night);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #87edff;
}

button,
input,
select {
  font: inherit;
}

button,
.button {
  touch-action: manipulation;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  margin: -1px !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  color: #071018;
  background: var(--amber);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
}

.text-link {
  flex: none;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  color: var(--pink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 13px;
  color: #071018;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 8px 28px rgba(32, 217, 255, 0.16);
  font-size: 1.28rem;
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav .nav-cta {
  margin-left: 7px;
  color: #071018;
  background: var(--cyan);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: #071018;
  background: #7becff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--panel);
  cursor: pointer;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 8, 16, 0.98) 0%, rgba(5, 8, 16, 0.9) 30%, rgba(5, 8, 16, 0.25) 70%, rgba(5, 8, 16, 0.1) 100%),
    linear-gradient(0deg, var(--night) 0%, transparent 38%);
}

.hero-inner {
  display: flex;
  min-height: 650px;
  align-items: center;
  padding-block: 78px 96px;
}

.hero-content {
  max-width: 660px;
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(90deg, var(--cyan), #9d8cff 52%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.hero-lede {
  max-width: 610px;
  margin: 24px 0 30px;
  color: #d4d9ec;
  font-size: clamp(1.08rem, 2vw, 1.26rem);
  line-height: 1.55;
}

.search-form {
  display: flex;
  width: min(100%, 660px);
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
  background: rgba(11, 16, 32, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
}

.search-form input::placeholder {
  color: #8992af;
}

.search-form input:focus {
  outline: none;
}

.button,
.search-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 0;
  border-radius: 12px;
  color: #071018;
  background: linear-gradient(135deg, var(--cyan), #70e8ff);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.search-form button:hover {
  color: #071018;
  filter: brightness(1.08);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--panel-2);
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--panel-3);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.quick-links a {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #dbe1f5;
  background: rgba(5, 8, 16, 0.58);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.quick-links a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(14, 19, 34, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-item {
  padding: 20px 24px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  font-size: 1rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.home-section {
  padding-block: 92px;
}

.home-section + .home-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, var(--card-glow, rgba(32, 217, 255, 0.16)), transparent 17rem),
    linear-gradient(145deg, var(--panel-2), var(--panel));
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-card:hover {
  color: var(--ink);
  border-color: var(--card-accent, var(--cyan));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.guide-card[data-tone="pink"] {
  --card-accent: var(--pink);
  --card-glow: rgba(255, 79, 184, 0.18);
}

.guide-card[data-tone="amber"] {
  --card-accent: var(--amber);
  --card-glow: rgba(255, 184, 77, 0.18);
}

.guide-card[data-tone="green"] {
  --card-accent: var(--green);
  --card-glow: rgba(99, 230, 167, 0.16);
}

.guide-card[data-tone="violet"] {
  --card-accent: #a88bff;
  --card-glow: rgba(168, 139, 255, 0.2);
}

.card-kicker,
.tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 24px 0 12px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.guide-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: #cfd5ea;
  font-size: 0.82rem;
  font-weight: 750;
}

.card-arrow {
  color: var(--card-accent, var(--cyan));
  font-size: 1.2rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.hub-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--panel);
  text-decoration: none;
}

.hub-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--hub-color, var(--cyan));
}

.hub-card::after {
  content: attr(data-letter);
  position: absolute;
  right: -4px;
  bottom: -42px;
  color: rgba(255, 255, 255, 0.04);
  font-size: 9rem;
  font-weight: 950;
  line-height: 1;
}

.hub-card:hover {
  color: var(--ink);
  border-color: var(--hub-color, var(--cyan));
}

.hub-card strong,
.hub-card span {
  position: relative;
  z-index: 1;
  display: block;
}

.hub-card strong {
  margin-top: 16px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hub-card span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.problem-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(21, 27, 46, 0.74);
  text-decoration: none;
}

.problem-card:hover {
  border-color: rgba(32, 217, 255, 0.5);
  color: var(--ink);
}

.problem-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: var(--cyan-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.problem-card strong {
  display: block;
  font-size: 1rem;
}

.problem-card span:not(.problem-number) {
  color: var(--muted);
  font-size: 0.86rem;
}

.problem-card b {
  color: var(--pink);
  font-size: 1.2rem;
}

.promise-section {
  overflow: hidden;
}

.promise-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 58px;
  align-items: center;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 79, 184, 0.2), transparent 25rem),
    linear-gradient(135deg, #12182a, #0c101d);
}

.promise-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.promise-panel p {
  margin: 0;
  color: var(--muted);
}

.promise-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(4, 7, 14, 0.32);
}

.promise-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 950;
}

.archive-teaser {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 46px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(168, 139, 255, 0.18), transparent 24rem),
    linear-gradient(135deg, #11172a, #0b0f1b);
}

.archive-teaser > img {
  width: min(100%, 360px);
  max-height: 360px;
  justify-self: center;
  border-radius: 18px;
  object-fit: cover;
  object-position: 50% 26%;
  box-shadow: var(--shadow);
}

.archive-teaser h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.archive-teaser p:not(.eyebrow) {
  color: var(--muted);
}

.teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #06080f;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 40px;
  padding-block: 54px 40px;
}

.footer-about {
  max-width: 480px;
}

.footer-about p,
.footer-column a,
.footer-fineprint {
  color: var(--muted);
}

.footer-about p {
  margin: 16px 0 0;
}

.footer-column strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  text-decoration: none;
}

.footer-fineprint {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.page-hero {
  padding-block: 84px 52px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 79, 184, 0.14), transparent 25rem),
    radial-gradient(circle at 10% 70%, rgba(32, 217, 255, 0.1), transparent 25rem);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 680px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.guides-layout {
  padding-block: 58px 92px;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button,
.clear-button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-soft);
}

.select-wrap {
  display: grid;
  gap: 6px;
}

.select-wrap label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.select-wrap select {
  min-height: 44px;
  padding: 8px 38px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: var(--panel);
}

.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.clear-button {
  display: none;
}

.clear-button.is-visible {
  display: inline-flex;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guides-grid .guide-card[hidden] {
  display: none;
}

.empty-state {
  padding: 52px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 26px;
  color: var(--subtle);
  font-size: 0.84rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.article-header {
  padding-block: 62px 42px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.article-header h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.article-dek {
  max-width: 760px;
  margin: 22px 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--subtle);
  font-size: 0.82rem;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 58px;
  align-items: start;
  padding-bottom: 96px;
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  margin: 52px 0 16px;
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.article-content h3 {
  margin: 32px 0 10px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.article-content p,
.article-content li {
  color: #c8cee1;
}

.article-content strong {
  color: var(--ink);
}

.article-content a {
  font-weight: 750;
}

.quick-answer {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(32, 217, 255, 0.4);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 217, 255, 0.16), transparent 18rem),
    var(--panel);
}

.quick-answer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--cyan), var(--pink));
}

.quick-answer h2 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quick-answer p {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.6;
}

.article-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.aside-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}

.aside-card strong {
  display: block;
  margin-bottom: 10px;
}

.aside-card a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.aside-card a:hover {
  color: var(--cyan);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 58px;
  padding: 17px 18px 17px 66px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(21, 27, 46, 0.65);
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #071018;
  background: var(--cyan);
  font-size: 0.86rem;
  font-weight: 950;
}

.callout {
  margin: 26px 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 184, 77, 0.32);
  border-radius: 14px;
  background: var(--amber-soft);
}

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

.callout.danger {
  border-color: rgba(255, 123, 134, 0.34);
  background: rgba(255, 123, 134, 0.1);
}

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

.checklist {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.checklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.checklist-header strong {
  font-size: 1.05rem;
}

.checklist-progress {
  color: var(--muted);
  font-size: 0.82rem;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transition: width 180ms ease;
}

.checklist-items {
  display: grid;
  gap: 10px;
}

.checklist label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  color: #cbd2e6;
  cursor: pointer;
}

.checklist input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--cyan);
}

.checklist input:checked + span {
  color: var(--subtle);
  text-decoration: line-through;
}

.reset-checklist {
  margin-top: 18px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

details {
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(21, 27, 46, 0.58);
}

summary {
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.details-body {
  padding: 0 18px 18px;
}

.details-body p:last-child {
  margin-bottom: 0;
}

.related-guides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.related-link {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--panel);
  font-weight: 800;
  text-decoration: none;
}

.related-link span {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-link:hover {
  border-color: var(--cyan);
  color: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: start;
  padding-block: 74px 96px;
}

.about-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.about-copy p {
  color: #c8cee1;
}

.value-stack {
  display: grid;
  gap: 14px;
}

.value-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.value-card strong {
  color: var(--cyan);
}

.value-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.archive-hero {
  background:
    radial-gradient(circle at 82% 10%, rgba(168, 139, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 10% 70%, rgba(255, 79, 184, 0.13), transparent 25rem);
}

.archive-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 46px;
  align-items: center;
}

.archive-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.archive-intro p:not(.eyebrow) {
  color: #c8cee1;
}

.archive-logo-card {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 10%, rgba(32, 217, 255, 0.16), transparent 18rem),
    var(--panel);
}

.archive-logo-card img {
  width: 100%;
  border-radius: 14px;
}

.archive-card-grid .guide-card {
  min-height: 340px;
}

.memory-grid,
.clip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.memory-grid figure,
.clip-grid figure,
.legacy-gif-stack figure,
.legacy-product-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.memory-grid img,
.clip-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #03050a;
}

.memory-grid .memory-portrait img {
  object-position: 50% 30%;
}

.memory-grid figcaption,
.clip-grid figcaption,
.legacy-gif-stack figcaption,
.legacy-product-grid figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

.legacy-gif-stack {
  display: grid;
  gap: 18px;
  margin-block: 26px;
}

.legacy-gif-stack img,
.legacy-product-grid img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #03050a;
}

.legacy-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-block: 26px;
}

.archive-progress-list {
  display: grid;
  gap: 14px;
  padding-left: 1.35rem;
}

.archive-progress-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(21, 27, 46, 0.65);
}

.archive-progress-list li::marker {
  color: var(--cyan);
  font-weight: 900;
}

.article-aside p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 79, 184, 0.16), transparent 20rem),
    var(--panel);
}

.contact-panel h2 {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  font-size: clamp(1.55rem, 5vw, 3rem);
  line-height: 1.1;
}

.contact-panel > p:not(.eyebrow) {
  color: var(--muted);
}

.library-hero {
  padding-block: 72px 62px;
}

.library-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 58px;
  align-items: end;
}

.library-hero .button {
  margin-top: 4px;
}

.library-scorecard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(14, 19, 34, 0.84);
  box-shadow: var(--shadow);
}

.library-scorecard > div {
  display: grid;
  align-content: center;
  min-height: 128px;
  padding: 18px;
  text-align: center;
}

.library-scorecard > div + div {
  border-left: 1px solid var(--line);
}

.library-scorecard strong {
  color: var(--cyan);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.library-scorecard span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.library-scorecard p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 17px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.84rem;
  line-height: 1.5;
}

.featured-hubs-section {
  padding-block: 72px;
}

.featured-hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.featured-hub-card {
  position: relative;
  display: flex;
  min-height: 290px;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(155deg, rgba(21, 27, 46, 0.96), rgba(10, 14, 25, 0.96));
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.featured-hub-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--hub-color, var(--cyan));
}

.featured-hub-card:hover {
  border-color: var(--hub-color, var(--cyan));
  color: var(--ink);
  transform: translateY(-4px);
}

.hub-initial {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 4px 0 22px;
  border: 1px solid color-mix(in srgb, var(--hub-color, var(--cyan)) 55%, transparent);
  border-radius: 16px;
  color: var(--hub-color, var(--cyan));
  background: color-mix(in srgb, var(--hub-color, var(--cyan)) 12%, transparent);
  font-size: 1.2rem;
  font-weight: 950;
}

.featured-hub-card strong {
  margin: 16px 0 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.featured-hub-card > span:not(.hub-initial):not(.card-kicker) {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.featured-hub-card b {
  margin-top: auto;
  padding-top: 18px;
  color: var(--hub-color, var(--cyan));
  font-size: 0.82rem;
}

.library-layout {
  padding-block: 74px 104px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.library-heading {
  margin-bottom: 30px;
}

.library-filter-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 190px 190px auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(14, 19, 34, 0.88);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.library-search-field {
  display: grid;
  gap: 6px;
}

.library-search-field label,
.library-filter-panel .select-wrap label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.library-search-field input,
.library-filter-panel select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: #0a0e1a;
}

.library-search-field input::placeholder {
  color: #7f89a7;
}

.genre-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}

.game-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.game-profile-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(14, 19, 34, 0.82);
}

.game-profile-card.has-hub {
  border-color: rgba(32, 217, 255, 0.25);
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 217, 255, 0.09), transparent 15rem),
    rgba(14, 19, 34, 0.9);
}

.game-profile-card[hidden] {
  display: none;
}

.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.game-monogram {
  display: grid;
  width: 52px;
  height: 52px;
  flex: none;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--game-color, var(--cyan)) 50%, transparent);
  border-radius: 15px;
  color: var(--game-color, var(--cyan));
  background: color-mix(in srgb, var(--game-color, var(--cyan)) 11%, transparent);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.game-profile-card h3 {
  margin: 22px 0 10px;
  font-size: 1.46rem;
  line-height: 1.13;
  letter-spacing: -0.03em;
}

.game-profile-card > p:not(.game-start) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.game-facts {
  display: grid;
  gap: 7px;
  margin: auto 0 0;
  padding: 13px 0;
  border-block: 1px solid var(--line);
}

.game-facts div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
}

.game-facts dt {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-facts dd {
  margin: 0;
  color: #d7dcef;
  font-size: 0.8rem;
  line-height: 1.4;
}

.game-start {
  margin: 15px 0 0;
  color: #c7cee2;
  font-size: 0.83rem;
  line-height: 1.48;
}

.game-start strong {
  color: var(--amber);
}

.game-profile-card .text-link {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.library-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 184, 77, 0.26);
  border-radius: 15px;
  background: rgba(255, 184, 77, 0.07);
}

.library-note strong {
  color: var(--amber);
}

.library-note p {
  margin: 0;
  color: var(--muted);
}

.game-hub-hero {
  position: relative;
  overflow: hidden;
  padding-block: 60px 66px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--hub-accent, var(--cyan)) 19%, transparent), transparent 25rem),
    radial-gradient(circle at 8% 90%, rgba(255, 79, 184, 0.09), transparent 25rem);
}

.game-hub-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 50px;
  align-items: end;
}

.game-hub-hero .breadcrumbs {
  margin-bottom: 28px;
}

.game-hub-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.game-hub-hero .hub-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: #cbd1e4;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.game-hub-letter {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--hub-accent, var(--cyan)) 55%, transparent);
  border-radius: 28px;
  color: var(--hub-accent, var(--cyan));
  background: color-mix(in srgb, var(--hub-accent, var(--cyan)) 10%, #0e1322);
  box-shadow: var(--shadow);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.hub-fact-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(14, 19, 34, 0.72);
}

.hub-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hub-fact-grid div {
  padding: 19px 22px;
}

.hub-fact-grid div + div {
  border-left: 1px solid var(--line);
}

.hub-fact-grid strong,
.hub-fact-grid span {
  display: block;
}

.hub-fact-grid strong {
  color: var(--subtle);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-fact-grid span {
  margin-top: 4px;
  color: #d8ddef;
  font-size: 0.88rem;
}

.game-hub-main {
  padding-block: 72px 102px;
}

.hub-section + .hub-section {
  margin-top: 76px;
  padding-top: 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hub-section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.hub-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hub-section-heading p {
  margin: 13px 0 0;
  color: var(--muted);
}

.hub-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hub-guide-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--panel);
  text-decoration: none;
}

.hub-guide-card:hover {
  border-color: var(--hub-accent, var(--cyan));
  color: var(--ink);
}

.hub-guide-card h3 {
  margin: 24px 0 10px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.hub-guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hub-guide-card b {
  margin-top: auto;
  padding-top: 22px;
  color: var(--hub-accent, var(--cyan));
  font-size: 0.84rem;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.answer-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(21, 27, 46, 0.66);
}

.answer-card h3 {
  margin: 0 0 9px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.answer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.answer-card a {
  display: inline-block;
  margin-top: 13px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.progression-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.progression-step {
  position: relative;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}

.progression-step::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -10px;
  z-index: 2;
  color: var(--hub-accent, var(--cyan));
  transform: translate(50%, -50%);
}

.progression-step:last-child::after {
  content: none;
}

.progression-step strong,
.progression-step span {
  display: block;
}

.progression-step strong {
  color: var(--hub-accent, var(--cyan));
  font-size: 0.86rem;
}

.progression-step span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.hub-topic-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-topic-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #cbd2e6;
  background: rgba(14, 19, 34, 0.74);
  font-size: 0.9rem;
}

.hub-topic-list li::before {
  content: "+";
  margin-right: 9px;
  color: var(--hub-accent, var(--cyan));
  font-weight: 950;
}

.hub-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 32px;
  padding: 26px 28px;
  border: 1px solid color-mix(in srgb, var(--hub-accent, var(--cyan)) 35%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--hub-accent, var(--cyan)) 7%, var(--panel));
}

.hub-callout h2,
.hub-callout h3,
.hub-callout p {
  margin: 0;
}

.hub-callout h3 {
  margin-bottom: 5px;
}

.hub-callout p {
  color: var(--muted);
}

.minecraft-archive-hero {
  background:
    linear-gradient(135deg, rgba(141, 211, 95, 0.08), transparent 45%),
    radial-gradient(circle at 82% 12%, rgba(32, 217, 255, 0.18), transparent 27rem),
    radial-gradient(circle at 8% 82%, rgba(141, 211, 95, 0.12), transparent 24rem);
}

.minecraft-archive-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.minecraft-archive-summary > div {
  min-width: 0;
  padding: 30px;
}

.minecraft-archive-summary > div + div {
  border-left: 1px solid var(--line);
}

.minecraft-archive-summary strong,
.minecraft-archive-summary p {
  display: block;
}

.minecraft-archive-summary strong {
  margin-top: 3px;
  font-size: 1.05rem;
}

.minecraft-archive-summary p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-number {
  color: var(--cyan);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.archive-search-section {
  padding-bottom: 18px;
}

.minecraft-archive-controls {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(14, 19, 34, 0.78);
}

.archive-search-box input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  color: var(--ink);
  background: #090d18;
}

.archive-search-box input::placeholder {
  color: var(--subtle);
}

.minecraft-archive-controls .results-line {
  margin: 0;
}

.minecraft-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.minecraft-archive-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--panel);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.minecraft-archive-card:hover {
  border-color: rgba(141, 211, 95, 0.65);
  color: var(--ink);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.minecraft-archive-card[hidden] {
  display: none;
}

.minecraft-card-media {
  display: grid;
  min-height: 185px;
  overflow: hidden;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: #05080f;
}

.minecraft-card-media img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.minecraft-card-placeholder {
  display: grid;
  width: 100%;
  height: 185px;
  place-items: center;
  color: rgba(7, 10, 18, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent),
    linear-gradient(135deg, var(--cyan), #8dd35f 65%, var(--amber));
  font-size: 1.6rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.minecraft-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.minecraft-card-copy strong {
  margin: 9px 0;
  font-size: 1.28rem;
  line-height: 1.16;
}

.minecraft-card-copy > span:not(.card-kicker) {
  color: var(--muted);
  font-size: 0.92rem;
}

.minecraft-card-copy b {
  margin-top: auto;
  padding-top: 18px;
  color: var(--cyan);
  font-size: 0.86rem;
}

.minecraft-archive-empty {
  margin-top: 20px;
}

.legacy-entry {
  overflow-wrap: anywhere;
}

.legacy-entry > :first-child {
  margin-top: 8px;
}

.legacy-entry img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #03050a;
}

.legacy-entry blockquote {
  margin: 24px 0;
  padding: 4px 20px;
  border-left: 4px solid var(--cyan);
  color: var(--muted);
  background: rgba(32, 217, 255, 0.06);
}

.legacy-entry .gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-block: 24px;
}

.legacy-entry .gallery br {
  display: none;
}

.legacy-entry .gallery-item,
.legacy-entry .gallery-icon,
.legacy-entry .gallery figure {
  width: auto;
  margin: 0;
}

.legacy-entry .gallery img {
  width: 100%;
  height: 190px;
  margin: 0;
  object-fit: cover;
}

.legacy-entry .gallery figcaption {
  padding: 9px 4px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.legacy-entry .wikiNote,
.legacy-entry .wikiExample,
.legacy-entry .wikiTakeNote {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(21, 27, 46, 0.72);
}

.legacy-entry code {
  overflow-wrap: anywhere;
  color: #b9f4ff;
  font-family: Consolas, "Courier New", monospace;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 19, 34, 0.72);
}

.table-scroll table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 0;
}

.table-scroll th,
.table-scroll td {
  padding: 11px 13px;
  border: 1px solid var(--line);
  color: #c8cee1;
  text-align: left;
  vertical-align: top;
}

.table-scroll th {
  color: var(--ink);
  background: rgba(32, 217, 255, 0.1);
}

.contact-tips {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 7, 14, 0.38);
}

.contact-tips ul {
  margin-bottom: 0;
}

.legal-copy {
  padding-block: 66px 96px;
}

.legal-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.legal-copy h2 {
  margin: 38px 0 10px;
  font-size: 1.45rem;
}

.legal-copy p,
.legal-copy li {
  color: #c8cee1;
}

.not-found {
  display: grid;
  min-height: 65vh;
  place-items: center;
  padding-block: 70px;
  text-align: center;
}

.not-found strong {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(6rem, 20vw, 13rem);
  line-height: 0.8;
}

.not-found h1 {
  margin: 28px 0 8px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.not-found p {
  margin: 0 0 24px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    background: #0b0f1d;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-cta {
    margin: 5px 0 0;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .card-grid,
  .guides-grid,
  .game-directory-grid,
  .hub-guide-grid,
  .minecraft-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .library-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .featured-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .library-filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  .library-search-field {
    grid-column: 1 / -1;
  }

  .game-hub-hero-inner {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .progression-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .progression-step::after {
    content: none;
  }

  .hub-topic-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .promise-panel,
  .about-grid,
  .archive-intro,
  .archive-teaser {
    grid-template-columns: 1fr;
  }

  .memory-grid,
  .clip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-body {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    grid-row: 1;
  }

  .article-aside .aside-card:last-child {
    display: none;
  }
}

@media (max-width: 700px) {
  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand-text small {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero-media img {
    object-position: 63% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(5, 8, 16, 0.97) 0%, rgba(5, 8, 16, 0.8) 75%, rgba(5, 8, 16, 0.35) 100%),
      linear-gradient(0deg, var(--night) 0%, transparent 56%);
  }

  .hero-inner {
    align-items: end;
    padding-block: 80px 104px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .search-form {
    display: grid;
  }

  .search-form button {
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .home-section {
    padding-block: 68px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .card-grid,
  .guides-grid,
  .game-directory-grid,
  .hub-guide-grid,
  .minecraft-archive-grid,
  .answer-grid,
  .progression-strip,
  .hub-topic-list,
  .problem-grid,
  .related-guides,
  .memory-grid,
  .clip-grid,
  .legacy-product-grid {
    grid-template-columns: 1fr;
  }

  .minecraft-archive-summary {
    grid-template-columns: 1fr;
  }

  .minecraft-archive-summary > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .legacy-entry .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-hub-card {
    min-height: 260px;
  }

  .library-filter-panel {
    grid-template-columns: 1fr;
  }

  .library-search-field {
    grid-column: auto;
  }

  .library-filter-panel .button {
    width: 100%;
  }

  .game-profile-card {
    min-height: 0;
  }

  .library-note {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .game-hub-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .game-hub-letter {
    width: 140px;
  }

  .hub-fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-fact-grid div + div {
    border-left: 0;
  }

  .hub-fact-grid div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .hub-fact-grid div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .hub-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promise-panel {
    gap: 34px;
    padding: 30px 22px;
  }

  .archive-teaser {
    padding: 26px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-fineprint {
    flex-direction: column;
  }

  .page-hero {
    padding-block: 64px 42px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .article-header {
    padding-block: 46px 32px;
  }

  .article-body {
    gap: 34px;
  }

  .quick-answer {
    padding: 23px 20px;
  }

  .steps li {
    padding: 60px 17px 17px;
  }

  .steps li::before {
    top: 15px;
  }
}

@media (max-width: 420px) {
  .legacy-entry .gallery {
    grid-template-columns: 1fr;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card {
    min-height: 150px;
  }

  .featured-hub-grid {
    grid-template-columns: 1fr;
  }

  .featured-hub-card {
    min-height: 235px;
  }

  .library-scorecard {
    grid-template-columns: 1fr;
  }

  .library-scorecard > div {
    min-height: 96px;
  }

  .library-scorecard > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
