:root {
  --sky-top: #cfe4f7;
  --sky-mid: #e8f1fb;
  --paper: #f4f7fb;
  --white: #ffffff;
  --navy: #1a2540;
  --navy-soft: #33425c;
  --grey: #6b7a95;
  --blue: #2f7fe0;
  --blue-deep: #2566c4;
  --grass: #7bb86f;
  --grass-deep: #4f9a52;
  --line: #dde6f1;
  --amber: #f0a838;
  --radius: 20px;
  --radius-sm: 13px;
  --maxw: 1080px;
  --shadow: 0 18px 50px -24px rgba(26, 37, 64, 0.35);
  --shadow-sm: 0 8px 24px -14px rgba(26, 37, 64, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 247, 251, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(160deg, #4596f0, #2566c4);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand .mark svg { width: 19px; height: 19px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--navy-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--blue-deep); text-decoration: none; }
@media (max-width: 620px) { .nav-links a.hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 46%, var(--paper) 100%);
  padding: 76px 0 0;
  text-align: center;
}
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px;
  font-weight: 700; color: var(--grey); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 66px); line-height: 1.04; letter-spacing: -0.02em;
  font-weight: 800; color: var(--navy); margin: 0 auto 20px; max-width: 14ch;
}
.hero p.lead {
  font-size: clamp(18px, 2.4vw, 21px); color: var(--navy-soft);
  max-width: 30ch; margin: 0 auto 30px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(160deg, #3f8ff0, #2566c4);
  color: #fff; font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 14px 30px -14px rgba(37,102,196,.6); }
.btn.ghost { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.78); border: 1px solid var(--line);
  padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy-soft);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; }

/* hero landscape */
.scene { position: relative; height: 150px; margin-top: 44px; }
.scene svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; display: block; }

/* ---------- sections ---------- */
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 40ch; margin: 0 auto 46px; }
.section-head .eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 12.5px;
  font-weight: 700; color: var(--blue-deep); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -0.015em; line-height: 1.1; }
.section-head p { color: var(--grey); margin-top: 14px; font-size: 18px; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 16px;
}
.card .ic svg { width: 23px; height: 23px; }
.card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--grey); font-size: 15.5px; }

.ic.b1 { background: linear-gradient(160deg, #ffd27a, #f0a838); }
.ic.b2 { background: linear-gradient(160deg, #f5917a, #e0603a); }
.ic.b3 { background: linear-gradient(160deg, #87d07a, #4f9a52); }
.ic.b4 { background: linear-gradient(160deg, #6fb6f0, #2f7fe0); }
.ic.b5 { background: linear-gradient(160deg, #b79af0, #7d56d6); }
.ic.b6 { background: linear-gradient(160deg, #7ad0c4, #2f9f8f); }

/* privacy strip */
.strip {
  background: linear-gradient(160deg, #1f2c4d, #16213c);
  color: #fff; border-radius: var(--radius); padding: 44px 40px;
  display: flex; align-items: center; gap: 30px; box-shadow: var(--shadow);
}
@media (max-width: 720px) { .strip { flex-direction: column; text-align: center; padding: 34px 26px; } }
.strip .big { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.strip p { color: #c4cfe0; font-size: 16px; }
.strip .shield {
  flex-shrink: 0; width: 70px; height: 70px; border-radius: 18px;
  background: rgba(255,255,255,.1); display: grid; place-items: center;
}
.strip .shield svg { width: 34px; height: 34px; }

/* ---------- doc pages ---------- */
.doc-hero {
  background: linear-gradient(180deg, var(--sky-top), var(--paper));
  padding: 64px 0 40px; text-align: center;
}
.doc-hero h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -0.02em; }
.doc-hero p { color: var(--grey); margin-top: 12px; }
.doc { max-width: 760px; margin: 0 auto; padding: 50px 24px 80px; }
.doc h2 {
  font-size: 23px; margin: 38px 0 12px; letter-spacing: -0.01em; color: var(--navy);
  padding-top: 10px;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 18px; margin: 24px 0 8px; color: var(--navy-soft); }
.doc p { color: var(--navy-soft); margin-bottom: 14px; }
.doc ul { margin: 0 0 16px 22px; color: var(--navy-soft); }
.doc li { margin-bottom: 8px; }
.doc .updated { color: var(--grey); font-size: 14px; }
.doc .note {
  background: #fcefd8; border-left: 4px solid var(--amber);
  padding: 16px 18px; border-radius: 10px; margin: 22px 0; font-size: 15px; color: #5a4a28;
}
.doc a { font-weight: 500; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 26px; margin: 18px 0; box-shadow: var(--shadow-sm);
}
.contact-card .label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); font-weight: 700; margin-bottom: 4px; }
.contact-card .val { font-size: 19px; font-weight: 600; color: var(--navy); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--grey); padding: 0 0 18px; font-size: 15.5px; }

/* ---------- footer ---------- */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 40px 0; margin-top: 20px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer .brand { font-size: 16px; }
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .links a { color: var(--grey); font-size: 14.5px; }
.footer .copy { color: var(--grey); font-size: 13.5px; width: 100%; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.attribution { color: var(--grey); font-size: 13px; margin-top: 6px; }

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

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
