:root {
  --night: #0D1117;
  --abyss: #1B2433;
  --slate: #2E3A4D;
  --ivory: #F2F2F0;
  --gold: #FFB84D;
  --gold-deep: #E29A2E;
  --border: #344152;
  --muted: #AAB2BE;
  --panel: rgba(13, 17, 23, 0.72);
  --panel-strong: rgba(13, 17, 23, 0.88);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.40);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ivory);
  background:
    linear-gradient(180deg, rgba(3, 8, 15, .18) 0%, rgba(3, 8, 15, .20) 42%, rgba(3, 8, 15, .72) 100%),
    url('assets/solstice-horizon.webp') center 52% / cover no-repeat fixed,
    var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 76%, rgba(255, 184, 77, .12), transparent 24rem),
    linear-gradient(90deg, rgba(8, 13, 20, .42), transparent 28%, transparent 72%, rgba(8, 13, 20, .42));
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 64px));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.site-header {
  width: min(900px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 28px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(235px, 23vw, 330px);
  height: auto;
}

.hero {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 42px;
  transform: translateY(-45px);
}

.hero-card {
  width: min(900px, 100%);
  padding: clamp(34px, 4vw, 52px);
  border: 1px solid rgba(242, 242, 240, .16);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(28, 38, 52, .60), rgba(10, 15, 22, .78)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(115%);
}

.hero-card::before {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 184, 77, .15));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 4.7vw, 4.55rem);
  line-height: 1.01;
  letter-spacing: -.045em;
  font-weight: 600;
  text-wrap: balance;
}

.lead {
  margin: 24px 0 0;
  max-width: 66ch;
  color: rgba(242, 242, 240, .93);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
}

.supporting {
  margin: 12px 0 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: .96rem;
}

.supporting strong {
  color: var(--ivory);
  font-weight: 600;
}

.release-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: center;
  margin-top: 26px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 184, 77, .22);
  border-radius: 14px;
  background: rgba(7, 11, 17, .42);
}

.release-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 184, 77, .36);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.3rem;
  transform: rotate(-20deg);
}

.release-note > div:last-child {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 9px;
  align-items: baseline;
}

.release-label {
  grid-column: 1 / -1;
  color: var(--gold);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.release-note strong {
  color: var(--ivory);
  font-size: .94rem;
}

.release-note strong + span {
  color: var(--muted);
  font-size: .9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 16px 0 22px;
  color: rgba(242, 242, 240, .62);
  font-size: .78rem;
  text-align: center;
}

.footer-separator {
  width: 3px;
  height: 3px;
  flex: 0 0 3px;
  border-radius: 50%;
  background: rgba(255, 184, 77, .7);
}

/* Portrait tablets: keep the composition deliberately higher on the page.
   Vertically centering a relatively compact card in a tall 4:3/10:13 viewport
   otherwise creates an oversized empty band below the header. */
@media (min-width: 761px) and (max-width: 1100px) {
  .site-shell {
    width: min(940px, calc(100% - 48px));
  }

  .site-header {
    width: min(820px, 100%);
    padding-top: 26px;
  }

  .brand img {
    width: clamp(230px, 28vw, 285px);
  }

  .hero {
    align-items: flex-start;
    padding: clamp(18px, 3vh, 32px) 0 40px;
    transform: none;
  }

  .hero-card {
    width: min(820px, 100%);
    padding: clamp(34px, 5vw, 46px);
  }

  h1 {
    max-width: 17ch;
    font-size: clamp(2.9rem, 6vw, 4.05rem);
  }

  .lead {
    margin-top: 22px;
  }

  .release-note {
    margin-top: 24px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: 100%;
  }

  body {
    background-attachment: scroll;
    background-position: 61% 50%;
  }

  .site-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 22px 0 10px;
  }

  .brand img {
    width: min(285px, 78vw);
  }

  .hero {
    align-items: flex-start;
    padding: 34px 0 44px;
    transform: none;
  }

  .hero-card {
    padding: 28px 24px;
    border-radius: 18px;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
    max-width: 12ch;
  }

  .release-note > div:last-child {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding-bottom: 20px;
  }
}

@media (max-width: 420px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .hero-card {
    padding: 24px 20px;
  }

  .eyebrow {
    font-size: .69rem;
    letter-spacing: .13em;
  }

  .release-note {
    padding: 14px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .hero-card {
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .hero-card {
    background: var(--panel-strong);
    border-color: rgba(242, 242, 240, .35);
  }

  .supporting,
  .site-footer {
    color: rgba(242, 242, 240, .82);
  }
}
