:root {
  --navy: #1f2f5c;
  --navy-deep: #16234a;
  --vital: #34d399;
  --ink: #16234a;
  --body: #414e6b;
  --muted: #6b7794;
  --line: #dfe4ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-navy: #16234a;
  --radius: 10px;
  --wrap: 62rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; font-weight: 640; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 0; }
h3 { font-size: 1.08rem; font-weight: 640; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--navy-deep); }
strong { color: var(--ink); font-weight: 620; }
ul { padding-left: 1.15rem; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--bg-soft); padding: 0.1em 0.35em; border-radius: 4px; }

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

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 660; color: var(--ink); text-decoration: none; font-size: 1.06rem; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; display: block; border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.site-nav a { color: var(--body); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--navy); text-decoration: underline; }

/* buttons */
.btn { display: inline-block; border-radius: var(--radius); padding: 0.68rem 1.15rem; font-size: 0.97rem; font-weight: 580; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--muted); color: var(--ink); }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.9rem; }

/* hero */
.hero { padding: 4.5rem 0 3rem; }
.hero .lede { font-size: 1.16rem; color: var(--body); max-width: 40rem; }
.eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); font-weight: 620; margin-bottom: 0.9rem; }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.6rem; align-items: center; }
.actions .note { font-size: 0.9rem; color: var(--muted); }

/* generic section */
section { padding: 3rem 0; }
section[id] { scroll-margin-top: 76px; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lede { max-width: 42rem; color: var(--body); }

/* steps */
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 2rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: 0.85rem; font-weight: 640; margin-bottom: 0.8rem; }
.step p { margin-bottom: 0; font-size: 0.97rem; }

/* feature grid */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 2rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; background: #fff; }
.card p { margin-bottom: 0; font-size: 0.97rem; }
.card h3 { display: flex; align-items: baseline; gap: 0.5rem; }

/* flag list */
.flags { columns: 2; column-gap: 2rem; margin-top: 1.5rem; }
.flags li { break-inside: avoid; }
@media (max-width: 34rem) { .flags { columns: 1; } }

/* trust block */
.trust { background: var(--bg-navy); color: #c8d2e8; }
.trust h2, .trust h3 { color: #fff; }
.trust strong { color: #fff; }
.trust a { color: var(--vital); }
.trust .card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.trust .card p { color: #c8d2e8; }

/* processor table */
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 1.25rem 0; }
th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 620; font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase; }
.trust th, .trust td { border-color: rgba(255,255,255,0.14); }
.trust th { color: #fff; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
summary { cursor: pointer; font-weight: 580; color: var(--ink); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; color: var(--muted); margin-right: 0.6rem; font-weight: 500; }
details[open] summary::before { content: "\2013"; }
details p { margin: 0.7rem 0 0; font-size: 0.97rem; }

/* callout */
.callout { border-left: 3px solid var(--vital); background: var(--bg-soft); padding: 1rem 1.15rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.trust .callout { background: rgba(255,255,255,0.05); }

/* prose pages */
.page { padding: 3rem 0 4rem; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.meta { color: var(--muted); font-size: 0.92rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.by { display: flex; align-items: center; gap: 0.4rem; }

/* pre-launch notice */
.notice { border-left: 3px solid var(--vital); background: var(--bg-soft); padding: 0.85rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; max-width: 40rem; font-size: 0.97rem; margin: 1.6rem 0 0; }
.notice p:last-child { margin-bottom: 0; }
