
:root {
  --navy-950: #06152b;
  --navy-900: #0a2242;
  --navy-800: #0d315d;
  --blue-500: #1f87ff;
  --cyan-400: #38c8ff;
  --coral-500: #ff5b45;
  --orange-400: #ff9f43;
  --paper: #f5f8fc;
  --ink: #10213a;
  --muted: #5c6b7e;
  --line: #dce5f0;
  --success: #21a67a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.hero {
  min-height: 760px;
  overflow: hidden;
  position: relative;
  color: white;
  background:
    radial-gradient(circle at 77% 40%, rgba(31, 135, 255, 0.28), transparent 31rem),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 52%, #0a2d59 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.72;
}

.ambient-one {
  width: 240px;
  height: 240px;
  top: -150px;
  left: 9%;
  background: rgba(255, 91, 69, 0.24);
}

.ambient-two {
  width: 390px;
  height: 390px;
  right: -210px;
  bottom: -140px;
  background: rgba(56, 200, 255, 0.17);
}

.topbar,
.hero-grid,
.lesson,
.next-time,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 2;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: white;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(145deg, var(--coral-500), var(--orange-400));
  box-shadow: 0 10px 28px rgba(255, 91, 69, 0.25);
}

.simulation-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 10px 15px;
  color: #d8e9ff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-400);
  box-shadow: 0 0 0 5px rgba(255, 159, 67, 0.12);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
  padding: 78px 0 94px;
}

.score {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #d8e9ff;
  background: rgba(2, 11, 26, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.score strong {
  min-width: 24px;
  color: white;
  font-size: 1.1rem;
  text-align: center;
}

.score strong:first-of-type {
  color: #ff806e;
}

.score i {
  color: #718cac;
  font-style: normal;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--orange-400);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 8.4vw, 7.4rem);
  line-height: 0.89;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: #c4d8ef;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.72;
}

.relief-note {
  max-width: 555px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 31px;
  padding: 16px 18px;
  border: 1px solid rgba(82, 222, 175, 0.24);
  border-radius: 16px;
  background: rgba(26, 151, 111, 0.12);
}

.relief-note > span {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #092d24;
  background: #55ddb1;
  font-weight: 900;
}

.relief-note p {
  margin: 0;
  color: #cfeee3;
  line-height: 1.55;
}

.relief-note strong {
  color: white;
}

.hero-visual {
  position: relative;
  margin: 0;
  animation: arrive 700ms ease-out both;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  box-shadow: 0 40px 90px rgba(0, 7, 22, 0.48);
}

.image-glow {
  position: absolute;
  z-index: 0;
  inset: 8% 6% 12%;
  border-radius: 40px;
  background: rgba(41, 141, 255, 0.5);
  filter: blur(50px);
}

.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  max-width: 320px;
  padding: 11px 14px;
  border-radius: 12px;
  color: #e6f1ff;
  background: rgba(3, 16, 36, 0.82);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  line-height: 1.45;
}

.lesson {
  padding: 104px 0 112px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 47px;
}

.section-heading h2,
.next-time h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child,
.next-time-copy > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.signs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sign-card {
  min-height: 255px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 50px rgba(21, 47, 77, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sign-card:hover {
  transform: translateY(-5px);
  border-color: #b6cbe2;
  box-shadow: 0 24px 60px rgba(21, 47, 77, 0.11);
}

.card-number {
  display: block;
  margin-bottom: 42px;
  color: var(--coral-500);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.sign-card h3 {
  margin: 0 0 11px;
  color: var(--navy-950);
  font-size: 1.06rem;
}

.sign-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.62;
}

.next-time {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
  padding: 48px 52px;
  border-radius: 32px;
  background: white;
  box-shadow: 0 30px 90px rgba(21, 47, 77, 0.1);
}

.report-button {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  min-height: 112px;
  padding: 23px 26px;
  border-radius: 20px;
  color: white;
  background: linear-gradient(135deg, var(--coral-500), #e64638);
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(236, 70, 55, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.report-button:hover,
.report-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 23px 50px rgba(236, 70, 55, 0.34);
}

.report-button span {
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.82;
}

.report-button strong {
  font-size: clamp(1.15rem, 2vw, 1.48rem);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

footer p {
  margin: 0;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    max-width: 760px;
  }

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

  .next-time {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar,
  .hero-grid,
  .lesson,
  .next-time,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    min-height: 76px;
  }

  .simulation-pill {
    padding: 8px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }

  .hero-grid {
    gap: 42px;
    padding: 47px 0 66px;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 20vw, 5.6rem);
  }

  .lead {
    margin-top: 24px;
  }

  .score {
    transform: scale(0.92);
    transform-origin: left center;
  }

  .hero-visual img {
    border-radius: 21px;
  }

  .hero-visual figcaption {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.08);
  }

  .lesson {
    padding: 78px 0;
  }

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

  .sign-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 26px;
  }

  .next-time {
    width: 100%;
    margin-bottom: 64px;
    padding: 38px 22px;
    border-radius: 0;
  }

  footer {
    flex-direction: column;
    padding-bottom: 30px;
  }
}
