:root {
  color-scheme: dark;
  font-family: Aptos, "Segoe UI", system-ui, sans-serif;
  background: #071426;
  color: #f3f8ff;
  font-synthesis: none;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse at 13% 20%, #2156a8 0%, transparent 48%),
    radial-gradient(ellipse at 96% 88%, #103867 0%, transparent 44%),
    #071426;
}

.gate {
  display: grid;
  grid-template-columns: minmax(10rem, .8fr) minmax(0, 1.35fr);
  width: min(100%, 47rem);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #294f79;
  border-radius: 1.6rem;
  background: #0d2038;
  box-shadow: 0 1.6rem 5rem #020a16a0;
}

.age-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .65rem;
  padding: 1.5rem 1rem;
  border-inline-end: 1px solid #3b74b8;
  background: radial-gradient(ellipse at 50% 90%, #3294fa96, transparent 68%),
    linear-gradient(153deg, #134d9a, #102a52 73%);
}

.orbit {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 17rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid #8fcafa48;
  border-radius: 50%;
}

.orbit-two {
  width: 22rem;
  border-color: #8fcafa29;
}

.age-number {
  display: flex;
  align-items: center;
  gap: .1em;
  color: #e8f6ff;
  font-size: clamp(4.15rem, 10vw, 6rem);
  font-weight: 820;
  line-height: .9;
  letter-spacing: -.095em;
  text-shadow: 0 .08em .23em #031b4cbb;
}

.age-number span {
  align-self: flex-start;
  font-size: .46em;
  color: #87dcff;
  letter-spacing: 0;
}

.age-caption {
  margin: .45rem 0 0;
  font-size: .875rem;
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: uppercase;
  color: #d8edff;
}

.content {
  min-width: 0;
  padding: clamp(1.35rem, 4.5vw, 2.55rem);
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.13;
}

.description {
  margin: .75rem 0 1.55rem;
  color: #bfcee1;
  font-size: 1rem;
  line-height: 1.6;
}

.actions { display: grid; gap: .8rem; }

.button {
  display: grid;
  place-items: center;
  inline-size: 100%;
  min-height: 3.25rem;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  line-height: 1.25;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.primary {
  background: #56baff;
  color: #04172d;
  border-color: #9bddff;
  box-shadow: 0 .23rem 0 #356eaa;
}

.secondary {
  background: #142d4b;
  color: #e8f3fd;
  border-color: #43719f;
}

.button:active { transform: translateY(.12rem); }
.button:focus-visible { outline: .2rem solid #d7f4ff; outline-offset: .22rem; }

@media (hover: hover) {
  .primary:hover { background: #a2e0ff; }
  .secondary:hover { background: #1c3b60; border-color: #79a5cf; }
}

.routing-note {
  margin: 1.35rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid #2d4d71;
  color: #adbed4;
  font-size: .8125rem;
  line-height: 1.55;
}

@media (max-width: 39rem) {
  .gate { grid-template-columns: minmax(0, 1fr); max-width: 29rem; }
  .age-panel { min-height: 10rem; border-inline-end: 0; border-block-end: 1px solid #3b74b8; }
  .content { padding: clamp(1.2rem, 5vw, 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
