:root {
  color-scheme: dark;
  --bg: #091328;
  --surface: #101b32;
  --blue: #4858b9;
  --pink: #e7839f;
  --red: #e52535;
  --text: #f7f9ff;
  --muted: #c4cee6;
  --line: rgba(228, 236, 255, .18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: linear-gradient(155deg, var(--bg) 0%, #101c35 52%, #07101f 100%);
}

a { color: inherit; }
a:focus-visible { outline: 3px solid #f3b8cc; outline-offset: 5px; }

.site-width { width: 75%; max-width: 1560px; margin-inline: auto; }

.site-header {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

.site-header::after,
.launch-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--blue) 0 44%, var(--pink) 44% 56%, var(--red) 56% 100%);
  content: "";
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(0, 0, 0, .3)); }

.header-link {
  color: #dce4ff;
  font-size: .91rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.header-link:hover, .site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

main { padding-top: clamp(28px, 3.2vw, 54px); padding-bottom: clamp(32px, 4vw, 60px); }

.launch-hero {
  position: relative;
  overflow: hidden;
  min-height: min(690px, calc(100svh - 220px));
  border: 2px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  background: linear-gradient(125deg, #182b69 0%, #101b32 52%, #522536 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .27);
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  inset: -20%;
  background:
    radial-gradient(circle at 27% 42%, rgba(91, 113, 247, .32), transparent 30%),
    radial-gradient(circle at 89% 14%, rgba(229, 37, 53, .15), transparent 28%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 90px);
  padding: clamp(30px, 6.5vw, 108px);
}

.logo-stage {
  position: relative;
  display: grid;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin-inline: auto;
  place-items: center;
}

.logo-ring {
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(215, 227, 255, .26);
  border-radius: 50%;
  box-shadow: 0 0 75px rgba(72, 88, 185, .38), inset 0 0 65px rgba(72, 88, 185, .15);
}

.logo-stage img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .35));
}

.eyebrow {
  margin: 0 0 18px;
  color: #d2d9ff;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .19em;
  text-transform: uppercase;
}

h1 {
  max-width: 840px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 6vw, 6.6rem);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 em { display: block; color: #fff; font-style: normal; }

.hero-lead {
  max-width: 540px;
  margin: 26px 0 0;
  color: #dbe2f3;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: #f7f9ff; color: #13224b; box-shadow: 0 10px 27px rgba(0, 0, 0, .2); }
.button-primary:hover { background: #e9eeff; }
.button-quiet { border-color: rgba(224, 232, 255, .27); background: rgba(13, 24, 51, .42); color: #f3f5ff; }
.button-quiet:hover { border-color: rgba(255, 255, 255, .57); background: rgba(24, 40, 80, .72); }

.next-chapter {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(24px, 3vw, 38px) 8px 0;
}

.chapter-number { color: #aebcff; font-size: .75rem; font-weight: 850; letter-spacing: .15em; white-space: nowrap; }
.next-chapter p { max-width: 670px; margin: 0; color: var(--muted); line-height: 1.5; }
.next-chapter strong { color: #fff; }
.chapter-mark { margin-left: auto; color: var(--pink); font-size: 1.65rem; }

.site-footer { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .13); background: var(--surface); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-block: 23px 28px; color: #aebad6; font-size: .82rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: #cdd5ef; text-decoration: none; }

@media (max-width: 1100px) {
  .hero-content { grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr); padding: clamp(30px, 5vw, 64px); }
  h1 { font-size: clamp(2.8rem, 5.7vw, 5rem); }
}

@media (max-width: 760px) {
  .site-width { width: 90%; }
  .header-inner { min-height: 68px; }
  .brand { gap: 8px; font-size: .88rem; letter-spacing: .055em; }
  .brand img { width: 42px; height: 42px; }
  .header-link { font-size: .82rem; }
  .launch-hero { min-height: 0; border-radius: 17px; }
  .hero-content { grid-template-columns: 1fr; gap: 16px; padding: 31px 24px 39px; text-align: center; }
  .logo-stage { width: min(48vw, 220px); }
  .hero-copy { margin-inline: auto; }
  .eyebrow { margin-bottom: 13px; font-size: .65rem; letter-spacing: .15em; }
  h1 { font-size: clamp(2.45rem, 10.3vw, 4.7rem); line-height: 1.07; }
  .hero-lead { margin-top: 20px; font-size: 1rem; }
  .hero-actions { justify-content: center; margin-top: 27px; }
  .next-chapter { align-items: flex-start; gap: 12px; padding-top: 26px; }
  .chapter-mark { display: none; }
  .footer-inner { padding-block: 21px 26px; }
}

@media (max-width: 460px) {
  .header-link { font-size: .76rem; }
  .brand span { font-size: .82rem; }
  .hero-content { padding-inline: 20px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .next-chapter { display: block; }
  .next-chapter p { margin-top: 9px; }
}

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