/* The Astranos landing page. Same tokens as the app (docs/DESIGN.md): Plus Jakarta Sans, the brand blues, text that
   passes WCAG AA with margin, calm sections, quick quiet motion that stops for reduced motion. No outside files. */
@font-face { font-family: "Jakarta"; font-weight: 400; font-display: swap; src: url(/fonts/jakarta-400.woff2) format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 600; font-display: swap; src: url(/fonts/jakarta-600.woff2) format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 700; font-display: swap; src: url(/fonts/jakarta-700.woff2) format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 800; font-display: swap; src: url(/fonts/jakarta-800.woff2) format("woff2"); }

:root {
  --ink: #0E1C2F; --ink-2: #34445A; --ink-3: #4A5668; --line: #E1E7EF; --bg: #F3F6FA; --select: #EAF3FB;
  --blue: #03509F; --blue-deep: #023A75; --blue-ink: #0B2E57; --sky: #57B7E8; --sky-soft: #B9E1F7;
  --ok: #0F6440; --ok-bg: #D3EEDF;
  --r-sm: 10px; --r: 14px; --r-lg: 18px;
  --e1: 0 1px 2px rgba(14, 28, 47, .05), 0 1px 3px rgba(14, 28, 47, .04);
  --e3: 0 12px 32px rgba(14, 28, 47, .14), 0 2px 6px rgba(14, 28, 47, .06);
  --e4: 0 30px 80px rgba(4, 22, 48, .35), 0 8px 24px rgba(4, 22, 48, .2);
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
.ic { flex: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-ink); text-decoration: none; font-weight: 800; font-size: 15px; letter-spacing: .22em; }
.mark img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 24px; font-size: 14.5px; font-weight: 600; margin-left: 8px; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.top .acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.signin { color: var(--blue); font-weight: 700; font-size: 14.5px; text-decoration: none; padding: 0 12px; height: 40px; display: inline-flex; align-items: center; border-radius: var(--r-sm); }
.signin:hover { background: var(--select); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: var(--r-sm); font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap; transition: background .18s, transform .18s, box-shadow .18s; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px rgba(3, 80, 159, .28); }
.btn.primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--blue-deep); }
.btn.light:hover { background: var(--select); transform: translateY(-1px); }
.btn.ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.btn.quiet { color: var(--blue); border: 1px solid #C9D6E6; background: #fff; }
.btn.quiet:hover { background: var(--select); }

/* Hero: the deep blue with the quiet triangle mosaic, like the room Overview. */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 520px at 78% 0%, rgba(87, 183, 232, .28), transparent 60%), linear-gradient(160deg, #072A52 0%, var(--blue-deep) 48%, var(--blue) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(135deg, transparent 49.6%, #fff 50%), linear-gradient(45deg, transparent 49.6%, var(--sky) 50%); background-size: 72px 72px, 108px 108px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero .wrap { position: relative; padding-top: 88px; text-align: center; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero .eyebrow { color: var(--sky-soft); display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -.035em; line-height: 1.04; margin: 22px auto 20px; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--sky-soft); }
.hero .lead { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 50ch; margin: 0 auto; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero .fine { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }

/* Device frames with real demo screenshots */
.stage { position: relative; max-width: 1040px; margin: 64px auto 0; padding-bottom: 0; }
.browser { position: relative; border-radius: 14px 14px 0 0; background: #fff; box-shadow: var(--e4); overflow: hidden; border: 1px solid rgba(255, 255, 255, .5); border-bottom: 0; }
.browser .bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #EEF2F7; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; }
.browser .bar span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: var(--ink-3); background: #fff; border-radius: 7px; padding: 3px 14px; display: inline-flex; align-items: center; gap: 6px; }
.browser img { width: 100%; height: auto; aspect-ratio: 1168 / 760; object-fit: cover; object-position: top; }
.phone { position: absolute; right: -28px; bottom: -40px; width: 236px; padding: 9px; border-radius: 40px; background: #0A1626; box-shadow: var(--e4), 0 0 0 1px rgba(255, 255, 255, .14) inset; }
.phone img { border-radius: 32px; width: 100%; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #0A1626; }

/* Sections */
section.band { padding: 104px 0; }
section.band.tint { background: var(--bg); }
.head { max-width: 680px; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 10px; }
.head p { margin-top: 14px; font-size: 17.5px; color: var(--ink-2); }
.proof { padding-top: 140px; }

/* How a deal runs: five steps along a line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 25px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--sky), var(--blue)); opacity: .35; }
.steps li { position: relative; counter-increment: s; }
.steps .dot { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--blue); border: 1px solid var(--line); box-shadow: var(--e1); margin-bottom: 18px; }
.steps .dot::after { content: counter(s); position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 17px; letter-spacing: -.01em; }
.steps p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.shots2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
figure { margin: 0; }
.shot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--e3); background: #fff; }
figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* Security */
.sec { background: linear-gradient(180deg, #F7FAFD, #fff); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--e1); padding: 26px 26px 24px; }
.card .ib { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--select); color: var(--blue); margin-bottom: 16px; }
.card h3 { font-size: 17px; letter-spacing: -.01em; }
.card p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.card.money { background: linear-gradient(160deg, var(--blue-ink), var(--blue-deep)); color: #fff; border-color: transparent; }
.card.money .ib { background: rgba(255, 255, 255, .12); color: #fff; }
.card.money p { color: rgba(255, 255, 255, .88); }
.honest { margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.honest .ic { color: var(--ink-3); margin-top: 2px; }
.more { margin-top: 24px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Who it is for */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who h3 { font-size: 17px; }
.who ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.who li { position: relative; padding-left: 20px; margin-top: 8px; }
.who li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 3px; background: var(--sky); transform: rotate(45deg); }

/* White label */
.wl { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
.ticks .ic { color: var(--ok); margin-top: 3px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--blue); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 4px 22px; color: var(--ink-2); font-size: 15.5px; max-width: 68ch; }

/* Closing call to action */
.close { text-align: center; color: #fff; padding: 96px 0; background: radial-gradient(800px 400px at 50% 0%, rgba(87, 183, 232, .25), transparent 60%), linear-gradient(160deg, #072A52, var(--blue-deep) 60%, var(--blue)); }
.close h2 { font-size: clamp(28px, 3.4vw, 40px); }
.close p { margin: 14px auto 0; max-width: 52ch; font-size: 17.5px; color: rgba(255, 255, 255, .9); }

/* Footer */
footer { background: #071E3A; color: rgba(255, 255, 255, .82); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
footer .mark { color: #fff; }
footer .mark + p { margin-top: 12px; max-width: 34ch; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
footer a { color: #fff; text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }
footer .legal { width: 100%; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; color: rgba(255, 255, 255, .72); font-size: 13px; }

/* Plain pages: Security, Privacy, Terms */
.doc { max-width: 780px; margin: 0 auto; padding: 72px 32px 96px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin: 10px 0 14px; }
.doc .intro { font-size: 17.5px; color: var(--ink-2); }
.doc h4 { font-size: 18px; margin: 34px 0 8px; display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
.doc h4 .ic { color: var(--blue); }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; margin: 8px 0 0; }
.doc li + li { margin-top: 8px; }
.doc .muted { color: var(--ink-3); margin-top: 32px; }
.legal-draft { margin: 26px 0 8px; padding: 12px 16px; border-radius: var(--r-sm); background: #FBE6C2; color: #6E3B04; font-weight: 700; font-size: 13.5px; letter-spacing: .02em; }
.back { margin-top: 40px; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; text-decoration: none; }

/* Motion: one soft rise as the page loads; nothing for reduced motion. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .wrap > *, .stage { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
.hero .wrap > :nth-child(2) { animation-delay: .05s; } .hero .wrap > :nth-child(3) { animation-delay: .1s; }
.hero .wrap > :nth-child(4) { animation-delay: .15s; } .stage { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Tablet */
@media (max-width: 1020px) {
  .nav { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .wl { grid-template-columns: 1fr; gap: 36px; }
  .phone { right: 8px; width: 190px; }
}

/* Phone */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top .wrap { height: 60px; gap: 8px; }
  .mark { font-size: 13px; letter-spacing: .18em; }
  .mark img { width: 28px; height: 28px; }
  .signin { padding: 0 8px; font-size: 14px; }
  .top .btn.sm { padding: 0 12px; font-size: 13.5px; height: 38px; }
  .hero .wrap { padding-top: 48px; }
  .hero .lead { font-size: 17px; }
  .cta { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .stage { margin-top: 44px; }
  .browser .bar { height: 26px; padding: 0 10px; gap: 5px; }
  .browser .bar i { width: 7px; height: 7px; }
  .browser .bar span { display: none; }
  .phone { width: 128px; padding: 5px; border-radius: 24px; right: -4px; bottom: -28px; }
  .phone img { border-radius: 19px; }
  .phone::before { top: 10px; width: 36px; height: 10px; margin-left: -18px; }
  section.band { padding: 72px 0; }
  .proof { padding-top: 92px; }
  .head { margin-bottom: 32px; }
  .head p { font-size: 16px; }
  .steps { grid-template-columns: 1fr; row-gap: 26px; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
  .steps .dot { margin: 0; grid-row: span 2; }
  .steps p { margin-top: 4px; }
  .shots2 { grid-template-columns: 1fr; margin-top: 44px; }
  .grid3, .grid4 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px; }
  .faq summary { font-size: 16px; padding: 18px 2px; }
  .close { padding: 72px 0; }
  .doc { padding: 44px 16px 72px; }
}
@media (max-width: 380px) { .signin { display: none; } }
.h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 10px; }
