/* Meroboli public site. Brand: docs/brand/boli.html. Fonts self-hosted (SIL OFL, fonts/OFL.txt). */
@font-face { font-family: 'Baloo 2'; src: url('fonts/baloo-2-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Baloo 2'; src: url('fonts/baloo-2-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Baloo 2'; src: url('fonts/baloo-2-devanagari-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Baloo 2'; src: url('fonts/baloo-2-devanagari-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('fonts/atkinson-hyperlegible-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('fonts/atkinson-hyperlegible-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Noto Sans Devanagari'; src: url('fonts/NotoSansDevanagari-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF; }

:root {
  --indigo: #3F4AB8; --indigo-deep: #2E3794; --indigo-soft: #ECEEFB;
  --marigold: #F2A623; --marigold-soft: #FDF1DA;
  --ink: #1C2230; --ink-soft: #454C5E; --muted: #5B6070;
  --paper: #F5F2EB; --surface: #FFFDF8; --line: #E2DCCF; --line-strong: #CFC7B6;
  --good: #1D6F5F; --good-soft: #E1F1EC; --danger: #B42318; --danger-soft: #FDECEB; --night: #171C29;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 17px/1.6 'Atkinson Hyperlegible', 'Noto Sans Devanagari', system-ui, sans-serif; }
img { max-width: 100%; display: block; }
main { flex: 1; }
[hidden] { display: none !important; }  /* styled elements (e.g. .btn) must still hide */
a { color: var(--indigo); text-underline-offset: 3px; }
h1, h2, h3, .display { font-family: 'Baloo 2', 'Atkinson Hyperlegible', sans-serif; line-height: 1.12; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* header & footer */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.word { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.7rem; letter-spacing: -0.5px; line-height: 1; white-space: nowrap; }
.word .b { color: var(--indigo); }
.word svg { width: .56em; height: .62em; vertical-align: -.06em; margin: 0 .01em; overflow: visible; }
.nav { display: flex; gap: 6px 18px; flex-wrap: wrap; font-weight: 700; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 6px 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--indigo); }
.foot { background: var(--night); color: #C9CDD8; margin-top: 72px; padding: 40px 0 48px; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot a { color: #fff; }
.foot .word { color: #fff; } .foot .word .b { color: #B8BEF2; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 20px;
  font: 700 1rem 'Atkinson Hyperlegible', sans-serif; background: var(--indigo); color: #fff; text-decoration: none; cursor: pointer; min-height: 48px; }
.btn:hover { background: var(--indigo-deep); }
.btn.secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.btn.wide { width: 100%; }
label { display: block; font-weight: 700; font-size: 15px; color: var(--ink-soft); }
input[type=text], input[type=search], input[type=email], input[type=tel], input[type=number], select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: #fff; color: var(--ink); font: 400 1rem 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgb(63 74 184 / .22); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--indigo); flex: none; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; background: #fff; font-weight: 700; cursor: pointer; }
.radios input { accent-color: var(--indigo); }
.field { margin-bottom: 16px; }
.err { color: var(--danger); font-weight: 700; font-size: 14px; margin-top: 4px; }
.alert { background: var(--danger-soft); color: var(--danger); border-radius: 12px; padding: 12px 14px; font-weight: 700; margin-bottom: 16px; }
.hp { position: absolute; left: -5000px; }

/* home */
.hero { padding: 56px 0 24px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.hero .ne { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--indigo); margin-top: 10px; }
.hero .lead { font-size: 1.15rem; color: var(--ink-soft); margin-top: 16px; max-width: 34em; }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: min(320px, 70vw); }
.searchbox { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px; margin-top: 28px; box-shadow: 0 10px 30px rgb(28 34 48 / .07); }
.searchbox .grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .searchbox .grid { grid-template-columns: repeat(2, 1fr); } }
.steps { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--marigold); font: 800 1.2rem 'Baloo 2', sans-serif; margin-bottom: 10px; }
.band { margin-top: 56px; background: var(--indigo-deep); color: #fff; border-radius: 28px; padding: 36px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .band { grid-template-columns: auto 1fr auto; } }
.band h2 { color: #fff; } .band p { color: #D9DCF5; }
.pill { display: inline-block; border-radius: 999px; padding: 6px 14px; background: var(--marigold); color: var(--ink); font: 800 1rem 'Baloo 2', sans-serif; }

/* directory */
.page-head { padding: 40px 0 8px; }
.layout { display: grid; gap: 24px; margin-top: 16px; }
@media (min-width: 960px) { .layout { grid-template-columns: 300px 1fr; align-items: start; } .filters { position: sticky; top: 16px; } }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cards { display: grid; gap: 16px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.card .who { display: flex; gap: 14px; align-items: flex-start; }
.avatar { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; flex: none; background: #CFE3C7; display: grid; place-items: center; font: 800 2rem 'Baloo 2', sans-serif; color: var(--ink); }
.avatar.big { width: 120px; height: 120px; border-radius: 26px; font-size: 3.2rem; }
.name { font: 800 1.25rem 'Baloo 2', sans-serif; color: var(--ink); text-decoration: none; }
a.name:hover { color: var(--indigo); }
.prof { color: var(--indigo-deep); font-weight: 700; font-size: 15px; }
.verified { display: inline-flex; align-items: center; gap: 4px; background: var(--good-soft); color: var(--good); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.chips li { background: var(--indigo-soft); color: var(--indigo-deep); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; }
.facts { display: grid; gap: 6px; font-size: 15px; color: var(--ink-soft); padding: 0; margin: 0; list-style: none; }
.facts li { display: flex; gap: 8px; align-items: baseline; }
.facts b { color: var(--ink); }
.card .more { margin-top: auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; }
.empty { text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 40px 20px; }
.empty img { width: 96px; margin: 0 auto 12px; }

/* profile */
.profile { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 960px) { .profile { grid-template-columns: 1fr 380px; align-items: start; } .ask { position: sticky; top: 16px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.bio { white-space: pre-line; font-size: 1.05rem; }
.creds { padding: 0; margin: 8px 0 0; list-style: none; display: grid; gap: 8px; }
.creds li { display: flex; gap: 10px; align-items: flex-start; }
.tick { color: var(--good); font-weight: 800; }
.crumbs { margin-top: 24px; font-weight: 700; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.done { text-align: center; max-width: 620px; margin: 56px auto 0; }
.done img { width: 140px; margin: 0 auto 16px; }

/* reviews (phase 5) */
.stars-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--marigold-soft); color: #7a4a00; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 700; }
.reviews { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.reviews li { border-top: 1px solid var(--line); padding-top: 12px; }
.reviews .reply { margin-top: 6px; padding: 8px 12px; background: var(--paper); border-radius: 10px; font-size: 15px; }
.radios.stars label { font-weight: 800; }
details.panel summary::marker { color: var(--muted); }

/* ---------- marketing pages (home, the app, pricing, help) ---------- */
.nav .cta { background: var(--indigo); color: #fff; border-radius: 10px; padding: 6px 12px; }
.nav .cta:hover { background: var(--indigo-deep); color: #fff; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .04em; color: var(--indigo-deep); background: var(--indigo-soft); border-radius: 999px; padding: 4px 12px; }
.section { padding: 72px 0 0; }
.section.tight { padding-top: 48px; }
.section-head { max-width: 46em; margin-bottom: 28px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 10px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn.marigold { background: var(--marigold); color: var(--ink); } .btn.marigold:hover { background: #e3961a; }
.btn.light { background: #fff; color: var(--indigo-deep); } .btn.light:hover { background: var(--indigo-soft); }

/* hero with a tablet showing the board */
.hero2 { padding: 48px 0 8px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero2 h1 { margin-top: 14px; }
.hero2 .lead { font-size: 1.18rem; color: var(--ink-soft); margin-top: 16px; max-width: 32em; }
.hero2 .trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding: 0; list-style: none; color: var(--ink-soft); font-weight: 700; font-size: 15px; }
.hero2 .trust li::before { content: "✓ "; color: var(--good); }
.device { position: relative; background: var(--night); border-radius: 34px; padding: 14px; box-shadow: 0 30px 60px rgb(28 34 48 / .22); transform: rotate(1.5deg); }
.device .screen { background: #F3F0EA; border-radius: 22px; padding: 12px; }
.device .boli { position: absolute; width: 86px; right: -34px; bottom: -48px; transform: rotate(-6deg); }
@media (max-width: 600px) { .device .boli { width: 80px; right: -6px; } }

/* the picture board (hero mock and the live demo share it) */
.sbar { display: flex; align-items: center; gap: 8px; min-height: 76px; background: #FFFDF9; border-radius: 16px; padding: 8px; }
.sbar .words { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; min-height: 60px; align-items: center; }
/* Phones: the message gets its own line, so longer (Nepali) button names never push the board off the screen. */
@media (max-width: 560px) { .sbar { flex-wrap: wrap; } .sbar .words { flex-basis: 100%; } .sbar button[data-act="speak"] { flex: 1; } }
.sbar .chip { flex: none; width: 58px; height: 60px; border-radius: 10px; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 3px; font-size: 11px; font-weight: 700; }
.sbar .chip img { width: 34px; height: 34px; object-fit: contain; }
.sbar .hint { color: var(--muted); font-size: 15px; padding-left: 6px; }
.sbar button { flex: none; border: 0; border-radius: 12px; min-width: 48px; min-height: 48px; background: var(--indigo); color: #fff; font: 700 15px 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; cursor: pointer; padding: 0 12px; }
.sbar button.ghost { background: #EDEBE6; color: var(--ink); }
.board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.tile { border: 0; border-radius: 14px; aspect-ratio: 1 / 1; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 6px 4px 5px; cursor: pointer;
  font: 700 clamp(11px, 1.6vw, 15px) 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; color: #2B2B2B; box-shadow: 0 2px 0 rgb(0 0 0 / .06); transition: transform .08s; }
.tile img { width: 64%; height: auto; max-height: 100%; object-fit: contain; }
.tile:active { transform: scale(.96); }
.tile.pronoun { background: #F2E3B3; } .tile.verb { background: #CFE3C8; } .tile.descriptor { background: #C9DBEA; } .tile.noun { background: #F0D5BD; }
.tile.social { background: #EBD3DE; } .tile.question { background: #DAD1EA; } .tile.negation { background: #E9C3C0; } .tile.misc { background: #E4E1DC; }
.chip.pronoun { background: #F2E3B3; } .chip.verb { background: #CFE3C8; } .chip.descriptor { background: #C9DBEA; } .chip.noun { background: #F0D5BD; }
.chip.social { background: #EBD3DE; } .chip.question { background: #DAD1EA; } .chip.misc { background: #E4E1DC; }
.hero-board .tile { cursor: default; font-size: clamp(9px, 1.2vw, 12px); border-radius: 10px; }
.hero-board .board { gap: 6px; }

/* feature cards under the hero */
.quad { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 700px) { .quad { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .quad { grid-template-columns: repeat(4, 1fr); } }
.qcard { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.qcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(28 34 48 / .1); }
.qcard .art { height: 92px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; font-family: 'Baloo 2', 'Noto Sans Devanagari', sans-serif; font-weight: 800; }
.qcard h3 { font-size: 1.25rem; }
.qcard p { color: var(--ink-soft); font-size: 15px; }
.qcard .go { margin-top: auto; color: var(--indigo); font-weight: 700; font-size: 15px; padding-top: 6px; }
.art.talk { background: var(--indigo-soft); } .art.ready { background: var(--marigold-soft); } .art.learn { background: var(--good-soft); } .art.notice { background: #FBE3EA; }
.art .mini { display: flex; gap: 5px; } .art .mini span { width: 40px; height: 44px; border-radius: 8px; display: grid; place-items: center; }
.art .mini img { width: 28px; height: 28px; }

/* availability strip */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 16px; font-weight: 700; font-size: 14px; line-height: 1.15; }
.store small { display: block; font-weight: 400; opacity: .8; font-size: 11px; }
.stores p { color: var(--ink-soft); font-size: 15px; flex: 1 1 260px; }

/* live demo */
.demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 960px) { .demo { grid-template-columns: 1fr 1.25fr; } }
.demo-box { background: #F3F0EA; border: 1px solid var(--line); border-radius: 28px; padding: 16px; }
.demo-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 6px 14px; font: 700 14px 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; color: var(--ink-soft); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.demo .notes { padding: 0; margin: 16px 0 0; list-style: none; display: grid; gap: 10px; }
.demo .notes li { display: flex; gap: 10px; color: var(--ink-soft); }
.demo .notes b { color: var(--ink); }

/* benefit grid */
.grid3 { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.benefit .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; margin-bottom: 12px; }
.benefit p { color: var(--ink-soft); margin-top: 6px; }
.benefit a { display: inline-block; margin-top: 10px; font-weight: 700; }
.ic.indigo { background: var(--indigo-soft); } .ic.marigold { background: var(--marigold-soft); } .ic.green { background: var(--good-soft); } .ic.pink { background: #FBE3EA; } .ic.violet { background: #ECE6F7; } .ic.sky { background: #E3EEF8; }

/* dark split section (therapists) */
.dark { background: var(--indigo-deep); color: #fff; border-radius: 32px; padding: clamp(24px, 5vw, 48px); display: grid; gap: 28px; }
@media (min-width: 960px) { .dark { grid-template-columns: 1fr 1fr; align-items: center; } }
.dark h2, .dark h3 { color: #fff; } .dark p { color: #D9DCF5; }
.dark ul { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 12px; }
.dark li { display: flex; gap: 12px; } .dark li span { flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--marigold); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.dark .searchbox { margin-top: 0; color: var(--ink); }
.dark .searchbox h3 { color: var(--ink); }

/* promises list */
.promises { display: grid; gap: 0; border-top: 1px solid var(--line); }
.promise { display: grid; gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .promise { grid-template-columns: 1fr 1.3fr; } }
.promise h3 { font-size: 1.3rem; } .promise p { color: var(--ink-soft); }

/* prices */
.prices { display: grid; gap: 16px; }
@media (min-width: 760px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .prices { grid-template-columns: repeat(4, 1fr); } }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.price.free { background: var(--good-soft); border-color: #bfe0d6; }
.price .amt { font: 800 2rem 'Baloo 2', 'Noto Sans Devanagari', sans-serif; color: var(--ink); line-height: 1; }
.price .amt small { font-size: 1rem; color: var(--muted); font-weight: 700; }
.price ul { padding-left: 18px; margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.paywith { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; color: var(--ink-soft); font-size: 15px; }
.paywith span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 700; color: var(--ink); }

/* audience cards */
.who3 { display: grid; gap: 16px; }
@media (min-width: 900px) { .who3 { grid-template-columns: repeat(3, 1fr); } }
.who-card { border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.who-card.fam { background: var(--marigold-soft); } .who-card.pro { background: var(--indigo-soft); } .who-card.org { background: var(--good-soft); }
.who-card ul { padding-left: 18px; margin: 0; color: var(--ink-soft); }
.who-card .btn { margin-top: auto; align-self: flex-start; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq-group { font-size: 1.4rem; margin-top: 18px; }
.stories { display: grid; gap: 16px; }
@media (min-width: 760px) { .stories { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .stories { grid-template-columns: repeat(3, 1fr); } }
.story-quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.story-quote blockquote { margin: 0; font-size: 1.1rem; }
.story-quote blockquote p { margin: 0; }
.story-quote figcaption { display: flex; gap: 12px; align-items: center; color: var(--ink-soft); font-size: .95rem; }
.story-quote img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.contact-form { display: grid; gap: 14px; max-width: 560px; margin: 12px 0 28px; }
.contact-form textarea, .contact-form select { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font: 400 1rem 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert.ok { background: var(--good-soft); color: var(--good); }
.faq-group:first-child { margin-top: 0; }
/* announcement banner (edited in the admin dashboard) */
.banner { background: var(--indigo-soft); color: var(--ink); border-bottom: 1px solid var(--line); }
.banner.celebrate { background: var(--marigold-soft); }
.banner.warning { background: var(--danger-soft); }
.banner .wrap { padding: 10px 0; }
.banner p { margin: 0; font-weight: 700; text-align: center; }
.banner a { color: var(--indigo-deep); white-space: nowrap; }
/* articles */
.articles { display: grid; gap: 18px; }
@media (min-width: 760px) { .articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .articles { grid-template-columns: repeat(3, 1fr); } }
.article-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.article-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--indigo-soft); }
.article-card .in { padding: 18px 20px 20px; display: grid; gap: 8px; }
.article-card h2 { font-size: 1.35rem; }
.article-card p { margin: 0; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .8rem; font-weight: 700; color: var(--indigo-deep); background: var(--indigo-soft); border-radius: 999px; padding: 2px 10px; }
.article { max-width: 760px; }
.article .cover { width: 100%; border-radius: var(--radius); margin: 18px 0 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.article .meta { color: var(--muted); font-size: .95rem; }
.article .body { font-size: 1.1rem; }
.article .body h2 { font-size: 1.6rem; margin: 28px 0 8px; }
.article .body h3 { font-size: 1.25rem; margin: 22px 0 6px; }
.article .body blockquote { margin: 18px 0; padding: 4px 18px; border-left: 4px solid var(--marigold); background: var(--surface); }
.preview-note { background: var(--marigold-soft); border: 1px solid var(--marigold); border-radius: 12px; padding: 10px 14px; font-weight: 700; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; font: 700 1.1rem 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--indigo); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--ink-soft); }

/* closing call to action */
.closing { margin-top: 72px; text-align: center; background: var(--marigold); border-radius: 32px; padding: clamp(28px, 6vw, 56px) 20px; }
.closing img { width: 110px; margin: 0 auto 12px; }
.closing h2 { max-width: 18em; margin: 0 auto; }
.closing .actions { justify-content: center; }

/* feature pages */
.feature-hero { padding: 48px 0 0; }
.feature-hero .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .feature-hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.feature-hero .lead { font-size: 1.15rem; color: var(--ink-soft); margin-top: 14px; max-width: 34em; }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } }
.card-art { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 22px; }
.ticks { padding: 0; margin: 14px 0 0; list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--ink-soft); } .ticks li::before { content: "✓"; color: var(--good); font-weight: 800; }
.story-page { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 16px; text-align: center; }
.story-page img { width: 90px; margin: 0 auto 8px; }
.story-page p { font-weight: 700; font-size: 1.1rem; }
.mile { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mile .age { color: var(--muted); font-size: 13px; } .mile .ans { font-weight: 700; border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.ans.yes { background: var(--good-soft); color: var(--good); } .ans.board { background: var(--indigo-soft); color: var(--indigo-deep); } .ans.not { background: var(--marigold-soft); color: #7a4a00; }

/* footer, bigger */
.foot-cols { display: grid; gap: 24px; width: 100%; }
@media (min-width: 800px) { .foot-cols { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.foot h4 { margin: 0 0 8px; color: #fff; font: 700 15px 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; }
.foot ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 6px; }
.foot ul a { color: #C9CDD8; text-decoration: none; } .foot ul a:hover { color: #fff; }
.foot .credits { width: 100%; border-top: 1px solid #2a3142; padding-top: 18px; font-size: 13px; color: #9aa0b0; }
.foot .credits a { color: #C9CDD8; }
.foot .credits.made-by { border-top: 0; padding-top: 0; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .qcard, .tile { transition: none; } .device { transform: none; } }

/* phones: menu button */
.menu-btn { display: none; }
@media (max-width: 899px) {
  .js .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font: 700 1rem 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; color: var(--ink); cursor: pointer; }
  .js .nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-bottom: 12px; }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 12px 4px; border-top: 1px solid var(--line); }
  .js .nav .cta { margin-top: 10px; text-align: center; border-top: 0; padding: 12px; }
}

/* ---- livelier home: real app video, numbers, app tour, try-a-setting, motion ---- */
@font-face { font-family: 'Lexend'; src: url('fonts/Lexend-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
.hero2 { background:
  radial-gradient(520px 420px at 82% 18%, rgb(242 166 35 / .28), transparent 70%),
  radial-gradient(560px 460px at 66% 92%, rgb(63 74 184 / .16), transparent 70%); }
.hero-video { margin: 0; }
.hero-video video { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 22px; background: #F3F0EA; object-fit: cover; }
.real-badge { position: absolute; top: -15px; left: 30px; box-shadow: 0 6px 14px rgb(0 0 0 / .2); background: rgb(23 28 41 / .84); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.real-badge::first-letter { color: #FF6B5B; }
.vid-btn { position: absolute; left: 30px; bottom: -22px; box-shadow: 0 6px 14px rgb(0 0 0 / .25); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(23 28 41 / .84); color: #fff; font-size: 14px; cursor: pointer; }
.vid-btn:hover { background: var(--indigo); }

.stats { background: var(--indigo); color: #fff; margin-top: 56px; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: auto -60px -120px auto; width: 300px; height: 300px; border-radius: 50%; background: rgb(242 166 35 / .22); }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 34px 0; position: relative; z-index: 1; }
@media (min-width: 900px) { .stats-row { grid-template-columns: repeat(5, 1fr); } }
.stats b { display: block; font: 800 clamp(2.4rem, 5vw, 3.2rem)/1 'Baloo 2', 'Noto Sans Devanagari', sans-serif; color: #fff; }
.stats b::after { content: ""; display: block; width: 34px; height: 5px; border-radius: 3px; background: var(--marigold); margin: 8px 0 6px; }
.stats span { color: #DCE0FA; font-size: 15px; line-height: 1.35; display: block; }

.tour-band { background: linear-gradient(180deg, var(--marigold-soft), var(--paper)); padding: 64px 0; margin-top: 0; }
.tour { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .tour { grid-template-columns: 280px 1fr; } }
.tour-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
@media (min-width: 960px) { .tour-tabs { flex-direction: column; overflow: visible; } }
.tour-tabs button { flex: none; display: flex; align-items: center; gap: 12px; text-align: left; border: 2px solid transparent; background: var(--surface); border-radius: 16px; padding: 12px 16px; font: 700 16px 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; color: var(--ink-soft); cursor: pointer; transition: border-color .15s, transform .15s; }
.tour-tabs button:hover { transform: translateX(3px); }
.tour-tabs .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo-deep); font-size: 14px; flex: none; }
.tour-tabs [aria-selected="true"] { border-color: var(--indigo); color: var(--ink); box-shadow: 0 8px 20px rgb(63 74 184 / .14); }
.tour-tabs [aria-selected="true"] .n { background: var(--indigo); color: #fff; }
.device.flat { transform: none; padding: 12px; }
.device.flat img { border-radius: 20px; width: 100%; height: auto; transition: opacity .16s; }
.device.flat img.swap { opacity: 0; }
.tour-text { margin-top: 16px; font-size: 1.1rem; color: var(--ink-soft); text-align: center; min-height: 3.2em; }

.try-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.try-settings button { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 6px 12px; font: 700 14px 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; color: var(--ink-soft); cursor: pointer; }
.try-settings button[aria-pressed="true"] { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.demo-box .board, .demo-box .tile { transition: background-color .25s, color .25s, gap .25s; }
.set-contrast { background: #111 !important; border-color: #111 !important; }
.set-contrast .sbar { background: #222; }
.set-contrast .sbar .hint, .set-contrast .demo-tools .muted, .set-contrast .try-settings > span { color: #ddd; }
.set-contrast .tile { background: #000 !important; color: #fff; box-shadow: inset 0 0 0 4px var(--hc, #fff); }
.set-contrast .tile img { filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }
.set-contrast .tile.pronoun { --hc: #FFD84D; } .set-contrast .tile.verb { --hc: #6BE07A; } .set-contrast .tile.descriptor { --hc: #59B8FF; } .set-contrast .tile.noun { --hc: #FF9F4D; }
.set-contrast .tile.social { --hc: #FF7EC7; } .set-contrast .tile.question { --hc: #C69CFF; } .set-contrast .tile.negation { --hc: #FF6161; }
.set-easy .tile, .set-easy .sbar .chip { font-family: 'Lexend', 'Noto Sans Devanagari', sans-serif; letter-spacing: .04em; }
.set-big .board { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.set-big .tile { font-size: clamp(14px, 2vw, 19px); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.grid3 .benefit, .quad .qcard { transition: transform .2s, box-shadow .2s; }
.grid3 .benefit:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgb(28 34 48 / .09); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tour-tabs button:hover, .grid3 .benefit:hover, .qcard:hover { transform: none; }
}
.shot-stack { position: relative; padding-bottom: 18%; }
.shot-stack .shot:first-child { transform: rotate(-2deg); width: 82%; }
.shot-stack .shot:last-child { position: absolute; right: 0; bottom: 0; width: 70%; transform: rotate(2.5deg); box-shadow: 0 30px 60px rgb(28 34 48 / .3); }
.shot img { border-radius: 18px; }

/* ---- trust pages: privacy, terms, accessibility, refunds, contact ---- */
.doc-hero { padding-bottom: 8px; }
.doc-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .doc-layout { grid-template-columns: 260px 1fr; } .doc-toc { position: sticky; top: 16px; } }
.doc-toc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.doc-toc h2 { font-size: 1.05rem; margin-bottom: 8px; }
.doc-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.doc { max-width: 46em; }
.doc h2 { font-size: 1.45rem; margin: 34px 0 10px; scroll-margin-top: 16px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; margin: 10px 0; }
.doc strong { color: var(--ink); }
.doc mark.todo { background: var(--marigold-soft); color: var(--ink); border-radius: 4px; padding: 0 3px; }
.doc-draft { background: var(--marigold-soft); border: 1px solid var(--marigold); border-radius: 14px; padding: 12px 16px; color: var(--ink) !important; font-weight: 700; margin-bottom: 24px; }
.doc-ne { background: var(--indigo-soft); border-radius: 18px; padding: 20px 22px; margin-bottom: 28px; }
.doc-ne h2 { margin-top: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); background: var(--surface); }
.fix-list { display: grid; gap: 12px; }
.fix-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.fix-list summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.fix-list details p, .fix-list details li { margin-top: 8px; color: var(--ink-soft); }

/* ======================================================================
   Design v3: the site looks and feels like the board.
   Bigger type, colour bands, cards that respond, tiles for icons.
   ====================================================================== */
:root { --shadow-1: 0 1px 2px rgb(28 34 48 / .06), 0 8px 24px rgb(28 34 48 / .06); --shadow-2: 0 2px 4px rgb(28 34 48 / .06), 0 24px 48px rgb(28 34 48 / .12);
  --t-yellow: #F7E7A9; --t-green: #CFE7C4; --t-blue: #CADFF2; --t-orange: #F6D2B3; --t-pink: #F4D2E1; --t-purple: #DDD3F3; --ease: cubic-bezier(.2, .7, .2, 1); }
body { font-size: 18px; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -1.5px; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.4vw, 3.05rem); letter-spacing: -.8px; line-height: 1.05; }
h3 { font-size: 1.35rem; }
.section { padding-top: 96px; }
.section-head { margin-bottom: 36px; }
.section-head p { font-size: 1.2rem; }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); margin-right: 8px; vertical-align: 1px; }

/* header: sticky glass, pill links */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 253 248 / .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgb(28 34 48 / .06); }
.nav { align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--indigo-soft); color: var(--indigo-deep); }
.nav a[aria-current="page"] { background: var(--indigo-soft); color: var(--indigo-deep); }
.nav .lang { border: 1.5px solid var(--line-strong); }
.nav .cta { padding: 9px 18px; border-radius: 999px; margin-left: 6px; box-shadow: 0 6px 16px rgb(63 74 184 / .28); }
.scroll-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--marigold), var(--indigo)); z-index: 30; }

/* buttons: pills that lift */
.btn { border-radius: 999px; padding: 15px 26px; font-size: 17px; box-shadow: 0 8px 20px rgb(63 74 184 / .25); transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgb(63 74 184 / .32); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.secondary { box-shadow: var(--shadow-1); border-width: 1.5px; }
.btn.secondary:hover { box-shadow: var(--shadow-2); background: #fff; }
.btn::after { content: "→"; display: inline-block; transition: transform .2s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn.no-arrow::after, .btn.wide::after, .searchbox .btn::after, .sbar button::after { content: none; }

/* cards: white, deep, and lit where the pointer is */
.benefit, .qcard, .price, .card, .card-art, .faq details, .doc-toc, .fix-list details, .searchbox, .stores, .filters {
  border: 1px solid rgb(28 34 48 / .06); box-shadow: var(--shadow-1); }
.benefit { border-radius: 28px; padding: 28px; position: relative; overflow: hidden; background: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.benefit::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgb(242 166 35 / .14), transparent 60%); }
.benefit:hover::before { opacity: 1; }
.grid3 .benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.grid3 { gap: 20px; }
.benefit h3 { margin-top: 4px; }
.benefit p { font-size: 16.5px; }

/* icons are board tiles: a picture in a coloured square, like the app */
.benefit .ic { width: 74px; height: 74px; border-radius: 20px; margin-bottom: 18px; padding: 10px; box-shadow: inset 0 -4px 0 rgb(0 0 0 / .06), 0 4px 10px rgb(28 34 48 / .08); transition: transform .3s var(--ease); }
.benefit .ic img { width: 100%; height: 100%; object-fit: contain; }
.benefit:hover .ic { transform: rotate(-6deg) scale(1.06); }
.ic.indigo { background: var(--t-blue); } .ic.marigold { background: var(--t-yellow); } .ic.green { background: var(--t-green); }
.ic.pink { background: var(--t-pink); } .ic.violet { background: var(--t-purple); } .ic.sky { background: var(--t-orange); }

/* full-width colour bands: section keeps its .wrap width, the colour runs edge to edge */
.bleed { position: relative; isolation: isolate; padding-bottom: 96px; margin-top: 96px; padding-top: 88px; }
.bleed::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; border-radius: 0; }
.bleed-cream::before { background: linear-gradient(180deg, #FFF6E2, #FDF1DA); }
.bleed-mint::before { background: linear-gradient(180deg, #E6F4EE, #DDF0E8); }
.bleed-lilac::before { background: linear-gradient(180deg, #F1EEFB, #ECEEFB); }
.bleed + .section { padding-top: 0; }
main { overflow-x: clip; }
.zone { padding: 96px 0; margin-top: 96px; }
.zone-sky { background: radial-gradient(900px 500px at 10% 0%, #DCEBFA, transparent 70%), linear-gradient(180deg, #EEF5FC, #E6F0FA); }

/* hero: staggered entrance, bigger */
.hero2 { padding-top: 64px; }
.hero2 .lead { font-size: 1.3rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero2 .hero-grid > div > * { animation: rise .8s var(--ease) both; }
  .hero2 .hero-grid > div > *:nth-child(2) { animation-delay: .06s; } .hero2 .hero-grid > div > *:nth-child(3) { animation-delay: .12s; }
  .hero2 .hero-grid > div > *:nth-child(4) { animation-delay: .18s; } .hero2 .hero-grid > div > *:nth-child(5) { animation-delay: .24s; }
  .hero2 .hero-grid > div > *:nth-child(6) { animation-delay: .3s; }
  .hero-video { animation: float-in 1s .15s var(--ease) both; }
  .hero-video .boli { animation: bob 4s 1.2s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float-in { from { opacity: 0; transform: translateY(30px) rotate(3deg) scale(.96); } to { opacity: 1; transform: rotate(1.5deg); } }
@keyframes bob { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } }
.qcard { border-radius: 26px; background: #fff; }
.qcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }

/* word strip */
.marquee { margin-top: 72px; overflow: hidden; padding: 18px 0; background: var(--ink); transform: rotate(-1.2deg); width: 104%; margin-left: -2%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 16px; white-space: nowrap; color: #1C2230; }
.mq img { width: 36px; height: 36px; background: rgb(255 255 255 / .6); border-radius: 10px; padding: 3px; }
.mq b { font: 700 18px 'Noto Sans Devanagari', sans-serif; } .mq i { font-style: normal; font-weight: 700; opacity: .7; font-size: 15px; }
.mq.pronoun { background: var(--t-yellow); } .mq.verb { background: var(--t-green); } .mq.descriptor { background: var(--t-blue); } .mq.noun { background: var(--t-orange); }
.mq.social { background: var(--t-pink); } .mq.question { background: var(--t-purple); } .mq.negation { background: #F3C6C2; } .mq.misc { background: #E9E6E0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* access demo */
.access { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .access { grid-template-columns: 320px 1fr; } }
.access-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 960px) { .access-tabs { grid-template-columns: 1fr; } }
.access-tabs button { text-align: left; border: 2px solid transparent; background: #fff; border-radius: 18px; padding: 16px 18px; cursor: pointer; font: 700 17px 'Atkinson Hyperlegible', 'Noto Sans Devanagari', sans-serif; color: var(--ink-soft); box-shadow: var(--shadow-1); transition: transform .2s var(--ease), border-color .2s; }
.access-tabs button:hover { transform: translateX(4px); }
.access-tabs [aria-selected="true"] { border-color: var(--indigo); color: var(--ink); box-shadow: var(--shadow-2); }
.access-stage { background: #fff; border-radius: 32px; padding: 22px; box-shadow: var(--shadow-2); }
.access-text { margin-top: 16px; font-size: 1.15rem; color: var(--ink-soft); min-height: 3em; }
.mini-board { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 14px; background: #F3F0EA; border-radius: 22px; transition: background .4s, gap .4s; }
.mini-board .tile { cursor: default; font-size: clamp(10px, 1.3vw, 14px); transition: background .4s, color .4s, box-shadow .3s, transform .3s, outline-color .2s; outline: 4px solid transparent; outline-offset: 2px; }
.mini-board .gaze, .mini-board .hand { position: absolute; pointer-events: none; opacity: 0; transition: opacity .3s, left .6s var(--ease), top .6s var(--ease); }
.mini-board .gaze { width: 54px; height: 54px; border-radius: 50%; border: 5px solid rgb(63 74 184 / .25); }
.mini-board .gaze::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 5px solid var(--indigo); clip-path: inset(0 0 0 0); animation: none; }
.mode-eyes .gaze { opacity: 1; }
.mode-eyes .gaze::after { animation: dwell 1.6s linear infinite; }
@keyframes dwell { 0% { clip-path: polygon(50% 50%, 50% 0, 50% 0, 50% 0, 50% 0, 50% 0); } 25% { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 50%, 100% 50%, 100% 50%); }
  50% { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 50% 100%, 50% 100%); } 75% { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 50%); }
  100% { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0); } }
.mini-board .hand { width: 46px; height: 46px; border-radius: 50%; background: rgb(51 51 51 / .35); border: 4px solid #fff; box-shadow: 0 6px 16px rgb(0 0 0 / .2); }
.mode-touch .hand { opacity: 1; }
.mini-board .tile.on { outline-color: var(--marigold); transform: scale(1.06); box-shadow: 0 10px 22px rgb(28 34 48 / .18); }
.mini-board .tile.pressed { transform: scale(.94); }
.mode-keyguard { background: #2B2F3A; gap: 18px; }
.mode-keyguard .tile { box-shadow: 0 0 0 6px #2B2F3A, 0 0 0 9px rgb(255 255 255 / .18); }
.mode-contrast { background: #111; }
.mode-contrast .tile { background: #000 !important; color: #fff; font-family: 'Lexend', 'Noto Sans Devanagari', sans-serif; box-shadow: inset 0 0 0 4px var(--hc, #fff); }
.mode-contrast .tile.pronoun { --hc: #FFD84D; } .mode-contrast .tile.verb { --hc: #6BE07A; } .mode-contrast .tile.descriptor { --hc: #59B8FF; } .mode-contrast .tile.noun { --hc: #FF9F4D; }
.mode-contrast .tile.social { --hc: #FF7EC7; } .mode-contrast .tile.question { --hc: #C69CFF; } .mode-contrast .tile.negation { --hc: #FF6161; }
.mode-contrast .tile img { filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }
.mini-board .tile { position: relative; }
.sign-pop { position: absolute; inset: 14px; border-radius: 18px; background: rgb(23 28 41 / .86); color: #fff; display: grid; place-items: center; text-align: center; font: 800 1.6rem 'Baloo 2', 'Noto Sans Devanagari', sans-serif; animation: rise .4s var(--ease); }
.sign-pop img { width: 120px; height: 120px; background: #fff; border-radius: 24px; padding: 12px; margin: 0 auto 10px; }

/* promises: each is a switch that is on */
.promises { display: grid; gap: 16px; }
@media (min-width: 800px) { .promises { grid-template-columns: repeat(2, 1fr); } }
.promise { display: block; background: #fff; border: 0; border-radius: 24px; padding: 24px 24px 24px 92px; position: relative; box-shadow: var(--shadow-1); }
.promise::before { content: ""; position: absolute; left: 24px; top: 26px; width: 48px; height: 28px; border-radius: 999px; background: var(--good); transition: background .3s; }
.promise::after { content: ""; position: absolute; left: 46px; top: 30px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgb(0 0 0 / .2); transition: left .35s var(--ease); }
.js .reveal:not(.in) .promise::after { left: 28px; } .js .reveal:not(.in) .promise::before { background: var(--line-strong); }
.promise h3 { font-size: 1.25rem; } .promise p { margin-top: 6px; font-size: 16.5px; }

/* prices, audiences, faq, closing */
.price { border-radius: 26px; background: #fff; padding: 26px; transition: transform .25s var(--ease), box-shadow .25s; }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.price.free { background: linear-gradient(160deg, #E1F1EC, #F5FBF8); }
.price .amt { font-size: 2.4rem; }
.who-card { border-radius: 30px; padding: 30px; transition: transform .25s var(--ease); }
.who-card:hover { transform: translateY(-4px) rotate(-.4deg); }
.faq details { background: #fff; border-radius: 20px; padding: 6px 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-2); }
.faq summary::after { width: 32px; height: 32px; border-radius: 50%; background: var(--indigo-soft); display: grid; place-items: center; transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.closing { border-radius: 40px; background: radial-gradient(600px 300px at 80% 0%, #FFD27A, transparent 70%), var(--marigold); padding: clamp(36px, 7vw, 72px) 20px; }
.dark { border-radius: 36px; }

/* inner pages: a coloured hero with the page's own tile */
.feature-hero { padding: 72px 0 64px; background: radial-gradient(700px 400px at 90% 10%, rgb(242 166 35 / .22), transparent 70%), radial-gradient(700px 500px at 0% 100%, rgb(63 74 184 / .12), transparent 70%); }
.feature-hero .lead { font-size: 1.25rem; }
.feature-hero + .section { padding-top: 64px; }
.card-art { border-radius: 30px; background: #fff; }
.split { gap: 40px; }

/* footer */
.foot { margin-top: 120px; padding: 64px 0 40px; background: radial-gradient(800px 400px at 100% 0%, rgb(63 74 184 / .35), transparent 70%), var(--night); }
.foot-big { width: 100%; font: 800 clamp(3rem, 12vw, 9rem)/.9 'Baloo 2', sans-serif; letter-spacing: -3px; color: rgb(255 255 255 / .07); margin-top: 24px; user-select: none; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .benefit:hover, .grid3 .benefit:hover, .qcard:hover, .price:hover, .who-card:hover, .access-tabs button:hover { transform: none; }
  .benefit:hover .ic { transform: none; }
  .mode-eyes .gaze::after { animation: none; clip-path: none; }
}
.access > *, .access-tabs button { min-width: 0; }
@media (max-width: 640px) {
  .mini-board { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px; }
  .mini-board .tile:nth-child(n+9) { display: none; }
  .access-tabs button { padding: 12px 14px; font-size: 15px; }
  .access-stage { padding: 14px; border-radius: 24px; }
  .bleed { padding-top: 64px; padding-bottom: 64px; margin-top: 64px; }
  .zone, .section { padding-top: 64px; } .zone { padding-bottom: 64px; margin-top: 64px; }
  .promise { padding: 20px 20px 20px 84px; }
}

/* spacing fix: bands sit edge to edge, no beige strips stacked between them */
.bleed, .zone { margin-top: 0; }
.bleed { padding-top: 80px; padding-bottom: 80px; }
.zone { padding: 80px 0; }
.tour-band { padding: 80px 0; }
.stats + .tour-band, .tour-band + .bleed, .bleed + .zone, .zone + .section, .bleed + .section { padding-top: 80px; }
.section:not(.zone):not(.tour-band):not(.bleed) + .bleed { margin-top: 80px; }
/* sections fade in from faint, never from nothing, so nothing ever looks empty */
.js .reveal { opacity: .25; transform: translateY(20px); }
.js .reveal.in { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .bleed { padding-top: 56px; padding-bottom: 56px; } .zone, .tour-band { padding: 56px 0; }
  .stats + .tour-band, .tour-band + .bleed, .bleed + .zone, .zone + .section, .bleed + .section { padding-top: 56px; }
  .section:not(.zone):not(.tour-band):not(.bleed) + .bleed { margin-top: 56px; }
}

/* A grid column is never narrower than its widest unbreakable child unless told so. Without this
   a long button row (Nepali names are longer) pushes the whole column off a phone's screen. */
.demo > *, .feature-hero .wrap > *, .hero .wrap > *, .hero-grid > *, .layout > *, .profile > *, .dark > * { min-width: 0; }
/* Devanagari has marks above and below the line: tight Latin heading spacing makes two lines touch. */
:lang(ne) h1, :lang(ne) h2, :lang(ne) h3, :lang(ne) .display { line-height: 1.3; letter-spacing: 0; }

/* ======================================================================
   Design v4: motion, the app for parents, guides and the blog.
   Every animation sits behind prefers-reduced-motion; nothing needs it to be read.
   ====================================================================== */

/* pages cross-fade into each other (browsers without it just load the page) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* Boli, alive: blinks, breathes, waves when asked */
.boli-live { display: block; overflow: visible; }
.logo .boli-live { width: 44px; height: 44px; flex: none; }
.closing .boli-live { width: 110px; height: 110px; margin: 0 auto 12px; }
.device .boli-live.boli { height: auto; }
.boli-eyes, .boli-body, .boli-mouth, .boli-pupils { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .boli-eyes { animation: blink 5.5s 1.4s infinite; }
  .boli-live.wave .boli-body { animation: breathe 3.6s ease-in-out infinite; transform-origin: 50% 90%; }
  .boli-live.wave .boli-mouth { animation: chat 3.6s ease-in-out infinite; transform-origin: 50% 0; }
  .logo:hover .boli-body { animation: hop .5s var(--ease); }
  .logo:hover .word svg { animation: pop .45s var(--ease); }
  .logo:hover .word .b svg { animation-delay: .08s; }
  .boli-pupils { transition: transform .25s var(--ease); transform: translate(var(--lx, 0), var(--ly, 0)); }
}
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.08); } }
@keyframes breathe { 0%, 100% { transform: rotate(-2deg) scale(1); } 50% { transform: rotate(2deg) scale(1.03); } }
@keyframes chat { 0%, 60%, 100% { transform: scaleY(1); } 70% { transform: scaleY(.7); } 80% { transform: scaleY(1.08); } 90% { transform: scaleY(.8); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px) rotate(-6deg); } }
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25) rotate(-8deg); } }

/* groups of cards arrive one after another */
@media (prefers-reduced-motion: no-preference) {
  .js .stagger > * { opacity: 0; transform: translateY(22px) scale(.98); transition: opacity .6s ease, transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .stagger.in > *, .js .reveal.in .stagger > *, .js .stagger.reveal.in > * { opacity: 1; transform: none; }
}
.split-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; justify-content: space-between; max-width: none; }
.split-head > div { max-width: 40em; }

/* links and small things that answer the pointer */
.go { display: inline-block; font-weight: 700; color: var(--indigo); transition: transform .2s var(--ease); }
a:hover > .go, a:hover .in > .go, a.go:hover { transform: translateX(5px); }
.faq details[open] > p, .fix-list details[open] > :not(summary) { animation: rise .35s var(--ease) both; }
.top { position: sticky; top: 0; z-index: 20; transition: box-shadow .25s, background .25s; }
.top.scrolled { box-shadow: 0 8px 24px rgb(28 34 48 / .08); background: rgb(255 253 248 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav { gap: 4px 6px; font-size: 16.5px; }
.nav a { padding: 8px 10px; }
@media (min-width: 900px) and (max-width: 1180px) { .nav { font-size: 15px; gap: 2px; } .nav a { padding: 7px 8px; } .word { font-size: 1.45rem; } }
.foot-big { transition: letter-spacing 1.2s var(--ease), opacity 1.2s; }
@media (prefers-reduced-motion: reduce) {
  .top.scrolled { backdrop-filter: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* the app's own navigation, under the header on every app page */
.appnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.appnav-row { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; font-weight: 700; font-size: 16px; align-items: center; }
.appnav-row::-webkit-scrollbar { display: none; }
.appnav a { flex: none; text-decoration: none; color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s, transform .2s var(--ease); }
.appnav a:hover { background: var(--indigo-soft); color: var(--indigo-deep); transform: translateY(-1px); }
.appnav a[aria-current="page"] { background: var(--indigo); color: #fff; }
.appnav a.more { margin-left: auto; color: var(--indigo); }

/* for parents: a lock card, then jobs that scroll past one real screen */
.lock-card { background: var(--indigo-deep); color: #D9DCF5; border-radius: 32px; padding: 28px; position: relative; overflow: hidden; box-shadow: var(--shadow-2); }
.lock-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgb(242 166 35 / .25); }
.lock-card .boli-live { width: 92px; height: 92px; position: relative; z-index: 1; }
.lock-card .k { font: 800 2rem 'Baloo 2', 'Noto Sans Devanagari', sans-serif; color: #fff; margin-top: 8px; }
.job-chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.job-chips a { display: block; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink); background: #fff; border-radius: 999px; padding: 7px 14px; transition: transform .2s var(--ease), background .2s; }
.job-chips a:hover { transform: translateY(-3px) rotate(-2deg); background: var(--marigold); }
@media (prefers-reduced-motion: no-preference) {
  .job-chips li { animation: rise .6s var(--ease) both; animation-delay: calc(.4s + var(--i, 0) * 60ms); }
  .feature-hero .wrap > :first-child > * { animation: rise .8s var(--ease) both; }
  .feature-hero .wrap > :first-child > :nth-child(2) { animation-delay: .07s; } .feature-hero .wrap > :first-child > :nth-child(3) { animation-delay: .14s; }
  .feature-hero .wrap > :first-child > :nth-child(4) { animation-delay: .21s; }
  .feature-hero .wrap > :last-child { animation: rise 1s .2s var(--ease) both; }
  .page-head > *, .page-head > div > * { animation: rise .7s var(--ease) both; }
  .page-head > :nth-child(2), .page-head > div > :nth-child(2) { animation-delay: .07s; } .page-head > :nth-child(3), .page-head > div > :nth-child(3) { animation-delay: .14s; }
}
.jobs { display: grid; gap: 40px; }
.job { position: relative; padding: 8px 0 8px 68px; scroll-margin-top: 96px; }
.job + .job { margin-top: 56px; }
.job h2 { margin-top: 12px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.job > p { color: var(--ink-soft); font-size: 1.15rem; margin-top: 10px; max-width: 30em; }
.job .go { margin-top: 16px; text-decoration: none; }
.job-n { position: absolute; left: 0; top: 4px; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font: 800 1.5rem 'Baloo 2', sans-serif; background: var(--t-yellow); color: var(--ink); box-shadow: inset 0 -4px 0 rgb(0 0 0 / .08); transition: background .3s, transform .4s var(--ease), color .3s; }
.job::before { content: ""; position: absolute; left: 23px; top: 60px; bottom: -56px; width: 3px; border-radius: 3px; background: var(--line); }
.job:last-child::before { display: none; }
.job.on .job-n { background: var(--indigo); color: #fff; transform: scale(1.12) rotate(-6deg); }
.job-shot { margin-top: 20px; max-width: 520px; }
.jobs-stage { display: none; }
@media (min-width: 980px) {
  .jobs { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
  .js .job-shot { display: none; }
  .js .jobs-stage { display: block; position: sticky; top: 104px; }
  .js .job { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; opacity: .38; transition: opacity .4s; }
  .js .job.on { opacity: 1; }
  .js .job::before { bottom: -56px; }
  .jobs-stage .device { transform: rotate(1.2deg); transition: transform .6s var(--ease); }
  .jobs-stage .device.tilt { transform: rotate(-1.2deg); }
  .jobs-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
  .jobs-dots i { width: 10px; height: 10px; border-radius: 999px; background: var(--line-strong); transition: width .35s var(--ease), background .35s; }
  .jobs-dots i.on { width: 34px; background: var(--indigo); }
}

/* guides */
.guides-head { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.guides-head .boli-live { width: 150px; height: 150px; flex: none; }
@media (max-width: 720px) { .guides-head .boli-live { display: none; } }
.guide-path { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: g; }
@media (min-width: 760px) { .guide-path { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .guide-path { grid-template-columns: repeat(3, 1fr); } }
.guide-path > li { counter-increment: g; position: relative; display: flex; }
.guide-path > li::before { content: counter(g); position: absolute; right: 18px; top: 12px; font: 800 3.4rem/1 'Baloo 2', sans-serif; color: rgb(28 34 48 / .07); z-index: 1; pointer-events: none; transition: color .3s, transform .4s var(--ease); }
.guide-path > li:hover::before { color: rgb(63 74 184 / .22); transform: translateY(-4px) scale(1.08); }
.guide-row { display: grid; gap: 18px; }
@media (min-width: 900px) { .guide-row { grid-template-columns: repeat(3, 1fr); } }
.guide-card { flex: 1; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid rgb(28 34 48 / .06); border-radius: 28px; padding: 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.guide-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--tone, var(--indigo)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.guide-card:hover::after { transform: scaleX(1); }
.guide-card .ic, .guide-title .ic { width: 68px; height: 68px; border-radius: 20px; padding: 10px; display: grid; place-items: center; flex: none; box-shadow: inset 0 -4px 0 rgb(0 0 0 / .06), 0 4px 10px rgb(28 34 48 / .08); transition: transform .3s var(--ease); }
.guide-card .ic img, .guide-title .ic img { width: 100%; height: 100%; object-fit: contain; }
.guide-card:hover .ic { transform: rotate(-8deg) scale(1.08); }
.guide-card .in { display: grid; gap: 6px; }
.guide-card .meta { font-size: 14px; font-weight: 700; color: var(--muted); }
.guide-card p { color: var(--ink-soft); font-size: 16.5px; }
.guide-card .go { margin-top: 6px; }
.tone-indigo { --tone: var(--indigo); } .tone-marigold { --tone: var(--marigold); } .tone-green { --tone: #5DAE74; } .tone-pink { --tone: #E07B8E; } .tone-violet { --tone: #8C73D6; } .tone-sky { --tone: #E89A54; }
.crumb { color: var(--muted); font-size: .95rem; font-weight: 700; } .crumb a { text-decoration: none; }
.guide-title { display: flex; gap: 20px; align-items: flex-start; margin-top: 16px; }
.guide-title h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
@media (max-width: 640px) { .guide-title { flex-direction: column; gap: 12px; } }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.guide-meta span { font-size: 14px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink-soft); }
.guide-layout { display: grid; gap: 32px; }
@media (min-width: 980px) { .guide-layout { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 56px; } .guide-side { position: sticky; top: 104px; } }
.gsteps { list-style: none; padding: 0; margin: 0; position: relative; }
.gsteps::before { content: ""; position: absolute; left: 25px; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: var(--line); }
.gsteps::after { content: ""; position: absolute; left: 25px; top: 12px; width: 4px; border-radius: 4px; background: var(--indigo); height: calc((100% - 24px) * var(--done, 0)); transition: height .25s linear; }
.gstep { position: relative; display: flex; gap: 20px; padding: 0 0 34px; }
.gstep:last-child { padding-bottom: 0; }
.gstep .num { position: relative; z-index: 1; flex: none; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font: 800 1.6rem 'Baloo 2', sans-serif; background: #fff; color: var(--ink); border: 3px solid var(--line); transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease); }
.gstep.lit .num { background: var(--indigo); border-color: var(--indigo); color: #fff; transform: rotate(-6deg); }
.gstep h2 { font-size: 1.5rem; letter-spacing: -.2px; padding-top: 8px; }
.gstep p { color: var(--ink-soft); margin-top: 6px; font-size: 1.1rem; max-width: 32em; }
.tip { margin-top: 20px; background: var(--marigold-soft); border-radius: 22px; padding: 18px 20px; border: 1px solid rgb(242 166 35 / .35); }
.tip b { font: 800 1.1rem 'Baloo 2', 'Noto Sans Devanagari', sans-serif; color: #7a4a00; } .tip p { margin-top: 4px; color: var(--ink); }
.guide-next { display: grid; gap: 14px; }
@media (min-width: 700px) { .guide-next { grid-template-columns: 1fr 1fr; } }
.guide-next a { display: grid; gap: 4px; text-decoration: none; background: #fff; border: 1px solid rgb(28 34 48 / .06); box-shadow: var(--shadow-1); border-radius: 22px; padding: 18px 22px; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.guide-next a:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.guide-next small { color: var(--indigo); font-weight: 700; font-size: 14px; } .guide-next b { font: 700 1.2rem 'Baloo 2', 'Noto Sans Devanagari', sans-serif; }
.guide-next .next { text-align: right; }

/* blog */
.article-card { border-radius: 26px; background: #fff; border: 1px solid rgb(28 34 48 / .06); box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.article-card .card-title { font-size: 1.4rem; line-height: 1.15; }
.article-card img { transition: transform .6s var(--ease); }
.article-card:hover > img { transform: scale(1.04); }
.cover-art { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--t-blue); }
.cover-art.c2 { background: var(--t-yellow); } .cover-art.c3 { background: var(--t-green); } .cover-art.c4 { background: var(--t-pink); } .cover-art.c5 { background: var(--t-purple); } .cover-art.c6 { background: var(--t-orange); }
.cover-art img { position: absolute; width: 34%; aspect-ratio: 1; height: auto; left: 50%; top: 54%; transform: translate(-50%, -50%) rotate(-6deg); transition: transform .5s var(--ease); background: none; object-fit: contain; }
.article-card:hover .cover-art img { transform: translate(-50%, -58%) rotate(4deg) scale(1.08); }
.cover-art i { position: absolute; border-radius: 22%; background: rgb(255 255 255 / .55); transition: transform .6s var(--ease); }
.cover-art i:nth-of-type(1) { width: 16%; aspect-ratio: 1; left: 9%; top: 16%; transform: rotate(-14deg); }
.cover-art i:nth-of-type(2) { width: 12%; aspect-ratio: 1; right: 12%; top: 22%; transform: rotate(12deg); background: rgb(28 34 48 / .08); }
.cover-art i:nth-of-type(3) { width: 14%; aspect-ratio: 1; right: 20%; bottom: 10%; transform: rotate(-8deg); }
.article-card:hover .cover-art i:nth-of-type(1) { transform: rotate(8deg) translateY(-6px); }
.article-card:hover .cover-art i:nth-of-type(2) { transform: rotate(-10deg) translateY(6px); }
.article-card:hover .cover-art i:nth-of-type(3) { transform: rotate(14deg) translateX(-6px); }
.article { margin: 0 auto; }
.article .body > * { max-width: 40em; }
.article .body ul, .article .body ol { padding-left: 1.3em; display: grid; gap: 6px; }
.article .body blockquote { border-radius: 0 16px 16px 0; }
.read-next { margin-top: 36px; background: var(--indigo-soft); border-radius: 24px; padding: 22px 24px; display: grid; gap: 8px; justify-items: start; }
.read-next b { font: 800 1.3rem 'Baloo 2', 'Noto Sans Devanagari', sans-serif; }
@media (prefers-reduced-motion: reduce) {
  .guide-card, .article-card, .guide-next a, .job-chips a, .appnav a, .gstep .num, .job-n, .jobs-stage .device { transition: none; transform: none !important; }
  .js .job { opacity: 1; }
}
.article .body p { margin: 0 0 14px; }
.article .body blockquote p { margin: 10px 0; }
.article .body li { padding-left: 2px; }

/* ---- menu with groups: The app, Guides and help, For professionals ---- */
.nav-group { position: relative; }
.nav-top { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; cursor: pointer; color: var(--ink-soft); font: inherit; font-weight: 700; padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.nav-top:hover, .nav-group.open > .nav-top, .nav-group.current > .nav-top { background: var(--indigo-soft); color: var(--indigo-deep); }
.nav-top .chev { transition: transform .25s var(--ease); flex: none; }
.nav-group.open .chev { transform: rotate(180deg); }
.sub a { display: grid; gap: 1px; padding: 10px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.sub a b { font-weight: 700; } .sub a small { font-weight: 400; font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.nav .sub a:hover { background: var(--indigo-soft); color: var(--ink); }
.nav .sub a[aria-current="page"] { background: var(--indigo-soft); } .nav .sub a[aria-current="page"] b { color: var(--indigo-deep); }
@media (min-width: 900px) {
  .nav { font-size: 17px; gap: 4px; }
  .sub { position: absolute; left: 0; top: calc(100% + 12px); z-index: 30; min-width: 300px; padding: 8px; background: #fff; border: 1px solid rgb(28 34 48 / .08); border-radius: 22px; box-shadow: var(--shadow-2);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 24px 0; transition: opacity .18s ease, transform .22s var(--ease), visibility 0s .22s; }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }  /* the pointer can cross the gap */
  .nav-group:last-of-type .sub { left: auto; right: 0; transform-origin: calc(100% - 24px) 0; }
  .nav-group.open .sub, html:not(.js) .nav-group:hover .sub, html:not(.js) .nav-group:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-group.open .sub a { animation: rise .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
}
@media (min-width: 900px) and (max-width: 1180px) { .nav { font-size: 16px; } .nav-top { padding: 7px 10px; } }
@media (max-width: 899px) {
  /* phones: the folded menu shows every group open, as headed lists */
  .js .nav { align-items: stretch; }
  .js .nav > a { border-radius: 0; }
  .js .nav-group { border-top: 1px solid var(--line); padding: 10px 0 6px; }
  .nav-top { pointer-events: none; padding: 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: none !important; }
  .nav-top .chev { display: none; }
  .js .nav .sub a { border-top: 0; padding: 9px 4px; }
  .sub a small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sub, .nav-top .chev { transition: none; } .nav-group.open .sub a { animation: none; } }
