:root {
  color-scheme: dark;
  --ink: #f7f7fa;
  --muted: #a9b2c3;
  --muted-2: #7f899a;
  --blue: #3264ef;
  --blue-2: #74a7ef;
  --mint: #8ae6bd;
  --brand-bg: #1a1a1a;
  --bg: #101112;
  --surface: #17191c;
  --surface-2: #1e2126;
  --line: #2a2e35;
  --max: 1180px;
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(50, 100, 239, .12), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .65rem .9rem;
  background: var(--ink);
  color: #111;
  border-radius: .5rem;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: var(--brand-bg);
}

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

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

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 138px; height: 55px; object-fit: cover; }

.nav { display: flex; align-items: center; gap: 1.65rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 700; }
.nav a:hover, .nav a:focus-visible { color: var(--ink); }

.button,
.nav .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .75rem 1.1rem;
  border: 1px solid var(--blue);
  border-radius: 12px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); background: #3d6df1; }
.button.secondary { background: transparent; border-color: #424955; color: var(--ink); }
.button.secondary:hover { background: var(--surface-2); }

.menu-button { display: none; background: transparent; border: 0; color: white; font: inherit; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.1rem;
  color: #86a8ff;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 1.35rem; font-size: clamp(3rem, 6vw, 5.65rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2.15rem, 3.6vw, 3.6rem); }
h3 { margin-bottom: .6rem; font-size: clamp(1.35rem, 2vw, 1.8rem); }

.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.32rem); }

.hero { padding: clamp(4rem, 8vw, 7.2rem) 0 4.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.note { margin-top: 1.2rem; color: var(--muted-2); font-size: .88rem; }

.phone-stage { position: relative; min-height: 590px; display: grid; place-items: center; }
.phone-stage::before {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50,100,239,.28), rgba(50,100,239,0) 68%);
}

.phone {
  position: relative;
  width: min(310px, 78vw);
  padding: 10px;
  border: 1px solid #454c59;
  border-radius: 43px;
  background: #070808;
  box-shadow: 0 34px 90px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.025);
  transform: rotate(1.5deg);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  width: 84px;
  height: 21px;
  border-radius: 20px;
  background: #050506;
  transform: translateX(-50%);
}

.phone img { display: block; border-radius: 34px; }
.section { padding: clamp(4.8rem, 9vw, 8rem) 0; }
.section.line { border-top: 1px solid var(--line); }

.statement { padding: clamp(4rem, 8vw, 7rem) 0; }
.statement-grid { display: grid; grid-template-columns: .35fr 1.65fr; gap: 3rem; align-items: start; }
.statement-kicker { margin: .65rem 0 0; color: #86a8ff; font-size: .82rem; font-weight: 900; letter-spacing: .16em; }
.statement-copy { max-width: 850px; margin: 0; color: var(--ink); font-size: clamp(2.25rem, 4.8vw, 4.7rem); font-weight: 760; line-height: 1.08; letter-spacing: -.045em; }

.product-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(360px,1.15fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.product-copy { max-width: 540px; }
.product-list { margin-top: 2.3rem; border-top: 1px solid var(--line); }
.product-list > div { display: grid; grid-template-columns: 100px 1fr; gap: 1.2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.product-list span { color: var(--ink); font-weight: 800; }
.product-list p { margin: 0; color: var(--muted); }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 1rem; }
.screen-card { position: relative; overflow: hidden; border: 1px solid #343943; border-radius: 22px; background: var(--surface); box-shadow: 0 20px 42px rgba(0,0,0,.24); }
.screen-card:nth-child(1) { transform: translateY(22px); }
.screen-card:nth-child(2) { z-index: 2; }
.screen-card:nth-child(3) { transform: translateY(22px); }
.screen-card img { display: block; width: 100%; }

.plan-focus { background: #131518; }
.plan-heading { display: grid; grid-template-columns: minmax(0,.8fr) minmax(360px,1.2fr); column-gap: clamp(3rem,8vw,8rem); align-items: start; }
.plan-heading .eyebrow { grid-column: 1 / -1; }
.plan-heading .lead { margin-top: .35rem; }
.plan-parts { display: grid; grid-template-columns: repeat(3,1fr); margin-top: clamp(3rem,6vw,5rem); border-top: 2px solid var(--blue); border-bottom: 1px solid var(--line); }
.plan-parts > div { padding: 1.7rem 2rem 1.8rem 0; }
.plan-parts > div + div { padding-left: 2rem; border-left: 1px solid var(--line); }
.plan-parts span { display: block; margin-bottom: 2.4rem; color: #86a8ff; font-size: .8rem; font-weight: 900; letter-spacing: .14em; }
.plan-parts p { margin-bottom: 0; color: var(--muted); }
.plan-note { margin: 1.35rem 0 0; color: var(--muted-2); font-size: .9rem; }

.independent-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(320px,1.1fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.independent-copy { padding-top: 2.4rem; border-top: 2px solid var(--blue); }
.independent-copy p { color: var(--muted); font-size: 1.08rem; }
.independent-copy p:last-child { margin-bottom: 0; }

.cta { text-align: center; }
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta .lead { margin-inline: auto; }
.cta .hero-actions { justify-content: center; }

.legal-hero { padding: 5rem 0 2.5rem; }
.legal-hero h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0,760px); gap: clamp(2rem,6vw,6rem); align-items: start; padding-bottom: 7rem; }
.legal-nav { position: sticky; top: 112px; display: grid; gap: .55rem; }
.legal-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.legal-nav a:hover { color: var(--ink); }
.legal-copy h2 { margin-top: 3.3rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin-top: 2rem; font-size: 1.15rem; letter-spacing: -.01em; }
.legal-copy p, .legal-copy li { color: #bdc4cf; }
.legal-copy a { color: #8eb1ff; }
.legal-copy .callout { margin: 2rem 0; padding: 1.25rem 1.4rem; border-left: 3px solid var(--blue); background: var(--surface); color: var(--ink); }
.legal-copy table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.legal-copy th, .legal-copy td { padding: .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-copy th { color: var(--ink); }

.support-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.support-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.support-card p { color: var(--muted); }

.site-footer { border-top: 1px solid rgba(255,255,255,.08); padding: 3rem 0; background: var(--brand-bg); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.footer-brand img { display: block; width: 120px; height: 48px; object-fit: cover; margin-bottom: .65rem; }
.footer-brand p { color: var(--muted-2); font-size: .85rem; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 1rem 1.4rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .9rem; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
  .reveal.visible { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero-grid, .product-grid, .independent-grid, .plan-heading { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .phone-stage { min-height: 600px; }
  .product-copy { max-width: 680px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .header-inner, .wrap { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 108px; height: 43px; }
  .menu-button { display: inline-flex; padding: .6rem; }
  .nav { display: none; position: absolute; inset: 70px 0 auto; padding: 1.2rem 20px 1.5rem; border-bottom: 1px solid var(--line); background: var(--brand-bg); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav .button { width: 100%; }
  .hero { padding-top: 4.3rem; }
  .phone-stage { min-height: 570px; }
  .statement-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .support-grid { grid-template-columns: 1fr; }
  .product-list > div { grid-template-columns: 80px 1fr; }
  .plan-parts { grid-template-columns: 1fr; }
  .plan-parts > div { padding: 1.5rem 0; }
  .plan-parts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .plan-parts span { margin-bottom: 1.2rem; }
  .screens { gap: .4rem; }
  .screen-card { border-radius: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
  .legal-copy table, .legal-copy thead, .legal-copy tbody, .legal-copy tr, .legal-copy th, .legal-copy td { display: block; }
  .legal-copy th { padding-bottom: .2rem; border: 0; }
  .legal-copy td { padding-top: 0; }
}
