:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --panel: #ffffff;
  --ink: #15171c;
  --muted: #66707c;
  --line: #e5e0d6;
  --header: #080a0f;
  --soft-dark: #10131a;
  --accent: #d6b25e;
  --accent-2: #f4dc9a;
  --green: #12745b;
  --shadow: 0 24px 70px rgba(8, 10, 15, .14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--header);
  font-weight: 850;
}

.skip-link:focus { top: 16px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  padding: 10px max(18px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  background: var(--header);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 164px;
  min-height: 48px;
}

.brand img {
  display: block;
  width: 164px;
  height: auto;
}

.desktop-nav {
  justify-self: end;
  display: flex;
  gap: 6px;
}

.desktop-nav a {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-weight: 750;
  font-size: .93rem;
}

.desktop-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(214, 178, 94, .52);
  border-radius: 999px;
  background: rgba(214, 178, 94, .13);
  color: #fff;
  font-weight: 900;
}

.hero {
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 178, 94, .14), transparent 32rem),
    linear-gradient(180deg, var(--header), var(--soft-dark));
  color: #fff;
}

.hero-inner {
  max-width: 1120px;
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: 66px 20px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .84);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 750;
}

.kicker,
.section-label {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-heading {
  max-width: 820px;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.75rem, 6.4vw, 5.25rem);
  line-height: .95;
  letter-spacing: 0;
  font-weight: 780;
}

.title-line {
  display: block;
}

.word-rail {
  position: relative;
  display: grid;
  width: min(100%, 5.8em);
  margin: 2px auto 4px;
  height: 1.05em;
  overflow: hidden;
  color: var(--accent);
  font-weight: 900;
}

.word-stack {
  display: block;
  animation: word-stack 10s steps(1, end) infinite;
}

.word-stack span {
  display: block;
  height: 1.05em;
  line-height: 1.05;
}

@keyframes word-stack {
  0%, 19.99% { transform: translateY(0); }
  20%, 39.99% { transform: translateY(-1.05em); }
  40%, 59.99% { transform: translateY(-2.10em); }
  60%, 79.99% { transform: translateY(-3.15em); }
  80%, 99.99% { transform: translateY(-4.20em); }
  100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .word-stack {
    animation: none;
    transform: translateY(0);
  }
}

.lead {
  max-width: 720px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--header);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .26);
}

.hero-button:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav a:focus-visible,
summary:focus-visible,
.launch-pill:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.signal-strip {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.signal-strip div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.05rem;
}

.signal-strip span {
  color: var(--muted);
  font-size: .96rem;
}

.article {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 20px 106px;
}

.section-block {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: 0;
}

p { margin: 0 0 16px; }

.article p {
  color: #303943;
  font-size: 1.04rem;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.note-grid div {
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.note-grid strong,
.note-grid span {
  display: block;
}

.note-grid strong {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 1.04rem;
}

.note-grid span {
  color: var(--muted);
}

.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 14px 13px 42px;
  margin: 8px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 1.15em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  margin: 10px 0;
  background: var(--panel);
}

summary {
  cursor: pointer;
  min-height: 58px;
  display: flex;
  align-items: center;
  font-weight: 850;
}

details p {
  color: var(--muted);
  padding-bottom: 18px;
}

.mobile-nav { display: none; }

.footer {
  padding: 30px 20px 38px;
  color: rgba(255, 255, 255, .72);
  text-align: center;
  background: var(--header);
}

@media (max-width: 860px) {
  body { padding-bottom: 82px; }

  .topbar {
    min-height: 66px;
    grid-template-columns: 1fr auto;
    padding: 8px 14px;
  }

  .brand {
    width: 156px;
    min-height: 44px;
  }

  .brand img { width: 156px; }

  .desktop-nav { display: none; }

  .age-badge {
    width: 42px;
    height: 42px;
  }

  .hero-inner {
    min-height: calc(100svh - 66px);
    padding: 28px 14px 24px;
    gap: 18px;
  }

  .launch-pill {
    min-height: 36px;
    font-size: .86rem;
  }

  h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); }

  .lead {
    font-size: .98rem;
  }

  .hero-button {
    width: min(100%, 360px);
    min-height: 54px;
  }

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px 14px 8px;
    gap: 8px;
  }

  .signal-strip div {
    min-height: 104px;
    padding: 14px;
  }

  .article {
    padding: 14px 16px 96px;
  }

  .section-block {
    padding: 32px 0;
  }

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

  .mobile-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(214, 178, 94, .22);
    border-radius: 8px;
    background: rgba(8, 10, 15, .96);
    box-shadow: 0 18px 40px rgba(8, 10, 15, .3);
  }

  .mobile-nav a {
    display: grid;
    place-items: center;
    min-height: 46px;
    border-radius: 6px;
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    font-weight: 850;
    font-size: .9rem;
  }

  .mobile-nav a:first-child {
    background: var(--accent);
    color: var(--header);
  }
}
