/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-dark: #141416;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #e3e3e6;
  --accent: #0071e3;
  --accent-dark: #0058b0;
  --green: #00a86b;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.05), 0 24px 60px rgba(0,0,0,.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { text-decoration: none; }

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, #0071e3, #004a9c);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.nav-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: .78;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-links a.active { opacity: 1; color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 980px;
  text-decoration: none;
  transition: background .2s, transform .12s;
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  margin: 4px 0;
  transition: transform .25s, opacity .25s;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  background:
    radial-gradient(900px 420px at 50% -10%, #eaf4ff 0%, rgba(255,255,255,0) 70%),
    var(--bg);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,113,227,.08);
  border: 1px solid rgba(0,113,227,.16);
  padding: 6px 14px;
  border-radius: 980px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  font-weight: 700;
  margin: 0 auto 22px;
  max-width: 15ch;
}

.hero .lead {
  font-size: clamp(16px, 1.9vw, 20px);
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 980px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s, background .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(0,113,227,.26); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c7c7cc; }
.btn-sm { font-size: 14px; padding: 11px 22px; }

/* Device strip */
.device-strip {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

.device {
  width: 156px;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(160deg, #fbfbfd, #ececf0);
  border: 1px solid #e0e0e5;
  box-shadow: var(--shadow-lg);
  transition: transform .3s ease;
}
.device:hover { transform: translateY(-6px); }

.device-screen {
  aspect-ratio: 9 / 17.5;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.device-screen::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 8px;
  border-radius: 980px;
  background: rgba(0,0,0,.55);
}
.device-1 .device-screen { background: linear-gradient(155deg, #2b3a55 0%, #4a5f86 55%, #9bb0d4 100%); }
.device-2 .device-screen { background: linear-gradient(155deg, #3d2b3f 0%, #7a4a6d 55%, #d9a6c4 100%); }
.device-3 .device-screen { background: linear-gradient(155deg, #1e3a2f 0%, #3f7358 55%, #a8d5ba 100%); }

.device-label {
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 12px;
  font-weight: 500;
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }

.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -1px;
  font-weight: 700;
  margin: 0 0 14px;
}
.section-head p { color: var(--ink-2); font-size: 17px; margin: 0; }

/* Trust bar */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: 30px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  border-radius: 11px;
  background: rgba(0,113,227,.09);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.trust-item h3 { font-size: 14.5px; font-weight: 600; margin: 0 0 5px; letter-spacing: -.2px; }
.trust-item p { font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.45; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8d8dd; }
.card h3 { font-size: 18px; letter-spacing: -.3px; margin: 0 0 8px; font-weight: 650; }
.card p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 16px; line-height: 1.6; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 3px 9px;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin: 0 0 7px; font-weight: 650; letter-spacing: -.2px; }
.step p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* Split block */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.split h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -1px; line-height: 1.15; margin: 0 0 18px; }
.split p { color: var(--ink-2); font-size: 16.5px; margin: 0 0 16px; }
.split ul { padding-left: 20px; color: var(--ink-2); font-size: 15.5px; margin: 0; }
.split ul li { margin-bottom: 9px; }

.panel {
  background: linear-gradient(170deg, #f7f8fb, #eef1f6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.panel h3 { margin: 0 0 18px; font-size: 16px; letter-spacing: -.2px; }
.panel dl { margin: 0; display: grid; gap: 14px; }
.panel dt { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin-bottom: 3px; font-weight: 600; }
.panel dd { margin: 0; font-size: 15px; font-weight: 500; word-break: break-word; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  letter-spacing: -.2px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--ink-3);
  font-weight: 400;
  flex: 0 0 auto;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); font-size: 15px; margin: 12px 0 0; max-width: 68ch; }

/* CTA band */
.cta-band {
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  padding: 82px 0;
  border-radius: 0;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -1px; margin: 0 0 14px; }
.cta-band p { color: #a1a1a6; font-size: 17px; margin: 0 0 32px; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }

/* =========================================================
   Content pages (legal / about)
   ========================================================= */
.page-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -1.2px; margin: 0 0 12px; font-weight: 700; }
.page-hero p { color: var(--ink-2); font-size: 16px; margin: 0; max-width: 70ch; }
.page-hero .updated { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

.prose { max-width: 800px; padding: 56px 0 88px; }
.prose h2 {
  font-size: 21px;
  letter-spacing: -.4px;
  margin: 38px 0 12px;
  font-weight: 650;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16.5px; margin: 24px 0 8px; font-weight: 650; }
.prose p, .prose li { color: #3a3a3c; font-size: 15.5px; line-height: 1.72; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { word-break: break-word; }
.prose .callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.prose .callout p:last-child { margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 56px 0 88px; }
.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: #fff;
}
.contact-box h2 { font-size: 18px; margin: 0 0 8px; letter-spacing: -.3px; }
.contact-box > p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 22px; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.contact-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-row .ci {
  width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  display: grid; place-items: center;
}
.contact-row .cl { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; margin-bottom: 2px; }
.contact-row .cv { font-size: 15px; font-weight: 500; word-break: break-word; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { margin: 0 0 6px; line-height: 1.6; max-width: 42ch; }
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-3);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-legal {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer-legal p { margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; font-size: 16px; }
  .nav-cta { margin-top: 8px; width: 100%; justify-content: center; padding: 13px 18px; }
  .hero { padding: 64px 0 56px; }
  .hero-actions { margin-bottom: 46px; }
  .section { padding: 60px 0; }
  .device { width: 104px; border-radius: 20px; padding: 7px; }
  .device-screen { border-radius: 14px; }
  .device-strip { gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 48px 0 32px; }
  .prose { padding: 40px 0 64px; }
}
