
:root {
  --bg: #070b14;
  --bg-2: #0d1424;
  --surface: rgba(255,255,255,.075);
  --surface-strong: rgba(255,255,255,.12);
  --line: rgba(255,255,255,.14);
  --text: #f8fbff;
  --muted: #a7b4c7;
  --muted-2: #728097;
  --brand: #18c8ff;
  --brand-2: #6d5dfb;
  --brand-3: #39f6b2;
  --danger: #ff5d73;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(24, 200, 255, .22), transparent 28rem),
    radial-gradient(circle at 80% 10%, rgba(109, 93, 251, .22), transparent 32rem),
    linear-gradient(180deg, #070b14 0%, #0a111f 46%, #070b14 100%);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
p, li, code, a { overflow-wrap: anywhere; }
code { color: #b5f2ff; background: rgba(255,255,255,.08); padding: .16rem .38rem; border-radius: 8px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 4px; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 12px; }
.skip-link:focus { left: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  margin: max(16px, env(safe-area-inset-top)) auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 20, .72);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
}
.site-header.is-elevated { background: rgba(7, 11, 20, .86); box-shadow: 0 18px 58px rgba(0,0,0,.34); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand img, .footer-brand img { display: block; width: 32px; height: 32px; border-radius: 10px; flex: none; box-shadow: 0 10px 24px rgba(0,0,0,.24); }
.site-header .brand img { border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.brand span { font-size: 1.13rem; }
.nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.nav a, .header-cta { color: var(--muted); padding: 10px 14px; border-radius: 999px; font-size: .94rem; transition: .18s ease; }
.nav a:hover, .header-cta:hover { color: #fff; background: rgba(255,255,255,.08); }
.header-cta { color: #07111f; background: #fff; font-weight: 800; }
.header-cta:hover { color: #07111f; background: linear-gradient(135deg, #fff, #dffaff); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 999px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(7, 11, 20, .96);
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
  backdrop-filter: blur(22px);
  max-height: min(72vh, 520px);
  overflow-y: auto;
}
.mobile-menu.is-open { display: grid; }
.mobile-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  font-weight: 800;
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,.08); }
.mobile-menu-cta { color: #04101e !important; background: linear-gradient(135deg, var(--brand-3), var(--brand), #9ea0ff) !important; justify-content: center; }
.hero { position: relative; width: min(var(--max), calc(100% - 32px)); margin: 70px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(24px, 4vw, 54px); align-items: center; }
.hero-content { max-width: 700px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .8; pointer-events: none; }
.hero-glow-a { width: 240px; height: 240px; background: rgba(24,200,255,.16); left: -80px; top: 60px; }
.hero-glow-b { width: 260px; height: 260px; background: rgba(57,246,178,.12); right: 40px; bottom: -40px; }
.eyebrow { color: #8be9ff; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; margin: 0 0 12px; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(2.8rem, 6vw, 5.7rem); max-width: 840px; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3.35rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); line-height: 1.65; }
.hero-lead { font-size: 1.22rem; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 34px 0 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button small { display: block; font-size: .75rem; opacity: .78; font-weight: 700; }
.button-primary { flex-direction: column; align-items: flex-start; color: #04101e; background: linear-gradient(135deg, var(--brand-3), var(--brand), #9ea0ff); box-shadow: 0 18px 54px rgba(24,200,255,.24); }
.button-secondary { color: #fff; background: rgba(255,255,255,.08); }
.button.is-disabled { opacity: .56; pointer-events: none; }
.download-note { max-width: 680px; color: var(--muted-2); font-size: .93rem; }
.phone-stage { display: grid; place-items: center; justify-self: end; width: 100%; max-width: 380px; }
.phone-shell { position: relative; width: min(340px, 100%); aspect-ratio: 941 / 1672; border: 1px solid rgba(255,255,255,.18); border-radius: 44px; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); box-shadow: var(--shadow); overflow: hidden; }
.phone-shell::before { content: ''; position: absolute; inset: 0; border-radius: 44px; border: 1px solid rgba(255,255,255,.12); pointer-events: none; z-index: 4; }
.phone-shell-image {
  padding: 0;
  transform: none;
}
.phone-screen { position: absolute; inset: 14px 12px 12px; border-radius: 34px; overflow: hidden; background: #08111f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); z-index: 1; }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 112px; height: 26px; border-radius: 999px; background: rgba(6, 11, 20, .96); z-index: 3; box-shadow: inset 0 -1px 0 rgba(255,255,255,.04); }
.chat-preview { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center top; background: #08111f; filter: saturate(1.02) contrast(1.01); }
.section { width: min(var(--max), calc(100% - 32px)); margin: 90px auto 0; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.055); }
.metric strong { display: block; font-size: 1.18rem; }
.metric span { color: var(--muted-2); font-size: .92rem; }
.section-heading { max-width: 780px; margin-bottom: 28px; }
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card, .legal-card, .checklist-card, .download-panel { border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045)); box-shadow: 0 18px 60px rgba(0,0,0,.18); }
.card { padding: 28px; }
.card h2 { font-size: 1.45rem; line-height: 1.12; }
.card p:last-child { margin-bottom: 0; }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 18px; color: #03111c; background: linear-gradient(135deg, var(--brand-3), var(--brand)); font-weight: 900; margin-bottom: 22px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.checklist-card { display: grid; gap: 12px; padding: 18px; }
.checklist-card a { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: 22px; background: rgba(255,255,255,.07); color: #fff; font-weight: 800; }
.checklist-card a::after { content: '→'; color: var(--brand); flex: none; margin-left: 12px; }
.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 34px; }
.legal-hero { width: min(900px, calc(100% - 32px)); margin: 72px auto 0; text-align: center; }
.legal-hero h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.legal-layout { width: min(var(--max), calc(100% - 32px)); margin: 42px auto 0; display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.legal-layout.single { grid-template-columns: 1fr; max-width: 920px; }
.legal-toc { position: sticky; top: 104px; display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.055); }
.legal-toc a { color: var(--muted); padding: 10px 12px; border-radius: 14px; }
.legal-toc a:hover { color: #fff; background: rgba(255,255,255,.08); }
.legal-card { padding: clamp(24px, 4vw, 46px); }
.legal-card h2 { font-size: clamp(1.45rem, 3vw, 2.25rem); margin-top: 30px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card li { color: var(--muted); line-height: 1.65; margin-bottom: 8px; }
.legal-card a { color: #8be9ff; font-weight: 800; }
.muted-card { background: rgba(255,255,255,.055); }
.narrow { max-width: 920px; }
.support-card .button { margin-top: 12px; }
.table-wrap { max-width: 100%; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
th { color: #fff; background: rgba(255,255,255,.06); }
.site-footer { width: min(var(--max), calc(100% - 32px)); margin: 100px auto 28px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.055); display: grid; grid-template-columns: .9fr 1.4fr; gap: 36px; }
.footer-brand { margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.site-footer h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin: 0 0 12px; }
.site-footer a { display: block; color: var(--muted); margin: 9px 0; }
.site-footer a:hover { color: #fff; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 920px) {
  .hero, .split, .download-panel, .site-footer { grid-template-columns: 1fr; }
  .cards.three, .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-stage { justify-self: center; max-width: 360px; }
  .phone-shell { max-width: 330px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; }
  .legal-toc a { flex: 1 1 160px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-header { width: calc(100% - 20px); margin-top: max(10px, env(safe-area-inset-top)); padding: 8px; gap: 8px; }
  .brand { gap: 10px; }
  .brand span { font-size: 1.04rem; }
  .header-cta { display: none; }
  .hero, .section, .legal-hero, .legal-layout, .site-footer { width: calc(100% - 20px); }
  .hero { margin-top: 40px; gap: 28px; }
  .hero-glow { display: none; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.05rem); }
  h2 { font-size: clamp(1.65rem, 9vw, 2.35rem); }
  h3, .card h2 { font-size: 1.24rem; }
  .hero-lead { font-size: 1.04rem; }
  .hero-actions { margin-top: 26px; }
  .button { width: 100%; min-height: 54px; padding-inline: 16px; }
  .cards.three, .cards.two, .strip { grid-template-columns: 1fr; }
  .card, .legal-card { padding: 22px; border-radius: 24px; }
  .download-panel { padding: 24px; }
  .phone-stage { max-width: 285px; }
  .phone-shell { width: min(270px, 76vw); border-radius: 34px; }
  .phone-shell::before { border-radius: 34px; }
  .phone-screen { inset: 12px 10px 10px; border-radius: 26px; }
  .phone-notch { top: 15px; width: 92px; height: 22px; }
  .site-footer { padding: 24px; margin-bottom: max(20px, env(safe-area-inset-bottom)); }
  .legal-hero { margin-top: 46px; text-align: left; }
  .legal-hero h1 { font-size: clamp(2.35rem, 12vw, 3.1rem); }
  .legal-toc { gap: 8px; padding: 10px; border-radius: 20px; }
  .legal-toc a { flex-basis: 100%; }
  table { min-width: 620px; }
}
@media (max-width: 380px) {
  .site-header { width: calc(100% - 14px); }
  .hero, .section, .legal-hero, .legal-layout, .site-footer { width: calc(100% - 14px); }
  .brand img, .footer-brand img { width: 30px; height: 30px; }
  .menu-toggle { width: 44px; height: 44px; }
  .card, .legal-card, .download-panel { padding: 20px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .site-header { margin-top: 8px; }
  .hero { margin-top: 28px; grid-template-columns: minmax(0, 1fr) minmax(190px, 240px); }
  h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { margin: 20px 0 10px; }
  .phone-shell { width: min(230px, 32vw); }
  .mobile-menu { max-height: 76vh; }
}
