/* حسبة — visual system inspired by Apple's marketing pages:
   generous white space, large type, one accent colour, soft depth, calm motion.
   Arabic note: never use letter-spacing on Arabic text (it breaks letter joins). */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;

  --brand: #00875f;
  --brand-strong: #006c4c;
  --brand-tint: #e7f5ef;
  --brand-bright: #19c48f;
  --loss: #d70015;
  --loss-tint: #fdebed;

  --dark: #000000;
  --dark-2: #161617;
  --dark-ink: #f5f5f7;
  --dark-ink-2: #a1a1a6;
  --dark-line: #424245;

  --c-vat: #c7c7cc;
  --c-product: #6e6e73;
  --c-paymentFees: #ff9f0a;
  --c-shipping: #0a84ff;
  --c-packaging: #bf5af2;
  --c-ads: #ff375f;
  --c-refusals: #ff453a;
  --c-other: #aeaeb2;
  --c-profit: #30d158;

  --r-xl: 28px;
  --r-lg: 18px;
  --r-md: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px rgba(0, 0, 0, .04);
  --shadow-lg: 0 50px 100px -40px rgba(0, 0, 0, .35), 0 10px 30px -12px rgba(0, 0, 0, .12);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Arabic", "SF Pro Text", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
svg { display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 700; color: inherit; }
.num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

.wrap { max-width: 980px; margin-inline: auto; padding-inline: 22px; }
.wrap-wide { max-width: 1120px; margin-inline: auto; padding-inline: 22px; }
section { scroll-margin-top: 60px; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.nav-row { display: flex; align-items: center; gap: 28px; height: 52px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; font-size: 14px; }
.nav-links a { color: var(--ink); opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 760px) { .nav-links { display: none; } .nav-cta { margin-inline-start: auto; } }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 17px;
  border: 0; border-radius: 980px; padding: 12px 26px; cursor: pointer;
  transition: background-color .2s var(--ease), transform .15s var(--ease), opacity .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid rgba(0, 135, 95, .35); outline-offset: 3px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-small { font-size: 13px; padding: 6px 14px; }
.btn-block { width: 100%; padding: 15px; }
.link-cta { font-weight: 500; font-size: 17px; }
.link-cta::after { content: " ‹"; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 120px); text-align: center; overflow: hidden; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: 17px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(42px, 7.4vw, 84px); line-height: 1.18; margin: 0 0 22px; }
.lead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.55; color: var(--ink-2); max-width: 700px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; }

.receipt-stage { margin-top: clamp(52px, 8vw, 88px); padding-inline: 22px; display: flex; justify-content: center; }
.receipt {
  width: min(440px, 100%); text-align: start;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: 26px 28px 22px;
  animation: floatIn 1s var(--ease) both;
}
.receipt-head { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 14px; margin-bottom: 10px; }
.receipt-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px;
  animation: rowIn .6s var(--ease) both;
}
.receipt-row:nth-child(1) { animation-delay: .25s; }
.receipt-row:nth-child(2) { animation-delay: .4s; }
.receipt-row:nth-child(3) { animation-delay: .55s; }
.receipt-row:nth-child(4) { animation-delay: .7s; }
.receipt-row:nth-child(5) { animation-delay: .85s; }
.receipt-row:nth-child(6) { animation-delay: 1s; }
.receipt-row .neg { color: var(--ink-2); }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-weight: 600; animation: rowIn .7s var(--ease) 1.2s both; }
.receipt-total strong { font-size: 36px; color: var(--brand); }
.receipt-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: var(--ink-3); font-size: 14px; animation: rowIn .7s var(--ease) 1.35s both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }

.pill { display: inline-block; background: var(--brand-tint); color: var(--brand-strong); border-radius: 980px; padding: 3px 11px; font-weight: 600; font-size: 13px; }
.pill.loss { background: var(--loss-tint); color: var(--loss); }

/* ---------- Story (dark) ---------- */
.story { background: var(--dark); color: var(--dark-ink); text-align: center; padding: clamp(96px, 13vw, 168px) 0; }
.story .eyebrow { color: var(--brand-bright); }
.story-numbers { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 4vw, 44px); margin: 6px 0 28px; }
.big-num { font-size: clamp(64px, 13vw, 150px); font-weight: 700; line-height: 1.05; }
.big-num.muted { color: #48484a; }
.big-num.profit { background: linear-gradient(90deg, #19c48f, #30d158); -webkit-background-clip: text; background-clip: text; color: transparent; }
.arrow { font-size: clamp(30px, 5vw, 60px); color: #48484a; }
.story .copy { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.55; color: var(--dark-ink-2); max-width: 720px; margin: 0 auto 52px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 860px; margin: 0 auto; }
.stat { background: var(--dark-2); border-radius: var(--r-lg); padding: 26px 20px; display: flex; flex-direction: column; gap: 4px; }
.stat .v { font-size: 30px; font-weight: 700; color: #fff; }
.stat .k { color: var(--dark-ink-2); font-size: 15px; }
@media (max-width: 640px) { .stat-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 144px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.2; margin: 0 0 18px; }
.section-head p { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); margin: 0; line-height: 1.6; }
.section-head .eyebrow { color: var(--brand); font-size: 17px; margin-bottom: 14px; }

/* Discount meter */
.meter { max-width: 760px; margin: 0 auto; }
.meter-track { display: flex; height: 64px; border-radius: 18px; overflow: hidden; gap: 3px; }
.meter-safe { flex: 0 0 46%; background: linear-gradient(270deg, #19c48f, #00875f); }
.meter-loss { flex: 1; background: linear-gradient(270deg, #ff6b6b, #d70015); }
.meter-safe, .meter-loss { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 16px; }
/* The scale reads right-to-left: 0% at the start (right), 40% at the end (left).
   The safe zone is 46% of the track (18.4 of 40), so the mark sits there. */
.meter-scale { position: relative; height: 44px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.meter-scale > span { position: absolute; top: 0; white-space: nowrap; }
.meter-scale .s-start { inset-inline-start: 0; }
.meter-scale .s-end { inset-inline-end: 0; }
.meter-mark { inset-inline-start: 46%; transform: translateX(50%); padding-top: 14px; font-weight: 600; color: var(--ink); }
.meter-mark::before { content: ""; position: absolute; top: -6px; left: 50%; width: 2px; height: 16px; background: var(--ink); border-radius: 1px; }
@media (max-width: 520px) { .meter-scale .s-end { display: none; } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 960px) {
  .calc { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
  .result-card { position: sticky; top: 76px; }
}
.calc-inputs { min-width: 0; }
.group-title { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 22px 18px 8px; }
.group-title:first-child { margin-top: 0; }
.group { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.row { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 18px; position: relative; cursor: text; }
.row + .row::before, .extras .row ~ .row::before { content: ""; position: absolute; top: 0; inset-inline-start: 18px; inset-inline-end: 0; border-top: 1px solid var(--line-soft); }
.row-label { flex: 1; min-width: 0; font-size: 16px; }
.field {
  display: flex; align-items: center; gap: 6px; flex: none;
  width: 140px; height: 40px; padding: 0 12px;
  background: var(--bg-alt); border-radius: 11px;
  transition: box-shadow .15s, background-color .15s;
}
.field:focus-within { background: #fff; box-shadow: 0 0 0 3px rgba(0, 135, 95, .28); }
.field input {
  flex: 1; width: 100%; min-width: 0; border: 0; padding: 0; outline: none; background: transparent;
  font: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  direction: ltr; text-align: left; font-variant-numeric: tabular-nums;
}
.unit { color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.footnote { font-size: 13px; line-height: 1.5; color: var(--ink-3); margin: 8px 18px 0; }

.extras { margin-top: 22px; }
.extras > summary { list-style: none; cursor: pointer; }
.extras > summary::-webkit-details-marker { display: none; }
/* Chevron points to the reading direction (left) when closed, and down when open. */
.chev { width: 13px; height: 13px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.extras[open] .chev { transform: rotate(-90deg); }
.extras[open] > summary { border-bottom: 1px solid var(--line-soft); }

/* iOS-style switch */
.switch {
  -webkit-appearance: none; appearance: none; flex: none; margin: 0;
  width: 51px; height: 31px; border-radius: 31px; background: #e9e9eb;
  position: relative; cursor: pointer; transition: background-color .25s var(--ease);
}
.switch::after {
  content: ""; position: absolute; top: 2px; right: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16);
  transition: transform .25s var(--ease);
}
.switch:checked { background: #34c759; }
.switch:checked::after { transform: translateX(-20px); }
.switch:focus-visible { outline: 3px solid rgba(0, 135, 95, .35); outline-offset: 2px; }

/* Result card */
.result-card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: clamp(24px, 3vw, 34px); }
.result-label { margin: 0; color: var(--ink-2); font-size: 15px; }
.result-value { font-size: clamp(50px, 7vw, 66px); font-weight: 700; line-height: 1.12; margin: 4px 0 10px; color: var(--brand); transition: color .3s; }
.result-value.loss { color: var(--loss); }
.result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--ink-2); font-size: 15px; }
.bar { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; background: var(--line-soft); margin-bottom: 14px; }
.seg { display: block; height: 100%; flex: none; transition: width .45s var(--ease); }
.legend { list-style: none; margin: 0 0 18px; padding: 0; }
.legend li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.legend li[hidden] { display: none; }
.legend .name { flex: 1; }
.legend .val { font-weight: 600; }
.legend .loss-row .name, .legend .loss-row .val { color: var(--loss); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.seg-vat { background: var(--c-vat); } .seg-product { background: var(--c-product); } .seg-paymentFees { background: var(--c-paymentFees); }
.seg-shipping { background: var(--c-shipping); } .seg-packaging { background: var(--c-packaging); } .seg-ads { background: var(--c-ads); }
.seg-refusals { background: var(--c-refusals); } .seg-other { background: var(--c-other); } .seg-profit { background: var(--c-profit); }
.seg-loss { background: var(--loss); }
.insights { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-bottom: 14px; }
.insight { background: var(--bg-alt); border-radius: 14px; padding: 14px 16px; }
.insight-label { display: block; font-size: 13px; color: var(--ink-2); }
.insight-value { display: block; font-size: 22px; font-weight: 700; margin-top: 2px; }
.note { font-size: 14px; color: var(--ink-2); margin: 0 0 18px; }

/* ---------- Features (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile {
  grid-column: span 2; min-height: 230px; padding: 30px; border-radius: var(--r-xl);
  background: var(--bg-alt); display: flex; flex-direction: column; justify-content: flex-end;
}
.tile.wide { grid-column: span 4; }
.tile.half { grid-column: span 3; }
.tile.dark { background: var(--dark); color: var(--dark-ink); }
.tile.tint { background: linear-gradient(135deg, #e7f5ef, #f5f5f7 70%); }
.tile h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; margin: 18px 0 8px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.tile.dark p { color: var(--dark-ink-2); }
.icon { width: 34px; height: 34px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.tile.dark .icon { stroke: var(--brand-bright); }
@media (max-width: 860px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile, .tile.wide, .tile.half { grid-column: auto; min-height: 0; } .icon { margin-bottom: 0; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.steps li { text-align: center; }
.step-n { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: 18px; }
.steps h3 { font-size: 21px; margin: 18px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Join (dark) ---------- */
.join { background: var(--dark); color: var(--dark-ink); }
.join .section-head p { color: var(--dark-ink-2); }
.offer-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--dark-line); border-radius: 980px; padding: 6px 14px; color: #fff; font-size: 15px; margin: 0 0 22px !important; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--c-profit); box-shadow: 0 0 0 4px rgba(48, 209, 88, .2); }
.form-card { max-width: 580px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 4.5vw, 40px); }
.f-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.f-field > label, .f-field > legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; padding: 0; }
.opt { font-weight: 400; color: var(--ink-3); }
.f-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 560px) { .f-row { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.f-input {
  width: 100%; min-width: 0; font: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.f-input::placeholder { color: var(--ink-3); }
.f-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 135, 95, .15); }
.f-error { display: none; color: var(--loss); font-size: 13px; margin: 6px 0 0; }
.f-field.invalid .f-input { border-color: var(--loss); }
.f-field.invalid .f-error, .f-send-error.show { display: block; }
.f-send-error { text-align: center; margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; border: 1px solid var(--line); border-radius: 980px; padding: 8px 15px; font-size: 15px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; user-select: none; }
.chip span:hover { border-color: var(--ink-3); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid rgba(0, 135, 95, .35); outline-offset: 2px; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; margin-bottom: 4px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); font-size: 15px; cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.consent-field { margin-top: 16px; }
.form-fine { font-size: 12.5px; color: var(--ink-3); text-align: center; margin: 12px 0 0; }
.hidden-field { display: none; }

.success { display: none; text-align: center; padding: 26px 0 10px; outline: none; }
.form-card.done form { display: none; }
.form-card.done .success { display: block; }
.success h3 { font-size: 28px; margin: 18px 0 6px; }
.success p { color: var(--ink-2); margin: 0; }
.check { width: 64px; height: 64px; margin: 0 auto; fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.check circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.check path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.form-card.done .check circle { animation: draw .6s var(--ease) forwards; }
.form-card.done .check path { animation: draw .4s var(--ease) .45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.thanks-check { margin-bottom: 26px; }
.thanks-check circle { animation: draw .6s var(--ease) forwards; }
.thanks-check path { animation: draw .4s var(--ease) .45s forwards; }

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.2; margin: 0 0 6px; }
.legal .updated { color: var(--ink-3); margin: 0 0 34px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p { color: var(--ink-2); line-height: 1.8; margin: 0 0 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--ink-3); transition: transform .25s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--ink-2); line-height: 1.7; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line-soft); color: var(--ink-3); font-size: 12.5px; padding: 22px 0 36px; }
.footer-row p { margin: 6px 0; }
.footer a { color: var(--ink-2); }

/* ---------- Phone result bar ---------- */
.sticky-result {
  position: fixed; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 18px; color: var(--ink); text-decoration: none; font-size: 14px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .05);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.sticky-result:hover { text-decoration: none; }
.sticky-result strong { font-size: 21px; }
.sticky-result .gain { color: var(--brand); }
.sticky-result .loss { color: var(--loss); }
.sticky-result.hide { transform: translateY(150%); opacity: 0; pointer-events: none; }
@media (min-width: 960px) { .sticky-result { display: none; } }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .check circle, .check path { stroke-dashoffset: 0; }
}
