/* DigiD Ghana: the public website's design system. Brand colours come from the logo and the shared design tokens (black, white, the logo's green); the marketing pages add an
   ivory paper tone, a restrained gold and a kente red. Nothing here is loaded from another website: the two fonts are self-hosted (SIL Open Font Licence, see /credits). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin-wght.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/fraunces-latin-wght.woff2') format('woff2'); }

:root {
  /* surfaces */
  --ink: #0b0f0d;            /* near-black charcoal */
  --ink-2: #131916;
  --ink-3: #1d2521;
  --ink-line: rgba(255, 255, 255, 0.14);
  --paper: #fffdf8;
  --ivory: #f6f1e7;
  --ivory-2: #ece5d6;
  --line: #d9d1bf;
  /* text */
  --text: #17201b;           /* on ivory and paper */
  --text-muted: #4c574f;     /* on ivory and paper (AA) */
  --on-ink: #f7f4ec;         /* on the dark surfaces */
  --on-ink-muted: #c5cdc7;   /* on the dark surfaces (AA) */
  /* accents */
  --green: #22d160;          /* the logo's green: on dark surfaces */
  --green-deep: #0a7d3c;     /* the shared primary: on light surfaces, with white text */
  --green-soft: #e1eedc;
  --gold: #e3b04b;           /* on dark */
  --gold-deep: #8a6212;      /* on light (AA) */
  --gold-soft: #f6e7bf;
  --red: #c4372c;
  --focus-dark: #22d160;
  --focus-light: #0a5f8a;
  /* shape and space */
  --r-sm: 12px; --r-md: 20px; --r-lg: 32px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(11, 15, 13, 0.06), 0 8px 24px rgba(11, 15, 13, 0.07);
  --shadow-2: 0 2px 4px rgba(11, 15, 13, 0.08), 0 24px 64px rgba(11, 15, 13, 0.18);
  --header-h: 76px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .dark :focus-visible { outline-color: var(--focus-dark); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--paper); color: var(--text); padding: 12px 18px; border-radius: var(--r-sm); font-weight: 600; box-shadow: var(--shadow-2); }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- buttons, chips, small type ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 52px; padding: 0.85em 1.6em; border-radius: var(--r-pill); border: 1.5px solid transparent; font: 600 1rem/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.button svg { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.button:hover svg { transform: translateX(3px); }
.button:active { transform: translateY(1px); }
.button.primary { background: var(--green); color: #04130a; }
.button.primary:hover { background: #4be880; box-shadow: 0 10px 30px rgba(34, 209, 96, 0.28); }
.button.solid { background: var(--green-deep); color: #fff; }
.button.solid:hover { background: #08652f; box-shadow: 0 10px 28px rgba(10, 125, 60, 0.28); }
.button.ghost { background: rgba(255, 255, 255, 0.06); color: var(--on-ink); border-color: rgba(255, 255, 255, 0.38); backdrop-filter: blur(6px); }
.button.ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.7); }
.button.outline { background: transparent; color: var(--text); border-color: var(--text); }
.button.outline:hover { background: var(--text); color: var(--paper); }
.button.small { min-height: 44px; padding: 0.6em 1.25em; font-size: 0.95rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.7em; margin: 0 0 1.1rem; font: 600 0.8125rem/1.2 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep); }
.on-ink .eyebrow, .dark .eyebrow, .hero .eyebrow { color: var(--green); }
.lead { font-size: clamp(1.15rem, 1.4vw + 0.8rem, 1.45rem); line-height: 1.5; color: var(--text-muted); }
.on-ink .lead, .dark .lead, .hero .lead { color: var(--on-ink-muted); }
.chip { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.35em 0.85em; border-radius: var(--r-pill); font: 600 0.78rem/1.2 var(--font-sans); letter-spacing: 0.02em; white-space: nowrap; }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip.live { background: var(--green-soft); color: #0b5a2b; }
.chip.dev { background: var(--gold-soft); color: #6b4a07; }
.chip.plan { background: transparent; color: var(--text-muted); box-shadow: inset 0 0 0 1.5px var(--line); }
.chip.plan::before { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.dark .chip.live { background: rgba(34, 209, 96, 0.16); color: var(--green); }
.dark .chip.dev { background: rgba(227, 176, 75, 0.16); color: var(--gold); }
.dark .chip.plan { color: var(--on-ink-muted); box-shadow: inset 0 0 0 1.5px var(--ink-line); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--on-ink); transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease); }
.site-header::before { content: ''; position: absolute; inset: 0 0 -28px 0; background: linear-gradient(to bottom, rgba(5, 8, 6, 0.62), rgba(5, 8, 6, 0)); pointer-events: none; transition: opacity 0.35s var(--ease); }
.site-header.is-solid, .site-header.is-scrolled, body.menu-open .site-header { background: rgba(11, 15, 13, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--ink-line); }
.site-header.is-solid::before, .site-header.is-scrolled::before, body.menu-open .site-header::before { opacity: 0; }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-ink); }
.brand img { width: 46px; height: 46px; border-radius: 13px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.brand .word { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); font-weight: 650; font-size: 1.32rem; letter-spacing: -0.01em; }
.brand .word i { font-style: normal; color: var(--green); }
.brand .word small { margin-top: 4px; font: 600 0.62rem/1 var(--font-sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.site-nav { display: none; align-items: center; gap: clamp(14px, 2vw, 30px); }
.site-nav a { position: relative; padding: 10px 2px; font-size: 0.95rem; font-weight: 500; text-decoration: none; color: rgba(247, 244, 236, 0.9); transition: color 0.2s var(--ease); }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-nav a[aria-current='page'] { color: #fff; }
.header-actions { display: none; align-items: center; gap: 10px; }
.menu-button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; }
.menu-button .bars { position: relative; width: 20px; height: 14px; }
.menu-button .bars::before, .menu-button .bars::after, .menu-button .bars span { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-button .bars::before { top: 0; } .menu-button .bars span { top: 6px; } .menu-button .bars::after { bottom: 0; }
.menu-button[aria-expanded='true'] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded='true'] .bars span { opacity: 0; }
.menu-button[aria-expanded='true'] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; display: none; overflow-y: auto; padding: 24px var(--gutter) 40px; background: rgba(11, 15, 13, 0.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: var(--on-ink); }
.mobile-menu.is-open { display: block; animation: fade-in 0.25s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 18px 0; border-bottom: 1px solid var(--ink-line); font: 600 1.55rem/1.2 var(--font-display); text-decoration: none; }
.mobile-menu nav a[aria-current='page'] { color: var(--green); }
.mobile-menu .actions { display: grid; gap: 12px; margin-top: 28px; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1040px) { .site-nav, .header-actions { display: flex; } .menu-button, .mobile-menu { display: none !important; } }
.no-js .menu-button { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: max(640px, 94svh); overflow: hidden; color: var(--on-ink); background: var(--ink) url('/assets/media/hero-poster-1920.webp') center 22% / cover no-repeat; }
@media (max-width: 760px) { .hero { background-image: url('/assets/media/hero-poster-960.webp'); } }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 18% 78%, rgba(5, 8, 6, 0.86) 0%, rgba(5, 8, 6, 0.55) 46%, rgba(5, 8, 6, 0.12) 100%), linear-gradient(to top, rgba(5, 8, 6, 0.82) 0%, rgba(5, 8, 6, 0) 46%); }
.hero-inner { position: relative; width: 100%; padding-block: calc(var(--header-h) + 56px) clamp(72px, 10vh, 112px); }
.hero h1 { max-width: 15ch; font-size: clamp(2.7rem, 7.2vw + 0.4rem, 6.4rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.03em; color: #fff; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lead { max-width: 44ch; margin: 1.6rem 0 2.2rem; color: #e8ede9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { position: absolute; right: var(--gutter); bottom: 28px; display: none; align-items: center; gap: 14px; }
.hero-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid rgba(255, 255, 255, 0.45); background: rgba(5, 8, 6, 0.45); color: #fff; font: 600 0.85rem/1 var(--font-sans); cursor: pointer; backdrop-filter: blur(6px); }
.hero-toggle:hover { background: rgba(255, 255, 255, 0.18); }
.hero-toggle svg { width: 14px; height: 14px; }
.hero-notice { position: absolute; left: var(--gutter); bottom: 22px; right: var(--gutter); max-width: 62ch; margin: 0; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(5, 8, 6, 0.58); border: 1px solid var(--ink-line); backdrop-filter: blur(8px); font-size: 0.82rem; line-height: 1.45; color: var(--on-ink-muted); }
.hero-notice strong { color: #fff; }
.scroll-cue { position: absolute; left: 50%; bottom: 88px; display: none; flex-direction: column; align-items: center; gap: 10px; transform: translateX(-50%); color: rgba(247, 244, 236, 0.85); font: 600 0.7rem/1 var(--font-sans); letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 900px) { .hero-meta { display: flex; } .scroll-cue { display: flex; } .hero-notice { right: auto; bottom: 28px; } }
.js .hero-meta { display: flex; }
@media (max-width: 899px) { .js .hero-meta { right: var(--gutter); left: auto; bottom: auto; top: calc(var(--header-h) + 10px); } }

/* page heading band for inner pages (no video) */
.page-hero { position: relative; isolation: isolate; padding-block: calc(var(--header-h) + clamp(48px, 9vw, 104px)) clamp(48px, 8vw, 88px); color: var(--on-ink); background: var(--ink); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 90% 0%, rgba(34, 209, 96, 0.2), rgba(34, 209, 96, 0) 60%), radial-gradient(60% 100% at 0% 100%, rgba(227, 176, 75, 0.12), rgba(227, 176, 75, 0) 60%); }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/assets/media/kente.svg') center / 220px repeat; opacity: 0.07; mask-image: linear-gradient(to left, #000, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.3rem, 5.4vw + 0.4rem, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; color: #fff; }
.page-hero .lead { max-width: 52ch; margin: 1.4rem 0 0; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.page-hero .eyebrow { color: var(--green); }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 144px); }
.section.tint { background: var(--ivory); }
.section.dark, .on-ink { background: var(--ink); color: var(--on-ink); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head h2, .split h2 { font-size: clamp(2rem, 3.8vw + 0.6rem, 3.7rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: #c5bba3; }
.tint .card { background: var(--paper); }
.dark .card { background: var(--ink-2); border-color: var(--ink-line); color: var(--on-ink); }
.dark .card:hover { border-color: rgba(34, 209, 96, 0.5); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4); }
.card .num { margin-bottom: 22px; font: 600 0.8rem/1 var(--font-sans); letter-spacing: 0.18em; color: var(--green-deep); }
.dark .card .num { color: var(--green); }
.card h3 { margin-bottom: 0.7rem; font-size: 1.5rem; line-height: 1.15; }
.card p { margin-bottom: 0; color: var(--text-muted); font-size: 1rem; }
.dark .card p { color: var(--on-ink-muted); }
.card .chip { align-self: flex-start; margin-top: 20px; }
.card .icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--green-deep); }
.dark .card .icon { color: var(--green); }
.card .more { margin-top: auto; padding-top: 22px; font-weight: 600; color: var(--green-deep); }
.dark .card .more { color: var(--green); }
.card .more a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; }
.card .more a:hover { background-size: 100% 3px; }
.problem-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.problem-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); list-style: none; }
.problem-list .n { font: 600 0.85rem/1 var(--font-sans); letter-spacing: 0.15em; color: var(--green-deep); }
.problem-list h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.problem-list p { margin: 0; color: var(--text-muted); }

/* two-column editorial split */
.split { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } .split.wide-left { grid-template-columns: 1.15fr 0.85fr; } }
.split h2 { margin-bottom: 1.2rem; }
.split .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }
.ticks { display: grid; gap: 14px; margin: 1.6rem 0 0; }
.ticks li { position: relative; padding-left: 36px; list-style: none; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.28em; width: 22px; height: 22px; border-radius: 50%; background: var(--green-deep); }
.ticks li::after { content: ''; position: absolute; left: 7px; top: calc(0.28em + 5px); width: 8px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.dark .ticks li::before { background-color: var(--green); }
.dark .ticks li::after { border-color: #04130a; }
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-3); box-shadow: var(--shadow-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(5, 8, 6, 0.62); backdrop-filter: blur(6px); color: #fff; font-size: 0.74rem; letter-spacing: 0.02em; }
.honest { padding: 20px 24px; border-radius: var(--r-md); background: var(--gold-soft); border: 1px solid #e6cf92; color: #4a3507; font-size: 0.97rem; }
.honest strong { color: #33240a; }
.dark .honest { background: rgba(227, 176, 75, 0.1); border-color: rgba(227, 176, 75, 0.35); color: #f1dfb2; }
.dark .honest strong { color: #fff; }

/* ---------- the four-step journey (website, phone, code, QR) ---------- */
.journey { display: grid; gap: clamp(16px, 2vw, 24px); counter-reset: step; }
@media (min-width: 640px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--ink-line); }
.step .no { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--green); color: #04130a; font: 700 1rem/1 var(--font-sans); }
.step h3 { margin-bottom: 0.6rem; font-size: 1.35rem; line-height: 1.15; color: #fff; }
.step p { margin: 0 0 1.4rem; color: var(--on-ink-muted); font-size: 0.97rem; }
.step .mock { margin-top: auto; }
@media (min-width: 9999px) { .step:not(:last-child)::after { content: ''; position: absolute; z-index: 2; top: 40px; right: -23px; width: 22px; height: 2px; background: repeating-linear-gradient(to right, var(--green) 0 4px, transparent 4px 8px); } }
.mock { position: relative; border-radius: 16px; background: #0a0e0c; border: 1px solid var(--ink-line); overflow: hidden; }
.mock .chrome { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--ink-line); color: var(--on-ink-muted); font-size: 0.7rem; }
.mock .chrome i { width: 8px; height: 8px; border-radius: 50%; background: #34403a; }
.mock .chrome span { margin-left: 6px; padding: 2px 10px; border-radius: 99px; background: #151c18; }
.mock .body { padding: 14px; display: grid; gap: 10px; font-size: 0.78rem; line-height: 1.35; color: var(--on-ink); }
.mock .row { padding: 10px 12px; border-radius: 10px; background: #151c18; border: 1px solid var(--ink-line); }
.mock .row.btn { background: var(--green); color: #04130a; font-weight: 700; text-align: center; border-color: transparent; }
.mock .code { display: flex; justify-content: center; gap: 6px; }
.mock .code b { display: grid; place-items: center; width: 30px; height: 38px; border-radius: 8px; background: #151c18; border: 1px solid var(--ink-line); color: var(--green); font: 700 1.1rem/1 var(--font-sans); }
.mock .qr { width: 96px; height: 96px; margin-inline: auto; color: #fff; }
.mock .caption { text-align: center; color: var(--on-ink-muted); font-size: 0.72rem; }
.mock .phone-top { height: 6px; width: 38px; margin: 8px auto 0; border-radius: 6px; background: #2b352f; }
.mock .web { color: var(--on-ink-muted); }
.mock .tag { display: inline-block; padding: 2px 8px; border-radius: 99px; background: rgba(34, 209, 96, 0.15); color: var(--green); font-size: 0.68rem; font-weight: 600; }
.journey-note { margin-top: 28px; color: var(--on-ink-muted); font-size: 0.95rem; }
.journey-note strong { color: #fff; }

/* ---------- business journey ---------- */
.rail { display: grid; gap: 0; counter-reset: r; }
.rail li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 6px 22px; padding: 0 0 34px; list-style: none; }
.rail li:last-child { padding-bottom: 0; }
.rail li::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 6px; width: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px); }
.rail li:last-child::before { display: none; }
.rail .no { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--green); font: 600 1.25rem/1 var(--font-display); }
.rail h3 { font-size: 1.45rem; margin: 10px 0 6px; }
.rail p { margin: 0; color: var(--text-muted); max-width: 56ch; }
.dark .rail li::before { background: repeating-linear-gradient(to bottom, var(--ink-line) 0 6px, transparent 6px 12px); }
.dark .rail .no { background: var(--green); color: #04130a; }
.dark .rail p { color: var(--on-ink-muted); }

/* ---------- Ghana band ---------- */
.ghana { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(560px, 80svh, 780px); color: #fff; overflow: hidden; background: var(--ink); }
.ghana > picture, .ghana > picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ghana::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 8, 6, 0.92) 0%, rgba(5, 8, 6, 0.5) 45%, rgba(5, 8, 6, 0.1) 100%); }
.ghana .inner { width: 100%; padding-block: clamp(48px, 8vw, 96px); }
.ghana h2 { max-width: 16ch; font-size: clamp(2.2rem, 4.8vw + 0.5rem, 4.8rem); line-height: 1.02; color: #fff; }
.ghana .cols { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 900px) { .ghana .cols { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.ghana p { color: #e3e9e5; max-width: 52ch; }
.ghana .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ghana .tiles .photo { aspect-ratio: 3 / 4; border-radius: var(--r-md); box-shadow: none; }
.ghana .credit { font-size: 0.72rem; color: rgba(247, 244, 236, 0.72); margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 900px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; cursor: pointer; list-style: none; font: 600 1.28rem/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--text); background: linear-gradient(var(--text), var(--text)) center / 14px 2px no-repeat, linear-gradient(var(--text), var(--text)) center / 2px 14px no-repeat; transition: transform 0.3s var(--ease), background-color 0.3s; }
.faq summary:hover::after { background-color: var(--ivory-2); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--green-soft); }
.faq .answer { padding: 0 4px 28px; max-width: 70ch; color: var(--text-muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- closing call to action ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink); }
.cta-band > picture, .cta-band > picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 8, 6, 0.92) 8%, rgba(5, 8, 6, 0.66) 55%, rgba(5, 8, 6, 0.4) 100%); }
.cta-band .inner { padding-block: clamp(88px, 13vw, 176px); }
.cta-band h2 { max-width: 14ch; font-size: clamp(2.4rem, 5.4vw + 0.4rem, 5.2rem); line-height: 1; color: #fff; }
.cta-band p { max-width: 50ch; margin: 1.5rem 0 2.2rem; color: #e3e9e5; font-size: clamp(1.1rem, 1.2vw + 0.7rem, 1.35rem); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- prose pages (legal, credits, help) ---------- */
.prose { padding-block: calc(var(--header-h) + 56px) clamp(64px, 9vw, 112px); }
.prose > .wrap > * { max-width: 760px; }
.prose h1 { margin-bottom: 1.4rem; font-size: clamp(2.2rem, 4vw + 0.5rem, 3.6rem); }
.prose h2 { margin: 2.4rem 0 0.8rem; font-size: 1.7rem; }
.prose h3 { margin: 1.6rem 0 0.4rem; font-size: 1.25rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: 0; }
.prose li { margin-bottom: 0.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.panel { padding: 24px 28px; margin: 1.6rem 0; border-radius: var(--r-md); background: var(--ivory); border: 1px solid var(--line); }
.panel h2 { margin-top: 0; }
.placeholder { padding: 2px 8px; border-radius: 6px; background: var(--gold-soft); color: #4a3507; font-size: 0.92em; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 1rem 0 1.6rem; }
.facts dt { font-weight: 650; } .facts dd { margin: 0; }
.hint { color: var(--text-muted); font-size: 0.95rem; }
.contact-grid { display: grid; gap: 18px; margin: 2rem 0; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; } .prose > .wrap > .contact-grid { max-width: none; } }
.contact-card { padding: 28px; border-radius: var(--r-md); background: var(--ivory); border: 1px solid var(--line); }
.contact-card h2 { margin: 0 0 0.6rem; font-size: 1.4rem; }
.contact-card p { margin: 0 0 0.8rem; color: var(--text-muted); }
.contact-card .big { display: inline-block; font: 600 clamp(1.1rem, 1.6vw + 0.7rem, 1.5rem)/1.3 var(--font-display); word-break: break-word; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); }
.site-footer a { text-decoration: none; }
.footer-top { display: grid; gap: 48px; padding-block: clamp(56px, 8vw, 96px) 48px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr repeat(4, 1fr); } }
.footer-brand p { max-width: 34ch; margin: 18px 0 0; color: var(--on-ink-muted); font-size: 0.97rem; }
.footer-col h2 { margin: 0 0 16px; font: 600 0.78rem/1.2 var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { display: grid; gap: 10px; list-style: none; }
.footer-col a { display: inline-block; padding: 3px 0; color: var(--on-ink-muted); transition: color 0.2s; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.22em; }
.footer-legal { display: grid; gap: 14px; padding-block: 28px 40px; border-top: 1px solid var(--ink-line); color: var(--on-ink-muted); font-size: 0.86rem; }
.footer-legal p { margin: 0; max-width: 90ch; }
.footer-legal .copy { color: #fff; font-size: 0.92rem; }
.footer-legal .credit a { text-decoration: underline; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-video, .hero-meta .hero-toggle { display: none; }
  .scroll-cue::after { animation: none; }
}
@media print { .site-header, .mobile-menu, .hero-video, .scroll-cue { display: none; } .hero, .page-hero, .section.dark, .cta-band, .site-footer, .ghana { background: #fff !important; color: #000 !important; } }

/* status line under the header on every page except the home page, and the legal links in the footer */
.status-bar { background: var(--gold-soft); color: #4a3507; border-bottom: 1px solid #e6cf92; font-size: 0.9rem; }
.status-bar .wrap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding-block: 10px; }
.status-bar strong { color: #33240a; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }
body.has-bar .status-bar { margin-top: var(--header-h); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal-nav a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal-nav a[aria-current] { font-weight: 700; }
.no-js .site-header { background: rgba(11, 15, 13, 0.9); }
.mt { margin-top: 28px; } .mt-s { margin-top: 20px; } .mt-m { margin-top: 1.4rem; } .mt-l { margin-top: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.brand .word .name { white-space: nowrap; }

/* contact form */
.contact-form { max-width: 680px; display: grid; gap: 22px; margin: 1.6rem 0 2.4rem; }
.field label { display: block; margin-bottom: 6px; font-weight: 650; }
.field-hint { margin: 0 0 8px; color: var(--text-muted); font-size: 0.92rem; }
.field input, .field select, .field textarea { width: 100%; padding: 0.85em 1em; border: 1.5px solid #8a8f89; border-radius: var(--r-sm); background: #fff; color: var(--text); font: inherit; }
.field textarea { resize: vertical; min-height: 9rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; border-width: 2px; }
.field-error { margin: 6px 0 0; color: #a1201a; font-weight: 600; font-size: 0.95rem; }
.form-alert { padding: 16px 20px; border-radius: var(--r-md); background: #fdecea; border: 1px solid #e8a39e; color: #6f1712; }
.form-alert ul { margin: 8px 0 0; padding-left: 1.2rem; } .form-alert a { color: inherit; }
.form-note { margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.contact-form .button { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks { max-width: 680px; }

/* real app screenshots in a phone frame: small, one size everywhere */
.phone { margin: 0; text-align: center; }
.phone .frame { position: relative; display: block; width: 156px; margin-inline: auto; box-sizing: border-box; padding: 8px; border-radius: 36px; background: linear-gradient(150deg, #353b37 0%, #121513 45%, #2a302c 100%); box-shadow: 0 0 0 1px #5a625c, 0 16px 34px rgba(5, 8, 6, 0.3), inset 0 0 0 2px #0a0c0b; }
.phone .island { position: absolute; z-index: 2; top: 15px; left: 50%; width: 40px; height: 11px; margin-left: -20px; border-radius: 8px; background: #000; }
.phone .side { position: absolute; width: 3px; border-radius: 2px; background: #3b423d; }
.phone .side.l { left: -3px; top: 62px; height: 22px; box-shadow: 0 32px 0 #3b423d, 0 62px 0 #3b423d; }
.phone .side.r { right: -3px; top: 84px; height: 44px; }
.phone .screen { overflow: hidden; border-radius: 29px; background: #fff; aspect-ratio: 1206 / 2622; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone figcaption { max-width: 168px; margin: 12px auto 0; font-size: 0.88rem; line-height: 1.35; color: var(--text-muted); }
.dark .phone figcaption, .on-ink .phone figcaption { color: var(--on-ink-muted); }
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 32px; margin: 0 0 20px; }
.gallery-head { margin-bottom: 40px; }
.shot-note { margin: 28px 0 0; color: var(--text-muted); font-size: 0.9rem; text-align: center; }
.step .mock-wrap { display: flex; justify-content: center; align-items: flex-start; }
.step .mock-wrap .phone .frame { width: 140px; }
.dark .shot-note, .on-ink .shot-note { color: var(--on-ink-muted); }
.journey .step { display: flex; flex-direction: column; }
.journey .step .mock-wrap { margin-top: auto; padding-top: 24px; align-items: flex-end; }

/* steps with the matching app screen beside them */
.walk { max-width: 860px; margin-inline: auto; }
.rail li.has-shot { grid-template-columns: 56px 1fr 164px; align-items: start; padding-bottom: 44px; }
.rail li.has-shot .shot { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
.rail li.has-shot .txt { grid-column: 2; }
.rail li .txt h3 { margin-top: 10px; }
.walk-note { margin-top: 36px; } .two-notes { display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 800px) { .two-notes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rail li.has-shot { grid-template-columns: 56px 1fr; } .rail li.has-shot .shot { grid-column: 2; grid-row: auto; margin-top: 18px; } }
.walk { max-width: 780px; }
.rail li.has-shot { align-items: center; padding-bottom: 36px; }
.rail li.has-shot::before { top: 0; bottom: 0; }
.rail li.has-shot .shot { grid-row: 1; }
.rail li.has-shot .txt h3 { margin-top: 0; }
@media (max-width: 640px) { .rail li.has-shot { align-items: start; } .rail li.has-shot::before { top: 56px; } .rail li.has-shot .shot { grid-row: auto; } }

/* legible sizes: big in the walkthrough, medium in galleries, small in the overview cards; click opens full size */
.phone .enlarge { display: block; height: 100%; cursor: zoom-in; }
.rail .phone .frame { width: min(272px, 72vw); padding: 10px; border-radius: 42px; }
.rail .phone .island { top: 19px; width: 56px; height: 15px; margin-left: -28px; }
.rail .phone .screen { border-radius: 33px; }
.rail .phone .side.l { top: 84px; height: 30px; box-shadow: 0 42px 0 #3b423d, 0 82px 0 #3b423d; }
.rail .phone .side.r { top: 112px; height: 58px; }
.phones .phone .frame { width: 216px; padding: 9px; border-radius: 38px; }
.phones .phone .island { top: 17px; width: 46px; height: 13px; margin-left: -23px; }
.phones .phone .screen { border-radius: 30px; }
.phones .phone .side.l { top: 72px; height: 26px; box-shadow: 0 36px 0 #3b423d, 0 70px 0 #3b423d; }
.phones .phone .side.r { top: 96px; height: 50px; }
.phones .phone figcaption { max-width: 220px; font-size: 0.95rem; }
.rail li.has-shot { grid-template-columns: 56px 1fr 292px; padding-bottom: 44px; }
.walk { max-width: 900px; }
@media (max-width: 640px) { .rail li.has-shot { grid-template-columns: 56px 1fr; } .rail .phone .frame { margin-inline: 0; } }
.phones { gap: 44px 40px; }
.rail .no { position: relative; z-index: 1; }

/* final phone look: thin edges, big screens */
.phone .frame { padding: 4px; border-radius: 34px; background: #0d100e; box-shadow: 0 0 0 1px #4a524d, 0 14px 32px rgba(5, 8, 6, 0.28); }
.phone .screen { border-radius: 30px; }
.phone .island { top: 11px; width: 42px; height: 12px; margin-left: -21px; }
.phone .side { width: 2px; background: #2f3531; }
.phone .side.l { left: -2px; top: 58px; height: 20px; box-shadow: 0 28px 0 #2f3531, 0 56px 0 #2f3531; }
.phone .side.r { right: -2px; top: 82px; height: 40px; }
.rail .phone .frame { width: min(340px, 80vw); padding: 5px; border-radius: 46px; }
.rail .phone .screen { border-radius: 41px; }
.rail .phone .island { top: 16px; width: 64px; height: 18px; margin-left: -32px; }
.rail .phone .side.l { top: 92px; height: 34px; box-shadow: 0 46px 0 #2f3531, 0 92px 0 #2f3531; }
.rail .phone .side.r { right: -2px; top: 130px; height: 66px; }
.rail li.has-shot { grid-template-columns: 56px 1fr 362px; }
.walk { max-width: 1040px; }
.phones .phone .frame { width: 252px; padding: 4px; border-radius: 40px; }
.phones .phone .screen { border-radius: 36px; }
.phones .phone .island { top: 13px; width: 52px; height: 15px; margin-left: -26px; }
.phones .phone .side.l { top: 76px; height: 28px; box-shadow: 0 38px 0 #2f3531, 0 76px 0 #2f3531; }
.phones .phone .side.r { top: 108px; height: 54px; }
.phones .phone figcaption { max-width: 252px; }
.phones { gap: 48px 36px; }
.journey .step .mock-wrap .phone .frame, .step .mock-wrap .phone .frame { width: 206px; padding: 4px; border-radius: 34px; }
.step .mock-wrap .phone .screen { border-radius: 30px; }
.step .mock-wrap .phone .island { top: 12px; width: 46px; height: 13px; margin-left: -23px; }
.step .mock-wrap .phone .side.l { top: 62px; height: 22px; box-shadow: 0 30px 0 #2f3531, 0 60px 0 #2f3531; }
.step .mock-wrap .phone .side.r { top: 88px; height: 44px; }
@media (max-width: 640px) { .rail .phone .frame { width: min(320px, 84vw); } }

.journey .step .mock-wrap .phone .frame { width: min(100%, 178px); }
.journey .step { padding: clamp(20px, 2vw, 26px); }
.journey .step h3 { font-size: 1.25rem; }
.journey .step p { font-size: 0.93rem; }

.phones .phone .frame { width: 212px; padding: 4px; border-radius: 36px; }
.phones .phone .screen { border-radius: 32px; }
.phones .phone .island { top: 12px; width: 46px; height: 13px; margin-left: -23px; }
.phones .phone .side.l { top: 66px; height: 24px; box-shadow: 0 32px 0 #2f3531, 0 64px 0 #2f3531; }
.phones .phone .side.r { top: 92px; height: 46px; }
.phones .phone figcaption { max-width: 212px; }
.phones { gap: 44px 28px; }
