:root {
  --bg: #ffffff;
  --ink: #0d1422;
  --muted: #5a6676;
  --line: #dfe6ee;
  --soft: #f4f8fc;
  --navy: #0b1d3d;
  --navy-2: #12305e;
  --glacier: #76d4fa;
  --glacier-ink: #0b6fa0;
  --shadow: 0 24px 70px rgba(11, 29, 61, 0.14);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 230, 238, 0.85);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 780; font-size: 16px; }
.brand img { width: 38px; height: 38px; border-radius: 9px; box-shadow: 0 8px 18px rgba(11, 29, 61, 0.2); }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 650; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 10px;
  border: 1px solid transparent; background: var(--ink); color: #fff;
  text-decoration: none; font-size: 15px; font-weight: 760; line-height: 1; white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(11, 29, 61, 0.2); }
.button.glacier { background: var(--glacier); color: var(--navy); }
.button.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.button.soon { background: #000; color: #fff; cursor: default; }
.button.soon:hover { transform: none; box-shadow: none; }
.apple-glyph { width: 18px; height: 20px; fill: currentColor; }

/* Hero */
.hero {
  background: radial-gradient(1200px 520px at 70% -10%, #1d4a8a 0%, var(--navy) 55%, #07132a 100%);
  color: #fff; padding: 72px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--glacier); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero p.lede { font-size: 19px; color: rgba(255, 255, 255, 0.75); margin: 0 0 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fine { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-top: 16px; }

/* Before/after */
.compare {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.12);
  --split: 50%; user-select: none; touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transform-origin: 58% 62%; }
.compare .before { clip-path: inset(0 calc(100% - var(--split)) 0 0); image-rendering: auto; }
.compare .divider {
  position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px;
  background: var(--glacier); box-shadow: 0 0 14px rgba(118, 212, 250, 0.7);
}
.compare .handle {
  position: absolute; top: 50%; left: var(--split); width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; background: var(--glacier); color: var(--navy);
  display: grid; place-items: center; font-weight: 900; font-size: 15px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.compare .tag {
  position: absolute; top: 14px; padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.compare .tag.left { left: 14px; background: rgba(0, 0, 0, 0.6); color: #fff; }
.compare .tag.right { right: 14px; background: var(--glacier); color: var(--navy); }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.caption { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-top: 12px; }

/* Sections */
section { padding: 84px 0; }
section.soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 12px; }
.section-head p { font-size: 17px; color: var(--muted); margin: 0; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glacier-ink); margin-bottom: 10px; display: block; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -44px; position: relative; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  box-shadow: var(--shadow);
}
.value strong { display: block; font-size: 17px; margin-bottom: 4px; }
.value span { color: var(--muted); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: #fff; }
.feature .icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--glacier); font-size: 20px; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.step .num { font-size: 13px; font-weight: 800; color: var(--glacier-ink); letter-spacing: 0.1em; }
.step h3 { margin: 8px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--glacier); font-size: 13px; font-weight: 900; margin-top: 2px;
}
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 15px; }

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 720; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.cta {
  background: var(--navy); color: #fff; border-radius: 22px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta h2 { margin: 0 0 6px; font-size: 30px; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.7); }
.cta .brand-mark { display: flex; align-items: center; gap: 18px; }
.cta img { width: 72px; height: 72px; border-radius: 17px; }

/* Documents (support, privacy, terms) */
.doc { padding: 64px 0 88px; }
.doc .shell { max-width: 760px; }
.doc h1 { font-size: 40px; letter-spacing: -0.015em; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 34px 0 8px; }
.doc p, .doc li { color: #2b3544; }
.doc ul { padding-left: 20px; }
.doc .card { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 20px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 20px; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .values, .steps, .features, .checks { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 48px 0 64px; }
  .values { margin-top: 28px; }
  .nav-links .hide-sm { display: none; }
  .cta { padding: 32px; }
}

@media (max-width: 560px) {
  .nav-links .button { display: none; }
  .brand { white-space: nowrap; }
  .hero p.lede { font-size: 17px; }
}
