:root {
  --bg: #06080f;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6fb;
  --muted: #a9b3cc;
  --faint: #8a94b0;
  --yellow: #fcc40b;
  --yellow-soft: #ffe08a;
  --blue: #0150f1;
  --blue-bright: #3d7dff;
  --blue-glow: rgba(40, 110, 255, 0.55);
  --navy: #092665;
  --font:
    ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Nunito",
    "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial,
    sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  position: relative;
  /* Own layer, so the light behind (body::before) sits above this background, not under it. */
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Soft light from the top left and a blue haze on the right, like a lit glass desk. */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      58rem 34rem at 8% -8%,
      rgba(99, 112, 255, 0.24),
      transparent 62%
    ),
    radial-gradient(
      46rem 40rem at 96% 38%,
      rgba(1, 80, 241, 0.2),
      transparent 66%
    ),
    radial-gradient(
      40rem 26rem at 30% 108%,
      rgba(252, 196, 11, 0.07),
      transparent 70%
    );
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.09em;
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* Text links get a soft corner on the focus ring. Buttons keep their pill shape. */
a:not(.btn):focus-visible {
  border-radius: 6px;
}

.top,
.hero,
.page,
.foot {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* Header */

.top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(0.9rem, 2.4vw, 1.4rem);
}

/* Hairline that glows blue in the middle and fades out at the edges. */
.top::after,
.foot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-strong) 18%,
    rgba(61, 125, 255, 0.75) 50%,
    var(--line-strong) 82%,
    transparent
  );
}

.top::after {
  bottom: 0;
}

.foot::before {
  top: 0;
}

.logo img {
  width: clamp(6.5rem, 22vw, 8.5rem);
}

/* Status pill: dark glass with a golden rim and a glow that comes in from the left. */
.soon {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem 0.45rem 0.8rem;
  border: 1px solid rgba(252, 196, 11, 0.55);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(252, 196, 11, 0.3),
      rgba(252, 196, 11, 0.04) 70%
    ),
    #11131c;
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 190, 0.22),
    inset 0 0 14px rgba(252, 196, 11, 0.14),
    0 0 26px -8px rgba(252, 196, 11, 0.6);
  color: var(--yellow-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.soon-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px 1px rgba(252, 196, 11, 0.9);
  animation: pulse 2.4s ease-in-out infinite;
}

/* Hero */

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.stage {
  order: -1;
  position: relative;
  justify-self: center;
  width: min(46vw, 11.5rem);
  aspect-ratio: 1 / 1.25;
}

/* The brand yellow lives on as a glowing disc behind the figure. */
.sun {
  position: absolute;
  top: 5%;
  left: -2%;
  width: 104%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 38%,
    #ffe27a 0%,
    var(--yellow) 46%,
    #d99a00 100%
  );
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.45),
    0 0 0 1px rgba(255, 224, 138, 0.35),
    0 0 90px -6px rgba(252, 196, 11, 0.5),
    0 0 220px 10px rgba(252, 196, 11, 0.16);
}

/* Two fine rings around the disc. */
.sun::before,
.sun::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 224, 138, 0.22);
}

.sun::before {
  inset: -9%;
}

.sun::after {
  inset: -20%;
  border-color: rgba(255, 224, 138, 0.1);
}

.figure {
  position: absolute;
  z-index: 1;
  inset: auto 0 4%;
  height: 92%;
  width: auto;
  max-width: none;
  margin-inline: auto;
  filter: drop-shadow(0 18px 22px rgba(3, 8, 30, 0.45));
  animation: bob 5s ease-in-out infinite;
}

.shadow {
  position: absolute;
  left: 50%;
  bottom: 0.5%;
  width: 62%;
  height: 7%;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(1, 10, 40, 0.7), transparent);
  animation: shadow 5s ease-in-out infinite;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  border: 1px solid rgba(110, 160, 255, 0.45);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(1, 80, 241, 0.4), rgba(1, 80, 241, 0.05) 75%),
    #0e1120;
  box-shadow:
    inset 0 1px 0 rgba(190, 215, 255, 0.2),
    0 0 24px -8px var(--blue-glow);
  color: #cfe0ff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #8ab4ff;
  box-shadow: 0 0 8px 1px rgba(110, 160, 255, 0.9);
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 8.4vw, 4.1rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* Soft sheen from white to pale blue. The plain colour above stays as a fallback. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: linear-gradient(180deg, #ffffff 30%, #b9cdfb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Room for the tails of y and p, which the clipped gradient would cut off otherwise. */
    padding-bottom: 0.16em;
    margin-bottom: -0.08em;
  }
}

.lead {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  font-weight: 500;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    translate 0.14s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    filter 0.18s ease;
}

/* Glass gel button: light rim, a highlight on top, a glow underneath. */
.btn-primary {
  border-color: rgba(190, 215, 255, 0.7);
  background:
    radial-gradient(
      90% 60% at 50% -18%,
      rgba(190, 220, 255, 0.7),
      rgba(190, 220, 255, 0) 62%
    ),
    radial-gradient(
      70% 45% at 50% 125%,
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(180deg, #1c63fb, var(--blue));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 0 14px rgba(190, 215, 255, 0.3),
    0 0 0 1px rgba(1, 80, 241, 0.45),
    0 12px 36px -8px rgba(1, 80, 241, 0.85),
    0 0 70px -12px var(--blue-glow);
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 30, 110, 0.55);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 0 14px rgba(190, 215, 255, 0.35),
    0 0 0 1px rgba(1, 80, 241, 0.5),
    0 14px 44px -8px rgba(1, 80, 241, 0.95),
    0 0 90px -8px var(--blue-glow);
}

.btn-primary:active {
  translate: 0 2px;
  filter: brightness(0.96);
}

.btn-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-right: -0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Quiet dark glass for the second action. */
.btn-secondary {
  border-color: var(--line-strong);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 30px -14px rgba(0, 0, 0, 0.8);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(140, 180, 255, 0.55);
  background: linear-gradient(
    180deg,
    rgba(120, 165, 255, 0.2),
    rgba(120, 165, 255, 0.06)
  );
}

.btn-secondary:active {
  translate: 0 2px;
}

/* Glass card with a golden rim for the perk. */
.perk {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 34rem;
  margin: 1.9rem 0 0;
  padding: 0.85rem 1.1rem 0.85rem 0.85rem;
  border: 1px solid rgba(252, 196, 11, 0.38);
  border-radius: 1.15rem;
  background:
    linear-gradient(
      100deg,
      rgba(252, 196, 11, 0.16),
      rgba(252, 196, 11, 0.02) 55%
    ),
    var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 190, 0.14),
    0 18px 40px -24px rgba(0, 0, 0, 0.9);
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.perk-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, #ffd84a, #f0b400);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 22px -4px rgba(252, 196, 11, 0.75);
}

.perk-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: var(--navy);
}

.fine {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--faint);
  font-size: 0.875rem;
  line-height: 1.5;
}

.fine a {
  color: var(--muted);
}

/* Footer */

.foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.1rem calc(1.1rem + env(safe-area-inset-bottom));
  color: var(--faint);
  font-size: 0.9375rem;
  font-weight: 600;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.foot a {
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--muted);
}

.foot a:hover,
.fine a:hover {
  color: var(--text);
}

/* Text pages: one glass card on the dark ground. */

.page {
  flex: 1;
  max-width: 46rem;
  padding-block: clamp(1.5rem, 5vw, 3rem);
}

.page-card {
  padding: clamp(1.4rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px -40px rgba(0, 0, 0, 0.9);
}

.page h1 {
  font-size: clamp(1.9rem, 7vw, 3rem);
  margin-bottom: 1.25rem;
}

.page h2 {
  margin: 2rem 0 0.4rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.page p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.page .btn {
  margin-top: 0.75rem;
}

.placeholder {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(252, 196, 11, 0.5);
  border-radius: 0.8rem;
  background: rgba(252, 196, 11, 0.12);
  font-weight: 700;
}

.page p.placeholder {
  color: var(--yellow-soft);
}

/* Wider screens */

@media (min-width: 30rem) {
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .stage {
    order: 0;
    width: min(100%, 23rem, 48vh);
  }
}

@keyframes bob {
  50% {
    translate: 0 -3.5%;
  }
}

@keyframes shadow {
  50% {
    scale: 0.86 1;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .figure,
  .shadow,
  .soon-dot {
    animation: none;
  }

  .btn {
    transition: none;
  }
}

/* Contrast themes replace the dark ground. Keep a dark tile behind the white lettering. */
@media (forced-colors: active) {
  .logo img {
    forced-color-adjust: none;
    background-color: #06080f;
    border-radius: 8px;
  }
}
