:root {
  --night: #071a25;
  --deep: #0b2633;
  --ink: #102a35;
  --cyan: #1ac6d9;
  --cyan-dark: #007f97;
  --mint: #d8fbf7;
  --paper: #f4f8f7;
  --surface: #ffffff;
  --muted: #526970;
  --line: #cfe0e0;
  --coral: #ff8f70;
  --shadow: 0 28px 80px rgb(2 30 43 / 20%);
  --shell: min(1160px, calc(100% - 48px));
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
[hidden] { display: none !important; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--night);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(16 42 53 / 12%);
  background: rgb(244 248 247 / 94%);
  box-shadow: 0 8px 30px rgb(7 26 37 / 4%);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-size: 1.13rem;
  font-weight: 850;
  letter-spacing: -.03em;
  text-decoration: none;
}

.brand img { flex: none; border-radius: 11px; }

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.desktop-nav a,
.mobile-menu a,
.site-footer nav a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 740;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.desktop-nav a {
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 10px;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--deep);
  background: #e7f2f1;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.platform-label {
  padding: 8px 13px;
  color: var(--deep);
  background: var(--mint);
  border: 1px solid rgb(0 127 151 / 18%);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 840;
  letter-spacing: .03em;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  color: var(--deep);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.menu-open .menu-toggle { color: #fff; background: var(--deep); border-color: var(--deep); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: rgb(244 248 247 / 98%);
}

.mobile-menu-inner { display: grid; padding-block: 10px 16px; }

.mobile-menu a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid rgb(16 42 53 / 8%);
}

.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { color: var(--cyan-dark); }

#overview,
#workflow,
#features,
#privacy,
#terms,
#contact,
#services,
#subscriptions { scroll-margin-top: 96px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
  align-items: center;
  min-height: 750px;
  padding-block: 74px 64px;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--cyan-dark);
  font-size: .76rem;
  font-weight: 880;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 { line-height: 1.04; text-wrap: balance; }

h1 {
  margin-bottom: 26px;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  font-weight: 920;
  letter-spacing: -.075em;
}

h1 span { color: var(--cyan-dark); }

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4.5vw, 4.15rem);
  font-weight: 890;
  letter-spacing: -.06em;
}

h3 { margin-bottom: 12px; font-size: 1.35rem; letter-spacing: -.035em; }

.hero-lede {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 2px solid var(--deep);
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 820;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--deep); }
.button-primary:hover { background: var(--night); }
.button-secondary:hover { background: var(--mint); }

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 730;
  list-style: none;
}

.proof-list li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--cyan-dark);
  border-radius: 50%;
  content: "";
}

.hero-visual { position: relative; min-height: 650px; }

.glow {
  position: absolute;
  inset: 14% 0 8%;
  background: radial-gradient(circle at 50% 45%, rgb(26 198 217 / 42%), rgb(26 198 217 / 0) 68%);
  filter: blur(8px);
}

.phone {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: min(350px, 82vw);
  padding: 8px;
  background: #05151d;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 44px;
  box-shadow: var(--shadow);
}

.phone img { width: 100%; border-radius: 36px; }
.phone-main { position: absolute; top: 0; left: 50%; transform: translateX(-46%) rotate(2deg); }

.floating-stat {
  position: absolute;
  z-index: 4;
  right: -10px;
  bottom: 78px;
  display: grid;
  padding: 15px 20px;
  color: #fff;
  background: var(--deep);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgb(3 31 44 / 26%);
}

.floating-stat strong { font-size: 1.2rem; }
.floating-stat span { color: #a9ccd2; font-size: .78rem; }
.signal-strip { color: #fff; background: var(--night); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
.signal-grid p { display: grid; margin: 0; padding: 4px 24px; border-right: 1px solid rgb(255 255 255 / 15%); }
.signal-grid p:last-child { border: 0; }
.signal-grid strong { color: var(--cyan); font-size: 1.75rem; line-height: 1; }
.signal-grid span { margin-top: 7px; color: #b4cbd2; font-size: .82rem; font-weight: 700; }
.section { padding-block: 112px; }

.section-heading {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: end;
  margin-bottom: 52px;
  gap: 50px;
}

.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -22px; }
.section-heading p:last-child { margin-bottom: 6px; color: var(--muted); font-size: 1.08rem; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.workflow-grid article {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.workflow-grid article > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  place-items: center;
  color: var(--deep);
  background: var(--mint);
  border-radius: 50%;
  font-size: .76rem;
  font-weight: 900;
}

.workflow-grid p { margin-bottom: 0; color: var(--muted); }
.story { overflow: hidden; padding-block: 100px; color: #fff; background: linear-gradient(135deg, var(--night), #103d4a); }
.story-grid { display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 80px; }
.story-grid > *,
.story-copy,
.check-list,
.check-list li { min-width: 0; }
.story .eyebrow { color: var(--cyan); }
.story-copy p { max-width: 600px; color: #c2d8dc; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; padding: 0; list-style: none; }
.check-list li::before { margin-right: 10px; color: var(--cyan); content: "✓"; font-weight: 900; }
.phone-feature { justify-self: center; transform: rotate(-2deg); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.feature-card {
  display: grid;
  grid-template-columns: 1fr minmax(180px, .64fr);
  overflow: hidden;
  min-height: 560px;
  padding: 38px 22px 0 38px;
  background: #e1f8f5;
  border: 1px solid #b9e2df;
  border-radius: 28px;
}

.feature-card h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.feature-card > div p:last-child { color: var(--muted); }
.phone-small { align-self: end; justify-self: end; width: 230px; border-radius: 30px; box-shadow: 0 24px 60px rgb(3 31 44 / 20%); }
.phone-small img { border-radius: 23px; }
.pro-card { background: #e8edf8; border-color: #cbd4ea; }
.privacy-band { padding-block: 96px; color: #fff; background: var(--deep); }
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; }
.eyebrow-light { color: var(--cyan); }
.privacy-grid p { color: #c1d6db; }
.privacy-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.privacy-facts span { padding: 8px 12px; color: #dffaff; background: rgb(26 198 217 / 12%); border: 1px solid rgb(26 198 217 / 25%); border-radius: 999px; font-size: .8rem; font-weight: 730; }
.text-link { color: #fff; font-weight: 820; }
.site-footer { padding-block: 52px; color: #a9bec4; background: var(--night); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 42px; }
.site-footer .brand { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer nav a:hover { color: #fff; }
.site-footer p { margin: 8px 0 0; }
.copyright { font-size: .84rem; }

.legal-shell { width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 110px; }
.legal-hero { padding: 36px 0 48px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(3.2rem, 8vw, 6rem); }
.legal-intro { max-width: 780px; color: var(--muted); font-size: 1.18rem; }
.policy-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 0; gap: 12px; }
.policy-meta div { padding: 16px; background: #e5f5f3; border: 1px solid var(--line); border-radius: 12px; }
.policy-meta dt { color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.policy-meta dd { margin: 4px 0 0; font-weight: 760; }

.policy-toc {
  position: sticky;
  z-index: 10;
  top: 88px;
  display: flex;
  overflow-x: auto;
  align-items: center;
  gap: 6px;
  margin: 28px 0;
  padding: 10px;
  background: rgb(244 248 247 / 96%);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  scrollbar-width: thin;
}

.policy-toc strong,
.policy-toc a { padding: 8px 10px; white-space: nowrap; font-size: .79rem; }
.policy-toc a { min-height: 40px; color: var(--muted); border-radius: 8px; text-decoration: none; }
.policy-toc a:hover { color: var(--deep); background: #e5f5f3; }
.policy-content section { padding: 42px 0; border-bottom: 1px solid var(--line); }
.policy-content h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.policy-content p,
.policy-content li { color: #405861; }
.policy-content li + li { margin-top: 9px; }

.legal-chapter {
  margin-top: 64px;
  padding: 44px !important;
  color: #fff;
  background: linear-gradient(135deg, var(--night), #103d4a);
  border: 0 !important;
  border-radius: 24px;
}

.legal-chapter:first-child { margin-top: 0; }
.legal-chapter h2 { margin-bottom: 14px; color: #fff; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.chapter-label { margin-bottom: 8px; color: var(--cyan) !important; font-size: .75rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.chapter-intro { max-width: 720px; margin-bottom: 0; color: #c6dde1 !important; font-size: 1.08rem; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.summary-grid p { margin: 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; }
th,
td { padding: 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--ink); background: #e5f5f3; font-size: .78rem; letter-spacing: .04em; }
td { font-size: .91rem; }
tr:last-child td { border-bottom: 0; }
code { padding: .12em .38em; background: #e5f5f3; border-radius: 5px; font-size: .88em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-visual { min-height: 620px; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal-grid p:nth-child(2) { border-right: 0; }
  .section-heading,
  .story-grid,
  .privacy-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .section-heading .eyebrow { margin-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { justify-self: start; }
}

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .menu-toggle { display: grid; place-items: center; }
  .platform-label { display: none; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 30px); }
  html { scroll-padding-top: 78px; }
  body { font-size: 16px; }
  .header-inner { min-height: 68px; }
  .brand img { width: 38px; height: 38px; }
  .hero { min-height: auto; gap: 32px; }
  .hero-visual { min-height: 540px; }
  .phone-main { width: 285px; transform: translateX(-50%) rotate(2deg); }
  .floating-stat { right: 0; bottom: 42px; }
  .signal-grid p { padding: 14px; }
  .section { padding-block: 78px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .story { padding-block: 76px; }
  .check-list { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px 0; }
  .phone-small { justify-self: center; }
  .privacy-band { padding-block: 76px; }
  .policy-meta,
  .summary-grid { grid-template-columns: 1fr; }
  .policy-toc { top: 76px; margin-inline: -6px; }
  .legal-shell { width: calc(100% - 30px); padding-top: 42px; }
  .legal-chapter { margin-inline: -2px; padding: 30px 24px !important; }
}

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