/* Nikumbushe website. White pages, hairline-separated sections, content laid out in plain
   lists and two-column rows; cards are used only for things that are app UI (phones, chat,
   reminder cards). Light theme only (owner's choice). */
:root {
  --bg: #FFFFFF;
  --soft: #F4F6F9;      /* the app's own background */
  --ink: #0B1B33;
  --muted: #55627A;
  --line: #E4E8EF;
  --blue: #0061E3;
  --blue-press: #0050BD;
  --tint: #EAF2FD;
  --orange: #F89800;
  --orange-ink: #A55700;
  --warm: #FFF3E0;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
section { padding-block: 80px; border-top: 1px solid var(--line); }
section.first { border-top: 0; }
section.grey { background: var(--soft); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
.head { display: grid; gap: 12px; max-width: 680px; margin-bottom: 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--body); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-press); }
.btn-plain { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-plain:hover { border-color: #C9D2DF; }
.play { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 14px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; }
.play small { display: block; font-size: 11px; letter-spacing: .03em; opacity: .75; line-height: 1.2; }
.play strong { display: block; font-size: 16px; line-height: 1.2; font-weight: 600; }
.play svg { width: 24px; height: 24px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand .k { color: var(--blue); } .brand .m { color: var(--orange); }
nav.links { display: flex; gap: 26px; margin-left: auto; }
nav.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; padding-block: 22px; border-bottom: 2px solid transparent; }
nav.links a:hover { color: var(--ink); }
nav.links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blue); }
.lang { position: relative; }
.lang > button, .menu-btn { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 14px var(--body); cursor: pointer; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px -12px rgba(11, 27, 51, .25); min-width: 180px; z-index: 5; }
.lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 15px; color: var(--ink); }
.lang li a:hover, .lang li a[aria-current] { background: var(--soft); }
.lang li span { color: var(--muted); font-size: 12px; }
.top .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.menu-btn { display: none; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav .wrap { display: grid; padding-block: 6px 16px; }
.mobile-nav a { text-decoration: none; color: var(--ink); padding: 12px 0; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--blue); }
@media (max-width: 960px) { nav.links { display: none; } .lang { margin-left: auto; } .menu-btn { display: flex; } }
@media (max-width: 560px) { .top .btn { display: none; } .lang > button .lang-name { display: none; } }

/* Page title (inner pages) */
.page-title { padding-block: 64px 48px; }
.page-title .wrap { display: grid; gap: 16px; }
.page-title h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.03em; max-width: 20ch; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.on-page { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); padding-top: 8px; }
.on-page a { text-decoration: none; font-weight: 500; }

/* Home hero */
.hero { padding-block: 56px 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .sw { color: var(--orange-ink); }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-note b { color: var(--ink); font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.facts b { color: var(--ink); }
.stage { position: relative; display: grid; place-items: center; padding: 40px 20px; border-radius: 32px; background: var(--tint); min-width: 0; }
.stage .note { margin-top: 18px; width: 260px; max-width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 14px; box-shadow: 0 10px 24px -14px rgba(11, 27, 51, .35); }
.stage .note small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.stage .note b { font-weight: 600; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .stage { padding: 28px 16px; } }

/* Phone mockup: a status bar strip holds the camera, so the screenshot is never covered. */
.phone { width: 280px; max-width: 100%; border-radius: 42px; padding: 9px; background: #101C2F; box-shadow: 0 30px 60px -28px rgba(11, 27, 51, .55), inset 0 0 0 1.5px #2A3A54; }
.phone .screen { border-radius: 33px; overflow: hidden; background: var(--sb, #F4F6F9); }
.phone .bar { position: relative; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font: 600 12px var(--body); color: var(--sb-ink, #0B1B33); }
.phone .bar::after { content: ""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 74px; height: 21px; border-radius: 999px; background: #101C2F; }
.phone .bar i { display: flex; gap: 4px; align-items: center; }
.phone .bar i::before { content: ""; width: 14px; height: 9px; border-radius: 2px; background: currentColor; opacity: .85; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.phone .bar i::after { content: ""; width: 20px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .85; }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 1920; }
.phone.sm { width: 100%; max-width: 230px; border-radius: 34px; padding: 7px; }
.phone.sm .screen { border-radius: 27px; }
.phone.sm .bar { height: 28px; padding: 0 16px; font-size: 10px; }
.phone.sm .bar::after { top: 7px; width: 58px; height: 16px; }

/* Screenshot gallery: a grid, nothing cut off */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.gallery figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.gallery figcaption { font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gallery { gap: 28px 12px; } }

/* Rows: label on the left, explanation on the right, hairline between */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 260px 1fr; gap: 12px 40px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 19px; }
.row p { color: var(--muted); max-width: 62ch; }
.row .tag { display: inline-block; margin-top: 6px; font: 600 12px var(--body); color: var(--orange-ink); }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; } }

/* Two columns: text + visual */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split.flip > :first-child { order: 2; }
.split .visual { display: grid; justify-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.flip > :first-child { order: 0; } }
.plain-list { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); }
.plain-list b { color: var(--ink); font-weight: 600; }

/* Explore links on home */
.explore { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.explore a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.explore a:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.explore a:nth-child(even) { padding-left: 32px; }
.explore h3 { font-size: 22px; }
.explore p { grid-column: 1; color: var(--muted); }
.explore span { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 22px; color: var(--blue); transition: transform .15s; }
.explore a:hover span { transform: translateX(4px); }
.explore a:hover h3 { color: var(--blue); }
@media (max-width: 720px) { .explore { grid-template-columns: 1fr; } .explore a:nth-child(odd), .explore a:nth-child(even) { padding-inline: 0; border-right: 0; } }

/* Ring mode picker, drawn like the app's */
.ringer { width: 100%; max-width: 420px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 8px; }
.ringer > small { font-weight: 600; font-size: 13px; color: var(--muted); padding: 0 4px 4px; }
.opt { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.opt.on { border-color: var(--blue); background: var(--tint); }
.opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #A9B4C6; margin-top: 2px; }
.opt.on .dot { border: 6px solid var(--blue); }
.opt b { display: block; font-size: 15px; }
.opt span { font-size: 14px; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps li { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.steps li::before { counter-increment: s; content: "Step " counter(s); font-size: 13px; font-weight: 600; color: var(--orange-ink); }
.steps h3 { font-size: 20px; }
.steps p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Privacy block */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.promise div { padding: 24px; border-right: 1px solid var(--line); }
.promise div:last-child { border-right: 0; }
.promise b { display: block; font-size: 16px; margin-bottom: 4px; }
.promise span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr 1fr; } .promise div:nth-child(2) { border-right: 0; } .promise div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .promise { grid-template-columns: 1fr; } .promise div { border-right: 0; border-bottom: 1px solid var(--line); } .promise div:last-child { border-bottom: 0; } }

/* Swahili clock + table */
.dial-wrap { max-width: 440px; width: 100%; }
.dial-wrap svg { width: 100%; height: auto; display: block; }
.dial-face { fill: var(--soft); stroke: var(--line); stroke-width: 2; }
.dial-inner { fill: #fff; stroke: var(--line); }
.dial-num { font-family: var(--display); font-weight: 700; font-size: 22px; fill: var(--ink); }
.dial-sw { font-family: var(--body); font-weight: 600; font-size: 10.5px; fill: var(--orange-ink); }
.dial-tick { stroke: #CBD3DF; stroke-width: 2; }
.hand { stroke: var(--blue); stroke-width: 6; stroke-linecap: round; }
.hand-dot { fill: var(--blue); }
.examples { display: grid; border-top: 1px solid var(--line); margin-top: 8px; }
.ex { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 12px 10px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; width: 100%; }
.ex:hover { background: var(--soft); }
.ex[aria-pressed="true"] { background: var(--tint); }
.ex q { quotes: none; font-weight: 600; }
.ex span { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--blue); font-variant-numeric: tabular-nums; }
.tables { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .tables { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--soft); }
tr:last-child td { border-bottom: 0; }
td.num { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
td.num small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
td.sw { font-weight: 600; }
.period { font-size: 13px; font-weight: 600; }
.p-alfajiri { color: #4A4FB0; } .p-asubuhi { color: var(--orange-ink); } .p-mchana { color: #8A6A00; } .p-jioni { color: #B4471C; } .p-usiku { color: #2B4C86; }
.minutes { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.minutes div { padding: 20px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.minutes div:last-child { border-right: 0; }
.minutes b { font-family: var(--display); font-size: 20px; }
.minutes small { color: var(--orange-ink); font-weight: 600; }
.minutes q { color: var(--muted); font-size: 14px; }
.minutes strong { font-size: 18px; color: var(--blue); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .minutes { grid-template-columns: 1fr 1fr; } .minutes div:nth-child(2) { border-right: 0; } .minutes div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Chat mock (app UI) */
.chat { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: grid; gap: 12px; width: 100%; max-width: 480px; box-shadow: 0 20px 40px -28px rgba(11, 27, 51, .4); }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 32px; height: 32px; }
.chat-head b { display: block; font-size: 14px; }
.chat-head small { color: var(--muted); font-size: 12px; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; }
.bubble.me { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { background: var(--soft); border-bottom-left-radius: 4px; }
.review { border: 1.5px solid var(--blue); border-radius: 16px; padding: 14px; display: grid; gap: 8px; }
.review .t { font-family: var(--display); font-weight: 700; font-size: 18px; }
.review dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 14px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 600; }
.review .acts { display: flex; gap: 8px; }
.review .acts span { flex: 1; text-align: center; padding: 9px; border-radius: 10px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); }
.review .acts span:last-child { background: var(--blue); color: #fff; border-color: transparent; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.tabs button { padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font: 600 14px var(--body); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.examples-box { width: 100%; max-width: 480px; }
.say-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.say-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.say-list small { font-weight: 600; color: var(--muted); font-size: 13px; padding-top: 2px; }

/* Team */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.person { display: grid; gap: 10px; align-content: start; }
.photo { aspect-ratio: 4 / 5; border-radius: 16px; background: var(--soft); border: 1px dashed #C9D2DF; display: grid; place-items: center; color: var(--muted); font-family: var(--display); font-size: 34px; font-weight: 700; }
.person h3 { font-size: 18px; }
.person .role { color: var(--blue); font-weight: 600; font-size: 14px; }
.person p { color: var(--muted); font-size: 14px; }
.photo.pic { display: block; width: 100%; height: auto; border: 0; object-fit: cover; object-position: center top; }
.reach { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.reach a { color: var(--ink, #0B1B33); text-decoration: none; border-bottom: 1px solid #C9D2DF; overflow-wrap: anywhere; }
.reach a:hover { color: var(--blue); border-color: var(--blue); }
.placeholder-note { font-size: 14px; color: var(--orange-ink); background: var(--warm); padding: 10px 14px; border-radius: 10px; width: fit-content; max-width: 100%; margin-top: 28px; }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, 1fr); } }
.story p + p { margin-top: 16px; }
.story p { font-size: 18px; color: #2E3B52; max-width: 62ch; }

/* FAQ */
.faq { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.faq-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: grid; gap: 2px; font-size: 15px; }
.faq-nav a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.faq-nav a:hover { color: var(--ink); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 24px; margin-bottom: 4px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); flex: none; }
details[open] summary::after { content: "−"; }
details p, details ol { color: var(--muted); margin-top: 10px; max-width: 64ch; }
details ol { padding-left: 20px; display: grid; gap: 4px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 20px; } .faq-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px 18px; } }

/* Contact line at the end of each page */
.contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.contact h2 { font-size: clamp(24px, 3vw, 32px); }
.contact p { color: var(--muted); margin-top: 6px; }
.mail { font-weight: 600; user-select: all; color: var(--ink); }

footer { padding-block: 48px 36px; border-top: 1px solid var(--line); background: var(--soft); }
footer .wrap { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
footer h4 { margin: 0 0 10px; font-size: 14px; color: var(--ink); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { text-decoration: none; color: var(--muted); font-size: 15px; }
footer a:hover { color: var(--blue); }
footer .small { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 34ch; }
.legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { footer .wrap { grid-template-columns: 1fr; } }

/* Getting started guide */
.guide-step { display: grid; grid-template-columns: 1fr 210px; gap: 40px; align-items: start; padding-block: 40px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.guide-step:first-child { border-top: 0; padding-top: 0; }
.guide-step > div:only-child { grid-column: 1 / -1; }
.guide-step .n { color: var(--blue); font-weight: 600; font-size: 14px; }
.guide-step h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 6px 0 14px; }
.guide-step p, .guide-step li { color: var(--muted); max-width: 62ch; }
.guide-step b { color: var(--ink); font-weight: 600; }
.guide-step ol, .guide-step ul { padding-left: 20px; display: grid; gap: 8px; margin: 0; }
.guide-step p + ol, .guide-step p + ul, .guide-step ol + p, .guide-step ul + p { margin-top: 14px; }
.tip { font-size: 15px; border-left: 3px solid var(--orange); padding: 2px 0 2px 14px; }
@media (max-width: 760px) { .guide-step { grid-template-columns: 1fr; } .guide-step .phone { justify-self: center; } }

/* Legal documents */
.doc { max-width: 72ch; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; scroll-margin-top: 90px; }
.doc > h2:first-child, .doc .doc-title { margin-top: 0; }
.split .row { grid-template-columns: 130px 1fr; gap: 8px 24px; }
@media (max-width: 560px) { .split .row { grid-template-columns: 1fr; } }
.doc p, .doc li { color: #2E3B52; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 20px; display: grid; gap: 6px; margin: 12px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--soft); font-weight: 600; }
.doc-lang { margin: 8px 0 0; }

/* Delete account */
.split.top { align-items: start; }
.small-print { font-size: 14px; margin-top: 16px; max-width: 62ch; }
.signin-card { display: grid; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.signin-card h3 { font-size: 22px; }
.signin-card label { font-weight: 600; font-size: 14px; margin-top: 6px; }
.signin-card input { height: 46px; padding: 0 14px; border: 1px solid #C9D2DF; border-radius: 10px; font: 16px var(--body); }
.signin-card input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.signin-card .btn { justify-content: center; }

/* Closing download block on the home page */
.get { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.get h2 { font-size: clamp(30px, 4vw, 46px); }
.get .actions { margin-top: 22px; }
.get ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.get li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.get li b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .get { grid-template-columns: 1fr; } }
.get .lead { margin-top: 14px; }
.people.two { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 32px 40px; }
@media (max-width: 520px) { .people.two { grid-template-columns: 1fr 1fr; gap: 24px 16px; } }

/* Tester reviews: a slow, continuous scroll; pauses on hover or focus, stops for reduced motion */
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.marquee { overflow: hidden; padding-block: 8px 4px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.track { display: flex; gap: 20px; width: max-content; animation: scroll-reviews 60s linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes scroll-reviews { to { transform: translateX(calc(-50% - 10px)); } }
.review-card { position: relative; margin: 0; width: 340px; flex: none; display: grid; align-content: space-between; gap: 18px; padding: 26px 24px 22px; border-radius: 18px; background: var(--warm); border: 1px solid #F6DDB5; }
.review-card::before { content: "“"; font-family: var(--display); font-size: 56px; line-height: .6; color: var(--orange); height: 18px; }
.review-card blockquote { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.review-card figcaption { display: grid; gap: 2px; font-size: 14px; }
.review-card figcaption span { color: var(--muted); }
.review-card .sample { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange-ink); background: #fff; border: 1px dashed #E8B66A; padding: 2px 8px; border-radius: 999px; }
.center-note { margin-inline: auto; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; width: auto; padding-inline: 16px; }
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .track .review-card[aria-hidden] { display: none; }
}
@media (max-width: 520px) { .review-card { width: 280px; } }
.use-card { margin: 0; width: 320px; flex: none; display: grid; align-content: start; gap: 12px; padding: 24px; border-radius: 18px; background: var(--warm); border: 1px solid #F6DDB5; }
.use-card .use-tag { justify-self: start; font-size: 13px; font-weight: 700; color: var(--orange-ink); background: #fff; padding: 3px 10px; border-radius: 999px; }
.use-card p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .track .use-card[aria-hidden] { display: none; } }
@media (max-width: 520px) { .use-card { width: 270px; } }
.reviews .marquee { margin-bottom: 8px; }

/* Coloured bands on the home page */
section.band { border-top: 0; }
.band-navy { background: #0B1B33; color: #fff; }
.band-navy .lead, .band-navy p { color: #B8C4D8; }
.band-blue { background: var(--blue); color: #fff; }
.band-blue .lead { color: #DCE8FB; }
.band-warm { background: var(--warm); }
.band-tint { background: var(--tint); }
.band-mint { background: #E9F7EF; }
.band-mint h3 { color: #0E5A35; }
.ring-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ring-col { padding: 28px; border-radius: 20px; background: #13284A; display: grid; gap: 10px; align-content: start; }
.ring-col .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: #0B1B33; }
.ring-col .ic svg { width: 24px; height: 24px; }
.ring-col h3 { font-size: 22px; color: #fff; }
.band-link { display: inline-block; margin-top: 28px; color: #FFC266; font-weight: 600; text-decoration: none; }
.band-link:hover { text-decoration: underline; }
.sw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sw-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid #F6DDB5; font-size: 18px; }
.sw-list b { font-family: var(--display); font-size: 26px; color: var(--orange-ink); }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: #EAF2FD; }
.band-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.band-ticks li { padding-left: 28px; position: relative; }
.band-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border-top: 1px solid #C9DBF5; }
.numbers > div { padding: 28px 24px 28px 0; border-bottom: 1px solid #C9DBF5; }
.numbers dt { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6vw, 68px); line-height: 1; color: var(--blue); letter-spacing: -0.03em; }
.numbers dd { margin: 10px 0 0; color: var(--muted); max-width: 26ch; }
.every { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.every > div { padding: 22px 0; border-top: 1px solid #BFE3CD; display: grid; gap: 6px; }
.every h3 { font-size: 19px; }
.every p { color: var(--muted); }
@media (max-width: 860px) { .ring-cols, .every { grid-template-columns: 1fr; } .numbers { grid-template-columns: 1fr 1fr; } }

/* ---------- Dark theme (System / Light / Dark switch in the header) ---------- */
:root[data-theme="dark"] {
  --bg: #0B1220; --soft: #101A2C; --ink: #E7EDF6; --muted: #9BA9C0; --line: #213049;
  --blue: #2F7CF6; --blue-press: #1F6AE0; --tint: #0F2340; --orange-ink: #FFB547; --warm: #2A1E0C;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1220; --soft: #101A2C; --ink: #E7EDF6; --muted: #9BA9C0; --line: #213049;
    --blue: #2F7CF6; --blue-press: #1F6AE0; --tint: #0F2340; --orange-ink: #FFB547; --warm: #2A1E0C;
    color-scheme: dark;
  }
}
:root { --header-bg: rgba(255, 255, 255, .94); --mint: #E9F7EF; --mint-ink: #0E5A35; --mint-line: #BFE3CD; --num-line: #C9DBF5; --warm-line: #F6DDB5; --navy: #0B1B33; --navy-card: #13284A; --text-2: #2E3B52; --field: #C9D2DF; }
:root[data-theme="dark"] { --header-bg: rgba(11, 18, 32, .9); --mint: #0C2519; --mint-ink: #7FD8A6; --mint-line: #1E4A33; --num-line: #213049; --warm-line: #4A3613; --navy: #060B16; --navy-card: #111E35; --text-2: #C9D3E3; --field: #2C3D5A; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --header-bg: rgba(11, 18, 32, .9); --mint: #0C2519; --mint-ink: #7FD8A6; --mint-line: #1E4A33; --num-line: #213049; --warm-line: #4A3613; --navy: #060B16; --navy-card: #111E35; --text-2: #C9D3E3; --field: #2C3D5A; }
}
header.top { background: var(--header-bg); transition: box-shadow .25s ease; }
header.top.scrolled { box-shadow: 0 8px 24px -18px rgba(11, 27, 51, .45); }
.play { background: #0B1B33; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.chat, .table-wrap, .sw-list li, .use-card .use-tag, .signin-card input { background: var(--bg); color: var(--ink); }
.dial-inner { fill: var(--bg); }
.story p, .doc p, .doc li { color: var(--text-2); }
.band-navy { background: var(--navy); }
.ring-col { background: var(--navy-card); }
.band-mint { background: var(--mint); }
.band-mint h3 { color: var(--mint-ink); }
.every > div { border-top-color: var(--mint-line); }
.numbers, .numbers > div { border-color: var(--num-line); }
.use-card, .sw-list li { border-color: var(--warm-line); }
.signin-card input, .btn-plain:hover { border-color: var(--field); }
.band-blue .chat { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }

/* Header: theme picker (next to the language picker) */
.tools { display: flex; gap: 8px; align-items: center; }
.theme { position: relative; }
.theme > button { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.theme > button svg { width: 18px; height: 18px; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px -12px rgba(11, 27, 51, .35); min-width: 170px; z-index: 5; }
.menu-pop button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 15px var(--body); cursor: pointer; text-align: left; }
.menu-pop button:hover { background: var(--soft); }
.menu-pop button[aria-checked="true"] { color: var(--blue); font-weight: 600; }
.menu-pop button[aria-checked="true"]::after { content: "✓"; margin-left: auto; }
.menu-pop svg { width: 16px; height: 16px; }
.lang li a[aria-disabled="true"] { color: var(--muted); cursor: default; }
.lang li a[aria-disabled="true"] span::after { content: " · soon"; }
:lang(sw) .lang li a[aria-disabled="true"] span::after { content: " · karibuni"; }

/* ---------- Scroll animations: one calm fade-up per element, once. No loops, no bounce. ---------- */
html.anim .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
html.anim .rv.in { opacity: 1; transform: none; }
.explore a span { transition: transform .25s ease; display: inline-block; }
.explore a:hover span { transform: translateX(4px); }
.ring-col, .use-card, .promise > div { transition: transform .3s ease, box-shadow .3s ease; }
.ring-col:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { html.anim .rv { opacity: 1; transform: none; transition: none; } }

/* Kiswahili page: step labels */
:lang(sw) .steps li::before { content: "Hatua " counter(s); }

/* ---------- Floating chat button ---------- */
.chat-fab { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40; display: grid; justify-items: end; gap: 12px; }
.chat-fab > button { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(0, 60, 150, .6); transition: transform .2s ease, background .2s ease; }
.chat-fab > button:hover { background: var(--blue-press); transform: translateY(-2px); }
.chat-fab > button svg { width: 26px; height: 26px; }
.chat-fab > button .x { display: none; }
.chat-fab.open > button .x { display: block; }
.chat-fab.open > button .c { display: none; }
.chat-panel { width: min(340px, calc(100vw - 40px)); background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px -24px rgba(11, 27, 51, .5); overflow: hidden; transform-origin: bottom right; transition: opacity .2s ease, transform .2s ease; }
.chat-panel[hidden] { display: block; opacity: 0; transform: translateY(8px) scale(.98); pointer-events: none; visibility: hidden; }
.chat-panel header { background: var(--blue); color: #fff; padding: 18px 20px; display: flex; gap: 12px; align-items: center; }
.chat-panel header img { width: 36px; height: 36px; background: #fff; border-radius: 10px; padding: 4px; }
.chat-panel header b { display: block; font-size: 16px; }
.chat-panel header small { color: #DCE8FB; font-size: 13px; }
.chat-opts { padding: 14px; display: grid; gap: 10px; }
.chat-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--bg); cursor: pointer; font: inherit; text-align: left; width: 100%; transition: border-color .2s ease, background .2s ease; }
.chat-opt:hover { border-color: var(--blue); background: var(--tint); }
.chat-opt .oi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; }
.chat-opt .oi svg { width: 22px; height: 22px; }
.chat-opt b { display: block; font-size: 15px; }
.chat-opt small { color: var(--muted); font-size: 13px; }
.oi.mail { background: var(--blue); } .oi.wa { background: #25D366; }
.chat-form { padding: 0 14px 14px; display: grid; gap: 8px; }
.chat-form[hidden] { display: none; }
.chat-form label { font-size: 13px; font-weight: 600; }
.chat-form input, .chat-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--field); border-radius: 10px; background: var(--bg); color: var(--ink); font: 15px var(--body); resize: vertical; }
.chat-form .btn { justify-content: center; }
.chat-note { padding: 0 16px 14px; font-size: 12px; color: var(--muted); }

/* ---------- Cookie notice ---------- */
.cookie { position: fixed; left: max(20px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 45; width: min(420px, calc(100vw - 40px)); background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 24px 60px -24px rgba(11, 27, 51, .5); display: grid; gap: 12px; transition: opacity .3s ease, transform .3s ease; }
.cookie.hide { opacity: 0; transform: translateY(10px); pointer-events: none; }
.cookie h3 { font-size: 17px; }
.cookie p { font-size: 14px; color: var(--muted); }
.cookie .actions { gap: 8px; }
.cookie .btn { padding: 10px 16px; font-size: 14px; }
@media (max-width: 560px) { .cookie { bottom: 92px; } }

nav.links { gap: 22px; }
@media (max-width: 1080px) { nav.links { display: none; } .theme { margin-left: auto; } .lang { margin-left: 0; } .menu-btn { display: flex; } }
.chat-opt[aria-disabled="true"] { opacity: .65; cursor: default; }
.chat-opt[aria-disabled="true"]:hover { border-color: var(--line); background: var(--bg); }
.chat-opts[hidden] { display: none; }

/* ---------- Header tabs: Home first, a sliding pill under the tab you point at ---------- */
nav.links { position: relative; display: flex; gap: 2px; margin-left: auto; padding: 4px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
nav.links .ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--bg); box-shadow: 0 1px 2px rgba(11, 27, 51, .08), 0 4px 12px -6px rgba(11, 27, 51, .25); opacity: 0; transition: transform .32s cubic-bezier(.3, .7, .2, 1), width .32s cubic-bezier(.3, .7, .2, 1), opacity .2s ease; pointer-events: none; }
nav.links a { position: relative; z-index: 1; padding: 8px 14px; border: 0; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .2s ease; }
nav.links a:hover, nav.links a:focus-visible { color: var(--ink); }
nav.links a:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
nav.links a[aria-current="page"] { color: var(--blue); font-weight: 600; border: 0; }
nav.links.hovering a[aria-current="page"] { color: var(--muted); }
nav.links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue); }
:root[data-theme="dark"] nav.links .ind { background: #1A2842; box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) nav.links .ind { background: #1A2842; box-shadow: none; } }
@media (max-width: 1240px) { nav.links a { padding: 8px 11px; font-size: 14px; } }
@media (max-width: 1160px) { nav.links { display: none; } .theme { margin-left: auto; } .lang { margin-left: 0; } .menu-btn { display: flex; } }
@media (prefers-reduced-motion: reduce) { nav.links .ind { transition: none; } }

/* Mobile menu: icon, label and arrow per row; the current page is highlighted. */
.mobile-nav:not([hidden]) { animation: navDrop .22s ease-out; }
@keyframes navDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-nav .wrap { gap: 4px; padding-block: 10px 16px; }
.mobile-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 12px; font-size: 16px; transition: background .15s ease, color .15s ease; }
.mobile-nav a:hover { background: var(--soft); }
.mobile-nav a .ni { width: 20px; height: 20px; color: var(--muted); flex: none; }
.mobile-nav a span { flex: 1; }
.mobile-nav a .chev { width: 16px; height: 16px; color: var(--muted); transition: transform .15s ease; }
.mobile-nav a:hover .chev { transform: translateX(3px); }
.mobile-nav a[aria-current="page"] { background: var(--tint); color: var(--blue); }
.mobile-nav a[aria-current="page"] .ni, .mobile-nav a[aria-current="page"] .chev { color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .mobile-nav:not([hidden]) { animation: none; } }

/* ---------- Hero: headline, “You said” bubble and reminder card floating over the phone ---------- */
.hero-x { position: relative; overflow: hidden; padding-block: 56px 40px; background: radial-gradient(900px 480px at 78% 30%, var(--tint), transparent 70%), var(--bg); }
.hero-x .wrap { grid-template-columns: 1.05fr .95fr; }
.hero-x .hero-copy { gap: 22px; }
.eyebrow { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.eyebrow b { padding: 3px 10px; border-radius: 999px; background: var(--warm); color: var(--orange-ink); font-weight: 700; font-size: 12.5px; }
.hero-x h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; }
.hero-x h1 .hl { position: relative; color: var(--blue); white-space: nowrap; }
.hero-x h1 .hl::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -.06em; height: .12em; border-radius: 99px; background: var(--orange); transform-origin: left; }
html.anim .hero-x h1 .hl::after { animation: hlDraw .9s .5s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes hlDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 500; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; color: #fff; background: #1E9E5A; }

.stage-x { position: relative; display: grid; place-items: center; padding: 48px 0 56px; min-width: 0; }
.stage-x .glow { position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 97, 227, .28), transparent 65%); filter: blur(20px); }
.stage-x .phone { position: relative; transform: rotate(3deg); }
.said, .rcard { position: absolute; border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(11, 27, 51, .5); }
.said { top: 10%; left: 0; max-width: 250px; padding: 12px 14px; background: var(--navy); color: #fff; border: 1px solid rgba(255, 255, 255, .1); }
.said small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #B9C6DA; margin-bottom: 4px; }
.said small i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.said b { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.rcard { right: 0; bottom: 14%; width: 220px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); }
.rtop { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rtop b { font-family: var(--display); font-size: 17px; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); }
.rcard strong { display: block; font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 6px; }
.rfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ring { padding: 4px 10px; border-radius: 999px; background: var(--warm); color: var(--orange-ink); font-weight: 600; white-space: nowrap; }
html.anim .said { animation: popIn .6s .35s both, floatA 7s 1s ease-in-out infinite; }
html.anim .rcard { animation: popIn .6s .6s both, floatB 8s 1.2s ease-in-out infinite; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }

.uses { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: 13.5px; }
.uses > span:first-child { color: var(--muted); font-weight: 500; margin-right: 4px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-weight: 500; color: var(--ink); transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
:root[data-theme="dark"] .chip, :root[data-theme="dark"] .rcard { background: var(--soft); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip, :root:not([data-theme="light"]) .rcard { background: var(--soft); } }
@media (max-width: 960px) { .hero-x .wrap { grid-template-columns: 1fr; } .stage-x { max-width: 460px; justify-self: center; width: 100%; } }
@media (max-width: 520px) { .said { max-width: 190px; padding: 10px 12px; } .said b { font-size: 13px; } .rcard { width: 180px; padding: 12px; } .rcard strong { font-size: 28px; } .ring { font-size: 11.5px; padding: 3px 8px; } }
@media (prefers-reduced-motion: reduce) { html.anim .said, html.anim .rcard, html.anim .hero-x h1 .hl::after { animation: none; } }
.hero.hero-x .wrap.uses { display: flex; grid-template-columns: none; gap: 8px; margin-top: 12px; }
.rcard { width: 252px; }
.rfoot span:first-child { white-space: nowrap; }
@media (max-width: 520px) { .rcard { width: 210px; } .rfoot { flex-wrap: wrap; gap: 6px; } }
.rfoot { flex-wrap: wrap; row-gap: 6px; } .rcard { width: 262px; }

/* Footer: location and social icons */
footer .loc { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 14px; color: var(--ink); font-weight: 500; }
footer .loc svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
footer .social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
footer .social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
footer .social a:hover, footer .social a:focus-visible { color: #fff; background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
footer .social svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { footer .social a { transition: none; } }
footer .social { gap: 6px; } footer .social a { width: 34px; height: 34px; border-radius: 10px; } footer .social svg { width: 17px; height: 17px; }

/* Large map above the footer */
.map-band { position: relative; height: 420px; border-top: 1px solid var(--line); background: var(--soft); overflow: hidden; }
.map-band iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
:root[data-theme="dark"] .map-band iframe { filter: invert(.92) hue-rotate(180deg) saturate(.7) brightness(.95); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-band iframe { filter: invert(.92) hue-rotate(180deg) saturate(.7) brightness(.95); } }
.map-band .wrap { position: relative; height: 100%; display: flex; align-items: center; pointer-events: none; }
.map-card { pointer-events: auto; display: grid; gap: 6px; justify-items: start; width: 300px; max-width: 100%; padding: 22px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 24px 48px -20px rgba(11, 27, 51, .45); }
.map-card .pin { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--warm); color: var(--orange-ink); margin-bottom: 6px; }
.map-card .pin svg { width: 22px; height: 22px; }
.map-card small { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.map-card b { font-family: var(--display); font-size: 24px; line-height: 1.15; }
.map-card .mail { color: var(--blue); text-decoration: none; font-weight: 500; margin-bottom: 8px; }
@media (max-width: 640px) { .map-band { height: auto; } .map-band iframe { position: relative; height: 300px; display: block; } .map-band .wrap { padding-block: 16px 24px; } .map-card { width: 100%; } }

/* Everyday-life chips: always one line; on narrow screens the row scrolls sideways. */
.hero.hero-x .wrap.uses { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; padding-bottom: 4px; }
.hero.hero-x .wrap.uses::-webkit-scrollbar { display: none; }
.uses > * { flex: none; white-space: nowrap; }
.chip { padding: 6px 12px; font-size: 13px; }
@media (max-width: 1000px) { .hero.hero-x .wrap.uses { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }

/* ---------- Hero stage v2: upright Android phone, a real-looking notification and voice bubble ---------- */
/* Android-style punch-hole camera instead of a pill notch (sitewide). */
.phone .bar::after { width: 11px; height: 11px; top: 11px; border-radius: 50%; background: #05080F; box-shadow: inset 0 0 0 2px #1B2638; }
.phone.sm .bar::after { width: 9px; height: 9px; top: 9px; }

.stage-x { padding: 40px 0 64px; }
.stage-x .glow { display: none; }
.stage-x .panel { position: absolute; left: 8%; right: 8%; top: 14%; bottom: 6%; border-radius: 28px; background: var(--tint); border: 1px solid var(--line); }
.stage-x .phone { transform: none; width: 272px; padding: 7px; border-radius: 40px; background: linear-gradient(145deg, #2B3443, #0C111A 45%, #1D2533); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 0 0 1px #05080F, 0 40px 70px -35px rgba(11, 27, 51, .6), 0 18px 30px -22px rgba(11, 27, 51, .45); }
.stage-x .phone .screen { border-radius: 33px; }
.stage-x .phone::before, .stage-x .phone::after { content: ""; position: absolute; right: -3px; width: 3px; border-radius: 0 2px 2px 0; background: #1D2533; }
.stage-x .phone::before { top: 22%; height: 46px; }
.stage-x .phone::after { top: 36%; height: 72px; }

/* Heads-up notification, as Android shows it when a reminder rings. */
.notif, .said { position: absolute; animation: none; }
.notif { top: 9%; right: 0; width: 300px; padding: 14px 16px 12px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(11, 27, 51, .45); font-size: 13.5px; }
.nh { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.nh img { width: 18px; height: 18px; }
.nh span:nth-child(2) { color: var(--ink); font-weight: 600; }
.notif b { display: block; font-size: 15px; font-weight: 600; }
.notif p { margin: 2px 0 10px; color: var(--muted); }
.na { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.na span { flex: 1; text-align: center; padding: 7px 0; border-radius: 999px; background: var(--soft); color: var(--blue); font-weight: 600; font-size: 13px; }
.na span:first-child { background: var(--blue); color: #fff; }

/* What the user said to the assistant. */
.said { top: auto; bottom: 12%; left: 0; max-width: 260px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: var(--navy); color: #fff; border: 0; box-shadow: 0 18px 40px -22px rgba(11, 27, 51, .55); }
.said .mic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); }
.said .mic svg { width: 16px; height: 16px; }
.said small { display: block; font-size: 11.5px; color: #9FB0C9; margin-bottom: 2px; }
.said b { font-weight: 500; font-size: 14px; line-height: 1.4; }

/* One calm entrance, no floating. */
html.anim .notif { animation: notifIn .5s .5s cubic-bezier(.2, .7, .2, 1) both; }
html.anim .said { animation: saidIn .5s .3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes saidIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .notif { width: 240px; padding: 12px 13px 10px; } .na span { font-size: 12px; } .said { max-width: 210px; } .said b { font-size: 13px; } .stage-x .phone { width: 240px; } }
@media (prefers-reduced-motion: reduce) { html.anim .notif, html.anim .said { animation: none; } }

/* ---------- Hero background video (soft grey hexagon pattern), still image until it plays ---------- */
.hero-x { isolation: isolate; background: var(--bg); }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; --vf: none; --vo: .9; }
.hero-media::before { content: ""; position: absolute; inset: 0; background: url("media/hero-bg.webp") center / cover no-repeat; filter: var(--vf); opacity: var(--vo); }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--vf); opacity: 0; transition: opacity 1.2s ease; }
.hero-media.playing video { opacity: var(--vo); }
/* Keep the words readable: the pattern fades out behind the text and towards the bottom. */
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 38%, color-mix(in srgb, var(--bg) 20%, transparent) 70%, transparent 100%),
  linear-gradient(180deg, transparent 70%, var(--bg) 100%); }
/* Dark mode: the same pattern as dark blue-grey lines. */
:root[data-theme="dark"] .hero-media { --vf: invert(1) hue-rotate(180deg) brightness(.6) saturate(1.5); --vo: .6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-media { --vf: invert(1) hue-rotate(180deg) brightness(.6) saturate(1.5); --vo: .6; } }
@media (max-width: 960px) { .hero-media::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 60%, transparent) 0%, color-mix(in srgb, var(--bg) 25%, transparent) 55%, var(--bg) 100%); } }
.stage-x .panel { background: color-mix(in srgb, var(--tint) 65%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
