/* ═══════════════════════════════════════════════════════════════
   css/ma-ui.css — Sistèm design Maket Ayisyen (paj piblik yo)
   Menm koulè/font ak listings.html. Header + footer: js/ma-shell.js
   ═══════════════════════════════════════════════════════════════ */
@layer reset, tokens, base, shell, components, utilities;

@layer tokens {
  :root {
    /* Tier 1 — koulè mak la (menm ak listings.html) */
    --red: #CC0000;
    --red-dark: #A30000;
    --red-deep: #7A0000;
    --red-light: #FFE6E6;
    --red-tint: #FFF5F5;
    --black: #000000;
    --ink: #0A0A0A;
    --black-soft: #1A1A1A;
    --black-2: #2D2D2D;
    --white: #FFFFFF;
    --green: #0A7A36;
    --green-light: #E9F8EF;
    --amber: #9A5B00;
    --amber-light: #FFF4E0;

    /* Tier 2 — semantik */
    --bg: #F4F4F4;
    --surface: #FFFFFF;
    --surface-2: #FAFAFA;
    --line: #E0E0E0;
    --line-soft: #EEEEEE;
    --text: #0F0F0F;
    --muted: #5E5E5E;
    --faint: #8A8A8A;
    --accent: var(--red);
    --focus: var(--red);

    --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;

    /* Espas, reyon, lonbraj */
    --pad: 18px;
    --wrap: 1180px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 1px 1px rgba(0,0,0,.03);
    --shadow-md: 0 1px 2px rgba(0,0,0,.04), 0 6px 16px rgba(0,0,0,.07);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.04), 0 18px 40px rgba(0,0,0,.10);
    --shadow-red: 0 10px 28px rgba(204,0,0,.28);

    --ease: cubic-bezier(.2,.7,.2,1);
    --t: .2s var(--ease);

    --header-h: 68px;
    --subnav-h: 44px;
  }
  @media (max-width: 768px) {
    :root { --pad: 14px; --header-h: 64px; --subnav-h: 40px; }
  }
}

@layer reset {
  :where(html) { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  :where(body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
  :where(ul, ol)[role="list"], :where(.list-plain) { list-style: none; padding: 0; }
  :where(img, svg, video) { display: block; max-inline-size: 100%; }
  :where(input, button, textarea, select) { font: inherit; color: inherit; }
  :where(*, *::before, *::after) { box-sizing: border-box; }
  /* `hidden` dwe toujou genyen, menm sou .btn / .alert ki mete display */
  [hidden] { display: none !important; }
}

@layer base {
  html { color-scheme: light; scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 12px); }
  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-block-size: 100dvh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    accent-color: var(--red);
  }
  main { flex: 1; }
  h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; color: var(--ink); }
  p { text-wrap: pretty; }
  a { color: var(--red); text-underline-offset: 3px; }
  ::selection { background: var(--red); color: #fff; }
  :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
  .visually-hidden {
    position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
}

/* ═══════════════════════ SHELL (header / footer) ═══════════════════════ */
@layer shell {
  .ma-skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 800; transition: inset-block-start var(--t); }
  .ma-skip:focus { inset-block-start: 12px; }

  .ma-top { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 2px solid var(--black); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
  .ma-top-in { max-width: 1500px; margin: 0 auto; min-height: var(--header-h); padding: 8px var(--pad); display: flex; align-items: center; gap: 14px; }
  .ma-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 8px; border: 1.5px solid transparent; flex-shrink: 0; text-decoration: none; transition: border-color var(--t); }
  .ma-brand:hover { border-color: var(--red); }
  .ma-brand img { block-size: 54px; inline-size: auto; }
  .ma-brand-txt { font-size: 1.25rem; font-weight: 900; letter-spacing: -.5px; color: var(--black); }
  .ma-brand-txt span { color: var(--red); }
  .ma-search { flex: 1; max-width: 720px; display: flex; min-block-size: 46px; border: 2px solid var(--black); border-radius: 10px; overflow: hidden; background: #fff; transition: border-color var(--t), box-shadow var(--t); }
  .ma-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(204,0,0,.15); }
  .ma-search input { flex: 1; min-inline-size: 0; border: 0; outline: 0; padding: 0 14px; font-size: 1rem; background: transparent; }
  .ma-search button { inline-size: 60px; border: 0; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background var(--t); }
  .ma-search button:hover { background: var(--red-dark); }
  .ma-search svg { inline-size: 22px; block-size: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
  .ma-acct { display: flex; flex-direction: column; padding: 6px 10px; border-radius: 8px; border: 1.5px solid transparent; line-height: 1.2; text-decoration: none; color: var(--black); transition: border-color var(--t); }
  .ma-acct:hover { border-color: var(--red); }
  .ma-acct small { font-size: .7rem; color: var(--muted); font-weight: 500; }
  .ma-acct strong { font-size: .8125rem; font-weight: 800; }
  .ma-burger { display: grid; place-items: center; inline-size: 44px; block-size: 44px; flex-shrink: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; transition: background var(--t); }
  .ma-burger:hover { background: var(--bg); }
  .ma-burger svg { inline-size: 26px; block-size: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

  .ma-drawer { margin: 0; padding: 0; border: 0; inset-block: 0; inset-inline-start: 0; inset-inline-end: auto; inline-size: min(340px, 88vw); max-inline-size: none; block-size: 100dvh; max-block-size: none; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
  .ma-drawer[open] { display: flex; flex-direction: column; animation: ma-dr-in .22s var(--ease); }
  .ma-drawer::backdrop { background: rgba(0,0,0,.5); }
  @keyframes ma-dr-in { from { transform: translateX(-100%); } }
  .ma-dr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; background: linear-gradient(135deg, #E01010, var(--red-deep)); color: #fff; }
  .ma-dr-head small { display: block; font-size: .8125rem; opacity: .9; }
  .ma-dr-head strong { font-size: 1.125rem; font-weight: 900; }
  .ma-dr-x { inline-size: 40px; block-size: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 1.1rem; cursor: pointer; }
  .ma-dr-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 0 24px; }
  .ma-dr-sec { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .ma-dr-sec h2 { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 800; padding: 6px 18px; margin: 0; }
  .ma-dr-sec a { display: block; padding: 11px 18px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }
  .ma-dr-sec a:hover, .ma-dr-sec a[aria-current="page"] { background: var(--red-tint); color: var(--red-dark); }
  .ma-dr-sec a.ma-dr-vv { margin: 4px 18px 6px; border-radius: 12px; background: var(--red); color: #fff; text-align: center; font-weight: 800; }
  .ma-dr-sec a.ma-dr-vv:hover { background: var(--red-dark); color: #fff; }
  @media (prefers-reduced-motion: reduce) { .ma-drawer[open] { animation: none; } }

  .ma-vv { display: inline-flex; align-items: center; gap: 6px; min-block-size: 42px; padding: 0 16px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: .875rem; text-decoration: none; white-space: nowrap; flex-shrink: 0; box-shadow: var(--shadow-red); transition: background var(--t), transform var(--t); }
  .ma-vv:hover { background: var(--red-dark); transform: translateY(-1px); }
  .ma-vv:focus-visible { outline-offset: 3px; }
  .ma-cart { position: relative; display: grid; place-items: center; min-inline-size: 44px; min-block-size: 44px; font-size: 1.5rem; text-decoration: none; }
  .ma-cart-n { position: absolute; inset-block-start: 0; inset-inline-end: -4px; min-inline-size: 18px; block-size: 18px; padding: 0 4px; background: var(--red); color: #fff; border-radius: 9px; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }

  .ma-sub { background: var(--black); position: sticky; top: var(--header-h); z-index: 99; box-shadow: 0 2px 4px rgba(0,0,0,.15); }
  .ma-sub-in { max-width: 1500px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 2px; block-size: var(--subnav-h); overflow-x: auto; scrollbar-width: none; }
  .ma-sub a { padding: 7px 14px; font-size: .875rem; font-weight: 600; color: #fff; border-radius: 6px; text-decoration: none; white-space: nowrap; transition: background var(--t); }
  .ma-sub a:hover, .ma-sub a[aria-current="page"] { background: var(--red); }

  .ma-tabbar { display: none; }

  .ma-foot { background: var(--red); color: #fff; margin-block-start: 56px; }
  .ma-foot-top { display: block; inline-size: 100%; background: var(--black-2); color: #fff; border: 0; padding: 16px; font-size: .8125rem; font-weight: 600; cursor: pointer; transition: background var(--t); }
  .ma-foot-top:hover { background: var(--black); }
  .ma-foot-in { max-width: 1500px; margin: 0 auto; padding: 46px var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .ma-foot h2 { font-size: 1rem; font-weight: 800; color: #fff; margin-block-end: 16px; letter-spacing: 0; }
  .ma-foot-col a { display: block; color: #fff; font-size: .8125rem; margin-block-end: 10px; text-decoration: none; }
  .ma-foot-col a:hover { text-decoration: underline; }
  .ma-foot-brand { background: var(--white); padding: 24px var(--pad); border-top: 2px solid var(--red); display: flex; justify-content: center; }
  .ma-foot-brand img { block-size: 72px; inline-size: auto; }
  .ma-foot-bottom { background: #000; color: #999; padding: 22px var(--pad); text-align: center; font-size: .75rem; }
  .ma-foot-bottom nav { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-block-end: 8px; }
  .ma-foot-bottom a { color: #ddd; text-decoration: none; }
  .ma-foot-bottom a:hover { color: #fff; text-decoration: underline; }

  @media (max-width: 900px) {
    .ma-foot-in { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 32px var(--pad); }
  }
  @media (max-width: 768px) {
    .ma-top-in { flex-wrap: wrap; gap: 8px; padding: 6px var(--pad); }
    .ma-brand { order: 0; }
    .ma-brand img { block-size: 44px; }
    .ma-acct.hide-m { display: none; }
    .ma-acct small { display: none; }
    .ma-search { order: 99; flex-basis: 100%; min-block-size: 44px; }
    .ma-vv { min-block-size: 38px; padding: 0 12px; font-size: .8125rem; }
    .ma-acct { display: none; } /* nan meni ☰ a ak ba anba a */
    .ma-burger { inline-size: 40px; block-size: 40px; }
    .ma-search button { inline-size: 46px; }
    .ma-top-in > .ma-spacer { flex: 1; }
    .ma-sub { position: static; }
    .ma-tabbar {
      display: flex; position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 1000;
      background: #fff; border-top: 1px solid #ececec; box-shadow: 0 -4px 18px rgba(0,0,0,.07);
      padding: 7px 0 calc(7px + env(safe-area-inset-bottom)); justify-content: space-around;
    }
    .ma-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; min-block-size: 44px; justify-content: center; }
    .ma-tabbar .i { font-size: 1.375rem; line-height: 1; position: relative; }
    .ma-tabbar .l { font-size: .625rem; font-weight: 700; color: #666; }
    .ma-tabbar a[aria-current="page"] .l { color: var(--red); }
    body { padding-block-end: 70px; }
  }
  @media (max-width: 480px) { .ma-foot-in { grid-template-columns: 1fr; } }
}

/* ═══════════════════════ COMPONENTS ═══════════════════════ */
@layer components {
  .wrap { inline-size: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
  .wrap-narrow { inline-size: min(100% - 2 * var(--pad), 760px); margin-inline: auto; }

  /* ── Hero ── */
  .hero {
    position: relative; isolation: isolate; overflow: hidden; color: #fff;
    background:
      radial-gradient(60% 90% at 88% 10%, rgba(204,0,0,.55), transparent 60%),
      radial-gradient(50% 70% at 0% 100%, rgba(204,0,0,.28), transparent 60%),
      var(--ink);
    padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
  }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background: radial-gradient(circle, rgba(255,255,255,.09) 1px, transparent 1.5px) 0 0 / 22px 22px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
  }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
  .hero-grid.single { grid-template-columns: minmax(0, 1fr); max-inline-size: 760px; }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 6px 12px; border-radius: 999px; }
  .eyebrow.dark { color: var(--red); background: var(--red-tint); border-color: var(--red-light); }
  .hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); font-weight: 900; margin: 16px 0 14px; }
  .hero h1 em { font-style: normal; color: #ff5a5a; }
  .hero .lead { font-size: clamp(1rem, .95rem + .35vw, 1.2rem); color: rgba(255,255,255,.82); max-inline-size: 60ch; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 26px; }
  .hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-block-start: 34px; }
  .hero-stats b { display: block; font-size: 1.6rem; font-weight: 900; color: #fff; line-height: 1.1; }
  .hero-stats span { font-size: .8125rem; color: rgba(255,255,255,.7); }
  .hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 22px; backdrop-filter: blur(6px); }
  @media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

  /* ── Seksyon ── */
  .section { padding-block: clamp(40px, 5vw, 72px); }
  .section-head { max-inline-size: 64ch; margin-block-end: 28px; }
  .section-head.center { margin-inline: auto; text-align: center; }
  .section-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 900; margin-block: 10px 8px; }
  .section-head p { color: var(--muted); font-size: 1.0625rem; }
  .overlap { margin-block-start: -44px; position: relative; z-index: 2; }

  /* ── Kat ── */
  .card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: clamp(18px, 2.4vw, 28px); }
  .card-title { font-size: 1.125rem; font-weight: 800; margin-block-end: 6px; }
  .card-sub { color: var(--muted); font-size: .9375rem; }
  .grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
  .grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

  .feature { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
  .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--red-light); }
  .feature .ico { inline-size: 48px; block-size: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--red-tint); border: 1px solid var(--red-light); margin-block-end: 14px; }
  .feature h3 { font-size: 1.0625rem; font-weight: 800; margin-block-end: 6px; }
  .feature p { color: var(--muted); font-size: .9375rem; }

  /* ── Bouton ── */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-block-size: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent;
    font-weight: 800; font-size: .9375rem; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  }
  .btn:active:not(:disabled) { transform: translateY(1px); }
  .btn-primary { background: linear-gradient(180deg, #E01010, var(--red)); color: #fff; box-shadow: var(--shadow-red); }
  .btn-primary:hover:not(:disabled) { background: var(--red-dark); }
  .btn-dark { background: var(--ink); color: #fff; }
  .btn-dark:hover:not(:disabled) { background: var(--black-2); }
  .btn-light { background: #fff; color: var(--red); }
  .btn-light:hover:not(:disabled) { background: var(--red-tint); }
  .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
  .btn-ghost:hover:not(:disabled) { background: rgba(255,255,255,.1); }
  .btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
  .btn-outline:hover:not(:disabled) { border-color: var(--ink); }
  .btn-wa { background: #25D366; color: #fff; }
  .btn-wa:hover:not(:disabled) { background: #1ebe5a; }
  .btn-fb { background: #1877F2; color: #fff; }
  .btn-block { inline-size: 100%; }
  .btn-sm { min-block-size: 38px; padding: 0 14px; font-size: .8125rem; border-radius: 10px; }
  .btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

  /* ── Fòm ── */
  .field { display: grid; gap: 6px; margin-block-end: 16px; }
  .field label, .label { font-size: .8125rem; font-weight: 700; color: var(--black-soft); }
  .field .opt { font-weight: 500; color: var(--faint); }
  .input {
    inline-size: 100%; min-block-size: 48px; padding: 11px 14px; font-size: 1rem;
    background: #fff; border: 1.5px solid #D4D4D4; border-radius: 12px;
    transition: border-color var(--t), box-shadow var(--t);
  }
  textarea.input { min-block-size: 88px; resize: vertical; }
  .input::placeholder { color: #A3A3A3; }
  .input:hover { border-color: #B5B5B5; }
  .input:focus-visible { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(204,0,0,.14); }
  .input:user-invalid { border-color: var(--red); }
  .hint { font-size: .8125rem; color: var(--faint); }
  .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  @media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
  fieldset.plain { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
  legend.step { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 800; color: var(--ink); margin-block-end: 14px; padding: 0; }
  legend.step .n { inline-size: 28px; block-size: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8125rem; }
  .divider { block-size: 1px; background: var(--line-soft); margin-block: 22px; border: 0; }

  /* Chwa (radio stile kòm kat) */
  .choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
  .choice { position: relative; }
  .choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
  .choice span { display: grid; place-items: center; min-block-size: 58px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-weight: 900; font-size: 1.125rem; transition: border-color var(--t), background var(--t), color var(--t), transform var(--t); }
  .choice:hover span { border-color: #bdbdbd; }
  .choice input:checked + span { border-color: var(--red); background: var(--red-tint); color: var(--red); transform: translateY(-1px); }
  .choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

  .seg { display: inline-flex; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; gap: 4px; inline-size: 100%; }
  .seg button { flex: 1; min-block-size: 42px; border: 0; background: transparent; border-radius: 9px; font-weight: 800; cursor: pointer; color: var(--muted); }
  .seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

  /* ── Mesaj ── */
  .alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: .9375rem; font-weight: 600; }
  .alert[hidden] { display: none; }
  .alert-error { background: #FFF1F1; color: #A30000; border: 1px solid #F5C2C2; }
  .alert-ok { background: var(--green-light); color: var(--green); border: 1px solid #BFE8CF; }
  .alert-info { background: var(--surface-2); color: var(--black-soft); border: 1px solid var(--line); }

  /* ── Badj ── */
  .badge { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
  .badge-ok { background: var(--green-light); color: var(--green); }
  .badge-red { background: var(--red-tint); color: var(--red); }
  .badge-muted { background: var(--bg); color: var(--muted); }
  .badge-amber { background: var(--amber-light); color: var(--amber); }

  /* ── Etap (timeline) ── */
  .steps { counter-reset: s; display: grid; gap: 14px; padding: 0; list-style: none; }
  .steps > li { counter-increment: s; position: relative; padding: 18px 18px 18px 72px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
  .steps > li::before { content: counter(s); position: absolute; inset-inline-start: 18px; inset-block-start: 18px; inline-size: 38px; block-size: 38px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 900; display: grid; place-items: center; box-shadow: var(--shadow-red); }
  .steps h3 { font-size: 1rem; font-weight: 800; margin-block-end: 4px; }
  .steps p { color: var(--muted); font-size: .9375rem; }

  /* ── FAQ ── */
  .faq { display: grid; gap: 10px; }
  .faq details { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
  .faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 800; position: relative; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+" / ""; position: absolute; inset-inline-end: 18px; inset-block-start: 50%; translate: 0 -50%; inline-size: 26px; block-size: 26px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-weight: 900; transition: rotate var(--t); }
  .faq details[open] summary::after { rotate: 45deg; }
  .faq details > div { padding: 0 18px 18px; color: var(--muted); }

  /* ── Tablo ── */
  .table-wrap { overflow-x: auto; }
  .table { inline-size: 100%; border-collapse: collapse; font-size: .9375rem; }
  .table th { text-align: start; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 800; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .table td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
  .table tr:last-child td { border-bottom: 0; }
  .pos { color: var(--green); font-weight: 800; }
  .neg { color: var(--red); font-weight: 800; }

  /* ── Vid / Chajman ── */
  .empty { text-align: center; padding: 48px 20px; color: var(--muted); }
  .empty .big-ico { font-size: 2.75rem; margin-block-end: 10px; }
  .skeleton { background: linear-gradient(90deg, #eee 25%, #f6f6f6 37%, #eee 63%) 0 0 / 400% 100%; border-radius: var(--r-md); animation: shimmer 1.4s ease infinite; --animation-reduced: none; }
  @keyframes shimmer { to { background-position: -135% 0; } }

  /* ── CTA bann ── */
  .cta-band { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; box-shadow: var(--shadow-red); }
  .cta-band h2 { color: #fff; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); font-weight: 900; }
  .cta-band p { color: rgba(255,255,255,.88); }

  .stat { display: grid; gap: 2px; }
  .stat b { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 900; line-height: 1.1; color: var(--ink); }
  .stat span { font-size: .8125rem; color: var(--muted); }

  .progress { block-size: 10px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
  .progress i { display: block; block-size: 100%; background: linear-gradient(90deg, #ff4d4d, var(--red)); border-radius: 999px; transition: inline-size .6s var(--ease); }
}

@layer utilities {
  .muted { color: var(--muted); }
  .center { text-align: center; }
  .mt-0 { margin-block-start: 0; } .mt-1 { margin-block-start: 8px; } .mt-2 { margin-block-start: 16px; } .mt-3 { margin-block-start: 24px; } .mt-4 { margin-block-start: 36px; }
  .stack { display: grid; gap: 16px; }
  .flex { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .between { justify-content: space-between; }
}

@property --animation-reduced { syntax: "*"; inherits: false; initial-value: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: var(--animation-reduced) !important; }
  .feature:hover, .choice input:checked + span { transform: none; }
}
@media (forced-colors: active) {
  .btn, .choice span, .input, .card, .feature { border: 1px solid CanvasText; }
  .choice input:checked + span { border-color: Highlight; }
}
@media print { .ma-top, .ma-sub, .ma-tabbar, .ma-foot, .ma-x, .ma-wa { display: none !important; } }
