/* Tuesday Reset — dark gaming dashboard theme.
   Self-hosted fonts only. No ads, no trackers, no third-party requests.
   All decoration is pure CSS or inline SVG (no game art). */

@font-face {
  font-family: "Oxanium";
  src: url("../fonts/oxanium.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans.woff") format("woff");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060911;
  --bg-2: #0a0f1d;
  --panel: rgba(14, 20, 38, 0.78);
  --panel-solid: #0e1426;
  --panel-2: rgba(20, 28, 52, 0.85);
  --line: rgba(130, 170, 255, 0.13);
  --line-strong: rgba(130, 170, 255, 0.26);
  --text: #e8eef9;
  --muted: #a3afc6;
  --dim: #7f8ba3;
  --cyan: #3ee8ff;
  --cyan-2: #14b8d4;
  --violet: #a78bfa;
  --amber: #ffc35c;
  --green: #4ade80;
  --tk-bg: #ffc35c;
  --tk-ink: #1a1203;
  --glow-cyan: 0 0 0 1px rgba(62, 232, 255, 0.35), 0 0 24px rgba(62, 232, 255, 0.18);
  --display: "Oxanium", "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --ui: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 56rem;
  --max-wide: 74rem;
  --pad: clamp(1rem, 3vw, 1.75rem);
  color-scheme: dark;
}

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

html {
  font-size: 106.25%; /* 17px */
  scroll-behavior: smooth;
  background: var(--bg);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ui);
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(60rem 40rem at 8% -10%, rgba(62, 232, 255, 0.13), transparent 60%),
    radial-gradient(50rem 36rem at 100% 0%, rgba(167, 139, 250, 0.14), transparent 60%),
    radial-gradient(40rem 30rem at 50% 110%, rgba(255, 195, 92, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* grid + noise texture, CSS only */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background-image:
    linear-gradient(rgba(130, 170, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 170, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
}
body::after {
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

::selection { background: rgba(62, 232, 255, 0.3); color: #fff; }

a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(62, 232, 255, 0.4);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color .15s, text-decoration-color .15s, text-shadow .15s;
}
a:hover { color: #9ff4ff; text-decoration-color: currentColor; text-shadow: 0 0 12px rgba(62, 232, 255, 0.5); }

:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--amber);
  color: var(--tk-ink);
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

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

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 9, 17, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 232, 255, .55), rgba(167, 139, 250, .55), transparent);
  opacity: .6;
}
.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: .7rem var(--pad);
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.wordmark:hover { color: var(--text); text-shadow: none; }
.logo-mark {
  width: 40px; height: 40px;
  filter: drop-shadow(0 0 8px rgba(62, 232, 255, .45));
  transition: transform .4s ease;
}
.wordmark:hover .logo-mark { transform: rotate(-30deg); }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wordmark-tag {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reset-chip {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .32rem .75rem;
  border: 1px solid rgba(255, 195, 92, .35);
  border-radius: 999px;
  background: rgba(255, 195, 92, .07);
  color: var(--amber);
  font-family: var(--display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.pulse, .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2s infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 195, 92, .6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 195, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 195, 92, 0); }
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: .25rem;
  display: flex;
  gap: .2rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.site-nav a {
  display: block;
  padding: .42rem .85rem;
  border-radius: 9px;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background .15s, box-shadow .15s;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); text-shadow: none; }
.site-nav a[aria-current="page"] {
  color: #04121a;
  background: linear-gradient(135deg, var(--cyan), #7dd3fc);
  box-shadow: 0 0 18px rgba(62, 232, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* ---------- Layout ---------- */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) var(--pad) 4rem;
}
.page--wide, .page--home { max-width: var(--max-wide); }

.panel {
  background: linear-gradient(180deg, rgba(20, 28, 52, .82), rgba(12, 18, 34, .82));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
  position: relative;
}
.panel::before {
  content: "";
  position: absolute;
  top: -1px; left: 2rem; right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .7;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: .01em;
  color: #f4f7ff;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: .2rem 0 1rem;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  font-weight: 700;
  margin: 2.4rem 0 .8rem;
}
h3 { font-size: 1.12rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
p, ul, ol { margin: 0 0 1rem; }
.prose li + li { margin-top: .35rem; }
strong { color: #fff; font-weight: 600; }
code {
  font-size: .88em;
  padding: .1em .4em;
  border-radius: 6px;
  background: rgba(62, 232, 255, .08);
  border: 1px solid rgba(62, 232, 255, .2);
  color: #b9f6ff;
}

.prose h2 {
  display: flex;
  align-items: center;
  gap: .7rem;
  scroll-margin-top: 6rem;
}
.prose h2::before {
  content: "";
  width: 4px;
  height: 1.1em;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(62, 232, 255, .6);
  flex: none;
}
.prose > :first-child { margin-top: 0; }
.prose ul li::marker { color: var(--cyan); }
.prose ol li::marker { color: var(--cyan); font-family: var(--display); font-weight: 700; }

.grad {
  background: linear-gradient(100deg, var(--cyan) 0%, #7dd3fc 40%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(62, 232, 255, .25));
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.lede { font-size: 1.15rem; color: #c9d3e6; max-width: 40rem; }
.muted { color: var(--muted); }

.verified {
  display: inline-block;
  padding: .45rem .85rem;
  margin-bottom: 1.25rem;
  font-size: .86rem;
  color: #c7f9d9;
  background: rgba(74, 222, 128, .07);
  border: 1px solid rgba(74, 222, 128, .28);
  border-radius: 10px;
}
.verified::before {
  content: "";
  display: inline-block;
  width: 1rem; height: 1rem;
  margin-right: .45rem;
  vertical-align: -.18em;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.3 8 11 4.6-1.7 8-6 8-11V5z M10.5 15.5l-3.5-3.5 1.4-1.4 2.1 2.1 4.6-4.6 1.4 1.4z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.3 8 11 4.6-1.7 8-6 8-11V5z M10.5 15.5l-3.5-3.5 1.4-1.4 2.1 2.1 4.6-4.6 1.4 1.4z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}
.verified time { color: #fff; font-weight: 600; }

/* [TK] markers stay loud on purpose */
mark.tk {
  background: rgba(255, 195, 92, .14);
  color: var(--amber);
  border: 1px dashed rgba(255, 195, 92, .65);
  padding: .05em .45em;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .88em;
  letter-spacing: .02em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin-bottom: 1.25rem; font-size: .82rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumbs li { margin: 0; color: var(--muted); display: inline-flex; align-items: center; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .45rem; color: var(--dim); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current] { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.35rem;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .03em;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn--primary {
  color: #03121a;
  background: linear-gradient(135deg, var(--cyan), #7dd3fc);
  box-shadow: 0 0 0 1px rgba(62, 232, 255, .5), 0 10px 30px -8px rgba(62, 232, 255, .55);
}
.btn--primary::after { content: "→"; transition: transform .2s; }
.btn--primary:hover { color: #03121a; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(62, 232, 255, .8), 0 14px 38px -8px rgba(62, 232, 255, .8); text-shadow: none; }
.btn--primary:hover::after { transform: translateX(3px); }
.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { color: #fff; border-color: rgba(167, 139, 250, .7); box-shadow: 0 0 22px rgba(167, 139, 250, .3); transform: translateY(-2px); text-shadow: none; }

/* ---------- Home hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(.5rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.04; letter-spacing: -.01em; }
.hero .kicker {
  padding: .35rem .8rem;
  border: 1px solid rgba(255, 195, 92, .35);
  border-radius: 999px;
  background: rgba(255, 195, 92, .07);
  color: var(--amber);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }

.reset-panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(22, 32, 60, .92), rgba(10, 15, 30, .92)) padding-box,
    linear-gradient(140deg, rgba(62, 232, 255, .8), rgba(167, 139, 250, .5) 45%, rgba(255, 195, 92, .6)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 60px -10px rgba(62, 232, 255, .35), 0 40px 80px -40px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.reset-panel::before {
  /* scanline sheen */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.reset-panel::after {
  content: "";
  position: absolute;
  width: 22rem; height: 22rem;
  right: -8rem; top: -10rem;
  background: radial-gradient(circle, rgba(62, 232, 255, .22), transparent 65%);
  pointer-events: none;
}
.reset-panel > * { position: relative; z-index: 1; }
.reset-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.reset-panel h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.reset-panel h2 .icon { color: var(--cyan); width: 1.3rem; height: 1.3rem; }

.region-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line);
}
.region-toggle[hidden] { display: none; }
.region-toggle button {
  font: 700 .8rem/1 var(--display);
  letter-spacing: .08em;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: .45rem .8rem;
  border-radius: 7px;
  cursor: pointer;
}
.region-toggle button[aria-pressed="true"] {
  color: #03121a;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(62, 232, 255, .55);
}

.countdown[hidden] { display: none; }
.cd-tiles {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(.25rem, 1vw, .6rem);
}
.cd-tile {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(.7rem, 2vw, 1.1rem) .25rem clamp(.6rem, 1.5vw, .9rem);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(62, 232, 255, .10), rgba(62, 232, 255, .02) 50%, rgba(0, 0, 0, .25) 50.5%, rgba(0, 0, 0, .1)),
    #0a1124;
  border: 1px solid rgba(62, 232, 255, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 24px rgba(62, 232, 255, .08), 0 0 22px -4px rgba(62, 232, 255, .35);
  position: relative;
}
.cd-tile::after {
  /* split-flap seam */
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, .55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05);
}
.cd-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1;
  color: #eaffff;
  text-shadow: 0 0 10px rgba(62, 232, 255, .9), 0 0 32px rgba(62, 232, 255, .55);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.cd-tile:first-child .cd-num { color: #fff3dc; text-shadow: 0 0 10px rgba(255, 195, 92, .9), 0 0 32px rgba(255, 195, 92, .5); }
.cd-tile:first-child { border-color: rgba(255, 195, 92, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 24px rgba(255, 195, 92, .08), 0 0 22px -4px rgba(255, 195, 92, .35); }
.cd-label {
  margin-top: .55rem;
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.cd-sep {
  align-self: center;
  margin-top: -1.4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  color: rgba(62, 232, 255, .7);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.cd-progress {
  margin-top: 1.4rem;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}
.cd-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--amber));
  box-shadow: 0 0 12px rgba(62, 232, 255, .7);
  transition: width .8s ease;
}
.cd-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin: .6rem 0 0;
  font-size: .8rem;
  color: var(--muted);
}
.reset-list {
  list-style: none;
  padding: 1rem 0 0;
  margin: 1.1rem 0 .6rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .45rem;
  font-size: .92rem;
}
.reset-list li { margin: 0; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.region-tag {
  font: 700 .7rem/1 var(--display);
  letter-spacing: .1em;
  padding: .3rem .5rem;
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(62, 232, 255, .1);
  border: 1px solid rgba(62, 232, 255, .35);
}
.region-tag--eu { color: var(--violet); background: rgba(167, 139, 250, .1); border-color: rgba(167, 139, 250, .4); }
.reset-source { margin: 0; font-size: .85rem; }

/* ---------- Tiles ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.tile {
  --accent: var(--cyan);
  --accent-rgb: 62, 232, 255;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 30, 56, .85), rgba(12, 17, 33, .85));
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .8;
}
.tile::after {
  content: "";
  position: absolute;
  width: 16rem; height: 16rem;
  right: -6rem; bottom: -8rem;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 65%);
  pointer-events: none;
  transition: opacity .25s;
  opacity: .6;
}
.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .25), 0 0 34px -6px rgba(var(--accent-rgb), .45), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.tile:hover::after { opacity: 1; }
.tile--violet { --accent: var(--violet); --accent-rgb: 167, 139, 250; }
.tile--amber { --accent: var(--amber); --accent-rgb: 255, 195, 92; }
.tile--feature { grid-column: 1 / -1; }
.tile h2 { margin: .35rem 0 .7rem; font-size: 1.35rem; }
.tile--feature h2 { font-size: clamp(1.35rem, 2.8vw, 1.85rem); max-width: 48rem; }
.tile p:last-child { margin-bottom: 0; }
.tile .kicker { color: var(--accent); margin: 0; }
.tile-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.tile-icon {
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 11px;
  color: var(--accent);
  background: rgba(var(--accent-rgb), .1);
  border: 1px solid rgba(var(--accent-rgb), .35);
  box-shadow: 0 0 18px -4px rgba(var(--accent-rgb), .6);
}
.tile .date { margin: 0 0 0 auto; font-size: .85rem; color: var(--muted); font-family: var(--display); font-weight: 600; letter-spacing: .04em; }
.tile a { color: var(--accent); text-decoration-color: rgba(var(--accent-rgb), .45); }
.tile a:hover { color: #fff; text-shadow: 0 0 12px rgba(var(--accent-rgb), .6); }

.stat-row {
  list-style: none;
  padding: 0;
  margin: .4rem 0 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.stat-row li {
  margin: 0;
  padding: .75rem .9rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.stat-label { font: 700 .68rem/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stat-value { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #fff; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.1rem;
  border-radius: 11px;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(62, 232, 255, .45);
  background: rgba(62, 232, 255, .08);
}
.tile .card-link { text-decoration: none; }
.card-link::after { content: "→"; transition: transform .2s; }
.card-link:hover::after { transform: translateX(4px); }
.tile .card-link:hover { background: rgba(62, 232, 255, .16); box-shadow: 0 0 22px rgba(62, 232, 255, .35); }

/* ---------- Weekly brief ---------- */
.tldr {
  margin: .5rem 0 1.75rem;
  padding: 1.25rem 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(62, 232, 255, .1), rgba(167, 139, 250, .08));
  border: 1px solid rgba(62, 232, 255, .35);
  box-shadow: 0 0 30px -10px rgba(62, 232, 255, .4);
}
.prose .tldr h2 { margin: 0 0 .7rem; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.prose .tldr h2::before { display: none; }
.tldr ul { margin: 0; padding-left: 1.1rem; }

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.brief-sec {
  --accent: var(--cyan);
  --accent-rgb: 62, 232, 255;
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.brief-sec:hover { transform: translateY(-2px); box-shadow: 0 0 26px -8px rgba(var(--accent-rgb), .55); border-color: rgba(var(--accent-rgb), .45); border-left-color: var(--accent); }
.brief-sec--bonus { --accent: var(--green); --accent-rgb: 74, 222, 128; }
.brief-sec--season { --accent: var(--violet); --accent-rgb: 167, 139, 250; }
.brief-sec--holidays, .brief-sec--logoff { --accent: var(--amber); --accent-rgb: 255, 195, 92; }
.brief-sec--ending { --accent: #fb7185; --accent-rgb: 251, 113, 133; }
.prose .brief-sec h2 { margin: .1rem 0 .55rem; font-size: 1.12rem; }
.prose .brief-sec h2::before { display: none; }
.brief-sec p:last-child, .brief-sec ul:last-child { margin-bottom: 0; }
.brief-sec p { font-size: .95rem; }
.sec-tag {
  margin: 0;
  font: 700 .68rem/1 var(--display);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; align-items: center; gap: .6rem; }
.checklist li::before {
  content: "";
  width: 1.05rem; height: 1.05rem;
  border-radius: 5px;
  border: 1.5px solid var(--amber);
  box-shadow: 0 0 8px rgba(255, 195, 92, .4);
  flex: none;
}

.sources {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
}
.prose .sources h2 { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 0; }
.prose .sources h2::before { display: none; }

.archive {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(14, 20, 38, .7);
  border: 1px solid var(--line);
}
.archive h2 { margin: 0 0 .75rem; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.archive ul { list-style: none; margin: 0; padding: 0; }
.archive a {
  display: block;
  padding: .8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .2);
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.archive a:hover { border-color: rgba(62, 232, 255, .5); box-shadow: 0 0 20px -6px rgba(62, 232, 255, .5); text-shadow: none; }
.archive time { color: var(--cyan); font-family: var(--display); font-weight: 700; margin-right: .3rem; }

/* ---------- Guides ---------- */
.guide-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.toc {
  position: sticky;
  top: 5.5rem;
  padding: 1.1rem;
  border-radius: 14px;
  background: rgba(14, 20, 38, .7);
  border: 1px solid var(--line);
}
.toc-title { margin: 0 0 .6rem; font: 700 .7rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a {
  display: flex;
  gap: .6rem;
  padding: .45rem .55rem;
  border-radius: 8px;
  font-size: .86rem;
  line-height: 1.35;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid transparent;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font: 700 .75rem/1.6 var(--display); color: var(--dim); }
.toc a:hover { color: var(--text); background: rgba(62, 232, 255, .06); border-left-color: var(--cyan); text-shadow: none; }
.toc a:hover::before { color: var(--cyan); }

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
}
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
caption {
  caption-side: top;
  text-align: left;
  padding: .8rem 1rem;
  font-size: .82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
th, td { text-align: left; vertical-align: top; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
thead th {
  font: 700 .72rem/1.3 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(62, 232, 255, .05);
}
tbody th { color: #fff; font-family: var(--display); font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: rgba(62, 232, 255, .045); }

.era-list { display: grid; gap: .6rem; margin: 1rem 0 1.5rem; }
.era-list details {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
  transition: border-color .2s, box-shadow .2s;
}
.era-list details[open] { border-color: rgba(167, 139, 250, .5); box-shadow: 0 0 24px -8px rgba(167, 139, 250, .5); }
.era-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.05rem;
  font-family: var(--display);
  font-weight: 700;
}
.era-list summary::-webkit-details-marker { display: none; }
.era-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.6rem; height: 1.6rem;
  flex: none;
  border-radius: 7px;
  color: var(--violet);
  border: 1px solid rgba(167, 139, 250, .45);
  font-size: 1.1rem;
  line-height: 1;
}
.era-list details[open] summary::after { content: "−"; }
.era-list summary:hover { color: var(--violet); }
.era-list details > p { margin: 0; padding: 0 1.05rem 1rem; }

.faq { margin-top: 2.5rem; }
.faq-item {
  padding: 1rem 1.15rem;
  margin-bottom: .75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.faq-item:hover { border-color: rgba(62, 232, 255, .4); transform: translateX(3px); }
.faq-item h3 { margin: 0 0 .35rem; font-size: 1.02rem; color: var(--cyan); }
.faq-item p:last-child { margin-bottom: 0; }

.pad-diagram {
  margin: 1rem 0 1.5rem;
  padding: 1.25rem;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(62, 232, 255, .12), transparent 65%),
    rgba(0, 0, 0, .3);
  border: 1px solid rgba(62, 232, 255, .25);
  overflow-x: auto;
  color: #bdf6ff;
}
.pad-diagram svg { display: block; width: 100%; min-width: 34rem; height: auto; filter: drop-shadow(0 0 6px rgba(62, 232, 255, .45)); }
.pad-diagram figcaption { margin-top: .75rem; font-size: .82rem; color: var(--muted); }

.untested {
  margin: 1.5rem 0;
  padding: 1.2rem 1.35rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 195, 92, .55);
  background: rgba(255, 195, 92, .05);
}
.untested > p:first-child {
  display: inline-block;
  margin: 0 0 .4rem;
  padding: .25rem .6rem;
  border-radius: 6px;
  font: 700 .7rem/1 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tk-ink);
  background: var(--amber);
}
.untested h3 { margin-top: .2rem; color: var(--amber); }

.related {
  margin-top: 2.5rem;
  padding: .9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .2);
  font-size: .92rem;
  color: var(--muted);
}

/* ---------- Signup card ---------- */
.signup {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26, 22, 58, .95), rgba(10, 18, 36, .95)) padding-box,
    linear-gradient(120deg, rgba(167, 139, 250, .8), rgba(62, 232, 255, .6), rgba(255, 195, 92, .5)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 60px -20px rgba(167, 139, 250, .55), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.page:not(.page--home):not(.page--wide) .signup { grid-template-columns: 1fr; }
.signup-glow {
  position: absolute;
  inset: auto -10% -60% auto;
  width: 30rem; height: 30rem;
  background: radial-gradient(circle, rgba(167, 139, 250, .3), transparent 65%);
  pointer-events: none;
}
.signup > :not(.signup-glow) { position: relative; }
.signup .kicker { color: var(--violet); }
.signup h2 { margin: 0 0 .6rem; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.signup .pitch { color: #cfd8ea; margin-bottom: .9rem; }
.signup-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .86rem; color: var(--muted); }
.signup-perks li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.signup-perks li::before { content: "✓"; color: var(--green); font-weight: 700; }
.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: end;
  padding: 1.1rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line);
}
.signup-field { display: grid; gap: .35rem; }
.signup-form label { font: 700 .7rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.signup-form input {
  width: 100%;
  padding: .8rem 1rem;
  font: inherit;
  color: var(--text);
  background: rgba(6, 9, 17, .8);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  transition: border-color .2s, box-shadow .2s;
}
.signup-form input::placeholder { color: var(--dim); }
.signup-form input:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.signup-form input:disabled { opacity: .75; cursor: not-allowed; }
.signup-form button {
  padding: .82rem 1.3rem;
  font: 700 .98rem/1.2 var(--display);
  letter-spacing: .03em;
  color: #120a26;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 10px 30px -8px rgba(167, 139, 250, .7);
  cursor: pointer;
}
.signup-form button:disabled { cursor: not-allowed; opacity: .8; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .82rem; }

.signup-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line);
}
.signup-cta .btn { text-decoration: none; align-self: stretch; justify-content: center; text-align: center; }
.signup-cta .form-note { color: var(--muted); }


/* ---------- Footer ---------- */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 12, .7);
}
.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 2rem var(--pad) 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 2rem;
  align-items: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font: 700 1rem/1 var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.footer-brand .logo-mark { width: 30px; height: 30px; }
.footer-brand:hover { color: var(--text); text-shadow: none; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.4rem; font-size: .9rem; }
.footer-nav li { margin: 0; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--cyan); }
.disclaimer {
  grid-column: 1 / -1;
  margin: .5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  line-height: 1.6;
  color: var(--dim);
}

/* Reusable label for future sponsor blocks. Do not place this on a page
   until a sponsored section is actually added. */
.tag-sponsored {
  display: inline-block;
  font: 700 .68rem/1 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .3rem .55rem;
  border-radius: 6px;
  color: var(--amber);
  background: rgba(255, 195, 92, .12);
  border: 1px solid rgba(255, 195, 92, .4);
  box-shadow: 0 0 10px rgba(255, 195, 92, .15);
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .reset-chip { display: none; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .toc { min-width: 0; }
  .toc { position: static; padding: .8rem; }
  .toc ol { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: thin; }
  .toc a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .75rem; }
  .signup { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; padding-bottom: .55rem; }
  .site-nav { width: 100%; }
  .site-nav ul { overflow-x: auto; scrollbar-width: none; }
  .site-nav ul::-webkit-scrollbar { display: none; }
  .site-nav li { flex: 1 0 auto; }
  .site-nav a { text-align: center; padding: .45rem .7rem; font-size: .85rem; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile--feature { grid-column: auto; }
  .brief-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  html { font-size: 100%; }
  .wordmark-tag { display: none; }
  .logo-mark { width: 34px; height: 34px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row li { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .cd-sep { display: none; }
  .cd-tiles { gap: .4rem; }
  .cd-label { font-size: .58rem; letter-spacing: .14em; }
  .signup-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .hero-actions .btn { flex: 1 1 auto; padding: .75rem .9rem; }
  .site-nav ul { flex-wrap: wrap; justify-content: center; overflow: visible; }
  .site-nav li { flex: 0 1 auto; }
  .site-nav a { padding: .4rem .6rem; }
  .tile .date { margin-left: 0; width: 100%; }
}

@media print {
  body { background: #fff; color: #000; }
  body::before, body::after { display: none; }
  .site-header, .site-nav, .signup, .skip-link, .site-footer nav, .toc, .reset-chip { display: none; }
  .panel, .tile { box-shadow: none; background: none; border-color: #ccc; }
}
