:root {
  color-scheme: light dark;
  --canvas: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --ink: #17191d;
  --muted: #5b6470;
  --accent: #2856d8;
  --accent-deep: #173a98;
  --mint: #176b47;
  --amber: #8a5a00;
  --border: #dde1e7;
  --navy: #101d31;
  --on-dark: #f6f8fc;
  --on-dark-muted: #bdc8d8;
  --shadow: 0 20px 60px rgba(16, 29, 49, .10);
  --radius: 24px;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #79a2ff; outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 11px; box-shadow: 0 7px 18px rgba(16, 29, 49, .14); }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-size: .94rem; }
.brand small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.primary-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.primary-nav a { color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover { color: var(--ink); }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(40, 86, 216, .20);
}
.button:hover { background: var(--accent-deep); }
.button-secondary { border-color: var(--border); background: var(--surface); color: var(--ink); box-shadow: none; }
.button-secondary:hover { background: var(--surface-soft); }
.button-small { min-height: 44px; padding: 9px 16px; border-radius: 12px; font-size: .88rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero { padding: clamp(66px, 9vw, 118px) 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr); align-items: center; gap: clamp(42px, 7vw, 88px); }
.hero h1, .page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 span { display: block; margin-top: .18em; color: var(--accent); }
.hero-lead, .page-lead { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.06rem, 1.8vw, 1.3rem); line-height: 1.7; }
.trust-line { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 25px; color: var(--muted); font-size: .88rem; }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line span::before { content: "✓"; color: var(--mint); font-weight: 850; }
.device-stage { position: relative; min-height: 560px; }
.device-stage::before {
  content: "";
  position: absolute;
  inset: 3% -10% 12% 5%;
  border-radius: 44% 56% 49% 51%;
  background: radial-gradient(circle at 30% 25%, rgba(80, 128, 255, .28), transparent 48%), #e9eefb;
  transform: rotate(-4deg);
}
.ipad-shot {
  position: absolute;
  z-index: 1;
  width: 86%;
  right: 0;
  top: 6%;
  border: 10px solid var(--navy);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.iphone-shot {
  position: absolute;
  z-index: 2;
  width: 28%;
  left: 1%;
  bottom: 0;
  border: 7px solid var(--navy);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--border); background: var(--surface); }
.stat { padding: 30px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat strong { display: block; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: .88rem; }
.section { padding: clamp(72px, 9vw, 118px) 0; }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-soft { background: var(--surface-soft); }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -.04em; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p, .section-dark .muted { color: var(--on-dark-muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(16, 29, 49, .05);
}
.card-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 22px; border-radius: 14px; background: #e9eeff; color: var(--accent); font-weight: 850; }
.card h3 { margin: 0 0 8px; font-size: 1.2rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.journey { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.journey article { position: relative; padding: 26px 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.06); }
.journey article::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 32px; color: #91afff; font-size: .82rem; font-weight: 800; letter-spacing: .08em; }
.journey h3 { margin: 0 0 7px; }
.journey p { margin: 0; color: var(--on-dark-muted); font-size: .9rem; }
.privacy-callout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: center; }
.privacy-panel { padding: clamp(28px, 5vw, 52px); border-radius: 32px; background: var(--navy); color: var(--on-dark); }
.privacy-list, .check-list { list-style: none; margin: 24px 0 0; padding: 0; }
.privacy-list li, .check-list li { position: relative; padding: 12px 0 12px 30px; }
.privacy-list li::before, .check-list li::before { content: "✓"; position: absolute; left: 0; color: #68d9aa; font-weight: 850; }
.quote-card { padding: 36px; border-left: 4px solid var(--accent); border-radius: 0 24px 24px 0; background: var(--surface); }
.quote-card p { margin: 0; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.45; letter-spacing: -.025em; }
.cta-band { padding: 42px; border-radius: 30px; background: linear-gradient(135deg, var(--accent), #173a98); color: #fff; }
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-band p { max-width: 720px; margin-bottom: 0; color: #dce6ff; }
.page-hero { padding: clamp(70px, 9vw, 112px) 0 62px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.55rem, 6vw, 4.8rem); }
.content-shell { width: min(calc(100% - 40px), 860px); margin-inline: auto; }
.prose { padding: 62px 0 100px; }
.prose h2 { margin: 3.1rem 0 .8rem; font-size: 1.65rem; line-height: 1.25; letter-spacing: -.02em; }
.prose h3 { margin: 2rem 0 .5rem; font-size: 1.15rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.notice { margin: 26px 0; padding: 20px 22px; border-left: 4px solid var(--accent); border-radius: 0 15px 15px 0; background: #eaf0ff; }
.notice p { margin: 0; color: var(--ink); }
.notice-warning { border-color: var(--amber); background: #fff5dc; }
.pricing-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.price-card { padding: clamp(28px, 5vw, 46px); border: 1px solid #aac0ff; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.price { margin: 18px 0 4px; font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 850; letter-spacing: -.06em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 650; letter-spacing: 0; }
.term-table { width: 100%; border-collapse: collapse; }
.term-table th, .term-table td { padding: 16px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.term-table th { width: 34%; color: var(--ink); font-size: .92rem; }
.term-table td { color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { margin-bottom: 0; }
.site-footer { padding: 62px 0 24px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.35fr 1.4fr; gap: 34px; }
.footer-grid h2 { margin: 0 0 13px; font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid > div > a { display: block; margin: 9px 0; color: var(--muted); font-size: .88rem; text-decoration: none; }
.footer-grid > div > a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand { margin-bottom: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .78rem; }
.muted { color: var(--muted); }
.compact { font-size: .86rem; line-height: 1.55; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 11px; border-radius: 999px; background: #e8f5ee; color: var(--mint); font-size: .78rem; font-weight: 800; }

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #101216;
    --surface: #1a1d22;
    --surface-soft: #15181d;
    --ink: #f4f5f7;
    --muted: #aeb6c2;
    --accent: #8eabff;
    --accent-deep: #b5c7ff;
    --border: #333842;
    --navy: #0c1422;
    --shadow: 0 20px 60px rgba(0, 0, 0, .35);
  }
  .button { color: #111827; }
  .button-secondary { color: var(--ink); }
  .card-icon, .notice { background: #242f4b; }
  .notice-warning { background: #3b301b; }
  .device-stage::before { background: radial-gradient(circle at 30% 25%, rgba(80, 128, 255, .25), transparent 48%), #1a2232; }
  .stat strong { color: var(--ink); }
}

@media (max-width: 920px) {
  .primary-nav { display: none; }
  .header-inner { gap: 12px; }
  .header-inner > .button { margin-left: auto; }
  .hero-grid, .privacy-callout, .pricing-layout { grid-template-columns: 1fr; }
  .device-stage { min-height: 500px; max-width: 690px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell, .content-shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header .brand small { display: none; }
  .site-header .brand strong { font-size: .82rem; }
  .site-header .brand img { width: 36px; height: 36px; }
  .header-inner > .button { padding-inline: 12px; font-size: .78rem; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(2.65rem, 15vw, 4rem); }
  .device-stage { min-height: 390px; }
  .ipad-shot { width: 93%; border-width: 6px; border-radius: 18px; }
  .iphone-shot { width: 31%; border-width: 5px; border-radius: 20px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .stat:nth-child(4) { border-top: 1px solid var(--border); }
  .feature-grid, .journey { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .term-table, .term-table tbody, .term-table tr, .term-table th, .term-table td { display: block; }
  .term-table tr { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .term-table th, .term-table td { width: 100%; padding: 3px 0; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (forced-colors: active) {
  .card, .price-card, .journey article { border: 1px solid CanvasText; }
}
