:root {
  color-scheme: light;
  --bg: #f7f5f2;
  --bg-elevated: rgba(251, 250, 248, 0.9);
  --surface: rgba(241, 238, 232, 0.84);
  --surface-strong: #fbfaf8;
  --line: rgba(216, 210, 201, 0.78);
  --line-strong: rgba(92, 90, 87, 0.28);
  --text: #1c1c1c;
  --muted: #5c5a57;
  --accent: #3a5a7a;
  --accent-soft: #e5ebf0;
  --accent-strong: #27435d;
  --accent-launch: #2a445e;
  --accent-launch-highlight: #486685;
  --secondary-accent: #6a7b70;
  --warning: #9b664c;
  --success: #6a7b70;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 16px 34px rgba(39, 67, 93, 0.08);
  --max-width: 1180px;
  --font-sans: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(229, 235, 240, 0.95), transparent 32%),
    radial-gradient(circle at top right, rgba(72, 102, 133, 0.12), transparent 28%),
    linear-gradient(180deg, #faf8f5 0%, #f1eee8 100%);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  border-radius: 999px;
  filter: blur(30px);
}

.site-shell::before {
  width: 28rem;
  height: 28rem;
  top: -8rem;
  right: -6rem;
  background: rgba(58, 90, 122, 0.12);
}

.site-shell::after {
  width: 20rem;
  height: 20rem;
  bottom: 10rem;
  left: -8rem;
  background: rgba(106, 123, 112, 0.12);
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(247, 245, 242, 0.76);
  border-bottom: 1px solid rgba(216, 210, 201, 0.74);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  background-color: var(--accent);
  mask-image: url("assets/launch-logo.png");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("assets/launch-logo.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 248, 0.82);
  color: var(--text);
}

.menu-toggle-lines {
  position: relative;
  width: 1.1rem;
  height: 0.9rem;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after,
.menu-toggle-lines span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease, top 160ms ease;
}

.menu-toggle-lines::before {
  top: 0;
}

.menu-toggle-lines span {
  top: calc(50% - 1px);
}

.menu-toggle-lines::after {
  top: calc(100% - 2px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(58, 90, 122, 0.08);
  color: var(--text);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fbfaf8;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 12px 24px rgba(39, 67, 93, 0.18);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(251, 250, 248, 0.82);
}

.button-muted {
  color: var(--muted);
  border-color: rgba(216, 210, 201, 0.92);
  background: rgba(251, 250, 248, 0.68);
}

.button-disabled {
  cursor: default;
  color: var(--muted);
  border-color: rgba(64, 51, 38, 0.12);
  background: rgba(255, 252, 247, 0.7);
  pointer-events: none;
}

.page-hero,
.section {
  padding: 4rem 0;
}

.page-hero {
  padding-top: 5.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(251, 250, 248, 0.82);
  border: 1px solid rgba(216, 210, 201, 0.78);
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-grid,
.two-column,
.card-grid,
.stat-grid,
.feature-grid,
.faq-grid,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-grid,
.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.hero-copy h1,
.page-copy h1 {
  margin: 1.1rem 0 1rem;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy p,
.page-copy p,
.section-intro p {
  margin: 0;
  max-width: 42rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.hero-meta span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(64, 51, 38, 0.1);
  background: rgba(255, 250, 244, 0.7);
  color: var(--muted);
  font-size: 0.92rem;
}

.section-intro {
  margin-bottom: 1.6rem;
}

.section-intro h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.card,
.panel,
.metric-panel,
.device-frame,
.faq-card,
.legal-card,
.footer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(251, 250, 248, 0.96), rgba(241, 238, 232, 0.92));
  box-shadow: var(--shadow);
}

.card,
.panel,
.metric-panel,
.faq-card,
.legal-card,
.footer-card {
  padding: 1.4rem;
}

.card h3,
.panel h3,
.metric-panel h3,
.faq-card h3,
.legal-card h2,
.legal-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.card p,
.panel p,
.metric-panel p,
.faq-card p,
.legal-card p,
.legal-card li,
.footer-card p {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid,
.faq-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-value {
  display: block;
  margin-bottom: 0.3rem;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  letter-spacing: -0.05em;
}

.list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.list li + li {
  margin-top: 0.45rem;
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.device-frame {
  position: relative;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(251, 250, 248, 0.98), rgba(236, 231, 223, 0.96)),
    rgba(251, 250, 248, 0.92);
}

.device-frame::before {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border-radius: calc(var(--radius-lg) - 0.4rem);
  border: 1px solid rgba(64, 51, 38, 0.08);
  pointer-events: none;
}

.device-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.device-screen {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.metric-strip {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.metric-chip {
  flex: 1 1 8rem;
  min-width: 0;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(251, 250, 248, 0.82);
  border: 1px solid rgba(216, 210, 201, 0.72);
}

.metric-chip strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.metric-chip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.keyboard-bar {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0.2rem;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(36, 29, 23, 0.96);
}

.keyboard-bar span {
  display: block;
  height: 3.4rem;
  border-radius: 0.55rem;
  background: linear-gradient(180deg, #fffaf2, #ece3d5);
}

.keyboard-bar span:nth-child(3n) {
  background: linear-gradient(180deg, #d0c4b6, #b8a896);
}

.timeline {
  display: grid;
  gap: 0.55rem;
}

.timeline-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timeline-row label {
  width: 6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.timeline-bar {
  position: relative;
  flex: 1;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(58, 90, 122, 0.1);
  overflow: hidden;
}

.timeline-bar::before,
.timeline-bar::after {
  content: "";
  position: absolute;
  inset: 0;
}

.timeline-bar::before {
  width: var(--fill, 72%);
  background: linear-gradient(90deg, rgba(58, 90, 122, 0.92), rgba(72, 102, 133, 0.86));
}

.timeline-bar::after {
  left: var(--marker, 72%);
  width: 2px;
  background: rgba(36, 29, 23, 0.45);
}

.callout {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(58, 90, 122, 0.14);
  background: rgba(229, 235, 240, 0.54);
}

.callout strong {
  display: block;
  margin-bottom: 0.25rem;
}

.page-header {
  padding: 4.5rem 0 2.5rem;
}

.page-copy h1 {
  margin-top: 1rem;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  position: relative;
  padding-left: 4rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(58, 90, 122, 0.1);
  border: 1px solid rgba(58, 90, 122, 0.16);
  color: var(--accent);
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.4rem;
}

.legal-layout {
  display: grid;
  gap: 1.2rem;
}

.legal-card ol,
.legal-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.25rem;
}

.legal-card li + li {
  margin-top: 0.45rem;
}

.footnote {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-card {
  padding: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 90, 122, 0.14);
  background: rgba(229, 235, 240, 0.58);
  color: var(--accent);
  font-size: 0.9rem;
}

.status-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .card-grid,
  .stat-grid,
  .feature-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    padding: 0.9rem 0;
    align-items: center;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 0.4rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius-sm);
    background: rgba(251, 250, 248, 0.72);
    border: 1px solid rgba(216, 210, 201, 0.72);
  }
}

@media (max-width: 640px) {
  .page-hero,
  .section,
  .page-header {
    padding: 3.2rem 0;
  }

  .hero-copy h1,
  .page-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .brand {
    align-items: flex-start;
    max-width: calc(100% - 4rem);
  }

  .site-nav a {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .button {
    width: 100%;
  }

  .metric-chip {
    flex-basis: 100%;
  }

  .timeline-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .timeline-row label {
    width: auto;
  }

  .step {
    padding-left: 0;
    padding-top: 3.2rem;
  }
}
