:root {
  color-scheme: dark;
  --bg: #050814;
  --panel: #0d1322;
  --panel-strong: #121a2d;
  --text: #f4f7fb;
  --muted: #9aa6bf;
  --border: rgba(125, 211, 252, 0.14);
  --accent: #7dd3fc;
  --accent-soft: rgba(125, 211, 252, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --radius-small: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(125, 211, 252, 0.12), transparent 32%),
    linear-gradient(180deg, #07101d 0%, var(--bg) 48%, #04070f 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 85%);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #02111f;
}

.skip-link:focus {
  left: 1rem;
}

.page-shell {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero,
.section-card {
  backdrop-filter: blur(14px);
  background: rgba(10, 16, 30, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 7vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-intro,
.section-header p,
.countdown-status,
.timeline-summary,
.update-summary,
.footer,
.poll-note,
.deadline-meta p {
  color: var(--muted);
}

.hero-intro {
  max-width: 42rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.last-updated {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
}

.jump-link:hover,
.jump-link:focus-visible,
.poll-option:hover,
.poll-option:focus-visible {
  border-color: rgba(125, 211, 252, 0.45);
  background: rgba(125, 211, 252, 0.08);
}

.countdown-panel {
  padding: 1.25rem;
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.08), rgba(125, 211, 252, 0.02));
  border: 1px solid rgba(125, 211, 252, 0.18);
}

.countdown-label {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.deadline-meta {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.deadline-meta p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.countdown-card {
  padding: 1rem;
  border-radius: var(--radius-small);
  background: rgba(6, 10, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.countdown-value {
  display: block;
  font-size: clamp(2rem, 9vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.countdown-unit {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-status {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.countdown-panel.is-expired {
  border-color: rgba(255, 255, 255, 0.08);
}

.countdown-panel.is-expired .countdown-card {
  opacity: 0.72;
}

.section-card {
  margin-top: 1rem;
  padding: 1.25rem;
}

.section-header {
  margin-bottom: 1.25rem;
}

.section-header h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.3rem, 4vw, 2rem);
  letter-spacing: -0.03em;
}

.section-header p {
  margin-bottom: 0;
  line-height: 1.65;
}

.poll-actions {
  display: grid;
  gap: 0.75rem;
}

.poll-option {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.poll-option:disabled {
  cursor: default;
  opacity: 0.78;
  transform: none;
}

.poll-option.is-selected {
  border-color: rgba(125, 211, 252, 0.45);
  background: rgba(125, 211, 252, 0.12);
}

.poll-results {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.poll-result-row {
  display: grid;
  gap: 0.35rem;
}

.poll-result-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.95rem;
}

.poll-result-bar {
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.poll-result-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.56), var(--accent));
  transition: width 0.25s ease;
}

.poll-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.updates-list,
.timeline-list {
  display: grid;
  gap: 0.9rem;
}

.update-card,
.timeline-item {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.update-time,
.timeline-time {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.update-card h3,
.timeline-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.update-summary,
.timeline-summary {
  margin-bottom: 0;
  line-height: 1.65;
}

.footer {
  padding: 1.25rem 0.35rem 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.noscript-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #fff2c5;
  color: #3d2d00;
  font-family: "Inter", system-ui, sans-serif;
  text-align: center;
}

@media (min-width: 760px) {
  .page-shell {
    padding-top: 3rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
    align-items: stretch;
    gap: 2rem;
    padding: 2rem;
  }

  .section-card {
    padding: 1.5rem;
  }

  .hero-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .poll-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
