/* shulemasta.com — marketing site. Direction A, "Darasa Angavu".
   Tokens follow the Shule Masta style guide; dark mode follows the device
   unless the visitor picks one (html[data-theme]). */

:root {
  --ink: #0F1E2E;
  --navy: #0F2F52;
  --primary: #1B5E9B;
  --primary-soft: #E7F0F9;
  --saffron: #E58A1F;
  --saffron-ink: #1A0E02;
  --success: #1C7A4A;
  --success-soft: #E3F2EA;
  --danger: #B42318;
  --danger-soft: #FDECEA;
  --warn-soft: #FDF0DD;
  --warn-ink: #8A4B05;

  --bg: #FFFFFF;
  --canvas: #F3F5F8;
  --surface: #FFFFFF;
  --surface-2: #F3F5F8;
  --text: #0F1E2E;
  --muted: #4A5A6C;
  --line: #E2E7EE;
  --heading: #0F2F52;
  --link: #1B5E9B;
  --deep: #0F2F52;
  --deep-text: #FFFFFF;
  --deep-muted: #C9D3E0;
  --shadow: 0 1px 2px rgba(15, 30, 46, .06), 0 12px 32px rgba(15, 30, 46, .08);

  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --wrap: 1180px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1622;
    --canvas: #0F1E2E;
    --surface: #132538;
    --surface-2: #0F1E2E;
    --text: #E8EEF5;
    --muted: #9FB0C3;
    --line: #22384F;
    --heading: #F2F6FA;
    --link: #8CC0EE;
    --primary-soft: #16314D;
    --deep: #081320;
    --success-soft: #123526;
    --warn-soft: #3A2A12;
    --warn-ink: #F4C27A;
    --danger-soft: #3B1714;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0B1622;
  --canvas: #0F1E2E;
  --surface: #132538;
  --surface-2: #0F1E2E;
  --text: #E8EEF5;
  --muted: #9FB0C3;
  --line: #22384F;
  --heading: #F2F6FA;
  --link: #8CC0EE;
  --primary-soft: #16314D;
  --deep: #081320;
  --success-soft: #123526;
  --warn-soft: #3A2A12;
  --warn-ink: #F4C27A;
  --danger-soft: #3B1714;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Sora, "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--heading);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
a { color: var(--link); }
img { max-width: 100%; display: block; }

/* `hidden` must win over any display set by a class (e.g. .success-panel). */
[hidden] { display: none !important; }

/* Lucide placeholders hold their space until lucide.createIcons() swaps
   them for SVGs; Font Awesome supplies the brand logos. */
i[data-lucide] { display: inline-block; width: 1em; height: 1em; }
svg.lucide { flex: none; }
.brand-icon { line-height: 1; }
.btn .brand-icon { font-size: 20px; }
.hero-points svg { flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--surface); color: var(--text); padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }

/* Language: Swahili is in the markup; English comes from data-en (short
   strings, swapped by site.js) or .lang-en blocks (long text). */
.lang-en { display: none; }
html[data-lang="en"] .lang-en { display: revert; }
html[data-lang="en"] .lang-sw { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font: 800 19px/1 Sora, sans-serif; letter-spacing: -0.02em; }

.main-nav { display: none; gap: 4px; }
.main-nav a {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px;
  padding: 10px 12px; border-radius: 10px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--heading); }

.header-tools { display: flex; align-items: center; gap: 8px; }

.tool-btn {
  display: inline-grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text);
  font: 700 13px "Plus Jakarta Sans", sans-serif; cursor: pointer;
}
.tool-btn:hover { border-color: var(--primary); }
.tool-btn svg { width: 20px; height: 20px; }
.theme-btn .icon-moon { display: none; }
.theme-btn svg { width: 20px; height: 20px; }
html[data-mode="dark"] .theme-btn .icon-sun { display: none; }
html[data-mode="dark"] .theme-btn .icon-moon { display: block; }

.menu-btn { display: inline-grid; }
.btn.header-cta { display: none; }
.brand span { white-space: nowrap; }

.mobile-nav {
  display: none; border-top: 1px solid var(--line); padding: 8px 0 16px;
}
.mobile-nav.open { display: grid; }
.mobile-nav a {
  text-decoration: none; color: var(--text); font-weight: 600; padding: 12px 4px; border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 12px; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .menu-btn { display: none; }
  .btn.header-cta { display: inline-flex; }
  .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 16px "Plus Jakarta Sans", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--primary); color: #FFFFFF; box-shadow: 0 6px 18px rgba(27, 94, 155, .28); }
.btn-primary:hover { background: #174F84; }
.btn-saffron { background: var(--saffron); color: var(--saffron-ink); }
.btn-saffron:hover { background: #F09A33; }
.btn-ghost { background: var(--surface); color: var(--heading); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-whatsapp { background: #1C7A4A; color: #FFFFFF; }
.btn-whatsapp:hover { background: #17673E; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--canvas); }
@media (min-width: 900px) { .section { padding: 104px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: var(--primary);
  letter-spacing: .02em;
}
html[data-mode="dark"] .eyebrow { color: #8CC0EE; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; margin-top: 10px; }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; background:
  radial-gradient(900px 420px at 85% -10%, var(--primary-soft), transparent 70%), var(--bg); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero { padding: 72px 0 104px; } .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--primary); }
html[data-mode="dark"] .hero h1 em { color: #8CC0EE; }
.hero-lead { margin-top: 20px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding: 0; list-style: none; color: var(--muted); font-weight: 600; font-size: 14px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--success); }

/* Dashboard mock (illustrative only) */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 20px; position: relative;
}
.mock-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-title { font: 700 15px Sora, sans-serif; color: var(--heading); }
.mock-date { font-size: 13px; color: var(--muted); }
.mock-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mock-stat { background: var(--surface-2); border-radius: var(--radius-sm); padding: 14px; }
.mock-stat small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.mock-stat strong { display: block; margin-top: 4px; font: 800 20px Sora, sans-serif; color: var(--heading); }
.mock-bar { height: 8px; background: var(--line); border-radius: 99px; margin-top: 10px; overflow: hidden; }
.mock-bar i { display: block; height: 100%; background: var(--success); border-radius: 99px; }
.mock-list { margin-top: 14px; display: grid; gap: 8px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.mock-row span:first-child { font-weight: 600; }
.mock { margin-bottom: 64px; }
.mock-note { position: absolute; right: -12px; bottom: -72px; background: var(--deep); color: #FFFFFF; border-radius: 16px; padding: 12px 14px; font-size: 13px; max-width: 230px; box-shadow: var(--shadow); }
.mock-note b { color: #F4C27A; }
@media (max-width: 560px) { .mock { margin-bottom: 0; } .mock-note { position: static; margin-top: 14px; max-width: none; } }

/* Status chips: colour plus a word, never colour alone */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-paid { background: var(--success-soft); color: var(--success); }
.chip-part { background: var(--warn-soft); color: var(--warn-ink); }
.chip-unpaid { background: var(--danger-soft); color: var(--danger); }
html[data-mode="dark"] .chip-paid { color: #6FD3A0; }
html[data-mode="dark"] .chip-unpaid { color: #F59A90; }

/* ---------- Value blocks ---------- */
.values { display: grid; gap: 16px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .values { grid-template-columns: repeat(6, minmax(0, 1fr)); } .values .value { grid-column: span 2; } .values .value.wide { grid-column: span 3; } }
.value {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.value-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
html[data-mode="dark"] .value-icon { color: #8CC0EE; }
.value-icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 22px; font-weight: 700; }
.value p { color: var(--muted); }
.value .outcome { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-weight: 600; color: var(--text); font-size: 15px; }

/* ---------- Before / after ---------- */
.compare { display: grid; gap: 16px; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-card { border-radius: var(--radius-lg); padding: 28px; }
.compare-card h3 { font-size: 20px; margin-bottom: 16px; }
.compare-before { background: var(--surface); border: 1px solid var(--line); }
.compare-after { background: var(--deep); color: var(--deep-text); }
.compare-after h3 { color: #FFFFFF; }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-card li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.compare-card li svg { width: 22px; height: 22px; margin-top: 1px; }
.compare-before li svg { color: var(--danger); }
html[data-mode="dark"] .compare-before li svg { color: #F59A90; }
.compare-after li svg { color: #6FD3A0; }
.compare-after li { color: var(--deep-muted); }
.compare-after li b { color: #FFFFFF; font-weight: 600; }

/* ---------- Parent app ---------- */
.app-band { display: grid; gap: 40px; align-items: center; }
.app-band > * { min-width: 0; }
@media (min-width: 900px) { .app-band { grid-template-columns: 1fr 1fr; } }
.app-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.app-points li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.app-points svg { width: 24px; height: 24px; color: var(--success); }
.play-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  background: #000000; color: #FFFFFF; border-radius: 14px; padding: 10px 18px; min-height: 56px; text-decoration: none;
  border: 1px solid #3a3a3a;
}
.play-badge small { display: block; font-size: 11px; opacity: .85; }
.play-badge strong { display: block; font: 700 18px/1.1 "Plus Jakarta Sans", sans-serif; }
.play-badge .brand-icon { font-size: 26px; }

/* ---------- Included chips ---------- */
.included { display: grid; gap: 12px; }
@media (min-width: 640px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .included { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.inc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.inc b { display: block; font-family: Sora, sans-serif; color: var(--heading); font-size: 16px; }
.inc p { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 800 28px Sora, sans-serif; color: var(--saffron); margin-bottom: 12px; }
.steps b { display: block; font-family: Sora, sans-serif; color: var(--heading); font-size: 18px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- Pricing ---------- */
.price-wrap { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 960px) { .price-wrap { grid-template-columns: 1.05fr .95fr; } }
.price-card { background: var(--deep); color: var(--deep-text); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 720px) { .price-card { padding: 40px; } }
.price-card .eyebrow { color: #F4C27A; }
.price-amount { font: 800 clamp(48px, 8vw, 72px)/1 Sora, sans-serif; letter-spacing: -0.035em; color: #FFFFFF; }
.price-amount small { font-size: 20px; font-weight: 700; letter-spacing: 0; color: var(--deep-muted); }
.price-card .per { color: var(--deep-muted); font-size: 17px; }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .price-list { grid-template-columns: 1fr 1fr; } }
.price-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: #E2E9F2; font-size: 15px; }
.price-list svg { width: 20px; height: 20px; color: #6FD3A0; margin-top: 2px; }
.price-note { font-size: 14px; color: var(--deep-muted); border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; }

.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.calc h3 { font-size: 22px; }
.calc label { font-weight: 700; font-size: 15px; display: grid; gap: 8px; }
.calc-input { display: flex; align-items: center; gap: 10px; }
.calc input[type="number"] {
  width: 100%; height: 56px; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px;
  font: 800 24px Sora, sans-serif; color: var(--heading); background: var(--surface-2);
}
.calc input[type="range"] { width: 100%; accent-color: var(--primary); height: 32px; }
.plans { display: grid; gap: 10px; }
.plan {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.plan b { font-size: 15px; }
.plan small { grid-column: 1; color: var(--muted); font-size: 13px; }
.plan strong { grid-row: span 2; font: 800 20px Sora, sans-serif; color: var(--heading); text-align: right; }
.plan-best { border-color: var(--success); background: var(--success-soft); }
.plan-best .save { color: var(--success); font-weight: 700; }
html[data-mode="dark"] .plan-best .save { color: #6FD3A0; }
.badge-save { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--success); color: #FFFFFF; font-size: 11px; font-weight: 800; vertical-align: middle; }

.sms-box { display: flex; gap: 14px; align-items: flex-start; background: var(--warn-soft); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--text); font-size: 15px; }
.sms-box svg, .sms-box i { width: 22px; height: 22px; flex: none; color: var(--warn-ink); margin-top: 2px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.periods { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
table.periods th, table.periods td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.periods th { font-size: 13px; color: var(--muted); font-weight: 700; background: var(--surface-2); }
table.periods tr:last-child td { border-bottom: 0; }
table.periods td strong { font-family: Sora, sans-serif; color: var(--heading); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 22px/1 Sora, sans-serif; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--deep); color: var(--deep-text); border-radius: var(--radius-lg); padding: 40px 28px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: 56px; } }
.cta-band h2 { color: #FFFFFF; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta-band p { color: var(--deep-muted); margin-top: 10px; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .form-card { padding: 36px; } }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 14px; color: var(--text); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font: 500 16px "Plus Jakarta Sans", sans-serif; color: var(--text); background: var(--surface-2);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.field .hint { font-size: 13px; color: var(--muted); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; background: var(--surface-2); }
.checks input { width: 18px; height: 18px; min-height: 0; accent-color: var(--primary); }
.checks label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 15px; display: none; }
.form-msg.show { display: block; }
.form-msg.error { background: var(--danger-soft); color: var(--danger); }
html[data-mode="dark"] .form-msg.error { color: #F59A90; }
.form-msg.ok { background: var(--success-soft); color: var(--success); }
html[data-mode="dark"] .form-msg.ok { color: #6FD3A0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.small { font-size: 14px; color: var(--muted); }

.success-panel { text-align: center; padding: 24px 8px; display: grid; gap: 14px; justify-items: center; }
.success-panel .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.success-panel .tick svg { width: 32px; height: 32px; }
.success-panel h2 { font-size: 28px; }

.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: .9fr 1.1fr; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
html[data-mode="dark"] .contact-list .ci { color: #8CC0EE; }
.contact-list svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a, .contact-list b { font-weight: 700; color: var(--heading); text-decoration: none; }

.page-hero { padding: 56px 0 40px; background: radial-gradient(800px 360px at 90% -20%, var(--primary-soft), transparent 70%), var(--bg); }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 54px); font-weight: 800; letter-spacing: -0.03em; }
.page-hero p { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 40em; }

/* ---------- Legal ---------- */
.legal { display: grid; gap: 40px; padding: 24px 0 96px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 240px 1fr; } }
.legal-toc { position: sticky; top: 96px; align-self: start; display: none; }
@media (min-width: 1000px) { .legal-toc { display: block; } }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.legal-toc a { color: var(--muted); text-decoration: none; display: block; padding: 6px 10px; border-radius: 8px; }
.legal-toc a:hover { background: var(--primary-soft); color: var(--heading); }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text); font-size: 16px; line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose .meta { color: var(--muted); font-size: 14px; }
.callout { background: var(--primary-soft); border-radius: var(--radius-sm); padding: 18px 20px; margin: 18px 0; }
.callout p { color: var(--text); }

/* Deletion flow */
.del-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .del-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.kept { display: grid; gap: 12px; }
.kept-card { border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.kept-card h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.kept-card h3 svg { width: 22px; height: 22px; color: var(--primary); }
html[data-mode="dark"] .kept-card h3 svg { color: #8CC0EE; }
.kept-card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.kept-card li + li { margin-top: 6px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding-bottom: 18px; position: relative; }
.timeline li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); margin: 5px auto 0; }
.timeline li::after { content: ""; position: absolute; left: 15px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { color: var(--heading); }
.timeline p { color: var(--muted); font-size: 15px; }
.step-dots { display: flex; gap: 8px; margin-bottom: 20px; }
.step-dots i { height: 6px; flex: 1; border-radius: 99px; background: var(--line); }
.step-dots i.on { background: var(--primary); }
.otp-input { letter-spacing: .5em; font: 800 26px Sora, sans-serif !important; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--canvas); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 15px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h4 { font-size: 14px; margin-bottom: 12px; color: var(--heading); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--heading); text-decoration: underline; }
.footer-about p { color: var(--muted); margin-top: 12px; max-width: 30em; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--heading);
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }
.footer-social .brand-icon { font-size: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 14px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #1C7A4A; color: #FFFFFF;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  text-decoration: none;
}
.wa-float .brand-icon { font-size: 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- iPhone with the parent app (illustrative) ---------- */
.iphone {
  position: relative; width: min(318px, 100%); margin: 0 auto; aspect-ratio: 9 / 18;
  padding: 11px; border-radius: 56px;
  background: linear-gradient(145deg, #3a3d44, #16171a 40%, #2a2c31);
  box-shadow: inset 0 0 0 2px #4a4d55, inset 0 0 0 6px #0c0d0f, 0 30px 60px rgba(15, 30, 46, .28), 0 8px 18px rgba(15, 30, 46, .18);
}
.iphone::before, .iphone::after {
  content: ""; position: absolute; width: 4px; border-radius: 2px; background: #2b2d32;
}
.iphone::before { left: -3px; top: 128px; height: 56px; box-shadow: 0 72px 0 #2b2d32; }
.iphone::after { right: -3px; top: 160px; height: 84px; }
.iphone-screen {
  position: relative; height: 100%; border-radius: 46px; overflow: hidden;
  background: #F3F5F8; color: #0F1E2E; display: flex; flex-direction: column;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.iphone-status { display: flex; align-items: center; justify-content: space-between; padding: 14px 26px 6px; position: relative; background: #FFFFFF; }
.iphone-time { font: 700 14px/1 -apple-system, "SF Pro Text", "Plus Jakarta Sans", sans-serif; }
.iphone-island { position: absolute; left: 50%; top: 9px; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000000; }
.iphone-sys { display: inline-flex; gap: 4px; align-items: center; }
.iphone-sys svg { width: 15px; height: 15px; stroke-width: 2.4; }
.app-top { display: flex; align-items: center; gap: 6px; padding: 8px 12px 10px; background: #FFFFFF; border-bottom: 1px solid #E2E7EE; }
.app-child { flex: 1; display: flex; align-items: center; gap: 8px; background: #F3F5F8; border-radius: 14px; padding: 6px 8px; min-width: 0; }
.app-child b { display: block; font-size: 12px; line-height: 1.2; color: #0F1E2E; white-space: nowrap; }
.app-child small { display: block; font-size: 10px; color: #5B6B7D; }
.app-child > span:nth-child(2) { flex: 1; min-width: 0; }
.app-child svg { width: 14px; height: 14px; color: #0F1E2E; }
.app-avatar, .app-me { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 11px Sora, sans-serif; color: #FFFFFF; flex: none; }
.app-avatar { background: #1B5E9B; }
.app-me { background: #0F2F52; }
.app-pill { height: 30px; padding: 0 8px; border: 1px solid #E2E7EE; border-radius: 10px; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.app-body { flex: 1; padding: 10px 12px; display: grid; gap: 8px; align-content: start; }
.app-greet { display: flex; justify-content: space-between; align-items: flex-end; gap: 6px; }
.app-greet small { display: block; font-size: 10px; color: #5B6B7D; }
.app-greet b { display: block; font: 700 15px/1.2 Sora, sans-serif; letter-spacing: -0.02em; color: #0F1E2E; }
.app-term { font-size: 9px; font-weight: 700; color: #1B5E9B; background: #E7F0F9; padding: 4px 7px; border-radius: 99px; white-space: nowrap; }
.app-fee { background: #0F2F52; color: #FFFFFF; border-radius: 18px; padding: 12px 14px; display: grid; gap: 6px; }
.app-fee-top { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: #C9D3E0; gap: 6px; }
.app-paid { display: inline-flex; align-items: center; gap: 3px; background: #E3F2EA; color: #1C7A4A; font-weight: 700; padding: 3px 7px; border-radius: 99px; font-size: 9px; }
.app-paid svg { width: 10px; height: 10px; stroke-width: 3; }
.app-fee-amt { font: 800 26px/1 Sora, sans-serif; }
.app-fee-amt small { font-size: 11px; font-weight: 700; color: #C9D3E0; }
.app-fee-bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .15); }
.app-fee-bar i { display: block; height: 100%; width: 100%; border-radius: 99px; background: #4FC17F; }
.app-fee-link { display: flex; justify-content: flex-end; align-items: center; gap: 2px; font-size: 10px; font-weight: 700; }
.app-fee-link svg { width: 12px; height: 12px; }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-tile { background: #FFFFFF; border: 1px solid #E2E7EE; border-radius: 16px; padding: 10px; display: grid; gap: 5px; align-content: start; }
.app-tile > small { font-size: 10px; font-weight: 600; color: #4A5A6C; }
.app-tile small.muted { font-weight: 500; color: #5B6B7D; font-size: 9px; }
.app-att { display: flex; align-items: center; gap: 8px; }
.app-ring { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#1C7A4A 0 88%, #E2E7EE 88% 100%); -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px); }
.app-att b, .app-score b { font: 800 20px/1 Sora, sans-serif; color: #0F1E2E; }
.app-score { display: flex; align-items: center; gap: 6px; }
.app-score span { font-size: 10px; font-weight: 800; color: #1B5E9B; background: #E7F0F9; border-radius: 6px; padding: 3px 6px; }
.app-div { justify-self: start; background: #0F2F52; color: #FFFFFF; font-size: 8.5px; font-weight: 700; padding: 3px 7px; border-radius: 99px; }
.app-rank { color: #1C7A4A !important; font-size: 9px !important; font-weight: 700 !important; }
.app-notice { background: #FFFFFF; border: 1px solid #E2E7EE; border-radius: 16px; padding: 10px; display: flex; gap: 9px; align-items: center; }
.app-notice-icon { width: 30px; height: 30px; flex: none; border-radius: 9px; background: #FDF0DD; color: #E58A1F; display: grid; place-items: center; }
.app-notice-icon svg { width: 16px; height: 16px; }
.app-notice small { display: block; font-size: 9px; color: #5B6B7D; }
.app-notice b { display: block; font-size: 11px; color: #0F1E2E; }
.app-tabs { display: grid; grid-template-columns: repeat(5, 1fr); background: #FFFFFF; border-top: 1px solid #E2E7EE; padding: 6px 4px 22px; }
.app-tabs span { display: grid; justify-items: center; gap: 2px; color: #5B6B7D; }
.app-tabs svg { width: 17px; height: 17px; }
.app-tabs small { font-size: 8px; font-weight: 600; }
.app-tabs .on { color: #1B5E9B; }
.app-tabs .on svg { background: #E7F0F9; border-radius: 99px; padding: 2px 9px; width: 35px; box-sizing: content-box; height: 17px; }
.iphone-home { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); width: 110px; height: 4px; border-radius: 4px; background: #0F1E2E; }

.contact-list .ci .brand-icon { font-size: 22px; }
.btn-wa-ghost .brand-icon { color: #25D366; }
.compare-card li svg, .app-points li svg, .price-list li svg { margin-top: 3px; }
.app-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-quick span { display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #E2E7EE; background: #FFFFFF; border-radius: 12px; padding: 9px 4px; color: #1B5E9B; }
.app-quick svg { width: 13px; height: 13px; }
.app-quick b { font-size: 9.5px; color: #0F1E2E; white-space: nowrap; }
.footer-social a, .play-badge, .btn { text-decoration: none; }

/* 404 page */
.not-found { padding: 72px 0 88px; min-height: 60vh; }
.not-found .nf-code { margin: 8px 0 0; font: 800 clamp(96px, 22vw, 200px)/0.9 Sora, sans-serif; letter-spacing: -0.05em; color: var(--primary); opacity: .16; }
.not-found h1 { margin-top: -0.35em; }
.not-found .hero-actions { margin-top: 28px; }
.nf-links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.nf-links a { font-weight: 600; }
.nf-school { margin-top: 28px; max-width: 40em; }
