:root {
  color-scheme: dark;
  --ink: #fff8ed;
  --muted: #c5d0d3;
  --night: #07080d;
  --panel: rgba(10, 12, 17, 0.76);
  --line: rgba(255, 255, 255, 0.16);
  --cyan: #66f7ff;
  --coral: #ff6262;
  --gold: #ffd166;
  --lime: #9cff8f;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(7, 8, 13, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  gap: 18px;
}

.brand {
  font-weight: 950;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.source-link {
  min-height: 34px;
  padding: 8px 12px;
  color: #101216;
  background: var(--gold);
  border-radius: 6px;
}

.hero {
  min-height: 92vh;
  padding: 104px 0 64px;
  background:
    linear-gradient(90deg, rgba(7, 8, 13, 0.96) 0%, rgba(7, 8, 13, 0.8) 42%, rgba(7, 8, 13, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 8, 13, 0) 70%, var(--night) 100%),
    url("assets/countdown-city.png") center / cover no-repeat;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(54px, 10vw, 132px);
  line-height: 0.88;
  text-wrap: balance;
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.25;
}

.hero-copy strong {
  color: var(--ink);
}

.countdown-board {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(280px, 430px);
  width: min(720px, 100%);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 98, 98, 0.28), transparent 40%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.days {
  min-height: 210px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border-right: 1px solid var(--line);
}

.days strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: white;
  font-size: clamp(72px, 12vw, 124px);
  line-height: 0.92;
  text-overflow: ellipsis;
  text-shadow: 0 0 36px rgba(255, 98, 98, 0.62);
}

.days span {
  color: var(--gold);
  font-size: 20px;
  font-weight: 950;
  text-transform: uppercase;
}

.ticks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.ticks span {
  display: grid;
  min-height: 210px;
  place-items: center;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.ticks span:last-child {
  border-right: 0;
}

.ticks strong {
  display: block;
  color: white;
  font-size: clamp(42px, 8vw, 70px);
  line-height: 1;
}

.ticks small {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.status {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: #101216;
  font-weight: 950;
  text-decoration: none;
  background: var(--gold);
  border: 1px solid transparent;
  border-radius: 6px;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, calc(100% - 32px));
  margin: -32px auto 0;
  overflow: hidden;
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.proof-row div {
  min-height: 108px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.proof-row div:last-child {
  border-right: 0;
}

.proof-row strong,
.proof-row span {
  display: block;
}

.proof-row strong {
  font-size: 38px;
  line-height: 1;
}

.proof-row span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 0;
}

.page {
  min-height: 100vh;
  padding-top: 48px;
}

.section h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.98;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.reason-grid article {
  min-height: 190px;
  padding: 22px;
  background: #10141a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.reason-grid h3 {
  margin: 0;
  color: white;
  font-size: 24px;
}

.reason-grid p,
.install-status p,
.disclaimer p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.install-status {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.install-status p {
  max-width: 680px;
  margin: 18px 0 0;
}

.disclaimer {
  padding-bottom: 84px;
}

.disclaimer p {
  max-width: 920px;
  padding: 22px;
  background: #0d1117;
  border-left: 4px solid var(--coral);
}

.text-page {
  max-width: 780px;
  margin-top: 26px;
  padding-bottom: 80px;
}

.text-page p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 760px) {
  .nav {
    min-height: 58px;
  }

  .nav-links {
    gap: 10px;
    font-size: 12px;
  }

  .nav-links a:not(.source-link) {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 88px;
  }

  .countdown-board {
    grid-template-columns: 1fr;
  }

  .days {
    min-height: 154px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ticks span {
    min-height: 116px;
  }

  .proof-row,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .proof-row {
    margin-top: -20px;
  }

  .proof-row div {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .proof-row div:last-child {
    border-bottom: 0;
  }

  .install-status,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}
