/* iSckuul marketing site. Tokens first (two tiers: palette, then roles), then layout, then components.
   Mobile first: everything is laid out for 360px and widened at 640px, 900px and 1200px. */

@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/plus-jakarta-sans-ext.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* palette */
  --indigo-50: #f3f2fe; --indigo-100: #e8e5fd; --indigo-200: #d2ccfb; --indigo-500: #5b4be8; --indigo-600: #4b3bd6;
  --indigo-700: #3d2fb3; --indigo-900: #1d1757; --indigo-950: #120e3a;
  --orange-100: #ffeadb; --orange-400: #ffa766; --orange-500: #ff8a3d; --orange-700: #b4520f;
  --ink-900: #14132b; --ink-700: #3a3a52; --ink-600: #55556b; --ink-500: #6b6b80; --ink-300: #c9c9d6; --ink-200: #e4e4ec; --ink-100: #f1f1f6; --white: #ffffff;
  --green-600: #15803d; --green-100: #dcfce7; --red-600: #c62828;

  /* roles */
  --bg-surface: var(--white);
  --bg-subtle: #f7f7fb;
  --bg-tint: var(--indigo-50);
  --bg-inverse: var(--indigo-950);
  --text-primary: var(--ink-900);
  --text-secondary: var(--ink-700);
  --text-muted: var(--ink-600);
  --text-inverse: var(--white);
  --text-inverse-muted: #c9c6f2;
  --border-default: var(--ink-200);
  --border-strong: #b9b9c9;
  --accent-primary: var(--indigo-500);
  --accent-primary-hover: var(--indigo-600);
  --accent-primary-text: var(--indigo-600);
  --accent-warm: var(--orange-500);
  --accent-warm-text: var(--orange-700);
  --status-success: var(--green-600);
  --status-success-bg: var(--green-100);
  --status-destructive: var(--red-600);
  --focus-ring: var(--orange-500);

  /* spacing (4/8 scale), radius, type */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px; --s-24: 96px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-display: clamp(2.25rem, 6.5vw, 4rem);
  --t-h1: clamp(2rem, 5vw, 3.25rem);
  --t-h2: clamp(1.625rem, 3.6vw, 2.5rem);
  --t-h3: 1.25rem;
  --t-h4: 1.0625rem;
  --t-body-lg: 1.125rem;
  --t-body: 1rem;
  --t-caption: 0.875rem;
  --t-overline: 0.8125rem;
  --shadow-card: 0 1px 2px rgb(20 19 43 / 0.05), 0 8px 24px -12px rgb(20 19 43 / 0.12);
  --shadow-lift: 0 2px 4px rgb(20 19 43 / 0.06), 0 24px 48px -20px rgb(29 23 87 / 0.35);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--t-body); line-height: 1.6; color: var(--text-primary); background: var(--bg-surface); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-primary-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-primary-hover); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.3; }
h4 { font-size: var(--t-h4); letter-spacing: -0.01em; line-height: 1.35; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; padding: var(--s-3) var(--s-4); background: var(--white); color: var(--text-primary); border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: var(--s-4); }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s-4); }
@media (min-width: 640px) { .wrap { padding: 0 var(--s-6); } }
@media (min-width: 1200px) { .wrap { padding: 0 var(--s-8); } }
.section { padding: var(--s-16) 0; }
@media (min-width: 900px) { .section { padding: var(--s-24) 0; } }
.section--subtle { background: var(--bg-subtle); }
.section--tint { background: var(--bg-tint); }
.stack-2 > * + * { margin-top: var(--s-2); }
.stack-3 > * + * { margin-top: var(--s-3); }
.stack-4 > * + * { margin-top: var(--s-4); }
.stack-6 > * + * { margin-top: var(--s-6); }
.grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-12); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-16); } .split--flip > :first-child { order: 2; } }

/* ---------------------------------------------------------------- type helpers */
.overline { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--t-overline); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-primary-text); }
.overline::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: var(--accent-warm); }
.lede { font-size: var(--t-body-lg); color: var(--text-secondary); max-width: 62ch; }
.muted { color: var(--text-muted); }
.caption { font-size: var(--t-caption); color: var(--text-muted); }
.hl { color: var(--accent-primary); }
.hl-warm { color: var(--accent-warm); }
.section-head { max-width: 760px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.section-head .lede { margin-top: var(--s-4); }
.section-head + * { margin-top: var(--s-12); }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.5rem; margin-top: var(--s-12); }
.prose h3 { margin-top: var(--s-8); }
.prose p, .prose ul { margin-top: var(--s-4); color: var(--text-secondary); }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--s-2); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-6); border-radius: var(--r-full); border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color 150ms, color 150ms, border-color 150ms, transform 150ms, box-shadow 150ms; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent-warm); color: var(--ink-900); box-shadow: 0 6px 18px -8px rgb(255 138 61 / 0.8); }
.btn--primary:hover { background: var(--orange-400); color: var(--ink-900); }
.btn--solid { background: var(--accent-primary); color: var(--white); }
.btn--solid:hover { background: var(--accent-primary-hover); color: var(--white); }
.btn--ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--text-primary); color: var(--text-primary); }
.btn--on-dark { background: rgb(255 255 255 / 0.08); color: var(--white); border-color: rgb(255 255 255 / 0.35); }
.btn--on-dark:hover { background: rgb(255 255 255 / 0.16); color: var(--white); border-color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 var(--s-4); font-size: 0.9375rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 479px) { .actions .btn { width: 100%; } }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--border-default); }
.site-header > .wrap { display: flex; align-items: center; gap: var(--s-4); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.02em; min-height: 44px; }
.brand:hover { color: var(--text-primary); }
.brand svg { width: 36px; height: 36px; }
.brand .i { color: var(--accent-warm); }
.nav { display: none; margin-left: auto; align-items: center; gap: var(--s-1); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-sm); color: var(--text-secondary); font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.nav a:hover { color: var(--text-primary); background: var(--bg-subtle); }
.nav a[aria-current="page"] { color: var(--accent-primary-text); }
.header-cta { display: none; margin-left: var(--s-2); }
.menu-btn { margin-left: auto; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border-default); border-radius: var(--r-md); background: var(--white); color: var(--text-primary); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1000px) { .nav { display: flex; } .header-cta { display: inline-flex; } .menu-btn { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--border-default); background: var(--white); }
.mobile-nav.is-open { display: block; }
.mobile-nav { max-height: calc(100dvh - 72px); overflow-y: auto; box-shadow: 0 16px 32px -16px rgb(20 19 43 / 0.25); }
.mobile-nav .wrap { display: flex; flex-direction: column; align-items: stretch; padding-top: var(--s-2); padding-bottom: var(--s-6); }
.mobile-nav a:not(.btn) { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--ink-100); color: var(--text-primary); font-weight: 700; text-decoration: none; }
.mobile-nav .btn { margin-top: var(--s-6); }
@media (min-width: 1000px) { .mobile-nav, .mobile-nav.is-open { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; color: var(--text-inverse); background: radial-gradient(1200px 600px at 85% -10%, #5546e0 0%, transparent 60%), linear-gradient(160deg, #2a1f8f 0%, var(--indigo-950) 70%); }
.hero::after { content: ""; position: absolute; right: -240px; top: -200px; width: 760px; height: 760px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.08); box-shadow: 0 0 0 90px rgb(255 255 255 / 0.025), 0 0 0 180px rgb(255 255 255 / 0.02); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: var(--s-12); padding-top: var(--s-12); padding-bottom: var(--s-16); }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; padding-top: var(--s-16); padding-bottom: var(--s-24); } }
.hero h1 { font-size: var(--t-display); letter-spacing: -0.035em; }
.hero .lede { color: var(--text-inverse-muted); margin-top: var(--s-6); }
.hero .actions { margin-top: var(--s-8); }
.hero-note { margin-top: var(--s-4); font-size: var(--t-caption); color: var(--text-inverse-muted); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-8); }
.chip { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 36px; padding: 0 var(--s-4); border-radius: var(--r-full); background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.18); font-size: var(--t-caption); font-weight: 600; color: var(--white); }
.page-hero { background: linear-gradient(160deg, #2a1f8f 0%, var(--indigo-950) 80%); color: var(--text-inverse); }
.page-hero .wrap { padding-top: var(--s-16); padding-bottom: var(--s-16); }
.page-hero .lede { color: var(--text-inverse-muted); margin-top: var(--s-4); }
.page-hero .overline { color: var(--orange-400); }
.page-hero .actions { margin-top: var(--s-8); }
.crumbs { padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); font-size: var(--t-caption); color: var(--text-inverse-muted); list-style: none; }
.crumbs a { color: var(--white); }
.crumbs li + li::before { content: "›"; margin-right: var(--s-2); opacity: 0.7; }

/* ---------------------------------------------------------------- product illustrations (pure HTML, no images) */
.device-stage { position: relative; width: 100%; max-width: 480px; margin: 0 auto; min-height: 520px; display: grid; place-items: center; }
.phone { position: relative; width: 280px; border-radius: 40px; padding: 12px; background: #0d0b26; box-shadow: var(--shadow-lift), inset 0 0 0 2px #2c2860; transform: rotate(-3deg); }
.phone-screen { border-radius: 30px; background: var(--white); color: var(--text-primary); padding: 44px 18px 22px; position: relative; overflow: hidden; }
.phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 96px; height: 22px; margin-left: -48px; border-radius: 12px; background: #0d0b26; }
.ui-label { font-size: 12px; color: var(--text-muted); }
.ui-title { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.ui-bill { margin-top: 14px; border-radius: 18px; padding: 16px; background: linear-gradient(140deg, var(--indigo-500), var(--indigo-700)); color: var(--white); }
.ui-bill .ui-label { color: #d9d5ff; }
.ui-amount { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; margin-top: 2px; }
.ui-bar { height: 6px; margin-top: 12px; border-radius: 6px; background: rgb(255 255 255 / 0.25); overflow: hidden; }
.ui-bar span { display: block; height: 100%; width: 62%; border-radius: 6px; background: var(--orange-400); }
.ui-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.ui-method { display: grid; justify-items: center; gap: 6px; padding: 10px 2px; border-radius: 12px; border: 1px solid var(--border-default); font-size: 10.5px; font-weight: 700; white-space: nowrap; letter-spacing: -0.01em; }
.ui-method.is-on { border-color: var(--indigo-500); background: var(--indigo-50); }
.dot { width: 16px; height: 16px; border-radius: 50%; }
.dot--mtn { background: #ffcc00; } .dot--telecel { background: #e30613; } .dot--card { background: #1a3e9c; }
.ui-pay { margin-top: 14px; border-radius: 14px; background: var(--accent-warm); color: var(--ink-900); text-align: center; font-weight: 800; font-size: 14px; padding: 13px; }
.ui-note { margin-top: 10px; text-align: center; font-size: 11px; color: var(--text-muted); }
.float { position: absolute; z-index: 2; border-radius: 16px; background: var(--white); color: var(--text-primary); padding: 12px 16px; box-shadow: var(--shadow-lift); font-size: 13px; line-height: 1.35; max-width: 220px; }
.float b { display: block; font-size: 14px; }
.float--a { left: 0; bottom: 8px; }
.float--b { right: 0; top: 40px; }
@media (max-width: 479px) { .float--a { left: -4px; bottom: 0; } .float--b { right: -4px; top: 0; } .device-stage { min-height: 560px; } }
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: var(--r-full); background: var(--status-success-bg); color: var(--status-success); font-size: 11px; font-weight: 800; margin-bottom: 4px; }
.panel { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border-default); box-shadow: var(--shadow-card); overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border-default); background: var(--bg-subtle); font-size: 12px; font-weight: 600; color: var(--text-muted); }
.panel-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-300); }
.panel-bar span { margin-left: 8px; }
.panel-body { padding: 18px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini-table th { text-align: left; font-weight: 700; color: var(--text-muted); background: var(--bg-tint); padding: 8px 10px; }
.mini-table td { padding: 9px 10px; border-bottom: 1px solid var(--ink-100); }
.mini-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.mini-table tr.total td { font-weight: 800; border-bottom: 0; }
.pill { display: inline-flex; padding: 2px 9px; border-radius: var(--r-full); font-size: 11px; font-weight: 800; background: var(--indigo-100); color: var(--indigo-700); }
.pill--green { background: var(--status-success-bg); color: var(--status-success); }
.pill--orange { background: var(--orange-100); color: var(--accent-warm-text); }
.minus { color: var(--status-destructive); }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { border-radius: 14px; padding: 14px; background: var(--indigo-500); color: var(--white); }
.stat .ui-label { color: #d9d5ff; }
.stat--warm { background: var(--orange-100); color: var(--ink-900); }
.stat--warm .ui-label { color: var(--accent-warm-text); }
.stat strong { display: block; font-size: 22px; letter-spacing: -0.02em; margin-top: 2px; }
.sms { border-radius: 16px 16px 16px 4px; background: var(--bg-subtle); border: 1px solid var(--border-default); padding: 12px 14px; font-size: 13px; color: var(--text-secondary); }
.sms + .sms { margin-top: 10px; }
.sms-from { font-size: 11px; font-weight: 800; color: var(--text-muted); letter-spacing: 0.06em; margin-bottom: 8px; }

/* ---------------------------------------------------------------- cards and lists */
.card { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border-default); padding: var(--s-6); box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .card { padding: var(--s-8); } }
.card h3 + p { margin-top: var(--s-2); color: var(--text-secondary); }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color 150ms, transform 150ms, box-shadow 150ms; }
a.card:hover { border-color: var(--indigo-200); transform: translateY(-2px); box-shadow: var(--shadow-lift); color: inherit; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-4); font-weight: 700; color: var(--accent-primary-text); }
.card-link svg { width: 18px; height: 18px; flex: none; transition: transform 150ms; }
a.card:hover .card-link svg { transform: translateX(3px); }
.icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-tint); color: var(--accent-primary); margin-bottom: var(--s-4); }
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile--warm { background: var(--orange-100); color: var(--accent-warm-text); }
.ticks { list-style: none; display: grid; gap: var(--s-3); }
.ticks li { position: relative; padding-left: 32px; color: var(--text-secondary); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks b { color: var(--text-primary); }
.crosses li::before { background: var(--ink-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c62828' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }
.compare { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.compare .card--with { border: 2px solid var(--accent-primary); }
.compare h3 { font-size: var(--t-overline); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--s-6); color: var(--text-muted); }
.compare .card--with h3 { color: var(--accent-primary-text); }

/* figures band */
.band { border-radius: var(--r-xl); background: linear-gradient(140deg, #2a1f8f, var(--indigo-950)); color: var(--white); padding: var(--s-8) var(--s-6); display: grid; gap: var(--s-8); }
@media (min-width: 640px) { .band { grid-template-columns: repeat(3, 1fr); padding: var(--s-12); } }
.band strong { display: block; font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.band strong small { font-size: 1.25rem; letter-spacing: 0; }
.band div:first-child strong { color: var(--orange-400); }
.band p { margin-top: var(--s-3); color: var(--text-inverse-muted); }

/* steps */
.steps { counter-reset: step; display: grid; gap: var(--s-6); list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: var(--s-12); }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-warm); color: var(--ink-900); font-weight: 800; }
.steps h3 { font-size: 1.125rem; }
.steps p { margin-top: var(--s-2); color: var(--text-secondary); }

/* school types */
.types { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .types { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .types { grid-template-columns: repeat(4, 1fr); } }
.type { border-radius: var(--r-lg); padding: var(--s-6); background: var(--white); border: 1px solid var(--border-default); }
.type h3 { font-size: 1.0625rem; }
.type p { margin-top: var(--s-2); font-size: 0.9375rem; color: var(--text-secondary); }

/* module directory */
.modules { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .modules { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); } }
@media (min-width: 1000px) { .modules { grid-template-columns: repeat(3, 1fr); } }
.module-group { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border-default); border-top: 4px solid var(--accent-primary); padding: var(--s-6); }
.module-group:nth-child(3n+2) { border-top-color: var(--accent-warm); }
.module-group:nth-child(3n) { border-top-color: var(--status-success); }
.module-group h3 { margin-bottom: var(--s-4); }
.module-group .ticks { gap: var(--s-2); font-size: 0.9375rem; }
.module-group .ticks li::before { top: 4px; width: 18px; height: 18px; background-size: 11px; }

/* feature detail rows */
.feature-row + .feature-row { margin-top: var(--s-24); }
.feature-row .lede { margin-top: var(--s-4); }
.feature-row .ticks { margin-top: var(--s-6); }
.feature-row .actions { margin-top: var(--s-8); }

/* ---------------------------------------------------------------- pricing */
.toggle { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--r-full); background: var(--white); border: 1px solid var(--border-default); }
.toggle button { white-space: nowrap; min-height: 44px; padding: 0 var(--s-4); border: 0; border-radius: var(--r-full); background: transparent; font: inherit; font-weight: 700; color: var(--text-secondary); cursor: pointer; display: inline-flex; align-items: center; gap: var(--s-2); }
@media (min-width: 640px) { .toggle button { padding: 0 var(--s-6); } }
.toggle button[aria-pressed="true"] { background: var(--accent-primary); color: var(--white); }
.save { display: inline-flex; padding: 2px 8px; border-radius: var(--r-full); background: var(--status-success-bg); color: var(--status-success); font-size: 12px; font-weight: 800; }
.toggle button[aria-pressed="true"] .save { background: rgb(255 255 255 / 0.2); color: var(--white); }
.plans { display: grid; gap: var(--s-6); margin-top: var(--s-8); align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--border-default); padding: var(--s-8) var(--s-6); box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .plan { padding: var(--s-8); } }
.plan--featured { border: 2px solid var(--accent-primary); box-shadow: var(--shadow-lift); }
.plan-flag { position: absolute; top: -14px; left: var(--s-8); padding: 4px 12px; border-radius: var(--r-full); background: var(--accent-primary); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }
.plan-name { font-size: 1.375rem; letter-spacing: -0.02em; }
.plan-for { margin-top: var(--s-1); color: var(--text-muted); font-size: 0.9375rem; min-height: 3em; }
.price { margin-top: var(--s-6); display: flex; flex-direction: column; gap: var(--s-1); }
.price strong { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--text-muted); font-weight: 600; font-size: 0.9375rem; }
.price-note { margin-top: var(--s-2); font-size: var(--t-caption); color: var(--text-muted); min-height: 3.2em; }
.price-year { font-size: var(--t-caption); font-weight: 700; color: var(--status-success); }
.price-year:empty { display: none; }
.plan .btn { margin-top: var(--s-6); }
.plan .ticks { margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--border-default); font-size: 0.9375rem; flex: 1; align-content: start; }
.plan .ticks .lead { padding-left: 0; font-weight: 800; color: var(--text-primary); }
.plan .ticks .lead::before { display: none; }
.calc { margin-top: var(--s-12); display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1.2fr; } }
.calc label { font-weight: 700; display: block; }
.calc input { margin-top: var(--s-2); width: 100%; max-width: 280px; min-height: 52px; padding: 0 var(--s-4); border: 2px solid var(--border-strong); border-radius: var(--r-md); font: inherit; font-size: 1.25rem; font-weight: 700; color: var(--text-primary); background: var(--white); }
.calc input:focus { border-color: var(--accent-primary); outline: none; box-shadow: 0 0 0 4px var(--indigo-100); }
.calc-out { display: grid; gap: var(--s-3); }
.calc-line { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-4); border-radius: var(--r-md); background: var(--white); border: 1px solid var(--border-default); }
.calc-line b { font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border-default); background: var(--white); -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9375rem; }
.matrix caption { text-align: left; padding: var(--s-4) var(--s-6); font-weight: 800; }
.matrix th, .matrix td { padding: 12px var(--s-4); border-top: 1px solid var(--ink-100); text-align: center; }
.matrix th[scope="row"], .matrix td:first-child { text-align: left; font-weight: 600; }
.matrix thead th { background: var(--bg-subtle); font-weight: 800; position: sticky; top: 0; }
.matrix tbody tr.group th { background: var(--bg-tint); text-align: left; font-size: var(--t-overline); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-primary-text); }
.yes { color: var(--accent-primary); font-weight: 800; }
.no { color: var(--ink-300); }

/* FAQ */
.faq { display: grid; gap: var(--s-3); max-width: 820px; margin: 0 auto; }
.section-head + .faq { margin-top: var(--s-12); }
.faq details { border-radius: var(--r-md); background: var(--white); border: 1px solid var(--border-default); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; padding: var(--s-4) var(--s-6); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-tint); color: var(--accent-primary); font-size: 20px; font-weight: 700; transition: transform 150ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 var(--s-6) var(--s-6); color: var(--text-secondary); }
.faq details > div p + p { margin-top: var(--s-3); }

/* ---------------------------------------------------------------- call to action and footer */
.cta { border-radius: var(--r-xl); padding: var(--s-12) var(--s-6); text-align: center; color: var(--white); background: radial-gradient(700px 300px at 50% 0%, #5546e0, transparent 70%), linear-gradient(160deg, #2a1f8f, var(--indigo-950)); }
@media (min-width: 640px) { .cta { padding: var(--s-16) var(--s-12); } }
.cta h2 { max-width: 720px; margin: 0 auto; }
.cta p { margin: var(--s-4) auto 0; max-width: 56ch; color: var(--text-inverse-muted); font-size: var(--t-body-lg); }
.cta .actions { justify-content: center; margin-top: var(--s-8); }
.site-footer { background: var(--bg-inverse); color: var(--text-inverse-muted); padding: var(--s-16) 0 var(--s-8); margin-top: var(--s-16); }
.site-footer .brand { color: var(--white); }
.footer-grid { display: grid; gap: var(--s-8); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: var(--t-overline); letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; display: grid; gap: var(--s-1); }
.site-footer a { color: var(--text-inverse-muted); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-blurb { margin-top: var(--s-4); max-width: 36ch; font-size: 0.9375rem; }
.footer-base { margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); font-size: var(--t-caption); }
.wa-float { position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 40; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1f9e55; color: var(--white); box-shadow: 0 10px 24px -8px rgb(0 0 0 / 0.45); }
.wa-float:hover { background: #18864a; color: var(--white); }
.wa-float svg { width: 28px; height: 28px; }

/* contact */
.contact-grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.big-link { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* demo request form (contact page): builds a WhatsApp message, nothing is posted */
.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-field--wide { grid-column: 1 / -1; } }
.form-field label { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: var(--s-2); }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: 10px var(--s-3); border: 1.5px solid var(--border-strong); border-radius: var(--r-md); font: inherit; color: var(--text-primary); background: var(--white); }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 4px var(--indigo-100); }
.form-field [aria-invalid="true"] { border-color: var(--status-destructive); }
.form-error { margin-top: var(--s-4); color: var(--status-destructive); font-weight: 600; font-size: 0.9375rem; }
