:root {
  color-scheme: dark;
  --bg: #030a18;
  --bg-soft: #091a44;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --surface-muted: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7fbff;
  --muted: rgba(231, 241, 255, 0.78);
  --muted-strong: rgba(231, 241, 255, 0.88);
  --blue: #1d76ff;
  --cyan: #59d6ff;
  --cyan-soft: rgba(89, 214, 255, 0.22);
  --green: #69efb0;
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.22);
  --radius-2xl: 36px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Instrument Sans", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(30, 113, 255, 0.42), transparent 20rem),
    radial-gradient(circle at 88% 16%, rgba(89, 214, 255, 0.16), transparent 18rem),
    linear-gradient(180deg, #07142e 0%, #020611 100%);
  color: var(--text);
}

body.page-legal {
  background:
    radial-gradient(circle at 12% 10%, rgba(35, 108, 255, 0.35), transparent 18rem),
    radial-gradient(circle at 92% 8%, rgba(89, 214, 255, 0.12), transparent 15rem),
    linear-gradient(180deg, #061126 0%, #02050d 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.bg-orb,
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-orb {
  inset: auto;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.55;
}

.bg-orb-a {
  top: 6rem;
  left: -7rem;
  width: 23rem;
  height: 23rem;
  background: rgba(21, 101, 255, 0.3);
}

.bg-orb-b {
  right: -6rem;
  top: 22rem;
  width: 26rem;
  height: 26rem;
  background: rgba(68, 214, 255, 0.14);
}

.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 92%);
  opacity: 0.45;
}

.topbar,
.hero,
.content-block,
.split-layout,
.cta-band,
.footer,
.legal-main,
.legal-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 18, 43, 0.58);
  backdrop-filter: blur(24px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(21, 86, 215, 0.95), rgba(84, 214, 255, 0.88));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.36), 0 14px 30px rgba(20, 83, 208, 0.34);
}

.brand-mark svg {
  width: 1.95rem;
  height: 1.95rem;
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
}

.brand-copy strong {
  letter-spacing: -0.04em;
  font-size: 1.04rem;
}

.brand-copy span,
.main-nav a,
.footer p,
.footer nav a,
.legal-footer p,
.legal-footer a,
.body-copy,
.eyebrow,
.section-kicker,
.glass-card p,
.timeline-card p,
.policy-card p,
.legal-card p,
.support-table li,
.support-grid p,
.support-strip p {
  color: var(--muted);
}

.brand-copy span {
  font-size: 0.82rem;
}

.main-nav,
.header-actions,
.lang-switch {
  display: inline-flex;
  align-items: center;
}

.main-nav {
  gap: 1.3rem;
}

.main-nav a {
  font-size: 0.96rem;
}

.header-actions {
  gap: 0.9rem;
}

.lang-switch {
  gap: 0.22rem;
  padding: 0.24rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch button {
  border: 0;
  min-width: 2.4rem;
  min-height: 2.15rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-switch button[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(34, 112, 255, 0.95), rgba(89, 214, 255, 0.78));
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.lang-switch button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 36px rgba(29, 118, 255, 0.24);
}

.button-secondary,
.button-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.98fr);
  align-items: center;
  gap: 3.2rem;
  padding: 5.5rem 0 4.5rem;
}

.hero-copy h1,
.section-head h2,
.cta-card h2,
.legal-hero h1,
.legal-section h2 {
  margin: 0;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
}

.hero-accent {
  display: block;
  margin-top: 0.78rem;
  color: rgba(226, 241, 255, 0.86);
}

.eyebrow,
.section-kicker,
.card-label,
.index {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.64rem 0.92rem;
  margin: 0 0 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.hero-text,
.cta-card p,
.legal-hero p,
.legal-card ul,
.legal-card ol,
.legal-card li,
.support-table,
.support-grid p,
.section-head h2 + p,
.language-card p {
  line-height: 1.72;
}

.hero-text {
  max-width: 44rem;
  margin: 1.55rem 0 0;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-actions,
.cta-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-stats,
.benefit-grid,
.faq-grid,
.support-grid,
.support-strip {
  display: grid;
  gap: 1rem;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.2rem;
}

.hero-stats article {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-stats strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.hero-stage {
  position: relative;
  min-height: 44rem;
}

.floating-pill {
  position: absolute;
  z-index: 2;
  max-width: 16rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.floating-pill-top {
  top: 2rem;
  left: 0;
}

.floating-pill-bottom {
  right: -0.5rem;
  bottom: 4rem;
}

.iphone-card,
.glass-card,
.timeline-card,
.language-card,
.policy-card,
.cta-card,
.legal-card,
.support-card,
.support-table {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px);
}

.iphone-card {
  position: relative;
  width: min(100%, 35rem);
  margin-left: auto;
  padding: 1.25rem;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(8, 25, 70, 0.94), rgba(3, 9, 24, 0.95));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.iphone-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 30px;
}

.iphone-glow {
  position: absolute;
  inset: -15% auto auto 50%;
  width: 16rem;
  height: 16rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(89, 214, 255, 0.24), transparent 70%);
  filter: blur(18px);
}

.phone-header,
.keyboard-top,
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.phone-header,
.message-card,
.keyboard-preview,
.legal-card,
.support-card,
.support-table {
  position: relative;
  z-index: 1;
}

.phone-header {
  padding: 0.7rem 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.status-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #8fffcc, #4de598);
  box-shadow: 0 0 0 0.35rem rgba(105, 239, 176, 0.14);
}

.language-chip {
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted-strong);
  font-size: 0.85rem;
}

.message-card {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.card-label {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.message-copy {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.58;
  letter-spacing: -0.02em;
}

.wave-bars {
  display: flex;
  align-items: end;
  gap: 0.35rem;
  height: 2rem;
  margin-top: 1rem;
}

.wave-bars span {
  width: 0.38rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(113, 228, 255, 0.96), rgba(33, 103, 255, 0.85));
  animation: wave 1.35s ease-in-out infinite;
}

.wave-bars span:nth-child(1) { height: 0.75rem; animation-delay: 0s; }
.wave-bars span:nth-child(2) { height: 1.4rem; animation-delay: 0.1s; }
.wave-bars span:nth-child(3) { height: 2rem; animation-delay: 0.2s; }
.wave-bars span:nth-child(4) { height: 1rem; animation-delay: 0.3s; }
.wave-bars span:nth-child(5) { height: 2.15rem; animation-delay: 0.4s; }
.wave-bars span:nth-child(6) { height: 1.3rem; animation-delay: 0.5s; }
.wave-bars span:nth-child(7) { height: 0.85rem; animation-delay: 0.6s; }

.keyboard-preview {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.05);
}

.keyboard-top span {
  color: var(--muted);
}

.keyboard-top strong {
  letter-spacing: -0.03em;
}

.mic-ring {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 14rem;
}

.mic-ring::before,
.mic-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle, rgba(89, 214, 255, 0.2), transparent 70%);
  animation: breathe 2.8s ease-in-out infinite;
}

.mic-ring::before {
  width: 9rem;
  height: 9rem;
}

.mic-ring::after {
  width: 13rem;
  height: 13rem;
  opacity: 0.5;
  animation-delay: 0.45s;
}

.mic-ring-inner {
  position: relative;
  width: 5.8rem;
  height: 5.8rem;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(220, 241, 255, 0.88));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.mic-ring-inner::before,
.mic-ring-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mic-ring-inner::before {
  top: 1.38rem;
  width: 1.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f58dd, #2a9eff);
}

.mic-ring-inner::after {
  top: 3.82rem;
  width: 0.5rem;
  height: 1rem;
  border-radius: 999px;
  background: #0f58dd;
}

.keyboard-cards {
  display: grid;
  gap: 0.8rem;
}

.keyboard-cards article {
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.keyboard-cards strong,
.glass-card h3,
.timeline-card h3,
.policy-card h3,
.language-card h3,
.legal-card h3,
.support-card h3,
.support-table h3 {
  display: block;
  margin: 0 0 0.45rem;
  letter-spacing: -0.03em;
}

.keyboard-cards span,
.language-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
}

.content-block,
.split-layout,
.cta-band {
  padding: 2rem 0 5rem;
}

.section-head {
  max-width: 48rem;
}

.section-head h2,
.cta-card h2,
.legal-hero h1,
.legal-section h2 {
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.03;
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.glass-card,
.policy-card {
  padding: 1.35rem;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.index {
  margin: 0 0 0.8rem;
  color: rgba(116, 226, 255, 0.84);
}

.glass-card p:last-child,
.policy-card p:last-child,
.timeline-card p,
.support-card p,
.legal-card p {
  margin: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.4rem;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.timeline-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 24px;
}

.timeline-card span {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(25, 118, 255, 0.94), rgba(89, 214, 255, 0.72));
  font-weight: 700;
}

.language-card {
  position: sticky;
  top: 6.5rem;
  padding: 1.4rem;
  margin-top: 6.3rem;
  border-radius: 28px;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.1rem 0 1rem;
}

.language-list span {
  padding: 0.6rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.policy-grid,
.support-grid,
.support-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.policy-card {
  display: block;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.cta-card {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.footer,
.legal-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
}

.footer p,
.legal-footer p {
  max-width: 34rem;
  margin: 0.45rem 0 0;
}

.footer nav,
.legal-footer nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-main {
  padding: 4rem 0 5rem;
}

.legal-hero {
  max-width: 52rem;
  padding: 3rem 0 2rem;
}

.legal-hero p {
  margin: 1.25rem 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
}

.legal-aside,
.support-card,
.support-table {
  padding: 1.35rem;
  border-radius: 24px;
}

.legal-aside {
  position: sticky;
  top: 6.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.legal-aside p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-aside nav {
  display: grid;
  gap: 0.65rem;
}

.legal-aside a {
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
}

.legal-sections {
  display: grid;
  gap: 1rem;
}

.legal-card {
  padding: 1.45rem;
  border-radius: 26px;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.2rem;
  color: var(--muted);
}

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

.support-grid,
.support-strip {
  margin-top: 1.5rem;
}

.support-actions {
  margin-top: 1.1rem;
}

.support-table ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.7); opacity: 0.56; }
  50% { transform: scaleY(1.04); opacity: 1; }
}

@keyframes breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.3; }
  50% { transform: scale(1.08); opacity: 0.72; }
}

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }

  .hero,
  .split-layout,
  .cta-card,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-stage {
    min-height: auto;
  }

  .iphone-card {
    margin: 0 auto;
  }

  .floating-pill {
    position: static;
    max-width: none;
    margin-bottom: 1rem;
  }

  .language-card,
  .legal-aside {
    position: static;
    margin-top: 0;
  }

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

@media (max-width: 760px) {
  .topbar {
    align-items: start;
    border-radius: 28px;
    padding: 1rem;
  }

  .brand-copy span,
  .button-ghost {
    display: none;
  }

  .header-actions {
    flex-direction: column;
    align-items: end;
  }

  .hero,
  .content-block,
  .split-layout,
  .cta-band,
  .legal-main {
    padding-top: 3rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-stats,
  .benefit-grid,
  .faq-grid,
  .policy-grid,
  .support-grid,
  .support-strip {
    grid-template-columns: 1fr;
  }

  .iphone-card {
    width: 100%;
    border-radius: 30px;
  }

  .mic-ring {
    min-height: 11rem;
  }

  .cta-card,
  .legal-card,
  .support-card,
  .support-table {
    padding: 1.3rem;
  }

  .footer,
  .legal-footer {
    flex-direction: column;
  }
}
