:root {
  color-scheme: light;
  --ink: #172033;
  --body: #4a5468;
  --muted: #8a93a6;
  --red: #1688ff;
  --coral: #35a1ff;
  --pink: #0875ea;
  --soft-red: #eaf4ff;
  --line: #dde6f2;
  --surface: #ffffff;
  --background: #f7faff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: white;
  background: linear-gradient(105deg, #4fb0ff 0%, var(--coral) 52%, var(--pink) 100%);
  box-shadow: 0 8px 30px rgba(8, 64, 140, .16);
}

.header-inner,
.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.brand span { display: grid; gap: 4px; }
.brand small { font-size: 9px; letter-spacing: .2em; opacity: .82; }

.brand-mark {
  width: 50px;
  height: 50px;
  display: block;
  border-radius: 15px;
  box-shadow: 0 6px 14px rgba(4, 40, 93, .2);
}

nav { display: flex; gap: 8px; }
nav a {
  padding: 9px 13px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: 14px;
  transition: background .18s ease, color .18s ease;
}
nav a:hover { color: white; background: rgba(255, 255, 255, .12); }
nav a[aria-current="page"] { color: white; background: rgba(255, 255, 255, .18); font-weight: 700; }

.page { padding: 56px 0 80px; }

.document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(25px, 5vw, 58px);
  box-shadow: 0 16px 46px rgba(23, 54, 99, .07);
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 4px;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.updated { margin: 0 0 34px; color: var(--muted); font-size: 14px; }

h2 {
  margin: 38px 0 10px;
  padding-top: 4px;
  font-size: 22px;
  line-height: 1.3;
}

p, li { color: var(--body); }
ul { padding-left: 22px; }
li + li { margin-top: 7px; }

.notice {
  margin: 28px 0;
  padding: 17px 19px;
  border-left: 4px solid var(--red);
  border-radius: 12px;
  background: var(--soft-red);
}

.contact {
  margin-top: 42px;
  padding: 20px;
  border: 1px solid #c4dfff;
  border-radius: 16px;
  background: #f2f8ff;
}

.contact p { margin-bottom: 0; }

footer {
  padding: 24px 16px 40px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

footer a { color: inherit; }

.hero {
  width: min(1100px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  padding: 84px 0 72px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
}

.hero h1 {
  max-width: 720px;
  margin: 12px 0 20px;
  font-size: clamp(48px, 7vw, 82px);
}

.hero h1 span { color: var(--red); }
.hero-copy > p { max-width: 650px; font-size: 18px; }

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

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
}

.primary-button {
  color: white;
  background: linear-gradient(105deg, var(--red), var(--pink));
  box-shadow: 0 12px 26px rgba(22, 136, 255, .25);
}

.secondary-button { color: var(--ink); border: 1px solid var(--line); background: white; }
.fine-print { margin-top: 16px; color: var(--muted) !important; font-size: 12px !important; }

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.app-glow { position: absolute; width: 350px; height: 350px; border-radius: 50%; background: linear-gradient(135deg, #9fd0ff, #d6e9ff); filter: blur(2px); opacity: .62; }
.app-card {
  position: relative;
  width: min(330px, 86vw);
  padding: 38px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 34px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 30px 80px rgba(16, 63, 128, .18);
  backdrop-filter: blur(16px);
}
.app-card img { width: 112px; height: 112px; border-radius: 30px; box-shadow: 0 14px 30px rgba(0, 52, 120, .2); }
.app-card strong { margin-top: 24px; font-size: 25px; }
.app-card span { color: var(--muted); }
.download-pill { width: 100%; margin-top: 28px; padding: 14px 18px; border-radius: 14px; color: var(--red); background: var(--soft-red); text-align: center; font-weight: 800; }

.feature-section,
.pro-section,
.privacy-strip { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.feature-section { padding: 72px 0; }
.section-heading { max-width: 700px; }
.section-heading h2,
.pro-section h2 { margin: 10px 0; font-size: clamp(32px, 5vw, 48px); }
.section-heading p { font-size: 17px; }
.feature-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 14px 38px rgba(23, 54, 99, .05); }
.feature-card h3 { margin: 16px 0 8px; font-size: 20px; }
.feature-card p { margin: 0; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: white; background: linear-gradient(135deg, var(--coral), var(--pink)); font-size: 24px; font-weight: 900; }
.pro-section { margin-top: 30px; margin-bottom: 28px; padding: clamp(28px, 5vw, 54px); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 28px; color: white; background: #172033; }
.pro-section .eyebrow { color: #8cc6ff; }
.pro-section h2 { color: white; }
.pro-section p { max-width: 680px; margin-bottom: 0; color: rgba(255,255,255,.7); }
.pro-section .primary-button { flex: 0 0 auto; }
.privacy-strip { margin-bottom: 72px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #c4dfff; border-radius: 20px; background: #f2f8ff; }
.privacy-strip p { margin: 4px 0 0; }
.privacy-strip a { flex: 0 0 auto; font-weight: 800; }

@media (max-width: 680px) {
  .header-inner { align-items: stretch; flex-direction: column; padding: 14px 0 12px; gap: 10px; }
  nav { width: 100%; }
  nav a { flex: 1; text-align: center; background: rgba(255, 255, 255, .08); }
  .page { padding-top: 24px; }
  .document { border-radius: 20px; }
  .hero { min-height: auto; padding: 54px 0; grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { min-height: 380px; order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .pro-section, .privacy-strip { align-items: stretch; flex-direction: column; }
  .pro-section .primary-button { width: 100%; }
}

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