/* BokaPay brand: ink #14213D, green #0F7B5F ("paid"), warm yellow #F4B942, system sans.
   Green on white is 5.4:1, fine for text and buttons. */
:root {
  --bg: #ffffff;
  --surface: #f4f7f5;
  --fg: #14213d;
  --muted: #4b5568;
  --line: #dfe6e2;
  --accent: #0f7b5f;
  --accent-fg: #ffffff;
  --accent-soft: #e3f2ec;
  --brand-yellow: #f4b942;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1626; --surface: #15203a; --fg: #e8edf5; --muted: #a8b3c7; --line: #26324d;
    --accent: #3fc79c; --accent-fg: #0e1626; --accent-soft: #143a33;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1626; --surface: #15203a; --fg: #e8edf5; --muted: #a8b3c7; --line: #26324d;
  --accent: #3fc79c; --accent-fg: #0e1626; --accent-soft: #143a33;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  padding-inline: 16px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.12; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
p, ul, ol { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); margin-inline: -16px; padding-inline: 16px; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 14px; }
.wordmark { font-family: var(--display); font-weight: 650; font-size: 23px; color: var(--fg); letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.wordmark img { width: 30px; height: 30px; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); padding-block: 4px; }
/* Touch screens: each menu link a full 44px tap target, easy for either thumb. */
@media (pointer: coarse) { .nav a { display: inline-flex; align-items: center; min-height: 44px; } }
.nav a:hover { color: var(--fg); }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--fg); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost:hover { background: var(--surface); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-block: 72px 80px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); }
.hero h1 { font-size: clamp(38px, 6vw, 60px); margin-top: 12px; }
.status-note { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--fg); background: var(--accent-soft); border-radius: 999px; padding: 6px 14px; }
.hero .lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 32em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* phone mock */
.phone { justify-self: center; width: min(300px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 22px 20px 24px; box-shadow: 0 28px 56px -30px rgba(20, 33, 61, 0.45); display: grid; gap: 14px; text-align: center; }
.phone .who { font-size: 14px; color: var(--muted); }
.phone .amount { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; }
.phone .qr { background: #fff; border-radius: 16px; padding: 14px; justify-self: center; }
.phone .qr svg { display: block; width: 170px; height: 170px; }
.phone .hint { font-size: 13.5px; color: var(--muted); }
.phone .paid { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 650; border-radius: 999px; padding: 9px 14px; font-size: 15px; }
.phone .example { font-size: 12px; color: var(--muted); }

/* sections */
section { padding-block: 72px; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 40em; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 42px); }
.sec-head p { color: var(--muted); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 8px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 15px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 15.5px; }
.note { margin-top: 24px; color: var(--muted); font-size: 15.5px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.cards > div { display: grid; gap: 8px; align-content: start; border-top: 6px solid var(--brand-yellow); padding-top: 16px; }
.cards h3 { font-size: 21px; }
.cards p { color: var(--muted); font-size: 15.5px; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.two h3 { font-size: 20px; margin-bottom: 14px; }
/* Tick lists (voice.md, 31 Oct 2026): the apps' filled circle and tick, centred on the first line. */
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before, .ticks li::after { content: ""; position: absolute; left: 0; top: calc(0.5lh - 11px); width: 22px; height: 22px; }
.ticks li::before { border-radius: 50%; background: var(--accent); }
.ticks li::after { background: var(--accent-fg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 15px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 15px no-repeat; }
.soon li { padding-left: 34px; position: relative; color: var(--muted); }
.soon li::before { content: ""; position: absolute; left: 0; top: calc(0.5lh - 11px); width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--muted); }
.soon { list-style: none; padding: 0; display: grid; gap: 12px; }

.callout { padding: 22px 24px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; display: grid; gap: 10px; }

/* pricing */
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table th, .price-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-table td:last-child { font-weight: 600; white-space: nowrap; }
.fineprint { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 46em; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 10px; color: var(--muted); }

.pilot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--accent-soft); border-radius: 18px; padding: 32px; }
.pilot p { color: var(--muted); margin-top: 10px; }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; display: grid; gap: 6px; color: var(--muted); font-size: 14px; }

/* legal pages */
.doc { max-width: 46em; padding-block: 56px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc .updated { color: var(--muted); margin-top: 10px; font-size: 15px; }
.doc h2 { font-size: 22px; margin-top: 36px; margin-bottom: 10px; }
.doc p, .doc ul { margin-top: 10px; }
.doc ul { padding-left: 22px; }
.doc li { margin-top: 6px; }

@media (max-width: 900px) {
  .hero, .two, .pilot { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 48px 56px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .price-table td:last-child { white-space: normal; }
  .pilot { padding: 24px; }
}

/* Layout from the brand voice (voice.md): closing lines, a breathing section, what BokaPay leaves out, the Skeillebank family */
.land { margin-top: 40px; font-family: var(--display); font-weight: 650; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; max-width: 28em; text-wrap: balance; }
.land::before { content: ""; display: block; width: 40px; height: 3px; background: var(--brand-yellow); margin-bottom: 16px; }
section.breath { padding-block: 100px; }
.breath p { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -0.015em; max-width: 19em; text-wrap: balance; }
.breath p span { color: var(--muted); }
.without { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.without li { border-top: 1.5px solid var(--fg); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.without h3 { font-size: 21px; display: flex; gap: 10px; align-items: baseline; }
.without h3::before { content: "✕"; color: #c0392b; font-size: 17px; }
.without p { color: var(--muted); font-size: 15.5px; }
.family { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.family-label { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.family a.fam { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; font-size: 15px; text-decoration: none; }
.family a.fam:hover, .family-label:hover { color: var(--accent); }
.family img { width: 28px; height: 28px; border-radius: 7px; display: block; }
@media (max-width: 900px) { .without { grid-template-columns: minmax(0, 1fr); gap: 28px; } section.breath { padding-block: 64px; } }

/* Footer, centred and stacked like every Skeillebank site: wordmark, page links, the family, then the legal line. */
footer.sfoot { display: grid; justify-items: center; text-align: center; gap: 0; padding-block: 44px 40px; }
.sfoot .wordmark { justify-content: center; }
.sfoot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 18px; font-size: 15px; }
.sfoot-links a { color: var(--muted); text-decoration: none; }
.sfoot-links a:hover { color: var(--fg); }
.sfoot .family { width: 100%; justify-content: center; margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); border-bottom: none; }
.sfoot .family-label { flex-basis: 100%; text-align: center; margin-bottom: 2px; }
.sfoot-fine { width: 100%; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.sfoot-fine a { color: inherit; }

.family-label img{height:24px; width:auto; border-radius:0;}
a.family-label{display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none;}

/* Two-colour wordmark: "Boka" orange, "Pay" green (lighter shades on dark). */
.wm-boka { color: #b7791f; }
.wm-pay { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wm-boka { color: var(--brand-yellow); } }
:root[data-theme="dark"] .wm-boka { color: var(--brand-yellow); }
