/* Warframe Tier List — Linear / Vercel–inspired data station */
:root {
  --bg: #05060a;
  --bg-elev: #0a0c12;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-solid: #11131a;
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #b4bcc8;
  --text-muted: #7a8494;
  --text-bright: #f5f7fa;
  --accent: #62e0d0;
  --accent-2: #7aa2ff;
  --warm: #e8c46a;
  --tier-s: #3dd68c;
  --tier-s-bg: rgba(61, 214, 140, 0.1);
  --tier-a: #6eb6ff;
  --tier-a-bg: rgba(110, 182, 255, 0.1);
  --tier-b: #e8c46a;
  --tier-b-bg: rgba(232, 196, 106, 0.1);
  --tier-c: #ff7b72;
  --tier-c-bg: rgba(255, 123, 114, 0.1);
  --role-dps: #ff9f43;
  --role-support: #a78bfa;
  --role-tank: #6eb6ff;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 20px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Sora", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(122, 162, 255, 0.16), transparent 55%),
    radial-gradient(700px 420px at 90% 8%, rgba(98, 224, 208, 0.1), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(232, 196, 106, 0.05), transparent 50%),
    linear-gradient(180deg, #070910 0%, var(--bg) 45%, #030408 100%);
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

a:hover {
  color: #9ff0e6;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #041014;
  padding: 8px 12px;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(5, 6, 10, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text-bright);
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-muted);
  font-weight: 600;
}

.nav a:hover {
  color: var(--text-bright);
}

/* ——— Full-bleed hero ——— */
.hero-stage {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  min-height: clamp(320px, 48vh, 460px);
}

.hero-stage__media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.hero-stage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.05) contrast(1.05);
  opacity: 0.55;
  transform: scale(1.02);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}

.hero-stage:hover .hero-stage__media img {
  opacity: 0.68;
  transform: scale(1.04);
}

.hero-stage__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.92) 0%, rgba(5, 6, 10, 0.55) 45%, rgba(5, 6, 10, 0.75) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.2) 0%, rgba(5, 6, 10, 0.95) 100%);
  pointer-events: none;
}

.hero-stage__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 20px clamp(36px, 6vw, 64px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tier-s);
  box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.45);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(61, 214, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0); }
}

.hero-stage h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-bright);
  max-width: 14ch;
  margin-bottom: 14px;
  background: linear-gradient(120deg, #fff 20%, #c8d4ff 55%, #9ff0e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 20px;
  line-height: 1.55;
}

.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--warm);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease),
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.22s var(--ease),
    filter 0.18s;
}

.btn:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn--lg {
  padding: 14px 22px;
  font-size: 0.95rem;
  min-height: 48px;
}

.btn--primary {
  background: linear-gradient(135deg, #7cf0e2, #6b9cff);
  color: #061018;
  box-shadow:
    0 8px 28px rgba(98, 224, 208, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn--primary:hover {
  box-shadow:
    0 14px 40px rgba(98, 224, 208, 0.38),
    0 0 24px rgba(107, 156, 255, 0.35);
  filter: brightness(1.05);
  color: #061018;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text-bright);
}

.btn--ghost:hover {
  background: var(--surface-hover);
  color: var(--text-bright);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* ——— Layout ——— */
.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 56px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}

/* Sticky header clearance for in-page anchors */
#tier-list,
#videos,
#scenarios,
#faq,
#vault-bar,
#spotlight-title,
.spotlight {
  scroll-margin-top: 84px;
}

.main {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 76px;
}

.intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.intro p + p {
  margin-top: 10px;
}

.intro strong {
  color: var(--text-bright);
  font-weight: 700;
}

/* ——— Spotlight ——— */
.spotlight {
  margin-bottom: 28px;
}

.spotlight__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.spotlight__head h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-bright);
}

.spotlight__head span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.spotlight-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.spot-card {
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  min-height: 190px;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.spot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(98, 224, 208, 0.35);
  box-shadow: var(--shadow);
}

.spot-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: top center;
  background: #0d1018;
}

.spot-card__body {
  padding: 10px 12px 12px;
}

.spot-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

.spot-card__role {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.spot-card__tier {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(5, 6, 10, 0.75);
  border: 1px solid rgba(61, 214, 140, 0.45);
  color: var(--tier-s);
  backdrop-filter: blur(6px);
}

/* ——— Controls ——— */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
}

.tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 8px 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.tab:hover {
  color: var(--text-bright);
}

.tab[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  color: var(--text-bright);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
}

.search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.45;
  pointer-events: none;
}

.search {
  width: 100%;
  padding: 11px 12px 11px 36px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search:focus {
  border-color: rgba(98, 224, 208, 0.5);
  box-shadow: 0 0 0 3px rgba(98, 224, 208, 0.12);
}

.search::placeholder {
  color: var(--text-muted);
}

.result-count {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

/* ——— Tier rows ——— */
.tier-block {
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(4px);
}

.tier-label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
}

.tier-label--s {
  background: var(--tier-s-bg);
  color: var(--tier-s);
  border-left: 3px solid var(--tier-s);
}

.tier-label--a {
  background: var(--tier-a-bg);
  color: var(--tier-a);
  border-left: 3px solid var(--tier-a);
}

.tier-label--b {
  background: var(--tier-b-bg);
  color: var(--tier-b);
  border-left: 3px solid var(--tier-b);
}

.tier-label--c {
  background: var(--tier-c-bg);
  color: var(--tier-c);
  border-left: 3px solid var(--tier-c);
}

.tier-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
  padding: 14px;
}

/* ——— Cards ——— */
.wf-card {
  position: relative;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: default;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
  animation: cardIn 0.4s var(--ease) both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wf-card:hover,
.wf-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  z-index: 2;
}

.wf-card__media {
  position: relative;
  height: 118px;
  background:
    radial-gradient(120px 80px at 50% 20%, rgba(122, 162, 255, 0.18), transparent 70%),
    #0c0f16;
  overflow: hidden;
}

.wf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s var(--ease);
}

.wf-card:hover .wf-card__media img {
  transform: scale(1.06);
}

.wf-card__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: #0b1020;
}

.wf-card__fallback--dps { background: linear-gradient(145deg, #ffb06a, #e86b1f); }
.wf-card__fallback--support { background: linear-gradient(145deg, #c4b5fd, #7c3aed); }
.wf-card__fallback--tank { background: linear-gradient(145deg, #93c5fd, #2563eb); }

.wf-card__body {
  padding: 12px;
}

.wf-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 6px;
}

.wf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.chip {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.chip--dps {
  color: var(--role-dps);
  background: rgba(255, 159, 67, 0.12);
  border-color: rgba(255, 159, 67, 0.28);
}

.chip--support {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.28);
}

.chip--tank {
  color: var(--role-tank);
  background: rgba(110, 182, 255, 0.12);
  border-color: rgba(110, 182, 255, 0.28);
}

.chip--pvp {
  color: var(--accent);
  background: rgba(98, 224, 208, 0.1);
  border-color: rgba(98, 224, 208, 0.28);
}

.wf-reason {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.9em;
  transition: max-height 0.25s var(--ease), color 0.15s;
}

.wf-card:hover .wf-reason,
.wf-card:focus-within .wf-reason {
  -webkit-line-clamp: unset;
  max-height: 9em;
  color: var(--text);
}

.tier-empty {
  padding: 28px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.tier-empty strong {
  display: block;
  color: var(--text-bright);
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.tier-empty__hint {
  margin: 8px 0 16px;
  font-size: 0.85rem;
}

.tier-empty .btn { margin-top: 4px; }

/* ——— Video ——— */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.video-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-solid);
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.video-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.video-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: #0a0c12;
  color: inherit;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.video-facade__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 6, 10, 0.55));
}

.video-facade__play span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7cf0e2, #6b9cff);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s var(--ease);
}

.video-facade:hover .video-facade__play span {
  transform: scale(1.06);
}

.video-facade__play svg {
  margin-left: 3px;
}

.video-card__meta {
  padding: 12px 14px 14px;
}

.video-card__meta h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: 4px;
}

.video-card__meta p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  display: block;
  background: #000;
}

/* ——— Sections ——— */
.section {
  margin-top: 40px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.section-lead {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 16px;
  max-width: 60ch;
}

.section-ops {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: -6px 0 16px;
  letter-spacing: 0.01em;
}

.section-ops--inline {
  margin: 0;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.section-head-row h2 {
  margin-bottom: 0;
}

.sources-card .section-lead {
  margin: 0;
  font-size: 0.88rem;
}

#ad-sidebar:empty {
  display: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 520px;
}

th {
  text-align: left;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-bright);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(98, 224, 208, 0.35);
}

td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

td:first-child {
  color: var(--text-bright);
  font-weight: 600;
  white-space: nowrap;
}

td:nth-child(2) {
  color: var(--accent);
  font-weight: 700;
}

.method-list {
  padding-left: 20px;
  color: var(--text-muted);
}

.method-list li {
  margin: 8px 0;
}

.method-list strong {
  color: var(--text-bright);
}

/* ——— FAQ ——— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 18px 16px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.faq-item strong {
  color: var(--text-bright);
}

/* ——— Ads ——— */
.ad-slot {
  position: relative;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.02) 8px,
      rgba(255, 255, 255, 0.035) 8px,
      rgba(255, 255, 255, 0.035) 16px
    );
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 22px 0;
  overflow: hidden;
}

.ad-slot__label {
  position: absolute;
  top: 6px;
  left: 8px;
  opacity: 0.55;
  letter-spacing: 0.08em;
}

.ad-slot--content {
  min-height: 90px;
}

.ad-slot--sidebar {
  min-height: 250px;
  margin: 0 0 14px;
}

.ad-slot--sidebar-tall {
  min-height: 300px;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
}

.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.sidebar-card ul {
  list-style: none;
  font-size: 0.88rem;
}

.sidebar-card li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.sidebar-card li:last-child {
  border-bottom: none;
}

.sidebar-card a {
  color: var(--text);
}

.sidebar-card a:hover {
  color: var(--accent);
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.swatch--s { background: var(--tier-s); }
.swatch--a { background: var(--tier-a); }
.swatch--b { background: var(--tier-b); }
.swatch--c { background: var(--tier-c); }

.sidebar-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sidebar-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0c0f16;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding: 32px 20px;
  text-align: center;
  color: #5a6578;
  font-size: 0.8rem;
}

.site-footer p + p {
  margin-top: 6px;
}

.matrix-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.matrix-links span {
  color: #3a4558;
}

/* ——— Mobile ——— */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ad-slot--sidebar,
  .ad-slot--sidebar-tall,
  .sidebar-card:last-child {
    grid-column: 1 / -1;
  }

  .ad-slot--sidebar,
  .ad-slot--sidebar-tall {
    min-height: 100px;
  }

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

  .hero-stage__media img:nth-child(n + 4) {
    display: none;
  }

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

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  .tabs {
    width: 100%;
  }

  .tab {
    flex: 1;
    text-align: center;
  }

  .search-wrap {
    max-width: none;
  }

  .tier-grid {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  }

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

  .wf-card:hover {
    transform: none;
  }

  .hero-stage h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ——— Interactive upgrade layer ——— */
.breadcrumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumbs ol {
  display: flex;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #3a4558;
}

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

.theme-toggle {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  width: 36px;
  height: 32px;
  cursor: pointer;
  font-size: 0.95rem;
}

.filter-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin: 12px 0 10px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.chip-row__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 40px;
}

.filter-chip {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.filter-chip[aria-pressed="true"] {
  background: rgba(98, 224, 208, 0.12);
  border-color: rgba(98, 224, 208, 0.45);
  color: var(--accent);
}

.filter-chip--clear {
  margin-left: auto;
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
}

.sort-label select {
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-bright);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
}

#tier-board {
  transition: opacity 0.16s ease;
}

#tier-board.is-fading {
  opacity: 0.35;
}

.tier-grid--flat {
  padding: 4px 0;
}

.chip--tier {
  color: var(--warm);
  background: rgba(232, 196, 106, 0.1);
  border-color: rgba(232, 196, 106, 0.3);
}

.wf-card {
  cursor: pointer;
}

.wf-card__fav,
.wf-card__share {
  position: absolute;
  top: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(5, 6, 10, 0.7);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  transition: transform 0.18s var(--ease);
}

.wf-card__share { right: 8px; }
.wf-card__fav { right: 44px; }
.wf-card__fav.is-on { border-color: rgba(255, 123, 160, 0.5); color: #ff7ba0; }
.wf-card__fav.is-on svg { fill: #ff7ba0; stroke: #ff7ba0; }
.wf-card__fav.pop { animation: heartPop 0.35s var(--ease); }
.wf-card__share svg,
.wf-card__fav svg,
.drawer__actions svg {
  display: inline-block;
  vertical-align: -3px;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.wf-card__actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.mini-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 999px;
  cursor: pointer;
}

.mini-btn.is-on {
  border-color: rgba(98, 224, 208, 0.5);
  color: var(--accent);
}

.wf-card__vault-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(5, 6, 10, 0.75);
  color: var(--accent);
  border: 1px solid rgba(98, 224, 208, 0.35);
}

.load-more-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 8px;
}

.wf-acquire {
  margin: 0 0 10px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.wf-acquire__label {
  display: inline-block;
  margin-right: 4px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.seo-rail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px 4px;
}

.seo-rail__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  margin: 0 0 6px;
}

.seo-rail__title a {
  color: inherit;
  text-decoration: none;
}

.seo-rail__title a:hover {
  color: var(--accent);
}

.drawer__seealso {
  margin: 14px 0 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.drawer__seealso a {
  font-weight: 600;
}

.seo-rail__sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.also-like {
  margin-top: 14px !important;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.also-like a {
  font-family: var(--font-display);
  font-weight: 600;
}

/* Vault / compare bars */
.vault-bar {
  max-width: var(--max);
  margin: 12px auto 0;
  padding: 0 20px;
}

.vault-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(98, 224, 208, 0.06);
  font-size: 0.9rem;
}

/* Thumb-zone tray: Compare stays in reach, not mid-page */
.compare-bar {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(120%);
  width: min(560px, calc(100% - 24px));
  z-index: 75;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(122, 162, 255, 0.35);
  background: rgba(10, 14, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.9rem;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 40px rgba(98, 224, 208, 0.12);
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
  opacity: 0;
  pointer-events: none;
}

.compare-bar:not([hidden]) {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

body.has-compare {
  padding-bottom: 88px;
}

@media (max-width: 720px) {
  .compare-bar {
    bottom: calc(72px + env(safe-area-inset-bottom));
    width: calc(100% - 16px);
  }

  body.has-compare {
    padding-bottom: 148px;
  }
}

.vault-warn { color: #ff7b72; margin-left: 8px; }
.vault-ok { color: var(--tier-s); margin-left: 8px; }

.btn--sm {
  padding: 7px 12px;
  font-size: 0.8rem;
}

/* Drawer + modal */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#onboard-backdrop.is-open,
#compare-backdrop.is-open {
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  z-index: 90;
  background: #0c0f16;
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.22s var(--ease);
  overflow-y: auto;
}

.drawer.is-open { transform: translateX(0); }

.drawer__close {
  position: sticky;
  top: 10px;
  float: right;
  margin: 10px 10px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
}

.drawer__hero img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  background: #111;
}

.drawer__pad { padding: 18px 20px 40px; clear: both; }

.drawer__pad h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: var(--text-bright);
}

.drawer__meta {
  color: var(--accent);
  font-weight: 600;
  margin: 4px 0 10px;
}

.drawer__reason,
.drawer__passive {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.drawer__pad h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-bright);
  margin: 18px 0 8px;
}

.drawer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 12px;
}

.vault-select-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.vault-select-label select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-bright);
  border-radius: 10px;
  padding: 10px;
}

.acc {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.acc summary {
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 700;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.acc p {
  padding: 0 12px 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.build-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.build-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(122, 162, 255, 0.08);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
}

.stat-row {
  display: grid;
  grid-template-columns: 64px 1fr 36px;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.stat-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.98);
  width: min(920px, calc(100% - 24px));
  max-height: min(86vh, 720px);
  overflow: auto;
  z-index: 110;
  background: #0c0f16;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal__title {
  font-family: var(--font-display);
  color: var(--text-bright);
  margin-bottom: 12px;
}

.compare-grid {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.compare-col {
  flex: 1 1 200px;
  max-width: 260px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.compare-col img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  margin-bottom: 8px;
}

.compare-col h3 {
  font-family: var(--font-display);
  color: var(--text-bright);
}

.compare-vs {
  align-self: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
}

/* Wizard */
.wizard {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.wizard-step {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.wizard h3 {
  font-family: var(--font-display);
  color: var(--text-bright);
  margin-bottom: 12px;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.wizard-card {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 16px 12px;
  color: var(--text-bright);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, transform 0.15s;
}

.wizard-card:hover {
  border-color: rgba(98, 224, 208, 0.45);
  transform: translateY(-2px);
}

.wizard-card span {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.wizard-nav {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.wizard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wizard-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--text);
}

.wizard-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wizard-result {
  display: grid;
  grid-template-columns: 28px 72px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.wizard-result img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}

.wizard-result strong {
  color: var(--text-bright);
  font-family: var(--font-display);
}

.wizard-result p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 4px 0 8px;
}

.scenario-table-details {
  margin-top: 16px;
  color: var(--text-muted);
}

.scenario-table-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

/* Video shimmer / embed — only absolute inside a positioned facade */
.video-shimmer {
  background: linear-gradient(90deg, #12151d 25%, #1c2230 37%, #12151d 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s ease infinite;
}

.video-facade .video-shimmer,
.short-facade .video-shimmer,
.video-embed-wrap .video-shimmer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.video-facade {
  position: relative;
}

.video-embed-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-embed-wrap .video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.spot-card {
  appearance: none;
  border: none;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.sidebar-gallery button {
  appearance: none;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
}

/* Toast + back top */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: #151922;
  color: var(--text-bright);
  border: 1px solid var(--border-strong);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(12, 15, 22, 0.9);
  color: var(--text-bright);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 70;
  transition: opacity 0.2s, transform 0.2s;
}

.back-top.is-on {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-2px);
}

body.drawer-open {
  overflow: hidden;
}

/* Light theme */
html[data-theme="light"] {
  --bg: #f4f6fb;
  --bg-elev: #ffffff;
  --surface: rgba(15, 23, 42, 0.03);
  --surface-solid: #ffffff;
  --surface-hover: rgba(15, 23, 42, 0.05);
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.18);
  --text: #334155;
  --text-muted: #64748b;
  --text-bright: #0f172a;
  --accent: #0d9488;
  --accent-2: #2563eb;
  --warm: #b45309;
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(37, 99, 235, 0.1), transparent 55%),
    radial-gradient(700px 420px at 90% 8%, rgba(13, 148, 136, 0.1), transparent 50%),
    linear-gradient(180deg, #eef2ff 0%, #f8fafc 45%, #f1f5f9 100%);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .drawer,
html[data-theme="light"] .modal {
  background: #fff;
}

html[data-theme="light"] .hero-stage:not(.hero-stage--splash) h1 {
  background: linear-gradient(120deg, #0f172a 10%, #1d4ed8 55%, #0f766e 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-theme="light"] .hero-brand {
  color: #0f172a;
  text-shadow: none;
}

html[data-theme="light"] .hero-stage--splash .hero-title {
  color: #1e293b;
  text-shadow: none;
}

html[data-theme="light"] .wf-card__fav,
html[data-theme="light"] .wf-card__share,
html[data-theme="light"] .drawer__close,
html[data-theme="light"] .back-top {
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
}

@media (max-width: 640px) {
  .filter-chip--clear { margin-left: 0; }
  .controls { align-items: stretch; }
  .sort-label { width: 100%; }
  .sort-label select { flex: 1; }
  .wizard-result { grid-template-columns: 24px 56px 1fr; }
  .drawer { width: 100%; }
}

/* ——— Phase 1–3 facade & experience ——— */
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  display: block;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ——— Immersive hero (conversion-first ATF) ——— */
.hero-stage--splash {
  --hero-min: clamp(380px, 52svh, 520px);
  position: relative;
  isolation: isolate;
  min-height: var(--hero-min);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  perspective: 1200px;
}

.hero-stage__viewport {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.45s var(--ease);
}

.hero-stage__bg {
  position: absolute;
  inset: -4%;
  z-index: 0;
  will-change: transform;
}

.hero-stage__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 28%;
  transform: scale(1.06);
  filter: saturate(0.92) contrast(1.04) brightness(0.92);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.hero-stage__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 40% 50%, #000 20%, transparent 75%);
  opacity: 0.4;
}

.hero-stage__glow {
  position: absolute;
  right: -10%;
  top: 8%;
  width: min(56vw, 560px);
  height: min(56vw, 560px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 224, 208, 0.26) 0%, rgba(107, 156, 255, 0.1) 38%, transparent 68%);
  filter: blur(8px);
  z-index: 1;
  pointer-events: none;
  animation: heroGlowPulse 7s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}

.hero-stage--splash .hero-stage__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(5, 6, 10, 0.9) 0%, rgba(5, 6, 10, 0.55) 40%, rgba(5, 6, 10, 0.28) 62%, rgba(5, 6, 10, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.4) 0%, rgba(5, 6, 10, 0.18) 42%, rgba(5, 6, 10, 0.82) 100%);
}

.hero-orbit {
  position: absolute;
  right: clamp(12px, 5vw, 56px);
  top: 50%;
  transform: translateY(-42%);
  z-index: 3;
  display: flex;
  gap: 10px;
  pointer-events: none;
}

.hero-orbit__card {
  width: clamp(64px, 8.5vw, 96px);
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0.35;
  transform: translateY(12px) scale(0.94);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.hero-orbit__card.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

.hero-orbit__card:nth-child(2) { transform: translateY(18px) scale(0.92); }
.hero-orbit__card:nth-child(2).is-on { transform: translateY(8px) scale(0.96); }
.hero-orbit__card:nth-child(3) { transform: translateY(28px) scale(0.88); }
.hero-orbit__card:nth-child(3).is-on { transform: translateY(16px) scale(0.92); }

.hero-stage--splash .hero-stage__content {
  position: relative;
  z-index: 4;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 48px) 20px clamp(40px, 6vh, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--text-bright);
  margin: 0 0 10px;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
  max-width: 16ch;
}

.hero-stage--splash .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 106, 0.35);
  background: rgba(8, 10, 16, 0.55);
  color: var(--warm);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  backdrop-filter: blur(10px);
}

.hero-stage--splash .hero-kicker::before {
  content: none;
}

.hero-stage--splash .hero-title,
.hero-stage--splash h1.hero-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-bright);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  max-width: 22ch;
  margin: 0 0 12px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.hero-title__accent {
  display: inline;
  background: linear-gradient(120deg, #f5f7fa 10%, #7cf0e2 48%, #6b9cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub--lead {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  max-width: 40ch;
  color: #c8d0dc;
  line-height: 1.45;
  margin: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-meta {
  margin-top: 14px;
  font-size: 0.85rem;
}

.hero-meta a {
  color: var(--warm);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
}

.hero-meta a:hover { text-decoration: underline; }

.hero-lockup { display: none; }

/* ATF copy stays readable without JS — never gate value prop on opacity:0 */
.hero-enter {
  opacity: 1;
  transform: none;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 5;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.3s ease, color 0.2s;
}

.hero-scroll:hover { color: var(--accent); opacity: 1; }

.hero-scroll__mouse {
  width: 18px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  position: relative;
}

.hero-scroll__mouse::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  animation: scrollCue 1.6s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 720px) {
  .hero-stage--splash {
    --hero-min: clamp(360px, 62svh, 480px);
  }

  .hero-stage--splash .hero-stage__content {
    padding-bottom: max(52px, calc(env(safe-area-inset-bottom) + 36px));
  }

  .hero-brand { max-width: 12ch; }
  .hero-title { max-width: 16ch; }
  .hero-orbit {
    right: 10px;
    top: auto;
    bottom: 18%;
    transform: none;
    opacity: 0.85;
  }
  .hero-orbit__card { width: 52px; }
  .hero-scroll { bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage__bg img,
  .hero-stage__glow,
  .hero-scroll__mouse::after {
    animation: none !important;
  }
  .hero-enter {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.wf-card--compact .wf-reason {
  display: none;
}

.wf-card--compact .wf-acquire {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (hover: hover) {
  .wf-card--compact:hover .wf-reason,
  .wf-card--compact:focus-within .wf-reason {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 4.5em;
    overflow: hidden;
  }
}

.wf-card__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 2;
}

.heat-mini {
  margin-top: 8px;
}

.heat-mini span {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.heat-mini .stat-bar { height: 5px; }

.vault-chips {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.vault-chip {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 6px;
  border-radius: 999px;
  cursor: pointer;
}

.vault-chip.is-on {
  border-color: rgba(98, 224, 208, 0.5);
  color: var(--accent);
  background: rgba(98, 224, 208, 0.1);
}

.drawer__accent {
  height: 4px;
  width: 100%;
}

.heat-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.compare-verdict {
  margin: 8px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(98, 224, 208, 0.35);
  background: rgba(98, 224, 208, 0.08);
  color: var(--text-bright);
  font-family: var(--font-display);
  font-weight: 600;
}

.shorts-title {
  font-family: var(--font-display);
  color: var(--text-bright);
  margin: 22px 0 10px;
  font-size: 1.05rem;
}

.shorts-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 180px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.short-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-solid);
  isolation: isolate;
}

/* Must be positioning context — otherwise .video-shimmer { inset:0 } covers the viewport */
.short-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 14;
  padding: 0;
  border: none;
  cursor: pointer;
  background: #0a0c12;
  color: inherit;
  overflow: hidden;
}

.short-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.short-facade .video-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.short-facade--pending {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 14;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px dashed var(--border);
}

.short-pending-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.short-card .video-facade {
  aspect-ratio: 9 / 14;
}

.video-card__meta .duration {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.gap-panel {
  max-width: var(--max);
  margin: 10px auto 0;
  padding: 0 20px;
}

.gap-panel__inner {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.gap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  margin: 12px 0;
}

.gap-grid label {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 8px;
}

.onboard .onboard-cards,
.onboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.onboard-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.onboard-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top;
}

.onboard-card p {
  padding: 10px;
  font-weight: 700;
  color: var(--text-bright);
  font-family: var(--font-display);
}

.onboard-farm-list {
  padding-left: 18px;
  color: var(--text-muted);
  margin: 12px 0 18px;
}

.onboard-farm-list li { margin: 8px 0; }

.newsletter-card .section-lead { margin: 0; font-size: 0.9rem; }

.mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.mobile-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px;
}

.mobile-dock a:hover { color: var(--accent); }

.page-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.page-shell h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--text-bright);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.page-shell h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-bright);
  margin: 28px 0 12px;
  letter-spacing: -0.02em;
}

.guide-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 8px;
}

.guide-pick {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-solid);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.guide-pick:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.guide-pick__media {
  aspect-ratio: 4 / 3;
  background: #0a0c12;
  overflow: hidden;
}

.guide-pick__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.guide-pick__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.guide-pick__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-bright);
  font-size: 1.05rem;
}

.guide-pick__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.guide-pick__why {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.45;
  margin: 0;
}

.guide-pick__get {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.guide-pick__get strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 4px;
}

.guide-steps {
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: gstep;
  display: grid;
  gap: 10px;
}

.guide-steps li {
  counter-increment: gstep;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.guide-steps li::before {
  content: counter(gstep);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bg);
  background: linear-gradient(135deg, #7cf0e2, #6b9cff);
}

.guide-steps strong {
  display: block;
  color: var(--text-bright);
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.guide-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 12px 0 24px;
}

.guide-media a {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0c12;
}

.guide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.guide-media__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 6, 10, 0.55));
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.guide-media__play span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7cf0e2, #6b9cff);
  display: grid;
  place-items: center;
  color: #061018;
  margin-bottom: 8px;
}

.guide-footer-cta {
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(98, 224, 208, 0.28);
  background: rgba(98, 224, 208, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.guide-footer-cta p {
  margin: 0;
  max-width: 42ch;
  color: var(--text);
}

@media (max-width: 800px) {
  .guide-picks { grid-template-columns: 1fr; }
  .guide-media { grid-template-columns: 1fr; }
}

.changelog-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.02);
}

.changelog-item h2 {
  font-family: var(--font-display);
  color: var(--text-bright);
  font-size: 1.1rem;
}

.changelog-item time {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .mobile-dock { display: grid; }
  body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage__bg img { animation: none; }
}

.wizard-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 8px;
  color: var(--accent);
  background: rgba(98, 224, 208, 0.1);
  border: 1px solid rgba(98, 224, 208, 0.25);
  flex-shrink: 0;
  line-height: 0;
}

.wizard-card__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
