@font-face{font-family:"Baloo 2";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/baloo-2-latin-700-normal.woff2) format("woff2");}
@font-face{font-family:"Baloo 2";font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/baloo-2-latin-800-normal.woff2) format("woff2");}
@font-face{font-family:"Noto Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/noto-sans-latin-400-normal.woff2) format("woff2");}
@font-face{font-family:"Noto Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/noto-sans-latin-600-normal.woff2) format("woff2");}
@font-face{font-family:"Noto Sans";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/noto-sans-latin-700-normal.woff2) format("woff2");}
@font-face{font-family:"Noto Sans Devanagari";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/noto-sans-devanagari-devanagari-400-normal.woff2) format("woff2");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:"Noto Sans Devanagari";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/noto-sans-devanagari-devanagari-700-normal.woff2) format("woff2");unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF;}
/* tivumo.com — colours are the app's brand/tokens.ts (palette → ink → token), light and dark. */
:root {
  --blue: #168CF8; --blue-light: #E8F4FF; --navy: #102A56; --green: #22C55E; --sun: #FBBF24;
  --coral: #F76572; --violet: #8257E5; --aqua: #20C7C9;
  --blue-ink: #0A70D0; --green-ink: #15803D; --violet-ink: #7A4BDD; --amber-ink: #8F6000;
  --bg: #F8FAFC; --surface: #FFFFFF; --alt: #EEF6FF; --border: #E2E8F0;
  --text: #0F172A; --sub: #475569; --heading: #102A56; --link: #0A70D0;
  --hero-bg: #102A56; --hero-text: #F1F5FF; --hero-sub: #C7D6F0;
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .08);
  --radius: 18px;
  --font: "Noto Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Baloo 2", "Noto Sans Devanagari", var(--font);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue-light: #17355A; --blue-ink: #6CB6FF; --green-ink: #4ADE80; --violet-ink: #B79CFF; --amber-ink: #FCD34D;
    --bg: #0B1220; --surface: #141D30; --alt: #111a2c; --border: #30405C;
    --text: #E5ECF6; --sub: #A9B8CF; --heading: #F1F5FF; --link: #6CB6FF;
    --hero-bg: #0D1B36; --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font); }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--heading); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lang-hi h1, .lang-mr h1, [lang="hi"] h1, [lang="mr"] h1 { line-height: 1.3; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.small, .note { font-size: .92rem; color: var(--sub); }
.muted { color: var(--sub); font-size: .92em; }
.eyebrow { font: 700 .82rem/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: .8em; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); color: var(--sub); max-width: 40em; }

/* ------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { margin-right: auto; display: flex; }
.wordmark { height: 32px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 10px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { background: var(--blue-light); color: var(--heading); }
.nav-lang { font-family: "Noto Sans Devanagari", var(--font); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; font-size: 1.3rem; padding: 4px 12px; color: var(--text); }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; inset: 64px 0 auto; background: var(--surface); flex-direction: column; align-items: stretch; padding: 12px 16px 18px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav .btn { margin-top: 8px; text-align: center; }
}

/* ------------------------------------------------ buttons, chips */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 1em; }
.actions.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 700 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.btn-primary { background: var(--blue-ink); color: #fff; box-shadow: 0 6px 18px rgb(10 112 208 / .35); }
@media (prefers-color-scheme: dark) { .btn-primary { background: #0A70D0; } }
.btn-ghost { border-color: currentColor; color: var(--heading); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.hero .btn-ghost, .hero-dark .btn-ghost, .section-navy .btn-ghost { color: #fff; }
.chip { display: inline-block; font: 700 .78rem/1 var(--font); padding: 6px 10px; border-radius: 999px; background: var(--blue-light); color: var(--heading); margin-right: 8px; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.badges li { font-size: .9rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .1); color: var(--hero-text); border: 1px solid rgb(255 255 255 / .18); }
.page-hero .badges li { background: var(--blue-light); color: var(--heading); border-color: transparent; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ------------------------------------------------ hero */
.hero, .hero-dark, .section-navy {
  background: radial-gradient(60% 80% at 85% 20%, rgb(130 87 229 / .35), transparent 60%),
              radial-gradient(50% 60% at 10% 90%, rgb(22 140 248 / .35), transparent 60%), var(--hero-bg);
  color: var(--hero-text);
}
.hero h1, .hero h2, .hero-dark h1, .section-navy h2 { color: #fff; }
.hero .lead, .hero-dark .lead, .section-navy p { color: var(--hero-sub); }
.hero .eyebrow, .hero-dark .eyebrow, .section-navy .eyebrow { color: var(--sun); }
.hero a:not(.btn), .hero-dark a:not(.btn), .section-navy a:not(.btn) { color: #9DD0FF; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--sun), #FF9F6B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-visual { position: relative; justify-self: center; width: min(320px, 72vw); }
.hero-visual .reel figcaption { color: var(--hero-sub); }
.tivu-hero { position: absolute; width: 130px; left: -90px; bottom: 40px; filter: drop-shadow(0 10px 20px rgb(0 0 0 / .3)); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .tivu-hero { width: 90px; left: -46px; bottom: 70px; } }
@media (max-width: 420px) { .tivu-hero { width: 72px; left: -30px; } }

.page-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--blue-light), var(--bg)); }
.page-hero.hero-dark { background: radial-gradient(60% 80% at 85% 20%, rgb(130 87 229 / .35), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgb(22 140 248 / .35), transparent 60%), var(--hero-bg); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 1.2em; font-size: .88rem; color: var(--sub); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.hero-dark .crumbs ol { color: var(--hero-sub); }
.everyday { background: var(--surface); border-left: 4px solid var(--sun); padding: 12px 16px; border-radius: 10px; max-width: 40em; }

/* ------------------------------------------------ proof strip */
.proof { background: var(--surface); border-bottom: 1px solid var(--border); }
.proof-row { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 16px 8px; padding: 22px 0; text-align: center; }
.proof-row > div { min-width: 100px; }
.proof strong { display: block; font: 800 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--display); color: var(--blue-ink); }
.proof span { font-size: .9rem; color: var(--sub); }


/* ------------------------------------------------ sections */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-alt { background: var(--alt); }
.section-navy { padding: clamp(48px, 7vw, 96px) 0; }
.section-head { max-width: 760px; margin: 0 auto 2.2rem; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--sub); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.split-media { justify-self: center; width: min(300px, 80vw); position: sticky; top: 90px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media { position: static; } }
.prose h2 { margin-top: 1.6em; }

/* ------------------------------------------------ cards */
.cards { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-3 { grid-template-columns: 1fr; } }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--sub); margin: 0; }
.card-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-light); margin-bottom: 14px; color: var(--blue-ink); }
.card-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.grade-grid, .age-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
@media (max-width: 520px) { .grade-grid, .age-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .grade-card { padding: 14px; } .grade-num { font-size: 1.25rem; } }
.grade-card, .topic-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.grade-card:hover, .topic-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.grade-num { font: 800 1.45rem/1.1 var(--display); color: var(--heading); }
.grade-meta { font-size: .88rem; font-weight: 700; color: var(--blue-ink); }
.grade-topics { font-size: .9rem; color: var(--sub); }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.topic-card h2 { font-size: 1.35rem; margin: 0; }
.topic-card p { color: var(--sub); margin: 0 0 6px; font-size: .95rem; }
.topic-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; }
.topic-chips a { display: block; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--heading); font-weight: 600; text-decoration: none; }
.topic-chips a:hover { border-color: var(--blue); background: var(--blue-light); }

/* ------------------------------------------------ reels (phone frames) */
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; gap: clamp(18px, 3vw, 36px); }
.reels-wide { grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); }
.reel { margin: 0; }
.phone { position: relative; aspect-ratio: 9 / 16; border-radius: 30px; padding: 8px; background: #0B1220; box-shadow: 0 20px 50px rgb(16 42 86 / .35), inset 0 0 0 2px #26324a; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 23px; background: #141D30; }
.reel figcaption .chip { display: table; margin: 0 0 6px; }
.reel figcaption { margin-top: 12px; font-weight: 600; color: var(--sub); font-size: .95rem; line-height: 1.4; }
.reel-sound { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(11 18 32 / .7); color: #fff; font-size: 1.1rem; cursor: pointer; }
.reel-sound[aria-pressed="true"] { background: var(--blue-ink); }
.reel-explained p { color: var(--sub); font-size: .95rem; margin-top: 8px; }
.film-grid { display: grid; grid-template-columns: 1fr minmax(220px, 290px); gap: clamp(24px, 6vw, 80px); align-items: center; }
@media (max-width: 760px) { .film-grid { grid-template-columns: 1fr; } .film-grid .reel { width: min(300px, 80vw); margin-inline: auto; } }
.section-navy .reel figcaption { color: var(--hero-sub); }

/* ------------------------------------------------ screenshots */
.shot { border-radius: 22px; box-shadow: var(--shadow); height: auto; }
.shot-hero { width: min(300px, 80vw); }
.shots-pair { display: flex; gap: 16px; justify-content: center; }
.shots-pair .shot { width: min(220px, 42vw); }
.shots-pair .shot:nth-child(2) { margin-top: 40px; }
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .lang-grid { grid-template-columns: 1fr; } }
.shots-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(230px, 62vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.shots-strip figure { margin: 0; scroll-snap-align: start; }
.shots-strip figcaption { margin-top: 10px; font-size: .92rem; color: var(--sub); }
.shots-strip figcaption strong { display: block; color: var(--heading); }

/* ------------------------------------------------ grade + age pages */
.bars { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: minmax(130px, 200px) 1fr 3ch; gap: 12px; align-items: center; }
.bars a { font-weight: 600; text-decoration: none; color: var(--heading); }
.bar { height: 14px; border-radius: 999px; background: var(--blue-light); position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--blue); border-radius: inherit; }
.bar-n { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.skill-groups { columns: 3 260px; column-gap: 28px; }
.skill-group { break-inside: avoid; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.skill-group h3 { font-size: 1.15rem; margin-bottom: .3em; }
.skill-group h3 a { text-decoration: none; color: var(--heading); }
.skill-group ul { margin: 0; padding-left: 1.1em; color: var(--sub); font-size: .95rem; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--green-ink); }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-weight: 700; }
.pager a { text-decoration: none; }
.class-links { line-height: 2; }

/* ------------------------------------------------ topic pages */
.idea { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.idea:last-child { border-bottom: 0; }
.idea-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-light); color: var(--blue-ink); font: 800 1.2rem/1 var(--display); }
.idea h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.figures { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; }
.figure { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.figure .fig { max-width: min(280px, 100%); height: auto; }
.figure figcaption { font-size: .88rem; color: var(--sub); text-align: center; max-width: 240px; }
.fig-text { font: 700 1.5rem/1.2 var(--display); color: var(--heading); margin: 0; }
.fig-matrix { border-collapse: collapse; font: 700 1.2rem/1 var(--display); border-left: 2px solid var(--text); border-right: 2px solid var(--text); border-radius: 6px; }
.fig-matrix td { padding: 8px 14px; text-align: center; }
.example { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.ex-q { font: 700 1.3rem/1.3 var(--display); color: var(--heading); }
.ex-a { font-size: 1.15rem; color: var(--green-ink); }
.vocab { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0; }
.vocab div { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.vocab dt { font: 700 1.15rem/1.2 var(--display); color: var(--violet-ink); }
.vocab dd { margin: 4px 0 0; color: var(--sub); font-size: .95rem; }

/* SVG figure palette (fills only; text uses ink colours) */
.fig .fig-a { fill: var(--blue); } .fig .fig-b { fill: var(--aqua); } .fig .fig-c { fill: var(--sun); }
.fig .fig-d { fill: var(--violet); } .fig .fig-e { fill: var(--green); } .fig .fig-red { fill: var(--coral); } .fig .fig-green { fill: var(--green); }
.fig .fig-a-soft { fill: color-mix(in srgb, var(--blue) 22%, transparent); } .fig .fig-b-soft { fill: color-mix(in srgb, var(--aqua) 25%, transparent); }
.fig .fig-empty { fill: var(--surface); }
.fig .fig-edge { stroke: var(--heading); stroke-width: 1.5; } .fig .fig-edge-thin { stroke: var(--heading); stroke-width: .5; }
.fig .fig-line, .fig .fig-hand, .fig .fig-axis, .fig .fig-curve, .fig .fig-curve-muted, .fig .fig-dash, .fig .fig-grid { fill: none; }
.fig .fig-line { stroke: var(--heading); stroke-width: 2.5; stroke-linecap: round; }
.fig .fig-hand { stroke: var(--coral); stroke-width: 3; stroke-linecap: round; }
.fig .fig-axis { stroke: var(--sub); stroke-width: 1.5; }
.fig .fig-grid { stroke: var(--border); stroke-width: 1; }
.fig .fig-curve { stroke: var(--blue); stroke-width: 3; } .fig .fig-curve-muted { stroke: var(--sub); stroke-width: 2; opacity: .6; }
.fig .fig-dash, .fig .fig-dashed { stroke-dasharray: 5 4; } .fig .fig-dash { stroke: var(--sub); stroke-width: 1.5; }
.fig .fig-dot { fill: var(--heading); }
.fig .fig-txt { fill: var(--heading); font-family: var(--font); font-weight: 700; }
.fig .fig-sub { fill: var(--sub); font-family: var(--font); }
.fig .fig-on { fill: #102A56; font-family: var(--font); font-weight: 700; }

/* ------------------------------------------------ visual page */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue-ink); color: #fff; font: 800 1.3rem/1 var(--display); margin-bottom: 14px; }
.step p { color: var(--sub); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 16px; }
.gallery-item { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.gallery-item .figure { flex: 1; justify-content: center; }
.gallery-item > a { font: 700 .78rem/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }

/* ------------------------------------------------ Tivu (static; never animated) */
.tivu { height: auto; }
.tivu-lg { width: 200px; } .tivu-xl { width: min(300px, 70vw); } .tivu-card { width: 96px; margin-bottom: 12px; } .tivu-sm { width: 110px; }
.tivu-intro { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; max-width: 900px; }
@media (max-width: 640px) { .tivu-intro { grid-template-columns: 1fr; } .tivu-intro .tivu { width: 150px; } }
.tivu-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 40px; }

/* ------------------------------------------------ FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--heading); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue-ink); }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 20px 18px; color: var(--sub); }

/* ------------------------------------------------ CTA band */
.band-cta { padding: clamp(40px, 6vw, 72px) 0; background: linear-gradient(120deg, var(--blue-ink), var(--violet)); color: #fff; }
.band-cta h2 { color: #fff; margin-bottom: .3em; }
.band-cta p { color: #E6EEFF; }
.band-cta .btn-primary { background: #fff; color: #0A4E93; box-shadow: none; }
.band-cta .btn-ghost { color: #fff; }
.cta-inner { display: flex; align-items: center; gap: 32px; }
.tivu-cta { width: 140px; flex: none; }
@media (max-width: 640px) { .cta-inner { flex-direction: column; text-align: center; } .cta-inner .actions { justify-content: center; } .tivu-cta { width: 110px; } }

/* ------------------------------------------------ footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font: 700 .85rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--sub); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--link); text-decoration: underline; }
.footer-brand p { color: var(--sub); }
.footer-brand .wordmark { margin-bottom: 14px; }
.footer-base { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 18px; color: var(--sub); font-size: .82rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ------------------------------------------------ help-at-home tips, guides */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 1rem; }
.tip { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.tip h3 { font-size: 1.1rem; margin-bottom: .3em; }
.tip p { margin: 0; color: var(--sub); font-size: .95rem; }
.checklist { counter-reset: c; list-style: none; padding: 0; }
.checklist li { counter-increment: c; position: relative; padding: 0 0 1em 48px; }
.checklist li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-light); color: var(--blue-ink); font: 800 1rem/1 var(--display); }
.checklist li strong { color: var(--heading); }
.game-list { columns: 3 200px; column-gap: 24px; padding-left: 1.1em; color: var(--sub); }
.game-list li { break-inside: avoid; margin-bottom: 4px; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .type-grid { grid-template-columns: 1fr; } }
.type-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.type-card h3 { margin-bottom: .2em; }
.type-card .grade-meta { display: block; margin-bottom: .5em; }
.type-card p { margin: 0; color: var(--sub); }
.article p, .article li { max-width: 68ch; }
.updated { font-size: .9rem; color: var(--sub); }
