/* breevah.com — hand-written, no framework. Built into /assets/css/site.<hash>.css by tools/build.py.
   Identity: the traced chrome wordmark on a night-blue sky, one gold accent (the app's gold), Quicksand
   (the app's typeface, rounded like the Breevah glyphs). One motion only: the halo that breathes in and
   out behind the logo (off when the visitor prefers reduced motion). */

@font-face { font-family: "Quicksand"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/quicksand_regular.6394701df9.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/quicksand_medium.b66000d1ec.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/quicksand_semibold.8f62c1ce12.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/quicksand_bold.c07f75d494.woff2") format("woff2"); }

:root {
  /* Brand */
  --navy: #0A1030;
  --navy-rise: #142050;
  --navy-deep: #050818;
  --silver: #D9DEEA;
  --gold: #F9A602;
  --gold-brush: linear-gradient(180deg, #FBB324 0%, #F9A602 52%, #CF6F05 100%);
  --on-gold: #0A1030;
  --sky: radial-gradient(70% 60% at 50% 18%, rgba(126, 150, 255, 0.22), rgba(126, 150, 255, 0) 70%),
         linear-gradient(180deg, #142050 0%, #0A1030 46%, #070B22 100%);

  /* Dark theme (default) */
  --screen: #070B22;
  --surface: #0F1638;
  --surface-2: #161F4A;
  --line: rgba(217, 222, 234, 0.13);
  --text: #F4F6FB;
  --muted: #AEB7D0;
  --gold-text: #F9B02A;
  --header-bg: rgba(7, 11, 34, 0.74);
  --phone-bezel: linear-gradient(150deg, #3a4266 0%, #151b38 45%, #0b0f24 100%);
  --phone-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), 0 0 90px -40px rgba(126, 150, 255, 0.45);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  --focus: #FBB324;

  --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  color-scheme: dark;
}

[data-theme="light"] {
  --screen: #F3F5FA;
  --surface: #FFFFFF;
  --surface-2: #E8ECF5;
  --line: rgba(10, 16, 48, 0.11);
  --text: #0A1030;
  --muted: #4A5372;
  --gold-text: #8F5B00; /* ink gold, ≥ 4.5:1 on the light screen */
  --header-bg: rgba(243, 245, 250, 0.84);
  --phone-bezel: linear-gradient(150deg, #ffffff 0%, #e6e9f2 50%, #d3d8e6 100%);
  --phone-shadow: 0 40px 70px -34px rgba(10, 16, 48, 0.45), 0 0 0 1px rgba(10, 16, 48, 0.06);
  --card-shadow: 0 1px 2px rgba(10, 16, 48, 0.05), 0 10px 30px -18px rgba(10, 16, 48, 0.22);
  --focus: #8F5B00;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--screen);
  color: var(--text);
  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-text); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.14; font-weight: 700; letter-spacing: -0.018em; }
.nw { white-space: nowrap; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.86em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.i { width: 22px; height: 22px; flex: none; }
.i .ink { fill: none; stroke: var(--screen); }
.i .ink-fill { fill: var(--screen); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold-brush); color: var(--on-gold); padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------- type */
.lead { color: var(--muted); font-size: clamp(1.04rem, 1.4vw, 1.2rem); line-height: 1.62; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1.05rem; letter-spacing: 0;
  text-decoration: none; cursor: pointer; border: 0; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn-gold {
  background: var(--gold-brush); color: var(--on-gold);
  box-shadow: 0 12px 30px -12px rgba(249, 166, 2, 0.8), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(249, 166, 2, 0.95), 0 1px 0 rgba(255, 255, 255, 0.4) inset; }
.btn-ghost { color: #FFFFFF; background: rgba(217, 222, 234, 0.08); box-shadow: 0 0 0 1.5px rgba(217, 222, 234, 0.35) inset; }
.btn-ghost:hover { background: rgba(217, 222, 234, 0.16); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-text); }
.more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-weight: 700; text-decoration: none; }
.more .i { width: 18px; height: 18px; transition: transform 0.18s ease; }
.more:hover .i { transform: translateX(3px); }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--header-bg); color: var(--text);
  -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; color: inherit; }
.wordmark { width: 112px; height: auto; }
.primary { margin-right: auto; }
.primary-links { display: flex; gap: 4px; }
.primary a, .lang-short a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.96rem;
}
.primary a:hover, .primary a[aria-current] { color: var(--gold-text); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-short ul, .menu-langs { display: flex; gap: 2px; }
.lang-short a { padding: 0 9px; font-size: 0.82rem; letter-spacing: 0.06em; color: var(--muted); }
.lang-short a:hover { color: var(--text); }
.lang-short a[aria-current], .menu-langs a[aria-current] { color: var(--gold-text); box-shadow: 0 0 0 1.5px var(--gold) inset; }
.menu-langs { display: none; }
.theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: block; }
[data-theme="light"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; }

/* ------------------------------------------------------------- the breath (one motion) */
.breath { position: absolute; left: 50%; top: 0; width: 0; height: 0; z-index: -1; pointer-events: none; }
.breath span {
  position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%) scale(0.9);
  border: 1px solid rgba(217, 222, 234, 0.12);
  background: radial-gradient(closest-side, rgba(126, 150, 255, 0.10), rgba(126, 150, 255, 0) 100%);
  animation: breathe 10s ease-in-out infinite;
}
.breath span:nth-child(1) { width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(255, 196, 110, 0.20), rgba(126, 150, 255, 0.10) 55%, rgba(126, 150, 255, 0) 100%); }
.breath span:nth-child(2) { width: 700px; height: 700px; animation-delay: 0.35s; }
.breath span:nth-child(3) { width: 1040px; height: 1040px; animation-delay: 0.7s; border-color: rgba(217, 222, 234, 0.07); }
/* 4 s in, 1 s held, 4 s out, 1 s rest */
@keyframes breathe {
  0% { transform: translate(-50%, -50%) scale(0.86); opacity: 0.55; }
  40% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
  90%, 100% { transform: translate(-50%, -50%) scale(0.86); opacity: 0.55; }
}

/* ------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #FFFFFF;
  background: var(--sky);
  padding-top: clamp(56px, 8vw, 104px);
}
.hero .breath { top: clamp(150px, 15vw, 215px); }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-wordmark img { width: min(600px, 84vw); height: auto; filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.45)); }
.tagline { margin-top: clamp(14px, 2vw, 22px); font-size: clamp(1.15rem, 2.1vw, 1.55rem); font-weight: 600; letter-spacing: 0.03em; color: var(--silver); }
.hero h1 { margin-top: clamp(30px, 4.4vw, 52px); max-width: 17ch; font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -0.024em; text-wrap: balance; }
.hero .lead { margin-top: 18px; max-width: 40rem; color: rgba(244, 246, 251, 0.8); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 34px 0 18px; }
.hero .fine { color: rgba(244, 246, 251, 0.64); }
.hero-phones { position: relative; height: clamp(330px, 44vw, 560px); max-width: 980px; margin: clamp(40px, 6vw, 72px) auto 0; }
.hero::after { /* the phones sink into the page below */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(130px, 17vw, 230px); z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 11, 34, 0) 0%, var(--screen) 92%);
}
[data-theme="light"] .hero::after { background: linear-gradient(180deg, rgba(243, 245, 250, 0) 0%, var(--screen) 92%); }
.hp { position: absolute; top: 0; }
.hp-center { --pw: clamp(220px, 27vw, 320px); left: 50%; transform: translateX(-50%); z-index: 2; }
.hp-left { --pw: clamp(170px, 21vw, 260px); left: 50%; top: 9%; transform: translateX(-118%) rotate(-7deg); opacity: 0.94; }
.hp-right { --pw: clamp(170px, 21vw, 260px); left: 50%; top: 9%; transform: translateX(18%) rotate(7deg); opacity: 0.94; }

/* ------------------------------------------------------------- phone frame */
.phone {
  --pw: 270px;
  width: var(--pw); margin: 0; padding: calc(var(--pw) * 0.03);
  border-radius: calc(var(--pw) * 0.15);
  background: var(--phone-bezel);
  box-shadow: var(--phone-shadow), 0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}
.phone-screen { position: relative; border-radius: calc(var(--pw) * 0.12); overflow: hidden; aspect-ratio: 415 / 900; background: #000; }
.phone-screen .shot { width: 100%; height: 100%; object-fit: cover; }
.shot-light { display: none; }
[data-theme="light"] .shot-dark.has-light { display: none; }
[data-theme="light"] .shot-light { display: block; }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: 16px; text-wrap: balance; }
.features { padding-top: clamp(24px, 4vw, 48px); }

/* The app's own section tiles (gold rounded squares, glyph punched out) */
.tile { display: inline-grid; place-items: center; width: 64px; height: 64px; color: var(--gold); flex: none; }
.tile .glyph { width: 100%; height: 100%; }
.tile-ink { stroke: var(--screen); }
.tile-ink-fill { fill: var(--screen); }
.tile-sm { width: 30px; height: 30px; }
.tiles ul { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; max-width: 900px; margin: 0 auto clamp(64px, 8vw, 112px); }
.tile-link { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 4px; border-radius: var(--r-lg); color: var(--text); text-decoration: none; font-weight: 700; }
.tile-link:hover { background: var(--surface); }
.tile-link .tile .glyph { filter: drop-shadow(0 10px 18px rgba(249, 166, 2, 0.25)); }
.tile-label { font-size: 0.95rem; text-align: center; }

.feature-list { display: flex; flex-direction: column; gap: clamp(80px, 9vw, 128px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature.flip .feature-copy { order: 2; }
.feature-copy { max-width: 34rem; }
.feature-name { display: flex; align-items: center; gap: 12px; color: var(--gold-text); font-weight: 700; font-size: 1.02rem; margin-bottom: 18px; }
.feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; text-wrap: balance; }
.feature .body { color: var(--muted); font-size: 1.08rem; margin-bottom: 24px; }
.points { display: flex; flex-direction: column; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.points .i { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.points.small li { font-size: 0.95rem; }
.extra { margin-top: 26px; padding: 2px 0 2px 18px; border-left: 3px solid var(--gold); color: var(--muted); font-size: 0.98rem; }
.feature-visual { display: flex; justify-content: center; }
.feature-phones { display: flex; justify-content: center; width: 100%; }
.feature-phones .phone { --pw: clamp(230px, 25vw, 300px); }
.feature-phones.pair { position: relative; min-height: clamp(520px, 54vw, 640px); max-width: 520px; }
.feature-phones.pair .phone { position: absolute; --pw: clamp(210px, 21vw, 262px); }
.phone-pair-0 { left: 4%; top: 0; z-index: 2; }
.phone-pair-1 { right: 4%; top: 64px; transform: rotate(5deg); }

/* Temple (Puzzles) */
.temple-visual { position: relative; width: 100%; max-width: 560px; padding-bottom: 120px; }
.temple-frame { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--phone-shadow); background: #0b0f24; }
.temple-frame img { width: 100%; }
.temple-phone { --pw: clamp(150px, 15vw, 190px); position: absolute; right: -10px; bottom: 0; transform: rotate(4deg); }

/* Circle illustration (Community) */
.circle-mock { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
.mock-card { background: var(--surface); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--card-shadow), 0 0 0 1px var(--line) inset; }
.mock-card:nth-child(2) { margin-left: 36px; }
.mock-card:nth-child(3) { margin-left: 12px; margin-right: 24px; }
.mock-title { font-weight: 700; font-size: 1.02rem; }
.mock-sub { color: var(--muted); font-size: 0.9rem; }
.mock-event { display: flex; gap: 16px; align-items: flex-start; }
.mock-date { display: grid; place-items: center; width: 54px; height: 60px; flex: none; border-radius: 14px; background: var(--gold-brush); color: var(--on-gold); line-height: 1; }
.mock-date b { font-size: 1.5rem; }
.mock-date small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; }
.mock-remind { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted); font-size: 0.85rem; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-weight: 700; font-size: 0.8rem; background: var(--surface-2); color: var(--text); }
.chip.on { background: var(--gold-brush); color: var(--on-gold); }
.mock-poll .bar { position: relative; display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); overflow: hidden; font-size: 0.92rem; font-weight: 600; }
.mock-poll .bar em, .mock-set em { font-style: normal; }
.mock-poll .bar * { position: relative; }
.mock-poll .fill { position: absolute; inset: 0 auto 0 0; background: rgba(249, 166, 2, 0.28); }
.mock-poll .f67 { width: 67%; }
.mock-poll .f33 { width: 33%; }
.mock-set ol { margin-top: 8px; counter-reset: s; }
.mock-set li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; counter-increment: s; }
.mock-set li::before { content: counter(s); color: var(--muted); width: 1em; }
.mock-set li:first-child { border-top: 0; }
.key { margin-left: auto; min-width: 30px; text-align: center; border-radius: 8px; padding: 1px 8px; font-weight: 700; font-size: 0.82rem; color: var(--gold-text); box-shadow: 0 0 0 1.5px var(--gold) inset; }

/* ------------------------------------------------------------- live (always night) */
.live { background: var(--sky); color: #FFFFFF; overflow: hidden; isolation: isolate; }
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.live h2 { margin-bottom: 18px; text-wrap: balance; }
.live .lead { color: rgba(244, 246, 251, 0.8); margin-bottom: 28px; }
.live .feature-name { color: var(--gold); }
.live .tile-ink { stroke: #0F1638; }
.live .tile-ink-fill { fill: #0F1638; }
.live .points .i .ink { stroke: #0A1030; }
.live-art { width: 100%; height: auto; overflow: visible; }
.live-art .rings { stroke: rgba(217, 222, 234, 0.14); }
.live-art .tv { fill: #0D1434; stroke: rgba(217, 222, 234, 0.4); stroke-width: 2; }
.live-art .tv-stand { fill: rgba(217, 222, 234, 0.3); }
.live-art .lyric { fill: rgba(217, 222, 234, 0.22); }
.live-art .lyric.now { fill: #F9A602; }
.live-art .handset rect { fill: #161F4A; stroke: rgba(217, 222, 234, 0.35); stroke-width: 2; }
.live-art .handset-screen rect { fill: #0A1030; }
.live-art .waves { stroke: #F9A602; }

/* ------------------------------------------------------------- web app */
.web { text-align: center; }
.web-copy { max-width: 44rem; margin: 0 auto clamp(36px, 5vw, 56px); }
.web-copy h2 { margin-bottom: 16px; text-wrap: balance; }
.web-copy .lead { margin-bottom: 28px; }
.browser { margin: 0 auto; max-width: 1040px; border-radius: 18px; overflow: hidden; background: #0D0D1A; box-shadow: var(--phone-shadow), 0 0 0 1px var(--line); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #1A1F3D; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(217, 222, 234, 0.25); }
.browser-bar span { margin: 0 auto; transform: translateX(-24px); padding: 3px 16px; border-radius: 999px; background: rgba(217, 222, 234, 0.08); color: #AEB7D0; font-size: 0.8rem; font-weight: 600; }
.browser img { width: 100%; }
.platforms { margin-top: clamp(32px, 4vw, 48px); }
.platforms h3 { font-size: 0.98rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.platforms ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.platforms li { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; font-weight: 600; }
.platforms .i { color: var(--gold-text); }

/* ------------------------------------------------------------- artists */
.artists { background: linear-gradient(180deg, var(--screen) 0%, var(--surface) 22%, var(--surface) 78%, var(--screen) 100%); }
[data-theme="light"] .artists { background: linear-gradient(180deg, var(--screen) 0%, #E9EDF6 22%, #E9EDF6 78%, var(--screen) 100%); }
.artists-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.artists-copy h2 { margin-bottom: 16px; text-wrap: balance; }
.artists-copy .lead { margin-bottom: 36px; max-width: 36rem; }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk h3 { font-size: 1.04rem; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.perk-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-sm); background: var(--gold-brush); color: var(--on-gold); }
.perk-icon .i { width: 22px; height: 22px; }
.perk-icon .i .ink { stroke: #FBB324; }
.perk-icon .i .ink-fill { fill: #FBB324; }
.money { display: flex; flex-direction: column; gap: 16px; }
.split, .pay { background: var(--screen); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--card-shadow), 0 0 0 1px var(--line) inset; }
[data-theme="light"] .split, [data-theme="light"] .pay { background: #FFFFFF; }
.pay h3, .split h3 { font-size: 1.24rem; margin-bottom: 10px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.pay-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); font-weight: 700; color: var(--text); }
.pay-chip .i { color: var(--gold-text); }
.pay-chip.mpesa .i { color: #4CAF50; }
.pay .muted { display: flex; gap: 10px; font-size: 0.92rem; }
.lock { color: var(--gold-text); }
.lock .i { width: 18px; height: 18px; margin-top: 3px; }
.split .muted { font-size: 0.92rem; margin-bottom: 18px; }
.split-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--surface-2); margin-bottom: 14px; }
.seg { display: block; height: 100%; }
.seg-owner { width: 68.96%; background: var(--gold-brush); }
.seg-fee { width: 17.24%; background: #8A3F00; }
.seg-vat { width: 13.8%; background: #6D7390; }
.split-rows { margin: 0 0 12px; }
.split-rows .row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.split-rows dt { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.split-rows dd { margin: 0; font-weight: 700; white-space: nowrap; }
.split-rows .total dt, .split-rows .owner dt { color: var(--text); font-weight: 700; }
.split-rows .owner { border-bottom: 0; }
.split-rows .owner dd { color: var(--gold-text); font-size: 1.25rem; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; flex: none; }
.dot-owner { background: var(--gold); }
.dot-fee { background: #8A3F00; }
.dot-vat { background: #6D7390; }

/* ------------------------------------------------------------- trust */
.trust-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.trust-copy h2 { margin-bottom: 16px; text-wrap: balance; }
.trust-copy > .lead { margin-bottom: 34px; max-width: 38rem; }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item h3 { font-size: 1.06rem; margin-bottom: 6px; }
.trust-item p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.trust-item .points { margin-top: 4px; gap: 8px; }
.trust-item .points .i { width: 18px; height: 18px; }
.trust-phone { display: flex; justify-content: center; }
.trust-phone .phone { --pw: clamp(220px, 22vw, 290px); transform: rotate(-3deg); }

/* ------------------------------------------------------------- east africa */
.region-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.region-copy h2 { margin-bottom: 16px; }
.region-lists { display: flex; flex-direction: column; gap: 26px; }
.region-lists h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--gold-text); margin-bottom: 12px; }
.region-lists h3 .i { width: 20px; height: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 8px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; font-weight: 700; font-size: 0.95rem; }
.chips .cc { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); color: var(--gold-text); font-size: 0.72rem; letter-spacing: 0.06em; }
.chips-lang li { padding: 0 18px; background: var(--gold-brush); color: var(--on-gold); box-shadow: none; }

/* ------------------------------------------------------------- download */
.download { padding-top: clamp(40px, 6vw, 80px); }
.download-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 64px); border-radius: var(--r-xl);
  background: radial-gradient(60% 70% at 50% 0%, rgba(126, 150, 255, 0.26), rgba(126, 150, 255, 0) 70%),
              linear-gradient(180deg, #172457 0%, #0F1638 100%);
  color: #FFFFFF; position: relative; overflow: hidden; box-shadow: 0 0 0 1px rgba(217, 222, 234, 0.12) inset, 0 40px 80px -50px rgba(0, 0, 0, 0.8);
}
.download-mark { width: auto; height: 104px; margin-bottom: 26px; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.5)); }
.download h2 { margin-bottom: 12px; text-wrap: balance; }
.download .lead { color: rgba(244, 246, 251, 0.8); margin-bottom: 30px; max-width: 34rem; }
.download .fine { color: rgba(244, 246, 251, 0.62); }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 62px; padding: 0 24px 0 18px; border-radius: 16px;
  border: 1.5px dashed rgba(217, 222, 234, 0.35); color: #FFFFFF; text-align: left; text-decoration: none;
}
.store .i { width: 28px; height: 28px; color: rgba(217, 222, 234, 0.75); }
.store > span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.06rem; line-height: 1.2; }
.store small { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; color: #F9B02A; }
.store-web { border: 0; background: rgba(217, 222, 234, 0.1); box-shadow: 0 0 0 1.5px rgba(249, 166, 2, 0.75) inset; }
.store-web:hover { background: rgba(249, 166, 2, 0.14); }
.store-web .i { color: #F9B02A; }
.store-live { border-style: solid; border-color: rgba(217, 222, 234, 0.55); }
.store-live:hover { background: rgba(217, 222, 234, 0.1); }

/* ------------------------------------------------------------- contact */
.contact { padding-top: clamp(48px, 6vw, 88px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-copy h2 { margin-bottom: 14px; }
.contacts { border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row h3 { font-size: 1.05rem; margin-bottom: 2px; }
.contact-row p { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.contact-mails { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.contact-mails a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.contact-mails a:hover { text-decoration: underline; }

/* ------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 72px) 0 32px; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; margin-bottom: 40px; }
.footer-brand .wordmark { width: 132px; margin-bottom: 14px; }
.footer-tagline { font-weight: 600; color: var(--text); }
.footer-story { color: var(--muted); font-size: 0.9rem; margin-top: 6px; max-width: 22rem; }
.footer-col h2 { font-size: 0.95rem; color: var(--muted); font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold-text); }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.lang ul { display: flex; flex-wrap: wrap; gap: 8px; }
.lang a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.lang a:hover { border-color: var(--gold); }
.lang a[aria-current] { border-color: var(--gold); color: var(--gold-text); }

/* ------------------------------------------------------------- long pages */
.doc-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--sky); color: #FFFFFF; padding: clamp(40px, 6vw, 76px) 0 clamp(40px, 5vw, 64px); }
.doc-hero .breath { left: 84%; top: 50%; }
.breath-sm span:nth-child(1) { width: 320px; height: 320px; }
.breath-sm span:nth-child(2) { width: 560px; height: 560px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.92rem; font-weight: 600; color: rgba(244, 246, 251, 0.7); margin-bottom: 18px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: rgba(244, 246, 251, 0.5); }
.crumbs a { color: #F9B02A; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.doc-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 20ch; text-wrap: balance; }
.doc-hero .lead { margin-top: 16px; max-width: 44rem; color: rgba(244, 246, 251, 0.82); }
.doc-hero .lead a { color: #F9B02A; }
.doc-date { margin-top: 18px; font-size: 0.92rem; color: rgba(244, 246, 251, 0.66); }
.review-note { margin-top: 18px; max-width: 44rem; padding: 12px 16px; border-radius: var(--r-md); background: rgba(249, 166, 2, 0.12); box-shadow: 0 0 0 1px rgba(249, 166, 2, 0.4) inset; font-size: 0.92rem; color: rgba(244, 246, 251, 0.9); }
.review-note a { color: #F9B02A; font-weight: 700; }

.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.toc h2 { font-size: 0.92rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.toc ol { display: flex; flex-direction: column; gap: 2px; border-left: 1.5px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 600; line-height: 1.35; }
.toc a:hover { color: var(--text); border-left-color: var(--gold); }
.doc { max-width: 68ch; }
.doc section + section { margin-top: clamp(36px, 4vw, 48px); }
.doc h2 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); margin-bottom: 14px; letter-spacing: -0.005em; }
.doc p, .doc li, .doc dd { color: var(--text); }
.doc p + p, .doc p + ul, .doc ul + p, .doc p + ol, .doc ol + p, .doc p + dl, .doc dl + p, .doc ol + .note, .doc ul + .note { margin-top: 14px; }
.doc strong { font-weight: 700; }
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-list li { position: relative; padding-left: 22px; }
.doc-list li::before { content: ""; position: absolute; left: 4px; top: 0.66em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.steps li { position: relative; padding-left: 46px; min-height: 32px; counter-increment: step; padding-top: 3px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold-brush); color: var(--on-gold); font-weight: 700; font-size: 0.95rem; }
.note { padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; border-left: 3px solid var(--gold); }
.doc-dl { border-top: 1px solid var(--line); }
.doc-dl > div { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc-dl dt { font-weight: 700; }
.doc-dl dd { margin: 0; color: var(--muted); }
.doc-cta { margin-top: 40px; }
.related { margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.related ul { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px 0 18px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; color: var(--text); text-decoration: none; font-weight: 600; }
.related a:hover { box-shadow: 0 0 0 1.5px var(--gold) inset; }
.related .i { width: 16px; height: 16px; color: var(--gold-text); }

/* Support */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 72px); padding-top: clamp(32px, 4vw, 56px); }
.support-grid > * { max-width: 860px; }
.support-contacts .contacts { border-top: 1px solid var(--line); }
.faq h2, .tips h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.08rem; font-weight: 700; }
.faq-item summary .i { color: var(--gold-text); transform: rotate(90deg); transition: transform 0.2s ease; }
.faq-item[open] summary .i { transform: rotate(-90deg); }
.faq-item summary:hover h3 { color: var(--gold-text); }
.faq-a { padding: 0 40px 20px 0; color: var(--muted); }
.tips .doc-list li { color: var(--text); }

/* Brand kit page */
.doc-wrap { padding-top: clamp(32px, 4vw, 56px); }
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 48px; }
.kit-item p { margin-top: 8px; font-weight: 600; font-size: 0.95rem; }
.kit-preview { display: grid; place-items: center; height: 150px; border-radius: var(--r-md); padding: 24px; box-shadow: 0 0 0 1px var(--line) inset; }
.kit-preview img { width: 100%; height: 102px; object-fit: contain; }
.kit-light { background: #FFFFFF; }
.kit-dark { background: var(--navy); }
.file-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 16px; font-size: 0.9rem; }

/* ------------------------------------------------------------- simple pages (404, payment return) */
body.simple { min-height: 100vh; min-height: 100dvh; display: grid; background: var(--sky); color: #FFFFFF; }
.simple-main { position: relative; display: grid; place-items: center; padding: var(--gutter); overflow: hidden; isolation: isolate; }
.simple-main .breath { top: 34%; }
.simple-card { max-width: 34rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.simple-brand { display: inline-flex; color: #FFFFFF; }
.simple-wordmark { width: 220px; height: auto; }
.simple-card .tagline { margin: 0 0 18px; }
.simple-card h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); text-wrap: balance; }
.simple-card .lead { color: rgba(244, 246, 251, 0.82); }
.simple-card .btn { margin: 12px 0; }
.simple-card .lang a { color: #FFFFFF; border-color: rgba(217, 222, 234, 0.3); }
.simple-card .lang a[aria-current] { color: #F9B02A; border-color: #F9A602; }
.simple-card .lang ul { justify-content: center; margin-top: 16px; }
.other-langs { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(217, 222, 234, 0.2); color: rgba(244, 246, 251, 0.75); font-size: 0.92rem; }

/* ------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .primary { position: fixed; left: 0; right: 0; top: var(--header-h); margin: 0; padding: 16px var(--gutter) 24px; background: var(--screen); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, 0.6); display: none; }
  .primary.open { display: block; }
  .primary-links { flex-direction: column; gap: 2px; }
  .primary a { min-height: 48px; font-size: 1.05rem; width: 100%; }
  .menu-toggle { display: inline-grid; }
  .menu-langs { display: flex; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  .menu-langs a { width: auto; min-height: 40px; padding: 0 14px; font-size: 0.9rem; color: var(--muted); }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .artists-grid { grid-template-columns: 1fr; }
  .money { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 880px) {
  .feature, .live-grid, .trust-grid, .region-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .feature-copy { max-width: none; }
  .feature-phones.pair { min-height: clamp(440px, 110vw, 560px); }
  .feature-phones.pair .phone { --pw: clamp(180px, 44vw, 240px); }
  .tiles ul { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 460px; }
  .trust-phone { order: 2; }
  .money { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
  .toc ol { border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; }
  .temple-visual { margin: 0 auto; }
}
@media (max-width: 600px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; }
  .header-cta, .lang-short { display: none; }
  .header-row { gap: 12px; }
  .wordmark { width: 100px; }
  .cta-row { width: 100%; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-phones { height: clamp(300px, 92vw, 400px); }
  .hp-center { --pw: 54vw; }
  .hp-left, .hp-right { --pw: 40vw; top: 12%; }
  .hp-left { transform: translateX(-112%) rotate(-7deg); }
  .hp-right { transform: translateX(12%) rotate(7deg); }
  .breath span:nth-child(1) { width: 300px; height: 300px; }
  .breath span:nth-child(2) { width: 500px; height: 500px; }
  .breath span:nth-child(3) { width: 720px; height: 720px; }
  .perks, .trust-list { grid-template-columns: 1fr; }
  .tiles ul { gap: 4px; }
  .tile { width: 56px; height: 56px; }
  .tile-sm { width: 28px; height: 28px; }
  .tile-label { font-size: 0.85rem; }
  .mock-card:nth-child(2) { margin-left: 18px; }
  .mock-card:nth-child(3) { margin-left: 6px; margin-right: 10px; }
  .temple-phone { right: -4px; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-mails { align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col a { overflow-wrap: normal; }
  .doc-dl > div { grid-template-columns: 1fr; }
  .faq-a { padding-right: 0; }
  .split-rows dt { font-size: 0.92rem; }
  .store { width: 100%; }
  .browser-bar span { transform: none; }
}
@media (forced-colors: active) {
  .btn, .pay-chip, .chips li, .store, .lang a, .related a { border: 1px solid CanvasText; }
}
