@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url(/fonts/poppins-800.woff2) format("woff2"); }

:root {
  --brand: #0b5563; --brand-700: #08424d; --brand-900: #062f37;
  --sky: #76a3d4; --sky-50: #eef4fb; --sky-600: #2f6aa8;
  --ink: #141a1f; --muted: #55636e; --line: #e3e8ee; --soft: #f4f7f9; --white: #fff;
  --radius: 22px; --shadow: 0 10px 30px rgba(11, 85, 99, .09);
  --head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky-600); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-family: var(--head); font-weight: 600; font-size: 1rem; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; } .btn--primary:hover { background: var(--brand-700); }
.btn--dark { background: var(--ink); color: #fff; } .btn--dark:hover { background: #000; }
.btn--ghost { border-color: var(--line); color: var(--brand); background: #fff; } .btn--ghost:hover { border-color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-900); }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; } .btn--outline-light:hover { border-color: #fff; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 600; color: var(--brand); min-height: 44px; }
.link-arrow::after { content: "\2192"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .link-arrow::after, .reveal { transition: none !important; transform: none !important; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo img { height: 54px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--muted); }
.nav-links a:hover { color: var(--brand); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-family: var(--head); font-weight: 600; cursor: pointer; }

/* Full-screen menu */
.menu { position: fixed; inset: 0; z-index: 100; background: var(--brand-900); color: #fff; display: none; flex-direction: column; padding: 20px 24px 32px; overflow-y: auto; }
.menu.open { display: flex; }
.menu::before { content: ""; position: absolute; right: -80px; bottom: -60px; width: 420px; height: 420px; background: url(/brand/mark.png) center/contain no-repeat; opacity: .08; pointer-events: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-top img { height: 40px; }
.menu-close { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-family: var(--head); font-weight: 600; cursor: pointer; }
.menu-links { list-style: none; margin: 48px 0 32px; padding: 0; counter-reset: m; }
.menu-links li { counter-increment: m; border-bottom: 1px solid rgba(255,255,255,.12); }
.menu-links a { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; font-family: var(--head); font-weight: 700; font-size: 1.8rem; }
.menu-links a::before { content: "0" counter(m); font-size: .9rem; color: var(--sky); }
.menu-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #f6f9fc; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 36%, rgba(255,255,255,0) 62%); }
.hero-inner { position: relative; z-index: 2; min-height: clamp(600px, calc(100svh - 76px), 820px); display: flex; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero-inner > div { max-width: 600px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--sky-50); color: var(--sky-600); font-family: var(--head); font-weight: 600; font-size: .85rem; margin-bottom: 20px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-600); }
.hero h1 span { color: var(--brand); }
.hero-note { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; font-size: .95rem; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }

/* Phone mock-up */
.phone { justify-self: center; width: 300px; border-radius: 42px; background: var(--ink); padding: 12px; box-shadow: 0 40px 80px -30px rgba(6,47,55,.45); }
.screen { border-radius: 32px; background: #fff; overflow: hidden; }
.screen-top { background: var(--brand); color: #fff; padding: 28px 22px 22px; }
.screen-top small { opacity: .8; font-size: .8rem; }
.screen-top b { display: block; font-family: var(--head); font-size: 1.2rem; margin-top: 4px; }
.badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; background: rgba(255,255,255,.16); border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 600; }
.screen-body { padding: 14px 18px 20px; }
.srow { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.srow:last-of-type { border-bottom: 0; }
.ok { width: 24px; height: 24px; border-radius: 50%; background: #e3f3ea; display: grid; place-items: center; flex: none; }
.ask { margin-top: 12px; background: var(--soft); border-radius: 16px; padding: 12px; font-size: .82rem; }
.ask div { display: flex; gap: 8px; margin-top: 10px; }
.ask span { flex: 1; text-align: center; border-radius: 999px; padding: 7px 0; font-weight: 700; font-family: var(--head); font-size: .8rem; }
.ask .no { border: 1.5px solid var(--line); background: #fff; } .ask .yes { background: var(--brand); color: #fff; }
.illus { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 10px; }

/* Two sides */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.side { position: relative; overflow: hidden; border-radius: var(--radius); padding: 44px; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.side::after { content: ""; position: absolute; right: -60px; top: -40px; width: 300px; height: 300px; background: url(/brand/mark.png) center/contain no-repeat; opacity: .16; pointer-events: none; }
/* Photo across the top (16:9), text below on a solid colour */
.side { min-height: 0; justify-content: flex-start; padding-top: calc(56.25% + 8px); background-color: var(--brand-900); background-size: 100% auto; background-repeat: no-repeat; background-position: top center; }
.side::before { content: ""; position: absolute; left: 0; right: 0; top: 0; padding-top: 56.25%; background: linear-gradient(180deg, rgba(6,47,55,0) 55%, var(--brand-900) 100%); }
.side::after { display: none; }
.side--people { background-image: url(/img/people.jpg); background-image: image-set(url(/img/people.webp) type("image/webp"), url(/img/people.jpg) type("image/jpeg")); }
.side--inst { background-image: url(/img/institutions.jpg); background-image: image-set(url(/img/institutions.webp) type("image/webp"), url(/img/institutions.jpg) type("image/jpeg")); background-color: #0e1418; }
.side--inst::before { background: linear-gradient(180deg, rgba(14,20,24,0) 55%, #0e1418 100%); }

/* App */
.app-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); max-width: 480px; }
.app-photo img { width: 100%; height: auto; }
.soon { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.side > * { position: relative; z-index: 1; }
.side h3 { font-size: 1.75rem; font-weight: 800; max-width: 420px; }
.side p { color: rgba(255,255,255,.85); max-width: 440px; }
.side .link-arrow { color: #fff; }
.side .btn-row { margin-top: 16px; align-items: center; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); counter-increment: s; }
.step::before { content: "0" counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand); color: #fff; font-family: var(--head); font-weight: 800; margin-bottom: 20px; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature-icon { width: 56px; height: 56px; border-radius: 18px; background: var(--sky-50); display: grid; place-items: center; margin-bottom: 18px; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b5563' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center no-repeat; }
.ticks b { color: var(--ink); font-family: var(--head); font-weight: 600; }

.window { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--soft); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dbe2; }
.window-bar img { height: 22px; margin-left: 12px; }
.wrow { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 12px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.wrow:last-child { border-bottom: 0; }
.wrow small { display: block; color: var(--muted); font-size: .78rem; }
.tag { font-family: var(--head); font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.tag.ok2 { background: #e3f3ea; color: #1e6b3a; } .tag.warn { background: #fdf1dc; color: #8a5300; } .tag.info { background: var(--sky-50); color: var(--sky-600); }

.code { background: var(--ink); color: #dce7ee; border-radius: var(--radius); padding: 28px; font: 13.5px/1.75 ui-monospace, "Cascadia Code", Consolas, Menlo, monospace; overflow-x: auto; overflow-wrap: anywhere; box-shadow: var(--shadow); }
.code .c { color: #7e8f9b; } .code .k { color: var(--sky); } .code .s { color: #f5c97a; }

/* Dark safety */
.dark { background: var(--brand-900); color: #fff; position: relative; overflow: hidden; }
.dark::after { content: ""; position: absolute; left: -120px; bottom: -120px; width: 480px; height: 480px; background: url(/brand/mark.png) center/contain no-repeat; opacity: .07; pointer-events: none; }
.dark .container { position: relative; z-index: 1; }
.dark .eyebrow { color: var(--sky); } .dark .section-head p { color: rgba(255,255,255,.8); }
.safety { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.safety div { border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.safety p { margin: 0; color: rgba(255,255,255,.78); font-size: .98rem; }
.safety .feature-icon { background: rgba(118,163,212,.16); }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 28px; color: #fff; padding: 96px 64px; text-align: center; background: var(--brand-900) center 40%/cover no-repeat; background-image: url(/img/family.jpg); background-image: image-set(url(/img/family.webp) type("image/webp"), url(/img/family.jpg) type("image/jpeg")); }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,47,55,.58), rgba(6,47,55,.80)); }
.cta > * { position: relative; z-index: 1; }
.cta p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.cta .btn-row { justify-content: center; }

/* Footer */
.footer { background: #0e1418; color: rgba(255,255,255,.7); padding: 72px 0 36px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-top img { height: 54px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-top a { display: block; padding: 5px 0; } .footer-top a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }

.draft { display: none; margin-top: 16px; font-size: .85rem; background: #fdf1dc; color: var(--ink); border-radius: 12px; padding: 8px 12px; }
html[lang="tn"] .draft { display: inline-block; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.container > *, .hero-inner > *, .split > *, .sides > *, .steps > *, .features > *, .safety > *, .footer-top > * { min-width: 0; }

@media (max-width: 1020px) {
  .nav-links, .nav-actions .btn--ghost, .nav-actions .btn--primary { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-inner, .split, .sides { grid-template-columns: 1fr; }
  /* Phones and tablets: photo on top, text below on white */
  .hero { display: flex; flex-direction: column-reverse; background: #fff; }
  .hero picture { position: relative; display: block; aspect-ratio: 16 / 10; }
  .hero-img { object-position: 70% 30%; }
  .hero::after { display: none; }
  .hero-inner { min-height: 0; padding-top: 32px; padding-bottom: 56px; }
  .steps, .features, .safety { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .cta { padding: 44px 24px; }
}
@media (max-width: 600px) {
  .logo img { height: 38px; }
  .nav { gap: 10px; }
  .steps, .features, .safety, .footer-top { grid-template-columns: 1fr; }
  .side { padding: calc(56.25% + 8px) 26px 30px; min-height: 0; }
  .wrow { grid-template-columns: 1fr auto; } .wrow > :nth-child(2) { display: none; }
  .menu-links a { font-size: 1.5rem; }
}

/* ---------- Inner pages ---------- */
.nav-links a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); padding-bottom: 4px; }
.menu-links a[aria-current="page"] { color: var(--sky); }

.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--brand-900); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,47,55,.94) 0%, rgba(6,47,55,.8) 42%, rgba(6,47,55,.15) 80%); }
.page-hero--plain::after { content: ""; position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 520px; height: 520px; background: url(/brand/mark.png) center/contain no-repeat; opacity: .12; }
.page-hero .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.page-hero .container > div { max-width: 640px; }
.page-hero .eyebrow { color: var(--sky); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero .lead { color: rgba(255,255,255,.9); }
.crumbs { font-size: .9rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.grid-2c { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card h3 { margin-top: 4px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card ul { color: var(--muted); margin: 10px 0 0; padding-left: 20px; font-size: .98rem; }
.card .feature-icon { margin-bottom: 16px; }

.outcome { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.outcome:last-child { border-bottom: 0; }
.outcome .tag { margin-top: 4px; }
.outcome h3 { font-size: 1.1rem; margin-bottom: 4px; }
.outcome p { margin: 0; color: var(--muted); }

.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 34px; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b5563' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center no-repeat; }
.checklist b { color: var(--ink); font-family: var(--head); font-weight: 600; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 48px; padding: 20px 0; font-family: var(--head); font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 720px; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 8px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose li b { color: var(--ink); }
.prose-block { padding: 40px 0; border-bottom: 1px solid var(--line); }
.prose-block:last-child { border-bottom: 0; }
.note { background: var(--sky-50); border-radius: 16px; padding: 18px 22px; color: var(--ink); font-size: .98rem; }

.endpoints { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .96rem; }
.endpoints th, .endpoints td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.endpoints th { background: var(--soft); font-family: var(--head); font-weight: 600; font-size: .85rem; color: var(--muted); }
.endpoints tr:last-child td { border-bottom: 0; }
.endpoints code { font: 13px ui-monospace, "Cascadia Code", Consolas, Menlo, monospace; color: var(--brand-700); white-space: nowrap; }
.method { display: inline-block; font: 700 11px ui-monospace, Consolas, monospace; padding: 3px 8px; border-radius: 6px; margin-right: 8px; }
.method.get { background: #e3f3ea; color: #1e6b3a; } .method.post { background: var(--sky-50); color: var(--brand); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

.next-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.next-links a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; transition: border-color .15s, transform .15s; }
.next-links a:hover { border-color: var(--brand); transform: translateY(-2px); }
.next-links b { display: block; font-family: var(--head); font-size: 1.1rem; margin-bottom: 4px; }
.next-links span { color: var(--muted); font-size: .95rem; }

@media (max-width: 1020px) {
  .grid-3, .next-links { grid-template-columns: 1fr 1fr; }
  .page-hero .container { padding-top: 72px; padding-bottom: 72px; }
  .page-hero::before { background: linear-gradient(90deg, rgba(6,47,55,.92), rgba(6,47,55,.7)); }
}
@media (max-width: 600px) {
  .grid-2c, .grid-3, .next-links, .checklist { grid-template-columns: 1fr; }
  .outcome { grid-template-columns: 1fr; gap: 8px; }
}
.ticks code, .card code, .section-head code { font: 13px ui-monospace, "Cascadia Code", Consolas, Menlo, monospace; background: var(--soft); color: var(--brand-700); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.steps.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1020px) { .steps.steps--3 { grid-template-columns: 1fr; } }

/* App store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 16px; border-radius: 14px; background: #fff; color: var(--ink); border: 1.5px solid var(--line); transition: transform .15s, box-shadow .15s; }
a.store:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(6,47,55,.18); }
.store-icon { width: 30px; height: 30px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: .72rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.store b { font-family: var(--head); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.store--soon { background: #dce3ea; border-color: #dce3ea; cursor: default; }
.store--soon .soon-text { color: #9a3412; text-transform: none; font-size: .8rem; letter-spacing: 0; }
.dark .store, .cta .store, .page-hero .store { border-color: transparent; }
.footer .stores { margin-top: 18px; }
.footer .store { min-height: 50px; padding: 6px 16px 6px 12px; }
.footer .store b { font-size: 1.1rem; }
.footer .store-icon { width: 26px; height: 26px; }
.stores-center .stores { justify-content: center; margin-top: 16px; }
.footer-top a.store { display: inline-flex; color: var(--ink); }
.footer-top a.store:hover { color: var(--ink); }
.dl-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.dl-facts div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.dl-facts small { display: block; color: var(--muted); font-size: .85rem; }
.dl-facts b { font-family: var(--head); font-size: 1.1rem; }
.steps-list { counter-reset: d; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; max-width: 760px; }
.steps-list li { counter-increment: d; position: relative; padding: 4px 0 4px 60px; min-height: 44px; color: var(--muted); }
.steps-list li::before { content: counter(d); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; }
.steps-list b { color: var(--ink); }
.hash { font: 12px ui-monospace, Consolas, monospace; overflow-wrap: anywhere; color: var(--muted); }
@media (max-width: 600px) { .dl-facts { grid-template-columns: 1fr; } }
