:root {
  --navy: #1A1F33;
  --navy-2: #232a44;
  --teal: #57BEA7;
  --teal-dark: #3f9c87;
  --white: #ffffff;
  --ink: #1A1F33;
  --muted: #5b6275;
  --line: #e4e7ee;
  --soft: #f5f7fa;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--teal-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.logo { width: 44px; height: 44px; flex: none; display: block; }
.logo-lg { width: 88px; height: 88px; }

/* Header */
.site-header { background: var(--navy); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: .2px; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }

/* Hero */
.hero { background: var(--navy); color: var(--white); text-align: center; padding: 72px 0 96px; }
.hero h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.1; margin: 28px 0 16px; font-weight: 700; letter-spacing: -0.5px; }
.hero p.lede { font-size: clamp(18px, 2.4vw, 21px); color: rgba(255,255,255,.78); max-width: 600px; margin: 0 auto 36px; }
.hero .logo-lg { margin: 0 auto; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--navy);
  border-radius: 12px; padding: 12px 22px;
  text-decoration: none; font-weight: 600;
  border: 2px solid var(--white);
  transition: transform .15s ease;
}
a.store-btn:hover { transform: translateY(-1px); }
.store-btn svg { width: 24px; height: 24px; }
.store-btn small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.2; text-align: left; }
.store-btn span { display: block; font-size: 17px; line-height: 1.2; text-align: left; }

/* Sections */
section { padding: 80px 0; }
.eyebrow { color: var(--teal-dark); font-weight: 600; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.3px; }
.section-intro { color: var(--muted); max-width: 620px; margin: 0 0 40px; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: -56px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: 0 12px 32px rgba(26,31,51,.08); }
.pillar h3 { font-size: 24px; margin: 16px 0 10px; }
.pillar p { margin: 0; color: var(--muted); }

.icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(87,190,167,.14); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; stroke: var(--teal-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.features { background: var(--soft); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 19px; margin: 16px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.trust { background: var(--navy); color: var(--white); }
.trust .eyebrow { color: var(--teal); }
.trust .section-intro { color: rgba(255,255,255,.72); }
.trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-item { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px; background: var(--navy-2); }
.trust-item h3 { margin: 0 0 8px; font-size: 19px; }
.trust-item p { margin: 0; color: rgba(255,255,255,.72); font-size: 16px; }
.trust-item .icon { background: rgba(87,190,167,.18); margin-bottom: 16px; }
.trust-item .icon svg { stroke: var(--teal); }

/* Doc pages */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.4px; }
.page h2 { font-size: 24px; margin: 40px 0 10px; }
.page h3 { font-size: 18px; margin: 24px 0 6px; }
.page p, .page li { color: #333a4d; }
.page ul { padding-left: 22px; }
.meta { color: var(--muted); margin: 0 0 28px; }

.contact-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin: 28px 0; }
.contact-box p { margin: 4px 0; }
.contact-box a.email { font-size: 20px; font-weight: 600; word-break: break-all; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-dark); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p, .faq details ol, .faq details ul { margin: 12px 0 0; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 40px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand { font-size: 17px; }
.site-footer .contact { width: 100%; margin: 0; }

@media (max-width: 860px) {
  .grid, .trust-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .pillars, .grid, .trust-list { grid-template-columns: 1fr; }
  .pillars { margin-top: -48px; }
  .pillar { padding: 28px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 88px; }
  .nav { gap: 14px; }
  .site-header .wrap { flex-wrap: wrap; }
}
