/* Kise site. Terracotta accent (same as the app) on cool slate neutrals.
   Radius rule: surfaces 16px, inputs 12px, buttons and chips full pill. */
:root {
  --bg: #F3F4F6; --bg-2: #EBEDF0; --surface: #FBFBFC; --elev: #FEFEFE;
  --ink: #13161B; --muted: #525A68; --subtle: #6F7786;
  --border: #DEE1E6; --border-strong: #C6CBD3;
  --accent: #B23A1E; --accent-hover: #942F18; --accent-fg: #FFF7F3; --accent-soft: #F6E2DA; --accent-ink: #8A2B15;
  --income: #21754C; --sms: #E4E7EB;
  --hero-line: rgb(178 58 30 / .3); --hero-glow: rgb(255 255 255 / .95); --hero-wave: rgb(178 58 30 / .6);
  --shadow: 0 1px 0 rgb(19 22 27 / .04), 0 28px 56px -28px rgb(32 38 52 / .32);
  --phone: #0B0D10; --tile-bg: #13161B; --tile-fg: #F3F4F6;
  --display: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Roboto Mono', ui-monospace, Menlo, monospace;
  --ethiopic: 'Noto Sans Ethiopic', sans-serif;
  --r-sm: 12px; --r-md: 16px; --r-lg: 28px; --pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0D0F12; --bg-2: #121519; --surface: #16191E; --elev: #1C2026;
  --ink: #E7E9EC; --muted: #A3AAB5; --subtle: #858D9A;
  --border: #252A31; --border-strong: #363C45;
  --accent: #E86F50; --accent-hover: #F28769; --accent-fg: #1A0D08; --accent-soft: #2A1811; --accent-ink: #F3A790;
  --income: #5CC08C; --sms: #20242A;
  --hero-line: rgb(232 111 80 / .28); --hero-glow: rgb(232 111 80 / .18); --hero-wave: rgb(232 111 80 / .6);
  --shadow: 0 1px 0 rgb(255 255 255 / .03) inset, 0 28px 56px -28px rgb(0 0 0 / .7);
  --phone: #000000; --tile-bg: #2A1710; --tile-fg: #F4E7E1;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; transition: background-color .2s, color .2s; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.03em; }
h3 { font-size: 20px; line-height: 1.25; }
.ge { font-family: var(--ethiopic); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 44ch; }
.sub { color: var(--muted); max-width: 60ch; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section.tight { padding: 72px 0; }
.band { background: var(--bg-2); border-block: 1px solid var(--border); }
.stack > * + * { margin-top: 16px; }
.eyebrow { font: 500 13px/1 var(--mono); color: var(--accent-ink); letter-spacing: .02em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 30; background: var(--elev); padding: 8px 14px; border-radius: var(--pill); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Theme-paired screenshots: only the one for the current theme is shown (and loaded) */
:root:not([data-theme="dark"]) .on-dark, :root[data-theme="dark"] .on-light { display: none; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--border); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -.03em; }
.brand .glyph { width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font: 600 17px/1 var(--ethiopic); }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: var(--pill); transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--pill); border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 19px; transition: background-color .15s, border-color .15s, transform .1s; }
.icon-btn:hover { background: var(--bg-2); border-color: var(--border-strong); }
.icon-btn:active { transform: scale(.94); }
.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--pill); font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: background-color .15s, border-color .15s, transform .1s, color .15s; }
.btn i { font-size: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { background: var(--accent); color: var(--accent-fg); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn.ghost:hover { background: var(--surface); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link { color: var(--accent-ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link i { transition: transform .2s var(--ease); }
.link:hover i { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Phone frame (real screenshots) ---------- */
.phone { position: relative; width: 100%; max-width: 300px; border-radius: 46px; padding: 9px; background: var(--phone); box-shadow: var(--shadow), 0 0 0 1px rgb(255 255 255 / .06) inset; }
.phone img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: 38px; background: var(--sms); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 104px; background: var(--bg); }
/* A brighter copy of the lattice shows only inside a soft wave that drifts across it. */
.hero-wave { position: absolute; inset: 0; z-index: -2; pointer-events: none; background:
  repeating-linear-gradient(45deg, var(--hero-wave) 0 1.5px, transparent 1.5px 26px),
  repeating-linear-gradient(-45deg, var(--hero-wave) 0 1.5px, transparent 1.5px 26px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800'%3E%3Cfilter id='b' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='38'/%3E%3C/filter%3E%3Cpath d='M-1200 400 C-1050 120 -750 120 -600 400 S-150 680 0 400 C150 120 450 120 600 400 S1050 680 1200 400 C1350 120 1650 120 1800 400 S2250 680 2400 400' fill='none' stroke='%23000' stroke-width='110' filter='url(%23b)'/%3E%3C/svg%3E") 0 50% / 1200px 800px repeat-x, radial-gradient(ellipse 62% 85% at 74% 46%, #000 25%, transparent 78%);
  -webkit-mask-composite: source-in;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800'%3E%3Cfilter id='b' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='38'/%3E%3C/filter%3E%3Cpath d='M-1200 400 C-1050 120 -750 120 -600 400 S-150 680 0 400 C150 120 450 120 600 400 S1050 680 1200 400 C1350 120 1650 120 1800 400 S2250 680 2400 400' fill='none' stroke='%23000' stroke-width='110' filter='url(%23b)'/%3E%3C/svg%3E") 0 50% / 1200px 800px repeat-x, radial-gradient(ellipse 62% 85% at 74% 46%, #000 25%, transparent 78%);
  mask-composite: intersect; }
/* Tibeb-style diamond lattice, strongest behind the phones and fading out before the headline. */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background:
  repeating-linear-gradient(45deg, var(--hero-line) 0 1px, transparent 1px 26px),
  repeating-linear-gradient(-45deg, var(--hero-line) 0 1px, transparent 1px 26px);
  -webkit-mask-image: radial-gradient(ellipse 62% 85% at 74% 46%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 85% at 74% 46%, #000 25%, transparent 78%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 74% 42%, var(--hero-glow), transparent 42%), radial-gradient(circle at 8% 0%, var(--hero-glow), transparent 30%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin: 24px 0 36px; }
.hero-art { position: relative; height: 620px; }
.hero-art .phone { position: absolute; }
.hero-art .p1 { right: 10%; top: 0; z-index: 2; max-width: 290px; }
.hero-art .p2 { right: 52%; top: 72px; max-width: 250px; transform: rotate(-6deg); opacity: .96; }
.bubble { position: absolute; z-index: 3; left: 0; bottom: 36px; max-width: 290px; background: var(--elev); border: 1px solid var(--border); border-radius: 20px 20px 20px 6px; padding: 14px 16px; font-size: 13.5px; line-height: 1.5; color: var(--muted); box-shadow: var(--shadow); }
.bubble b { color: var(--ink); font-weight: 600; }
.bubble .from { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--subtle); margin-bottom: 8px; }
.bubble .tag { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); color: var(--income); }

.banks-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; color: var(--subtle); padding: 28px 0; }
.banks-row span:first-child { color: var(--muted); font-size: 14px; margin-right: 8px; }
.banks-row b { font: 600 18px/1 var(--display); letter-spacing: -.02em; color: var(--muted); }

/* ---------- SMS to transaction demo ---------- */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.demo > div { padding: 32px; }
.demo .left { border-right: 1px solid var(--border); background: var(--bg-2); display: flex; flex-direction: column; gap: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { height: 34px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: 500 14px/1 var(--sans); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.tab:hover { color: var(--ink); border-color: var(--border-strong); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sms { background: var(--sms); border-radius: 22px 22px 22px 6px; padding: 16px 18px; font-size: 15px; line-height: 1.55; color: var(--ink); min-height: 150px; }
.sms .from { font: 500 12px/1 var(--mono); color: var(--subtle); margin-bottom: 10px; display: block; }
.receipt { display: grid; gap: 0; }
.receipt .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px dashed var(--border-strong); margin-bottom: 8px; }
.receipt .who { font: 600 22px/1.2 var(--display); letter-spacing: -.02em; }
.receipt .dir { font-size: 13px; color: var(--muted); margin-top: 4px; }
.receipt .amt { font: 600 30px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt .amt.in { color: var(--income); }
.receipt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.receipt dt, .receipt dd { padding: 10px 0; margin: 0; font-size: 14px; }
.receipt dt { color: var(--subtle); }
.receipt dd { text-align: right; font-variant-numeric: tabular-nums; }
.swatch { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.receipt.empty, .receipt.none { place-content: center; text-align: center; color: var(--muted); min-height: 260px; gap: 10px; }
.receipt.empty i, .receipt.none i { font-size: 34px; color: var(--subtle); justify-self: center; }
@media (prefers-reduced-motion: no-preference) {
  .receipt.swap { animation: swap .45s var(--ease); }
  @keyframes swap { from { opacity: 0; transform: translateY(8px); } }
}

/* ---------- Bento of app screens ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, auto); gap: 16px; margin-top: 48px; }
.tile { position: relative; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); padding: 32px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.tile p { color: var(--muted); max-width: 36ch; }
.tile .shot { margin-top: auto; padding-top: 28px; display: flex; justify-content: center; }
.tile .shot .phone { max-width: 250px; margin-bottom: -150px; }
.t-insights { grid-column: span 4; grid-row: span 2; background: linear-gradient(160deg, var(--accent-soft), var(--surface) 60%); }
.t-insights .shot { justify-content: flex-end; gap: 20px; }
.t-insights .shot .phone { max-width: 270px; margin-bottom: -210px; }
.t-insights .shot .phone + .phone { margin-bottom: -120px; }
.t-activity { grid-column: span 2; grid-row: span 2; }
.t-learn { grid-column: span 3; }
.t-learn .shot .phone { margin-bottom: -330px; }
.t-private { grid-column: span 3; background: var(--tile-bg); color: var(--tile-fg); border-color: var(--tile-bg); justify-content: space-between; min-height: 330px; }
.t-private p { color: color-mix(in srgb, var(--tile-fg) 72%, transparent); }
.t-private .big { font-size: 64px; color: var(--accent); line-height: 1; }
.t-private ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; font-size: 15px; }
.t-private li { display: flex; gap: 10px; align-items: center; }
.t-private li i { color: var(--accent); }

/* ---------- Two platforms ---------- */
.platforms { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; border-top: 1px solid var(--border-strong); }
.platforms > div { padding: 36px 40px 8px 0; display: grid; gap: 14px; align-content: start; }
.platforms > div + div { padding-left: 40px; border-left: 1px solid var(--border); }
.platforms .os { display: flex; align-items: center; gap: 10px; font: 600 14px/1 var(--mono); color: var(--subtle); }
.platforms .os i { font-size: 22px; color: var(--ink); }
.platforms ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; color: var(--muted); }
.platforms li { display: flex; gap: 10px; }
.platforms li i { color: var(--income); margin-top: 4px; }

/* ---------- Closing CTA ---------- */
.cta { border-radius: var(--r-lg); background: var(--accent); color: var(--accent-fg); padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.cta h2 { max-width: 16ch; }
.cta p { opacity: .85; margin-top: 12px; max-width: 46ch; }
.cta .btn.primary { background: var(--accent-fg); color: var(--accent); }
.cta .btn.primary:hover { background: color-mix(in srgb, var(--accent-fg) 88%, var(--accent)); }
.cta .big-ge { position: absolute; right: -10px; bottom: -70px; font: 600 260px/1 var(--ethiopic); opacity: .1; pointer-events: none; }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding: 80px 0 48px; }
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-top: 20px; }

/* ---------- Install cards ---------- */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.install .first { order: -1; }
.card { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 32px; display: grid; gap: 20px; align-content: start; }
.card.mine { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.card .row { display: flex; gap: 24px; align-items: flex-start; }
.card .os { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .os span { display: flex; align-items: center; gap: 10px; font: 600 14px/1 var(--mono); color: var(--subtle); }
.card .os span i { font-size: 22px; color: var(--ink); }
.badge { font: 500 12px/1 var(--mono); padding: 6px 10px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-ink); }
.qr { flex: none; width: 156px; height: 156px; padding: 10px; background: #FDFDFD; border-radius: var(--r-sm); border: 1px solid var(--border); }
.qr svg { display: block; width: 100%; height: 100%; }
.qr.off { background: var(--bg-2); display: grid; place-items: center; text-align: center; color: var(--subtle); font-size: 13px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--muted); font-size: 15px; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--border); color: var(--ink); display: grid; place-items: center; font: 500 13px/1 var(--mono); }
.steps b { color: var(--ink); font-weight: 600; }
.note { font-size: 14px; color: var(--subtle); display: flex; gap: 10px; }
.note i { font-size: 18px; flex: none; margin-top: 2px; }

/* ---------- Accordion ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; font: 600 18px/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; font-size: 20px; color: var(--subtle); transition: transform .25s var(--ease); margin-top: 2px; }
.faq details[open] summary i { transform: rotate(45deg); color: var(--accent); }
.faq summary:hover { color: var(--accent-ink); }
.faq .answer { padding: 0 48px 24px 0; color: var(--muted); max-width: 72ch; display: grid; gap: 10px; }
.faq code, .copy-box code { font-family: var(--mono); font-size: .9em; }

/* ---------- How it works: flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 40px; }
.flow::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--border-strong); }
.flow > div { position: relative; padding-right: 28px; display: grid; gap: 10px; align-content: start; }
.flow .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border-strong); display: grid; place-items: center; font-size: 20px; color: var(--accent); position: relative; margin-bottom: 10px; }
.flow p { color: var(--muted); font-size: 15px; }

/* ---------- Try it ---------- */
.try { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.try form { padding: 32px; display: grid; gap: 20px; border-right: 1px solid var(--border); background: var(--bg-2); align-content: start; }
.try .out { padding: 32px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field .help { font-size: 13px; color: var(--subtle); }
input, select, textarea { font: 15px/1.5 var(--sans); color: var(--ink); background: var(--elev); border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 170px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
::placeholder { color: var(--subtle); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Bank grid ---------- */
.bank-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.bank-card { border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px; background: var(--surface); display: grid; gap: 10px; align-content: start; }
.bank-card .mono-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 15px/1 var(--display); background: var(--ink); color: var(--bg); }
.bank-card h3 { font-size: 18px; }
.bank-card p { font-size: 14px; color: var(--muted); }
.bank-card .ids { font: 400 12.5px/1.5 var(--mono); color: var(--subtle); }

/* ---------- iPhone setup ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.big-steps { counter-reset: b; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.big-steps > li { counter-increment: b; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--border); }
.big-steps > li::before { content: counter(b); font: 600 34px/1 var(--display); color: var(--accent); letter-spacing: -.03em; }
.big-steps h3 { margin-bottom: 8px; }
.big-steps p { color: var(--muted); }
.kbd { display: inline-block; font: 500 13px/1 var(--mono); padding: 5px 8px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border); color: var(--ink); white-space: nowrap; }
.copy-box { margin-top: 16px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--elev); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; }
.copy-box code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; color: var(--ink); }
.sticky-shot { position: sticky; top: 100px; display: grid; justify-items: center; gap: 16px; }
.sticky-shot figcaption { font-size: 14px; color: var(--subtle); text-align: center; max-width: 30ch; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent-ink); font-size: 15px; }
.callout i { font-size: 20px; flex: none; margin-top: 2px; }

/* ---------- Privacy ---------- */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.ledger > div { border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--border); background: var(--surface); }
.ledger > div.never { background: var(--tile-bg); color: var(--tile-fg); border-color: var(--tile-bg); }
.ledger h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ledger ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ledger li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.ledger .keeps li i { color: var(--income); margin-top: 4px; }
.ledger .never li i { color: var(--accent); margin-top: 4px; }
.ledger .never li { color: color-mix(in srgb, var(--tile-fg) 78%, transparent); }
.perm { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.perm > div { display: grid; gap: 12px; align-content: start; }
.perm .os { display: flex; align-items: center; gap: 10px; font: 600 14px/1 var(--mono); color: var(--subtle); }
.perm .os i { font-size: 22px; color: var(--ink); }
.perm p { color: var(--muted); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--border); padding: 56px 0 40px; margin-top: 40px; }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot h4 { margin: 0 0 14px; font: 500 13px/1 var(--mono); color: var(--subtle); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot .fine { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--subtle); font-size: 14px; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-art .p1 { animation: lift .9s var(--ease) both; }
  .hero-art .p2 { animation: lift2 .9s .12s var(--ease) both; }
  .hero-art .bubble { animation: lift .8s .45s var(--ease) both; }
  .hero-wave { animation: wave 16s linear infinite; }
  .hero::after { animation: breathe 7s ease-in-out infinite alternate; }
  @keyframes wave { to { -webkit-mask-position: -1200px 50%, 0 0; mask-position: -1200px 50%, 0 0; } }
  @keyframes breathe { from { opacity: .55; } to { opacity: 1; } }
  @keyframes lift { from { opacity: 0; transform: translateY(24px); } }
  @keyframes lift2 { from { opacity: 0; transform: translateY(24px) rotate(-6deg); } }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .top .wrap { justify-content: space-between; }
  .top .get { display: none; }
  .nav.open { display: grid; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 16px 20px; gap: 4px; }
  .nav.open a { padding: 14px 12px; font-size: 17px; border-radius: var(--r-sm); }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 40px; }
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 72%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse 90% 55% at 50% 72%, #000 25%, transparent 80%); }
  .hero-wave { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800'%3E%3Cfilter id='b' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='38'/%3E%3C/filter%3E%3Cpath d='M-1200 400 C-1050 120 -750 120 -600 400 S-150 680 0 400 C150 120 450 120 600 400 S1050 680 1200 400 C1350 120 1650 120 1800 400 S2250 680 2400 400' fill='none' stroke='%23000' stroke-width='110' filter='url(%23b)'/%3E%3C/svg%3E"), radial-gradient(ellipse 90% 55% at 50% 72%, #000 25%, transparent 80%); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800'%3E%3Cfilter id='b' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='38'/%3E%3C/filter%3E%3Cpath d='M-1200 400 C-1050 120 -750 120 -600 400 S-150 680 0 400 C150 120 450 120 600 400 S1050 680 1200 400 C1350 120 1650 120 1800 400 S2250 680 2400 400' fill='none' stroke='%23000' stroke-width='110' filter='url(%23b)'/%3E%3C/svg%3E"), radial-gradient(ellipse 90% 55% at 50% 72%, #000 25%, transparent 80%); }
  .hero::after { background: radial-gradient(circle at 55% 72%, var(--hero-glow), transparent 45%); }
  .hero-art { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-insights { grid-column: span 2; grid-row: auto; }
  .t-activity, .t-learn, .t-private { grid-column: span 1; grid-row: auto; }
  .flow { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .flow::before { display: none; }
  .bank-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-shot { position: static; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .demo, .try, .install, .platforms, .ledger, .perm, .cta { grid-template-columns: 1fr; }
  .demo .left, .try form { border-right: 0; border-bottom: 1px solid var(--border); }
  .demo > div, .try form, .try .out { padding: 22px; }
  .platforms > div, .platforms > div + div { padding: 28px 0 8px; border-left: 0; }
  .platforms > div + div { border-top: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr; }
  .t-insights, .t-activity, .t-learn, .t-private { grid-column: auto; }
  .t-insights .shot .phone + .phone { display: none; }
  .tile { padding: 24px; }
  .cta { padding: 36px 24px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > div:first-child { grid-column: 1 / -1; }
  .card .row { flex-direction: column; }
  .qr { display: none; } /* on a phone you tap, you don't scan */
  .card .btn, .cta .btn { width: 100%; }
  .flow { grid-template-columns: 1fr; }
  .big-steps > li { grid-template-columns: 40px 1fr; gap: 12px; }
  .faq .answer { padding-right: 0; }
}
@media (max-width: 480px) {
  .hero-art { height: 470px; }
  .hero-art .p1 { max-width: 220px; right: 0; }
  .hero-art .p2 { max-width: 190px; right: 44%; }
  .bubble { max-width: 240px; font-size: 12.5px; bottom: 8px; }
  .bank-grid { grid-template-columns: 1fr; }
  .actions .btn { flex: 1; }
}

/* Reference screenshot of the finished iPhone Shortcut */
.shortcut-ref{margin:16px 0 0}
.shortcut-ref img{display:block;width:100%;max-width:420px;height:auto;border-radius:16px;border:1px solid var(--border)}
.shortcut-ref figcaption{margin-top:8px;font-size:14px;color:var(--muted)}

/* Play Protect steps shown after tapping Download APK */
.pp-notice { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; background: var(--bg); display: grid; gap: 10px; font-size: 15px; }
.pp-notice[hidden] { display: none; }
.pp-notice ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.pp-notice .pp-why { font-size: 13px; color: var(--subtle); }
