:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-soft: #0c0e14;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.075);
  --text: #f7f7f8;
  --muted: #a7a9b2;
  --muted-strong: #c8cad1;
  --accent: #9bffcf;
  --accent-2: #79c7ff;
  --astro: #ff955f;
  --astro-2: #b99cff;
  --danger: #ff8f91;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 72px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(121, 199, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 90% 10%, rgba(155, 255, 207, 0.08), transparent 30rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.astrovia-site {
  background:
    radial-gradient(circle at 8% 0%, rgba(185, 156, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 95% 8%, rgba(255, 149, 95, 0.13), transparent 32rem),
    var(--bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  color: #050608;
  background: var(--accent);
}

.astrovia-site ::selection {
  background: var(--astro);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #050608;
  background: var(--accent);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(7, 8, 12, 0.82);
  border-color: var(--line-soft);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 112px !important;
  max-width: 112px;
  height: 33px !important;
  object-fit: contain;
  object-position: left center;
}

.site-header .brand {
  width: 112px;
  min-width: 112px;
  height: 33px;
  overflow: hidden;
}

.site-footer .brand-logo {
  width: 104px !important;
  max-width: 104px;
  height: 31px !important;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #08090d;
  background: linear-gradient(145deg, #ffffff, var(--accent));
  border-radius: 9px;
  box-shadow: 0 7px 22px rgba(155, 255, 207, 0.18);
  font-size: 15px;
  font-weight: 850;
}

.astrovia-site .brand-mark {
  color: white;
  background: linear-gradient(145deg, var(--astro), var(--astro-2));
  box-shadow: 0 7px 22px rgba(185, 156, 255, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted-strong);
  font-size: 14px;
}

.nav-links a:not(.button):hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch,
.menu-toggle {
  min-width: 42px;
  height: 40px;
  padding: 0 11px;
  color: var(--muted-strong);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.language-switch:hover,
.menu-toggle:hover {
  color: var(--text);
  background: var(--surface-strong);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle::before,
.menu-toggle::after {
  position: absolute;
  content: "";
}

.menu-toggle::before {
  transform: translateY(-5px);
}

.menu-toggle::after {
  transform: translateY(5px);
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: #08090d;
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent);
  border-color: var(--accent);
}

.astrovia-site .button:hover {
  background: var(--astro);
  border-color: var(--astro);
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.button.secondary:hover {
  background: var(--surface-strong);
  border-color: rgba(255, 255, 255, 0.24);
}

.button-arrow::after {
  content: "↗";
  font-size: 16px;
  line-height: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  align-items: center;
  overflow: hidden;
  padding: 92px 0 110px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 88%);
  content: "";
  opacity: 0.34;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--accent);
  content: "";
}

.astrovia-site .eyebrow::before {
  background: var(--astro);
  box-shadow: 0 0 18px var(--astro);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #ffffff 10%, var(--accent) 54%, var(--accent-2));
  background-clip: text;
  -webkit-background-clip: text;
}

.astrovia-site .gradient-text {
  background-image: linear-gradient(110deg, #ffffff 10%, var(--astro) 55%, var(--astro-2));
}

.hero-copy > p {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-editorial {
  min-height: min(820px, calc(100svh - var(--header-height)));
}

.hero-copy-wide {
  max-width: 940px;
}

.hero-copy-wide h1 {
  max-width: 920px;
}

.hero-copy-wide > p {
  max-width: 720px;
}

.proof-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 90px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-line span {
  padding: 18px 16px;
  color: var(--muted-strong);
  border-right: 1px solid var(--line);
  font-size: 13px;
}

.proof-line span:first-child {
  padding-left: 0;
}

.proof-line span:last-child {
  border-right: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-row.centered {
  justify-content: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row span::before {
  color: var(--accent);
  content: "✓";
}

.astrovia-site .trust-row span::before {
  color: var(--astro);
}

.visual-stack {
  position: relative;
  min-height: 520px;
}

.code-window,
.product-window {
  position: absolute;
  overflow: hidden;
  background: rgba(12, 14, 20, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.code-window {
  inset: 28px 32px 88px 0;
  padding: 22px;
  transform: rotate(-3deg);
}

.product-window {
  right: 0;
  bottom: 22px;
  width: 58%;
  padding: 15px;
  transform: rotate(4deg);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: #70737e;
  font-size: 11px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  background: #474a54;
  border-radius: 50%;
}

.code-lines {
  display: grid;
  gap: 16px;
  padding: 10px 6px;
}

.code-line {
  height: 11px;
  background: linear-gradient(90deg, rgba(155, 255, 207, 0.78), rgba(121, 199, 255, 0.28));
  border-radius: 10px;
}

.code-line:nth-child(2) { width: 72%; margin-left: 12%; }
.code-line:nth-child(3) { width: 86%; margin-left: 12%; }
.code-line:nth-child(4) { width: 54%; margin-left: 22%; }
.code-line:nth-child(5) { width: 66%; margin-left: 12%; }
.code-line:nth-child(6) { width: 38%; }

.build-status {
  position: absolute;
  right: 32px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #d8ffe9;
  background: rgba(53, 160, 105, 0.14);
  border: 1px solid rgba(155, 255, 207, 0.24);
  border-radius: 99px;
  font-size: 12px;
}

.build-status::before {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.product-window img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

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

.section-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  margin-bottom: 58px;
}

.section-intro p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.grid-3,
.grid-2,
.feature-grid {
  display: grid;
  gap: 16px;
}

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

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(12, 1fr);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.card::after {
  position: absolute;
  inset: auto -30% -70% 20%;
  height: 180px;
  background: radial-gradient(circle, rgba(155, 255, 207, 0.09), transparent 68%);
  content: "";
  pointer-events: none;
}

.astrovia-site .card::after {
  background: radial-gradient(circle, rgba(255, 149, 95, 0.1), transparent 68%);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-index {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.astrovia-site .card-index {
  color: var(--astro);
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding: clamp(32px, 6vw, 70px);
  background:
    linear-gradient(135deg, rgba(185, 156, 255, 0.11), rgba(255, 149, 95, 0.07)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.app-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.app-lockup img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.app-lockup strong,
.app-lockup span {
  display: block;
}

.app-lockup strong {
  font-size: 21px;
}

.app-lockup span {
  color: var(--muted);
  font-size: 13px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
}

.feature-list li::before {
  color: var(--astro);
  content: "✦";
}

.text-list {
  border-top: 1px solid var(--line);
}

.text-row {
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.text-index {
  padding-top: 5px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.astrovia-site .text-index {
  color: var(--astro);
}

.text-row h3 {
  margin: 0;
  font-size: clamp(21px, 2.4vw, 28px);
}

.text-row p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
}

.app-intro {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  padding: 62px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-logo-panel {
  display: grid;
  place-items: center;
}

.app-logo-panel img {
  width: min(150px, 62%);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 24px 45px rgba(185, 156, 255, 0.16));
}

.app-intro h2 {
  max-width: 760px;
}

.app-intro p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.app-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.38fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.app-logo-hero {
  display: grid;
  place-items: center;
}

.app-logo-hero img {
  width: min(190px, 72%);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 30px 54px rgba(185, 156, 255, 0.18));
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(46px, 8vw, 120px);
  padding: 58px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editorial-split h2 {
  max-width: 620px;
  margin-bottom: 0;
}

.editorial-split p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.device-stage {
  position: relative;
  min-height: 550px;
}

.phone {
  position: absolute;
  width: min(270px, 70%);
  padding: 9px;
  background: #040508;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 42px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.48);
}

.phone:first-child {
  z-index: 2;
  left: 8%;
  top: 0;
  transform: rotate(-5deg);
}

.phone:last-child {
  right: 3%;
  bottom: 0;
  transform: rotate(7deg);
}

.phone::before {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 50%;
  width: 74px;
  height: 20px;
  background: #050609;
  border-radius: 99px;
  content: "";
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  aspect-ratio: 0.57;
  object-fit: cover;
  border-radius: 34px;
}

.astro-hero-logo {
  width: min(260px, 60%);
  margin: 0 auto;
  filter: drop-shadow(0 30px 54px rgba(185, 156, 255, 0.2));
}

.orbit-card {
  display: grid;
  min-height: 440px;
  place-items: center;
}

.orbit {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(185, 156, 255, 0.18);
  border-radius: 50%;
  animation: orbit 22s linear infinite;
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--astro);
  border-radius: 50%;
  box-shadow: 0 0 22px var(--astro);
  content: "";
}

.orbit::before { top: 43px; left: 51px; }
.orbit::after { right: 4px; bottom: 135px; background: var(--astro-2); }

@keyframes orbit {
  to { transform: rotate(360deg); }
}

.feature-card {
  min-height: 250px;
}

.feature-card.wide { grid-column: span 7; }
.feature-card.narrow { grid-column: span 5; }
.feature-card.third { grid-column: span 4; }

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 54px;
  place-items: center;
  color: var(--astro);
  background: rgba(255, 149, 95, 0.1);
  border: 1px solid rgba(255, 149, 95, 0.2);
  border-radius: 14px;
  font-size: 20px;
}

.moon-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 28px;
}

.moon-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(185, 156, 255, 0.25);
}

.statement {
  padding: clamp(42px, 7vw, 82px);
  text-align: center;
  background: linear-gradient(135deg, rgba(155, 255, 207, 0.08), rgba(121, 199, 255, 0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.astrovia-site .statement {
  background: linear-gradient(135deg, rgba(255, 149, 95, 0.1), rgba(185, 156, 255, 0.08));
}

.statement h2 {
  max-width: 820px;
  margin-inline: auto;
}

.statement p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.site-footer {
  padding: 42px 0 32px;
  border-top: 1px solid var(--line-soft);
}

.footer-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-main {
  padding-bottom: 34px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted-strong);
  font-size: 13px;
}

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

.footer-bottom {
  padding-top: 22px;
  color: #777a84;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
}

.legal-hero {
  padding: 94px 0 62px;
  border-bottom: 1px solid var(--line-soft);
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 7vw, 72px);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: space-between;
  gap: 70px;
  padding: 72px 0 110px;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.legal-nav strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-nav a:hover {
  color: var(--text);
}

.legal-content section {
  scroll-margin-top: calc(var(--header-height) + 30px);
  padding: 0 0 40px;
}

.legal-content h2 {
  margin-bottom: 15px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.legal-content h3 {
  margin-top: 28px;
  font-size: 18px;
}

.legal-content p,
.legal-content li {
  color: var(--muted-strong);
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 9px;
  padding-left: 22px;
}

.legal-content a {
  color: var(--astro);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice {
  margin-bottom: 38px;
  padding: 20px 22px;
  color: var(--muted-strong);
  background: rgba(255, 149, 95, 0.075);
  border: 1px solid rgba(255, 149, 95, 0.22);
  border-radius: var(--radius-sm);
}

.deletion-steps {
  display: grid;
  gap: 14px;
  margin: 28px 0 38px;
  counter-reset: steps;
}

.deletion-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  counter-increment: steps;
}

.deletion-step::before {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #08090d;
  background: var(--astro);
  border-radius: 12px;
  content: counter(steps);
  font-weight: 850;
}

.deletion-step strong {
  display: block;
  margin-bottom: 4px;
}

.deletion-step p {
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .hero-grid,
  .product-showcase,
  .section-intro,
  .legal-layout,
  .app-hero-grid,
  .app-intro,
  .editorial-split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 60px;
  }

  .visual-stack {
    width: min(100%, 610px);
    margin-inline: auto;
  }

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

  .feature-card.wide,
  .feature-card.narrow,
  .feature-card.third {
    grid-column: span 6;
  }

  .section-intro {
    gap: 8px;
  }

  .legal-layout {
    gap: 34px;
  }

  .app-logo-panel,
  .app-logo-hero {
    justify-content: start;
  }

  .app-logo-panel img,
  .app-logo-hero img {
    width: 170px;
  }

  .text-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .text-row p {
    grid-column: 2;
  }

  .legal-nav {
    position: static;
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-logo {
    width: 100px !important;
    max-width: 100px;
    height: 29px !important;
  }

  .site-header .brand {
    width: 100px;
    min-width: 100px;
    height: 29px;
  }

  .menu-toggle {
    position: relative;
    display: flex;
  }

  .nav-links {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 18px 20px 28px;
    background: rgba(7, 8, 12, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .menu-open .nav-links {
    display: grid;
    gap: 4px;
  }

  .nav-links a:not(.button) {
    padding: 12px 4px;
  }

  .nav-links .button {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 82px;
  }

  .hero-editorial {
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .visual-stack {
    min-height: 400px;
  }

  .code-window {
    inset: 10px 35px 68px 0;
  }

  .product-window {
    width: 56%;
  }

  .section {
    padding: 80px 0;
  }

  .proof-line {
    grid-template-columns: 1fr 1fr;
    margin-top: 64px;
  }

  .proof-line span {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .proof-line span:nth-child(2n) {
    border-right: 0;
  }

  .proof-line span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .proof-line span:first-child {
    padding-left: 12px;
  }

  .text-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0;
  }

  .app-logo-panel,
  .app-logo-hero {
    order: -1;
  }

  .app-intro,
  .editorial-split {
    gap: 34px;
    padding: 40px 0;
  }

  .grid-2,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.wide,
  .feature-card.narrow,
  .feature-card.third {
    grid-column: auto;
  }

  .product-showcase {
    padding: 28px 20px 36px;
  }

  .device-stage {
    min-height: 450px;
  }

  .phone {
    width: 58%;
  }

  .orbit-card {
    min-height: 360px;
  }

  .orbit {
    width: 300px;
    height: 300px;
  }

  .moon-card {
    grid-template-columns: 1fr;
  }

  .moon-card img {
    width: 120px;
    height: 120px;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding: 64px 0 46px;
  }

  .legal-layout {
    padding: 52px 0 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
