/*
 * Features page «مميزات المنيو» (features.php, spec §12).
 * Its own product look, independent of the restaurant theme: IBM Plex Sans Arabic, a warm accent.
 * Light and dark follow <html data-theme>, set by partials/theme_boot.php from the visitor's switch or the
 * device setting; without scripts, the device setting. Phone first; no horizontal scroll at 360 px.
 */

:root {
  color-scheme: light;
  --fx-bg: #fbf7f2;
  --fx-surface: #ffffff;
  --fx-surface-2: #f4ece2;
  --fx-text: #1f1a16;
  --fx-muted: #6a6058;
  --fx-line: #eadfd2;
  --fx-accent: #0f766e;
  --fx-accent-strong: #115e59;
  --fx-accent-soft: #d5f5ef;
  --fx-accent-ink: #ffffff;
  --fx-accent-glow: rgba(15, 118, 110, .28);
  --fx-gold: #e0a030;
  --fx-gold-glow: rgba(224, 160, 48, .16);
  --fx-ok: #1d7f47;
  --fx-ok-soft: #e2f4e9;
  --fx-bad: #b3261e;
  --fx-bad-soft: #fde7e5;
  --fx-off: #857b72;
  --fx-wa: #25d366;
  --fx-wa-ink: #06240f;
  --fx-note-bg: #fff4d6;
  --fx-note-ink: #6b4a00;
  --fx-shadow: 0 1px 2px rgba(60, 32, 12, .06), 0 10px 30px rgba(60, 32, 12, .07);
  --fx-shadow-lg: 0 30px 70px rgba(60, 32, 12, .18);
  --fx-radius: 20px;
  --fx-radius-sm: 12px;
  --fx-top-h: 60px;
  --fx-font: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
}

/* Dark: the same tokens twice, for the switch and for a device in dark mode when scripts are off. */
html[data-theme="dark"] {
  color-scheme: dark;
  --fx-bg: #0f0f0f;
  --fx-surface: #161616;
  --fx-surface-2: #1c1c1c;
  --fx-text: #eeeeee;
  --fx-muted: #a7a7a7;
  --fx-line: #282828;
  --fx-accent: #2dd4bf;
  --fx-accent-strong: #5eead4;
  --fx-accent-soft: rgba(45, 212, 191, .14);
  --fx-accent-ink: #04211d;
  --fx-accent-glow: rgba(45, 212, 191, .22);
  --fx-gold-glow: rgba(224, 160, 48, .10);
  --fx-ok: #58c98a;
  --fx-ok-soft: #173424;
  --fx-bad: #ff8a80;
  --fx-bad-soft: #3a1a17;
  --fx-off: #7c7c7c;
  --fx-note-bg: #3a2f12;
  --fx-note-ink: #f6dc93;
  --fx-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .3);
  --fx-shadow-lg: 0 30px 70px rgba(0, 0, 0, .5);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;
    --fx-bg: #0f0f0f;
    --fx-surface: #161616;
    --fx-surface-2: #1c1c1c;
    --fx-text: #eeeeee;
    --fx-muted: #a7a7a7;
    --fx-line: #282828;
    --fx-accent: #2dd4bf;
    --fx-accent-strong: #5eead4;
    --fx-accent-soft: rgba(45, 212, 191, .14);
    --fx-accent-ink: #04211d;
    --fx-accent-glow: rgba(45, 212, 191, .22);
    --fx-gold-glow: rgba(224, 160, 48, .10);
    --fx-ok: #58c98a;
    --fx-ok-soft: #173424;
    --fx-bad: #ff8a80;
    --fx-bad-soft: #3a1a17;
    --fx-off: #7c7c7c;
    --fx-note-bg: #3a2f12;
    --fx-note-ink: #f6dc93;
    --fx-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .3);
    --fx-shadow-lg: 0 30px 70px rgba(0, 0, 0, .5);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--fx-top-h) + 16px); }
body.fx {
  margin: 0; min-width: 0;
  background: var(--fx-bg); color: var(--fx-text);
  font-family: var(--fx-font); font-size: 1rem; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.fx img { display: block; max-width: 100%; height: auto; }
.fx h1, .fx h2, .fx h3, .fx p, .fx li, .fx dd, .fx dt, .fx summary { overflow-wrap: break-word; }
:where(.fx) a { color: inherit; } /* zero-specificity scope, so .fx-btn-* and .fx-try colours win on links */
.fx .ico { width: 1.2em; height: 1.2em; flex: none; }
.fx :focus-visible { outline: 3px solid var(--fx-gold); outline-offset: 3px; border-radius: 6px; }
.fx-wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.fx-sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.fx-skip {
  position: absolute; top: -80px; inset-inline-start: 12px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  background: var(--fx-text); color: var(--fx-bg); font-weight: 700; text-decoration: none;
}
.fx-skip:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx *, .fx *::before, .fx *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Top bar ---------- */
.fx-top { position: sticky; top: 0; z-index: 30; background: var(--fx-bg); border-bottom: 1px solid var(--fx-line); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and (background: color-mix(in srgb, red 50%, blue)) {
  .fx-top {
    background: color-mix(in srgb, var(--fx-bg) 84%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
  }
}
.fx-top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--fx-top-h); }
.fx-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 1rem; font-weight: 700; text-decoration: none; }
.fx-brand-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-brand-mark {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px;
  border-radius: 11px; background: var(--fx-accent); color: var(--fx-accent-ink);
}
.fx-brand-mark .ico { width: 19px; height: 19px; }
.fx-top-nav { display: flex; align-items: center; gap: 6px; flex: none; }
.fx-top-nav a {
  padding: 8px 12px; border-radius: 999px;
  color: var(--fx-muted); font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.fx-top-nav a:hover { background: var(--fx-surface-2); color: var(--fx-text); }
.fx-top-nav .fx-top-cta { display: none; border: 1.5px solid var(--fx-accent); color: var(--fx-accent); }
.fx-top-nav .fx-top-cta:hover { background: var(--fx-accent); color: var(--fx-accent-ink); }
@media (min-width: 640px) { .fx-top-nav .fx-top-cta { display: inline-flex; } }

/* Light/dark switch (assets/js/theme-toggle.js): a moon in light mode, a sun in dark mode. */
.fx-theme {
  display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--fx-line); border-radius: 50%; background: var(--fx-surface); color: var(--fx-text);
  cursor: pointer; transition: border-color .15s ease;
}
.fx-theme:hover { border-color: var(--fx-accent); }
.fx-theme .ico { width: 18px; height: 18px; }
.fx-theme .fx-ico-sun, html[data-theme="dark"] .fx-theme .fx-ico-moon { display: none; }
html[data-theme="dark"] .fx-theme .fx-ico-sun { display: block; }
html:not([data-theme]) .fx-theme { display: none; } /* scripts off: nothing to switch */

.fx-god-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0; padding: 10px 16px;
  background: var(--fx-note-bg); color: var(--fx-note-ink);
  font-size: .9rem; font-weight: 600; text-align: center;
}

/* ---------- Buttons ---------- */
.fx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.3;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.fx-btn:active { transform: translateY(1px); }
.fx-btn[disabled] { opacity: .65; cursor: progress; }
.fx-btn .ico { width: 18px; height: 18px; }
.fx-btn-primary { background: var(--fx-accent); color: var(--fx-accent-ink); box-shadow: 0 10px 24px var(--fx-accent-glow); }
.fx-btn-primary:hover { background: var(--fx-accent-strong); }
.fx-btn-ghost { background: var(--fx-surface); border-color: var(--fx-line); color: var(--fx-text); }
.fx-btn-ghost:hover { border-color: var(--fx-text); }
.fx-btn-outline { background: transparent; border-color: var(--fx-accent); color: var(--fx-accent); }
.fx-btn-outline:hover { background: var(--fx-accent); color: var(--fx-accent-ink); }
.fx-btn-wa { background: var(--fx-wa); color: var(--fx-wa-ink); }
.fx-btn-wa:hover { filter: brightness(.95); }
.fx-btn-light { background: #fff; color: #7a2f0c; }
.fx-btn-light:hover { background: #fff1e8; }

/* ---------- Hero ---------- */
.fx-hero { position: relative; isolation: isolate; overflow: hidden; padding: 40px 0 48px; }
.fx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 320px at 85% 0%, var(--fx-accent-soft), transparent 70%),
    radial-gradient(420px 280px at 0% 25%, var(--fx-gold-glow), transparent 70%);
}
.fx-hero-grid { display: grid; gap: 36px; align-items: center; }
.fx-hero-copy { min-width: 0; }
.fx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px;
  border-radius: 999px; background: var(--fx-accent-soft); color: var(--fx-accent-strong);
  font-size: .86rem; font-weight: 700;
}
.fx-eyebrow .ico { width: 16px; height: 16px; }
.fx-hero h1 { margin: 0 0 16px; font-size: clamp(1.85rem, 1.1rem + 3.4vw, 3.25rem); font-weight: 700; line-height: 1.35; text-wrap: balance; }
.fx-lead { margin: 0 0 26px; max-width: 36em; color: var(--fx-muted); font-size: clamp(1.02rem, .96rem + .35vw, 1.18rem); line-height: 1.9; }
.fx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fx-actions .fx-btn { flex: 1 1 100%; }
@media (min-width: 480px) { .fx-actions .fx-btn { flex: 0 0 auto; } }
.fx-error { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--fx-radius-sm); background: var(--fx-bad-soft); color: var(--fx-bad); font-weight: 600; }
.fx-note { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; color: var(--fx-muted); font-size: .9rem; line-height: 1.7; }
.fx-note .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--fx-ok); }
.fx-plates { display: flex; justify-content: center; align-items: flex-end; max-width: 460px; margin: 36px auto 0; padding-inline: 8px; }
.fx-plates img { width: 36%; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid var(--fx-surface); border-radius: 18px; box-shadow: var(--fx-shadow-lg); }
.fx-plates img + img { margin-inline-start: -8%; }
.fx-plates img:nth-child(1) { transform: rotate(5deg); }
.fx-plates img:nth-child(2) { position: relative; z-index: 1; transform: translateY(-14px) scale(1.1); }
.fx-plates img:nth-child(3) { transform: rotate(-5deg); }
.fx-phone { display: none; }

@media (min-width: 960px) {
  .fx-hero { padding: 72px 0 84px; }
  .fx-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
  .fx-plates { display: none; }
  .fx-phone { display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .fx-phone-frame {
    position: relative; width: 320px; height: 650px; padding: 12px;
    border-radius: 46px; background: #121010;
    box-shadow: var(--fx-shadow-lg), inset 0 0 0 2px #2e2824;
  }
  .fx-phone-frame::before {
    content: ""; position: absolute; top: 12px; left: 50%; z-index: 2;
    width: 112px; height: 26px; border-radius: 0 0 18px 18px;
    background: #121010; transform: translateX(-50%);
  }
  .fx-phone-frame iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 34px; background: var(--fx-surface-2); }
  .fx-phone-caption { margin: 0; color: var(--fx-muted); font-size: .85rem; }
}

/* ---------- Sections ---------- */
.fx-section { padding: 52px 0; }
.fx-alt { background: var(--fx-surface-2); }
.fx-h2 { margin: 0 0 10px; font-size: clamp(1.45rem, 1.05rem + 1.7vw, 2.2rem); font-weight: 700; line-height: 1.4; text-wrap: balance; }
.fx-sub { margin: 0; max-width: 42em; color: var(--fx-muted); font-size: 1.02rem; }
.fx-kicker { margin: 0 0 2px; color: var(--fx-accent); font-size: .9rem; font-weight: 700; letter-spacing: .08em; }
@media (min-width: 960px) { .fx-section { padding: 84px 0; } }

/* Pains → fixes */
.fx-pains { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.fx-pain { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); background: var(--fx-surface); box-shadow: var(--fx-shadow); }
.fx-pain p { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.fx-pain-q { color: var(--fx-muted); }
.fx-pain-a { padding-top: 14px; border-top: 1px dashed var(--fx-line); font-weight: 600; }
.fx-dot { display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%; }
.fx-dot .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.fx-dot-bad { background: var(--fx-bad-soft); color: var(--fx-bad); }
.fx-dot-good { background: var(--fx-ok-soft); color: var(--fx-ok); }
@media (min-width: 820px) {
  .fx-pains { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .fx-pain { grid-template-rows: 1fr auto; }
}

/* Facts */
.fx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.fx-fact { min-width: 0; padding: 18px 16px; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); background: var(--fx-surface); }
.fx-fact-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 14px; background: var(--fx-accent-soft); color: var(--fx-accent-strong); }
.fx-fact-icon .ico { width: 22px; height: 22px; }
.fx-fact h3 { margin: 0 0 4px; font-size: 1.02rem; line-height: 1.5; }
.fx-fact p { margin: 0; color: var(--fx-muted); font-size: .9rem; line-height: 1.7; }
@media (min-width: 900px) {
  .fx-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .fx-fact { padding: 24px 22px; }
}

/* ---------- Capability cards ---------- */
.fx-group + .fx-group { margin-top: 56px; }
.fx-cards { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 640px) { .fx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1024px) { .fx-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fx-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 20px; border: 1px solid var(--fx-line); border-radius: var(--fx-radius);
  background: var(--fx-surface); box-shadow: var(--fx-shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fx-card:target { border-color: var(--fx-accent); box-shadow: 0 0 0 4px var(--fx-accent-soft), var(--fx-shadow); }
.fx-card:has(> .fx-anchor:target) { border-color: var(--fx-accent); box-shadow: 0 0 0 4px var(--fx-accent-soft), var(--fx-shadow); }
.fx-anchor { position: absolute; top: 0; }
.fx-card-head { display: flex; align-items: center; gap: 10px; }
.fx-card-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--fx-accent-soft); color: var(--fx-accent-strong); }
.fx-card-icon .ico { width: 21px; height: 21px; }
.fx-card-label { margin: 0; color: var(--fx-muted); font-size: .82rem; font-weight: 600; }
.fx-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.fx-card-text { flex: 1; margin: 0; color: var(--fx-muted); font-size: .94rem; }
.fx-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fx-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.fx-swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.fx-swatch { display: grid; gap: 2px; min-width: 0; }
.fx-swatch-art { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 8px; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--sw-bg); border: 1px solid rgba(0, 0, 0, 0.08); }
.fx-swatch-art i { display: block; border-radius: 2px; background: var(--sw-surface); }
.fx-swatch-art i:first-child { background: var(--sw-accent); width: 55%; }
.fx-swatch-art i:last-child { background: var(--sw-text); opacity: 0.85; width: 70%; height: 4px; align-self: end; }
.fx-swatch-name { font-weight: 700; font-size: 0.85rem; overflow-wrap: anywhere; }
.fx-swatch-layout { font-size: 0.75rem; opacity: 0.7; overflow-wrap: anywhere; }
.fx-card-details { display: grid; gap: 4px; margin: 0; padding: 10px 12px; border-radius: var(--fx-radius-sm); background: var(--fx-surface-2); font-size: .84rem; list-style: none; }
.fx-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--fx-line); }
.fx-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; margin: 0; }
.fx-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 8px;
  border: 1px solid var(--fx-line); border-radius: 999px;
  font-size: .76rem; font-weight: 600; line-height: 1.6; white-space: nowrap;
}
.fx-chip .ico { width: 13px; height: 13px; stroke-width: 2.4; }
.fx-chip.is-in { border-color: transparent; background: var(--fx-accent-soft); color: var(--fx-accent-strong); }
.fx-chip.is-out { color: var(--fx-off); text-decoration: line-through; text-decoration-thickness: 1px; }
.fx-try { display: inline-flex; align-items: center; gap: 6px; color: var(--fx-accent); font-size: .92rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.fx-try .ico { width: 16px; height: 16px; transition: transform .15s ease; }
.fx-try:hover .ico { transform: translateX(-3px); }

/* ---------- Steps ---------- */
.fx-steps { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.fx-step { position: relative; padding: 22px 20px; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); background: var(--fx-surface); }
.fx-step-num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 50%; background: var(--fx-accent); color: var(--fx-accent-ink); font-size: 1.05rem; font-weight: 700; }
.fx-step h3 { margin: 0 0 4px; font-size: 1.1rem; }
.fx-step p { margin: 0; color: var(--fx-muted); font-size: .95rem; }
@media (min-width: 820px) {
  .fx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .fx-step:not(:last-child)::after {
    content: ""; position: absolute; top: 42px; inset-inline-end: -20px; width: 20px;
    border-top: 2px dashed var(--fx-line);
  }
}

/* ---------- Plans ---------- */
.fx-plans-head { text-align: center; }
.fx-plans-head .fx-sub { margin-inline: auto; }
.fx-plan-grid { display: grid; gap: 20px; margin-top: 32px; align-items: start; }
@media (min-width: 900px) { .fx-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; padding-top: 12px; } }
.fx-plan {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; overflow: hidden;
  padding: 26px 20px 22px; border: 1px solid var(--fx-line); border-radius: 22px;
  background: var(--fx-surface); box-shadow: var(--fx-shadow);
}
.fx-plan.is-recommended { border: 2px solid var(--fx-accent); box-shadow: 0 0 0 6px var(--fx-accent-soft), var(--fx-shadow-lg); }
@media (min-width: 900px) { .fx-plan.is-recommended { transform: translateY(-12px); } }
.fx-ribbon {
  position: absolute; top: 22px; left: -46px; width: 170px; padding: 6px 0;
  background: var(--fx-accent); color: var(--fx-accent-ink);
  font-size: .8rem; font-weight: 700; text-align: center;
  transform: rotate(-45deg); box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.fx-plan.is-recommended .fx-plan-head { padding-inline-end: 64px; }
.fx-plan h3 { margin: 0; font-size: 1.2rem; }
.fx-price { margin: 4px 0 0; font-size: 1.6rem; font-weight: 700; line-height: 1.3; }
.fx-price.is-empty { color: var(--fx-accent); font-size: 1.1rem; }
.fx-plan > .fx-btn { width: 100%; }
.fx-plan-list { display: grid; gap: 8px; margin: 0; padding: 0; font-size: .92rem; list-style: none; }
.fx-plan-list li { display: flex; align-items: flex-start; gap: 10px; }
.fx-mark { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; }
.fx-mark .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.fx-plan-list .is-on .fx-mark { background: var(--fx-ok-soft); color: var(--fx-ok); }
.fx-plan-list .is-off { color: var(--fx-off); }
.fx-plan-list .is-off .fx-mark { background: var(--fx-surface-2); color: var(--fx-off); }
.fx-plan-limits {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px;
  margin: auto 0 0; padding: 14px; border-radius: var(--fx-radius-sm);
  background: var(--fx-surface-2); font-size: .88rem;
}
.fx-plan-limits dt { color: var(--fx-muted); }
.fx-plan-limits dd { margin: 0; font-weight: 700; text-align: end; }

/* ---------- FAQ ---------- */
.fx-faq { display: grid; gap: 10px; max-width: 820px; margin-top: 24px; }
.fx-qa { border: 1px solid var(--fx-line); border-radius: var(--fx-radius-sm); background: var(--fx-surface); }
.fx-qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none;
}
.fx-qa summary::-webkit-details-marker { display: none; }
.fx-qa summary::after {
  content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px;
  border-radius: 50%; background: var(--fx-surface-2); color: var(--fx-accent);
  font-size: 1.2rem; line-height: 1; transition: transform .2s ease;
}
.fx-qa[open] summary::after { transform: rotate(45deg); }
.fx-qa p { margin: 0; padding: 0 18px 18px; color: var(--fx-muted); }

/* ---------- Closing ---------- */
.fx-closing {
  position: relative; overflow: hidden; padding: 40px 20px;
  border-radius: 28px; background: radial-gradient(circle at 85% 0%, rgba(45, 212, 191, .32), transparent 60%), #141414;
  color: #fff7f0; text-align: center; box-shadow: var(--fx-shadow-lg);
}
.fx-closing .fx-h2 { color: #fff; }
.fx-closing > p { max-width: 34em; margin: 0 auto; color: #f1d9c8; }
.fx-closing .sc-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 0; }
.fx-closing .sc-btn {
  display: inline-flex; flex: 1 1 200px; align-items: center; justify-content: center; gap: 6px;
  max-width: 280px; min-height: 50px; padding: 12px 20px;
  border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: #fff; font-weight: 700; text-decoration: none;
}
.fx-closing .sc-btn:hover { background: rgba(255, 255, 255, .14); }
.fx-closing .sc-wa { border-color: var(--fx-wa); background: var(--fx-wa); color: var(--fx-wa-ink); }
.fx-closing .fx-btn-light { margin-top: 16px; }
@media (min-width: 960px) { .fx-closing { padding: 64px 48px; } }

/* ---------- Footer and the phone CTA bar ---------- */
.fx-foot { padding: 28px 0 36px; color: var(--fx-muted); font-size: .85rem; text-align: center; }
.fx-sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--fx-surface); border-top: 1px solid var(--fx-line);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .08);
}
.fx-sticky .fx-btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 10px 14px; box-shadow: none; }
body.fx.has-sticky { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) {
  .fx-sticky { display: none; }
  body.fx.has-sticky { padding-bottom: 0; }
}
