@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --brand: #204de1;
  --brand-2: #0f2f9f;
  --sky: #ddefff;
  --ink: #0f172a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: #f8fbff; letter-spacing: 0; }
a, button, select, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(32, 77, 225, .45); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 80; border-radius: .5rem; background: #fff; padding: .75rem 1rem; color: #0f172a; box-shadow: 0 12px 32px rgba(15, 23, 42, .16); }
.skip-link:focus { left: 1rem; }
.nav-link { min-height: 44px; display: inline-flex; align-items: center; color: #334155; font-size: .92rem; font-weight: 800; transition: color .2s ease; }
.nav-link:hover { color: var(--brand); }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 900; text-align: center; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 32px rgba(32, 77, 225, .24); }
.btn-primary:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn-secondary { border: 1px solid rgba(32, 77, 225, .18); background: #fff; color: var(--brand); }
.btn-secondary:hover { border-color: rgba(32, 77, 225, .4); transform: translateY(-1px); }
.mobile-menu { display: none; }
.mobile-menu.is-open { display: block; }
.hero-shell { background: radial-gradient(circle at 76% 18%, rgba(32,77,225,.15), transparent 30%), linear-gradient(180deg, var(--sky), #f8fbff 72%); }
.hero-badge { display: inline-flex; border: 1px solid rgba(32,77,225,.18); background: rgba(255,255,255,.78); color: var(--brand); border-radius: 999px; padding: .55rem 1rem; font-size: .88rem; font-weight: 900; }
.hero-shell h1 { margin-top: 1.5rem; max-width: 62rem; font-size: clamp(3rem, 8vw, 5.9rem); line-height: 1.02; font-weight: 900; color: #020617; letter-spacing: 0; }
.hero-copy { margin-top: 1.5rem; max-width: 43rem; font-size: 1.08rem; line-height: 1.75; color: #334155; }
.hero-visual { border-radius: 2rem; background: #fff; padding: .7rem; box-shadow: 0 24px 70px rgba(15, 23, 42, .14); }
.hero-visual img, .showcase-panel img { width: 100%; height: auto; display: block; border-radius: 1.4rem; }
.trust-list { display: grid; gap: .6rem; padding: 0; list-style: none; color: #334155; font-weight: 800; }
.trust-list li { position: relative; padding-left: 1.55rem; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: .42rem; width: .7rem; height: .7rem; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 5px rgba(32,77,225,.11); }
.section-white { background: #fff; padding: 4.5rem 0; }
.section-blue { background: linear-gradient(180deg, #f8fbff, var(--sky)); padding: 4.5rem 0; }
.section-heading { max-width: 50rem; }
.section-heading p, .eyebrow { margin: 0; color: var(--brand); text-transform: uppercase; font-size: .8rem; font-weight: 900; }
.section-heading h2, .section-blue h2, .download-inner h2 { margin-top: .75rem; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.06; font-weight: 900; color: #020617; letter-spacing: 0; }
.feature-card { border: 1px solid #dbeafe; border-radius: .5rem; background: #fff; padding: 1.45rem; box-shadow: 0 14px 32px rgba(15,23,42,.06); }
.feature-card h3 { margin-top: 1.15rem; font-size: 1.1rem; font-weight: 900; color: #020617; }
.feature-card p { margin-top: .75rem; line-height: 1.7; color: #475569; }
.icon-box { display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: .5rem; background: var(--sky); color: var(--brand); }
.section-blue p { margin-top: 1rem; max-width: 42rem; font-size: 1.05rem; line-height: 1.75; color: #475569; }
.workflow-step { display: flex; gap: 1rem; border: 1px solid rgba(32,77,225,.13); border-radius: .5rem; background: rgba(255,255,255,.78); padding: 1rem; }
.workflow-step span { flex: 0 0 auto; color: var(--brand); font-weight: 900; }
.workflow-step h3 { margin: 0; font-weight: 900; color: #020617; }
.workflow-step p { margin: .25rem 0 0; font-size: .95rem; line-height: 1.55; }
.showcase-panel { align-self: center; border-radius: 2rem; background: #fff; padding: .7rem; box-shadow: 0 24px 70px rgba(15, 23, 42, .12); }
.faq-item { border: 1px solid #dbeafe; border-radius: .5rem; background: #fff; padding: 1rem 1.15rem; }
.faq-item summary { min-height: 44px; cursor: pointer; display: flex; align-items: center; font-weight: 900; color: #0f172a; }
.faq-item p { margin: .5rem 0 0; line-height: 1.7; color: #475569; }
.download-section { background: #020617; color: #fff; }
.download-inner { display: grid; gap: 2rem; align-items: center; }
.download-inner p { margin-top: 1rem; max-width: 42rem; color: #cbd5e1; line-height: 1.75; }
.download-inner .eyebrow { color: #93c5fd; }
.download-inner h2 { color: #fff; }
.download-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.download-card { border: 1px solid rgba(255,255,255,.12); border-radius: .5rem; background: rgba(255,255,255,.06); padding: 1rem; display: grid; gap: 1rem; justify-items: center; }
.download-card img, .qr-placeholder { width: 10rem; height: 10rem; border-radius: .5rem; background: #fff; object-fit: cover; }
.download-card p { margin: 0; font-size: .82rem; line-height: 1.55; text-align: center; color: #cbd5e1; }
.qr-placeholder { display: grid; place-items: center; color: var(--brand); font-weight: 900; background-image: linear-gradient(90deg, rgba(32,77,225,.16) 1px, transparent 1px), linear-gradient(rgba(32,77,225,.16) 1px, transparent 1px); background-size: 18px 18px; }
.legal-main { padding: 3rem 1rem 4rem; }
.legal-article { max-width: 56rem; margin: 0 auto; border: 1px solid #dbeafe; border-radius: .75rem; background: #fff; padding: clamp(1.25rem, 4vw, 3rem); box-shadow: 0 18px 48px rgba(15,23,42,.08); }
.legal-article h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; font-weight: 900; color: #020617; }
.legal-article h2 { margin-top: 2rem; font-size: 1.35rem; line-height: 1.25; font-weight: 900; color: #0f172a; }
.legal-article h3 { margin-top: 1.35rem; font-size: 1.08rem; font-weight: 900; color: #1e3a8a; }
.legal-article p, .legal-article li { line-height: 1.78; color: #334155; }
.legal-article ul { padding-left: 1.25rem; }
.legal-article code { border-radius: .25rem; background: #eff6ff; padding: .1rem .25rem; color: #1e3a8a; }
body[data-platform="ios"] .platform-android-only { display: none !important; }
body[data-platform="android"] .platform-ios-only { display: none !important; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1024px) {
  .download-inner { grid-template-columns: .9fr 1.1fr; }
}

@media (max-width: 767px) {
  .hero-shell h1 { font-size: 3rem; }
  .section-white, .section-blue { padding: 3.5rem 0; }
  .legal-page .site-header, .legal-page .site-footer { display: none; }
  .legal-main { padding: 1rem .75rem 2rem; }
  .legal-article { border-radius: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
