/* Recover website design system. Brand kit v1.0 tokens. Logical properties keep it RTL-ready. */

/* ---------- Fonts (self-hosted, subset) ---------- */
@font-face { font-family: "Sora"; src: url("/assets/fonts/Sora-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/assets/fonts/Sora-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/IBMPlexSans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/IBMPlexSans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/IBMPlexSans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/IBMPlexMono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/IBMPlexMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("/assets/fonts/IBMPlexSansArabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("/assets/fonts/IBMPlexSansArabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --midnight: #0B1F24;
  --midnight-2: #0E2B30;
  --midnight-3: #143A40;
  --green: #12A06C;
  --signal: #2BD48F;
  --deep: #0B7550;
  --deep-2: #095E40;
  --gold: #F2B544;
  --gold-2: #E3A22C;
  --paper: #FFFFFF;
  --mist: #EAF1EE;
  --mist-2: #F5F9F7;
  --line: #D5E1DC;
  --line-dark: rgba(255, 255, 255, .12);
  --slate: #4B5D61;
  --ink: #0B1F24;
  --overdue: #E07A1F;
  --dormant: #3D6FB6;
  --error: #B3261E;

  --font-display: "Sora", "IBM Plex Sans", system-ui, sans-serif;
  --font-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-arabic: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.12rem + .55vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.625rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 2.9vw, 4rem);
  --fs-display: clamp(2.6rem, 1.7rem + 4vw, 4.75rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.5rem;
  --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 7.5rem);

  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-xl: 32px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 36, .06), 0 1px 3px rgba(11, 31, 36, .08);
  --shadow: 0 6px 24px -8px rgba(11, 31, 36, .18), 0 2px 6px rgba(11, 31, 36, .06);
  --shadow-lg: 0 30px 60px -20px rgba(11, 31, 36, .35);
  --shadow-glow: 0 0 0 1px rgba(43, 212, 143, .25), 0 18px 50px -12px rgba(43, 212, 143, .35);

  --container: 1200px;
  --container-narrow: 760px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--deep);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-text); font-size: var(--fs-base); line-height: 1.6; color: var(--ink);
  background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-radius: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.25em; }
a { color: var(--deep); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--deep-2); }
strong { font-weight: 600; }
small, .small { font-size: var(--fs-sm); }
.xsmall { font-size: var(--fs-xs); }
code, kbd, .mono { font-family: var(--font-mono); font-size: .92em; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: .05em .4em; background: var(--mist-2); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-6) 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--signal); color: var(--midnight); }
[lang="ar"], .arabic { font-family: var(--font-arabic); }
main:focus { outline: none; }
[hidden] { display: none !important; }

.skip-link { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 1000; background: var(--midnight); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.honeypot { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, .5rem + 2vw, 2rem); }
.container--narrow { max-width: calc(var(--container-narrow) + 4rem); }
.container--wide { max-width: 1360px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--mist { background: var(--mist); }
.section--soft { background: var(--mist-2); }
.section--dark { background: var(--midnight); color: #E6EFEC; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a:not(.btn), .on-dark a:not(.btn), .hero a:not(.btn), .cta-band a:not(.btn), .card--dark a:not(.btn), .callout--dark a:not(.btn) { color: var(--signal); }
.on-dark { color: #E6EFEC; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.section--dark .muted { color: #A9BDB8; }
.section--pattern { background-image: url("/assets/img/brand/pattern-ledger-checks-dark.svg"); background-size: 480px; background-position: center; }
.section--mist.section--pattern, .section--soft.section--pattern { background-image: url("/assets/img/brand/pattern-ledger-checks-light.svg"); }
.section-head { max-width: 760px; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.stack > * + * { margin-top: var(--space-5); }
.stack-sm > * + * { margin-top: var(--space-3); }
.stack-lg > * + * { margin-top: var(--space-7); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.cluster--center { justify-content: center; }
.grid { display: grid; gap: clamp(1rem, .6rem + 1.2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid > *, .split > *, .plans > *, .calc > * { min-width: 0; }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 920px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--55 { grid-template-columns: 1.1fr .9fr; }
  .split--45 { grid-template-columns: .9fr 1.1fr; }
  .split--reverse > :first-child { order: 2; }
}
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0 !important; } .mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0 !important; }
.maxw-60 { max-width: 60ch; }
@media (max-width: 719px) { .hide-mobile { display: none !important; } }
@media (min-width: 720px) { .hide-desktop { display: none !important; } }

/* ---------- Type helpers ---------- */
.eyebrow { font-family: var(--font-text); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); margin-bottom: var(--space-3); display: inline-flex; align-items: center; gap: .5rem; }
.section--dark .eyebrow, .on-dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--signal); }
.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--slate); max-width: 62ch; }
.section--dark .lead { color: #C7D8D3; }
.display { font-size: var(--fs-display); letter-spacing: -.035em; line-height: 1.04; }
.muted { color: var(--slate); }
.text-green { color: var(--deep); }
.section--dark .text-green, .on-dark .text-green, .hero .text-green, .cta-band .text-green { color: var(--signal); }
.text-gold { color: var(--gold); }
.highlight { background: linear-gradient(transparent 62%, rgba(242, 181, 68, .45) 62%); padding-inline: .1em; }
.section--dark .highlight { background: linear-gradient(transparent 62%, rgba(43, 212, 143, .28) 62%); }
.amount { font-family: var(--font-mono); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.stat { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem); line-height: 1; letter-spacing: -.03em; color: var(--deep); }
.section--dark .stat { color: var(--signal); }
.stat-label { font-size: var(--fs-sm); color: var(--slate); margin-top: .4rem; }
.section--dark .stat-label { color: #A9BDB8; }
.source { font-size: var(--fs-xs); color: var(--slate); }
.section--dark .source { color: #8FA8A2; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.2em; }
.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-inline-start: 1.9rem; margin-bottom: .6rem; }
.list-check li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230B7550' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
.section--dark .list-check li::before, .on-dark .list-check li::before { background-color: rgba(43, 212, 143, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232BD48F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.list-x li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23B3261E' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); background-color: #FBEDEC; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--deep); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px;
  padding: .8rem 1.35rem; border-radius: var(--radius-pill); border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font: 600 1rem/1.1 var(--font-text); text-decoration: none;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, color .18s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.btn--primary { --btn-bg: var(--deep); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--deep-2); }
.btn--signal, .btn--primary-dark { --btn-bg: var(--signal); --btn-fg: var(--midnight); }
.btn--signal:hover, .btn--primary-dark:hover { --btn-bg: #45E0A0; }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--midnight); }
.btn--gold:hover { --btn-bg: #F6C566; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--midnight); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--deep); }
.section--dark .btn--ghost, .on-dark .btn--ghost, .hero .btn--ghost, .cta-band .btn--ghost, .card--dark .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .3); }
.section--dark .btn--ghost:hover, .on-dark .btn--ghost:hover, .hero .btn--ghost:hover, .cta-band .btn--ghost:hover, .card--dark .btn--ghost:hover { --btn-bd: var(--signal); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--midnight); }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn .icon { width: 1.1em; height: 1.1em; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
[dir="rtl"] .link-arrow::after { content: "←"; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .7rem; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; background: var(--mist); color: var(--deep); line-height: 1.3; }
.badge--gold { background: #FCEFD3; color: #6B4A06; }
.badge--free { background: #DDF5EA; color: #075E3F; }
.badge--soon { background: #E3ECF8; color: #24497F; }
.badge--dark { background: rgba(43, 212, 143, .14); color: var(--signal); }
.badge--outline { background: transparent; border: 1px solid currentColor; }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--signal); display: inline-block; box-shadow: 0 0 0 4px rgba(43, 212, 143, .18); }
.dot--pulse { animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(43, 212, 143, .5); } 70% { box-shadow: 0 0 0 10px rgba(43, 212, 143, 0); } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: var(--shadow-sm); position: relative; }
.card--flat { box-shadow: none; }
.card--mist { background: var(--mist-2); }
.card--hover { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #B7CEC6; }
.card--dark { background: var(--midnight-2); border-color: var(--line-dark); color: #E6EFEC; box-shadow: none; }
.card--dark h3, .card--dark h4 { color: #fff; }
.card--glow { box-shadow: var(--shadow-glow); border-color: rgba(43, 212, 143, .4); }
.card h3 { margin-bottom: .4rem; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--deep); display: grid; place-items: center; margin-bottom: var(--space-4); }
.card--dark .card__icon { background: rgba(43, 212, 143, .12); color: var(--signal); }
.card__icon svg { width: 26px; height: 26px; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .badge { margin-bottom: var(--space-3); }

.media { border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); box-shadow: var(--shadow); }
.media--dark { background: var(--midnight-2); }
.media img { width: 100%; height: auto; }
figure { margin: 0; }
figcaption { font-size: var(--fs-xs); color: var(--slate); margin-top: .6rem; }
.section--dark figcaption { color: #8FA8A2; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); transition: background-color .25s, box-shadow .25s, color .25s; color: #fff; background: var(--midnight); }
.site-header[data-theme="light"] { background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled[data-theme="dark"] { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: var(--space-5); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 30px; width: auto; }
.brand__logo--light { display: none; }
.site-header[data-theme="light"] .brand__logo--dark { display: none; }
.site-header[data-theme="light"] .brand__logo--light { display: block; }
.site-nav { margin-inline-start: auto; }
.site-nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: .5rem .8rem; border-radius: var(--radius-pill); color: inherit; text-decoration: none; font-weight: 500; font-size: .975rem; opacity: .88; transition: opacity .15s, background-color .15s; }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { opacity: 1; background: rgba(255, 255, 255, .08); }
.site-header[data-theme="light"] .site-nav__list a:hover, .site-header[data-theme="light"] .site-nav__list a[aria-current="page"] { background: var(--mist); }
.site-nav__list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.site-nav__mobile-only { display: none; }
.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.site-header__signin { color: inherit; text-decoration: none; font-weight: 500; opacity: .88; }
.site-header__signin:hover { color: inherit; opacity: 1; text-decoration: underline; }
.nav-toggle { display: none; background: transparent; border: 0; color: inherit; padding: .5rem; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer; }
@media (max-width: 1040px) {
  .site-header__signin { display: none; }
  .nav-toggle { display: inline-flex; }
  /* Open menu = full-height panel over the page (core.js locks the page scroll and closes it on an outside tap). */
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--midnight); color: #fff; padding: 1rem clamp(1rem, .5rem + 2vw, 2rem) 2rem; transform: translateY(-120%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; z-index: -1; }
  html.nav-locked { overflow: hidden; }
  .site-nav { visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
  .site-header.nav-open .site-nav { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { padding: .9rem .25rem; font-size: 1.125rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .site-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--signal); padding-inline-start: .75rem; }
  .site-nav__mobile-only { display: block; }
  .site-header[data-theme="light"] .site-nav__list a:hover { background: rgba(255, 255, 255, .08); }
}
@media (max-width: 420px) { .site-header .btn--sm { padding: .5rem .8rem; font-size: .875rem; } .brand__logo { height: 26px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: #C7D8D3; padding-block: var(--space-8) var(--space-6); font-size: var(--fs-sm); }
.site-footer a { color: #E6EFEC; text-decoration: none; }
.site-footer a:hover { color: var(--signal); text-decoration: underline; }
.site-footer__top { display: grid; gap: var(--space-7); grid-template-columns: 1fr; padding-bottom: var(--space-7); border-bottom: 1px solid var(--line-dark); }
@media (min-width: 860px) { .site-footer__top { grid-template-columns: 1fr 1.1fr; } }
.site-footer__tagline { font-family: var(--font-display); font-size: var(--fs-xl); color: #fff; margin-top: var(--space-4); }
.site-footer__trust { display: inline-flex; gap: .5rem; align-items: center; color: var(--signal); font-weight: 500; }
.site-footer__heading { font-family: var(--font-text); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: #8FA8A2; margin-bottom: var(--space-4); font-weight: 600; }
.site-footer__news .site-footer__heading { font-family: var(--font-display); text-transform: none; letter-spacing: -.01em; font-size: var(--fs-xl); color: #fff; margin-bottom: .5rem; }
.site-footer__cols { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding-block: var(--space-7); }
.site-footer__cols ul { list-style: none; padding: 0; margin: 0; }
.site-footer__cols li { margin-bottom: 0; }
.site-footer__cols a { display: inline-flex; align-items: center; min-height: 44px; padding-block: .3rem; }
@media (max-width: 600px) { .site-footer { padding-bottom: calc(var(--space-6) + 76px); } } /* room for Reva's face */
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: var(--space-5); border-top: 1px solid var(--line-dark); color: #8FA8A2; font-size: var(--fs-xs); }

/* ---------- Forms ---------- */
.field { display: grid; gap: .35rem; }
.field__label { font-weight: 600; font-size: var(--fs-sm); }
.field__hint { font-size: var(--fs-xs); color: var(--slate); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font-text); transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(11, 117, 80, .35); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.input[aria-invalid="true"]:focus, .select[aria-invalid="true"]:focus, .textarea[aria-invalid="true"]:focus { border-color: var(--error); box-shadow: 0 0 0 3px rgba(179, 38, 30, .35); }
.section--dark .input, .on-dark .input, .section--dark .select, .section--dark .textarea, .on-dark .select, .on-dark .textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.section--dark .input::placeholder, .on-dark .input::placeholder, .section--dark .textarea::placeholder, .on-dark .textarea::placeholder, .site-footer .input::placeholder { color: #8FA8A2; }
.site-footer .input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
/* Focus and error on dark grounds: Deep Green and soft halos are too faint on Midnight. */
:is(.section--dark, .on-dark, .site-footer) :is(.input, .select, .textarea):focus { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(43, 212, 143, .45); }
:is(.section--dark, .on-dark, .site-footer) :is(.input, .select, .textarea)[aria-invalid="true"] { border-color: #FF9D94; box-shadow: 0 0 0 3px rgba(255, 157, 148, .3); }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-sm); cursor: pointer; }
.checkbox input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--deep); flex: none; }
.form-inline { display: flex; flex-wrap: wrap; gap: .6rem; }
.form-inline .input { flex: 1 1 220px; }
.form-inline .form-status, .form-inline .turnstile-slot { flex-basis: 100%; }
.form-status { font-size: var(--fs-sm); min-height: 1.4em; margin: 0; }
.form-status.is-success { color: var(--deep); font-weight: 600; }
.form-status.is-error { color: var(--error); font-weight: 600; }
.section--dark .form-status.is-success, .site-footer .form-status.is-success, .on-dark .form-status.is-success { color: var(--signal); }
.section--dark .form-status.is-error, .site-footer .form-status.is-error, .on-dark .form-status.is-error { color: #FF9D94; }
.form-done { display: none; }
form.is-done .form-hide-on-done { display: none; }
form.is-done + .form-done, form.is-done .form-done { display: block; }
.turnstile-slot:empty { display: none; }

/* Range slider */
.range { width: 100%; accent-color: var(--deep); height: 28px; cursor: pointer; }
.range-row { display: grid; gap: .3rem; }
.range-row__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.range-row__value { font-family: var(--font-mono); font-weight: 500; color: var(--deep); }
.section--dark .range-row__value, .on-dark .range-row__value { color: var(--signal); }

/* Segmented control / billing toggle */
.segmented { display: inline-flex; background: var(--mist); padding: 4px; border-radius: var(--radius-pill); gap: 2px; }
.segmented button { min-height: 44px; border: 0; background: transparent; padding: .6rem 1.1rem; border-radius: var(--radius-pill); font: 600 .95rem var(--font-text); color: var(--slate); cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; }
.segmented button[aria-pressed="true"], .segmented button[aria-selected="true"] { background: #fff; color: var(--midnight); box-shadow: var(--shadow-sm); }
.section--dark .segmented { background: rgba(255, 255, 255, .08); }
.section--dark .segmented button { color: #C7D8D3; }
.section--dark .segmented button[aria-pressed="true"], .section--dark .segmented button[aria-selected="true"] { background: var(--signal); color: var(--midnight); }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-5); }
.tabs__tab { min-height: 44px; border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-pill); padding: .55rem 1rem; font: 600 .95rem var(--font-text); color: var(--slate); cursor: pointer; }
.tabs__tab[aria-selected="true"] { background: var(--midnight); color: #fff; border-color: var(--midnight); }
.section--dark .tabs__tab { background: transparent; border-color: rgba(255, 255, 255, .2); color: #C7D8D3; }
.section--dark .tabs__tab[aria-selected="true"] { background: var(--signal); color: var(--midnight); border-color: var(--signal); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeUp .35s var(--ease); }

/* ---------- FAQ / details ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: var(--fs-lg); position: relative; }
[dir="rtl"] .faq summary { padding: 1.15rem 0 1.15rem 2.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; inset-inline-end: .25rem; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%230B7550' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq__body { padding-bottom: 1.25rem; color: var(--slate); max-width: 70ch; }
.section--dark .faq { border-color: var(--line-dark); }
.section--dark .faq__body { color: #C7D8D3; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.75rem; position: relative; }
.plan--featured { border: 2px solid var(--deep); box-shadow: var(--shadow-lg); }
.plan__ribbon { position: absolute; top: -14px; inset-inline-start: 1.5rem; }
.plan__name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; margin: 0; }
.plan__price { display: flex; align-items: baseline; gap: .35rem; }
.plan__amount { font-family: var(--font-display); font-weight: 700; font-size: 3rem; letter-spacing: -.03em; line-height: 1; }
.plan__per { color: var(--slate); font-size: var(--fs-sm); }
.plan__aed { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--slate); }
.plan__was { text-decoration: line-through; color: var(--slate); font-family: var(--font-mono); font-size: var(--fs-sm); }
.plan .list-check { margin: 0; font-size: var(--fs-sm); }
.plan__cta { margin-top: auto; display: grid; gap: .5rem; }
.plan--free { background: var(--mist-2); }
[data-billing="month"] [data-billing-show="year"], [data-billing="year"] [data-billing-show="month"] { display: none !important; }

/* ---------- Progress ---------- */
.progress { height: 10px; border-radius: var(--radius-pill); background: rgba(11, 31, 36, .08); overflow: hidden; }
.section--dark .progress, .on-dark .progress { background: rgba(255, 255, 255, .1); }
.progress__bar { display: block; height: 100%; width: var(--progress, 0%); background: linear-gradient(90deg, var(--gold), var(--signal)); border-radius: inherit; transition: width 1.2s var(--ease); }

/* ---------- Modal (native dialog) ---------- */
.modal { border: 0; padding: 0; border-radius: var(--radius-xl); max-width: min(760px, calc(100vw - 2rem)); width: 100%; color: var(--ink); box-shadow: var(--shadow-lg); background: #fff; overflow: hidden; max-height: calc(100dvh - 2rem); overflow-y: auto; }
.modal::backdrop { background: rgba(6, 18, 21, .66); backdrop-filter: blur(3px); }
.modal[open] { animation: modalIn .35s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .3s ease; }
.modal__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.modal__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.modal__close { position: absolute; top: .85rem; inset-inline-end: .85rem; z-index: 2; background: rgba(255, 255, 255, .9); border: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--midnight); }
.modal__close:hover { background: var(--mist); }
.modal__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 680px) { .modal__grid { grid-template-columns: .8fr 1.2fr; } }
.modal__visual { background: var(--midnight) url("/assets/img/brand/pattern-ledger-checks-dark.svg") center/360px; color: #fff; display: grid; place-content: center; text-align: center; padding: 2rem; gap: 1rem; }
.modal__visual-note { color: #C7D8D3; font-size: var(--fs-sm); margin: 0; }
.offer-badge { width: 160px; height: 160px; border-radius: 50%; background: var(--gold); color: var(--midnight); display: grid; place-content: center; margin-inline: auto; box-shadow: 0 0 0 10px rgba(242, 181, 68, .18), 0 0 0 22px rgba(242, 181, 68, .08); animation: floaty 5s ease-in-out infinite; }
.offer-badge__num { font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; }
.offer-badge__label { font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
@media (max-width: 679px) { .modal__visual { padding: 1.25rem; grid-template-columns: auto 1fr; text-align: start; align-items: center; } .offer-badge { width: 92px; height: 92px; } .offer-badge__num { font-size: 2rem; } }

/* ---------- Toasts ---------- */
.toast-region { position: fixed; inset-block-end: 1rem; inset-inline-start: 50%; transform: translateX(-50%); z-index: 400; display: grid; gap: .5rem; width: min(92vw, 440px); pointer-events: none; }
.toast { pointer-events: auto; background: var(--midnight); color: #fff; padding: .9rem 1.1rem; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: .75rem; align-items: flex-start; animation: fadeUp .3s var(--ease); font-size: var(--fs-sm); }
.toast--success { border-inline-start: 4px solid var(--signal); }
.toast--error { border-inline-start: 4px solid #FF9D94; }

/* ---------- Reva assistant ---------- */
/* The face button comes first in the DOM (focus order: toggle, then the tip); column-reverse keeps it at the bottom. */
.reva-assist { position: fixed; inset-block-end: max(1rem, env(safe-area-inset-bottom)); inset-inline-end: 1rem; z-index: 300; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: .6rem; pointer-events: none; transition: opacity .2s, visibility .2s; }
.reva-assist > * { pointer-events: auto; }
.reva-assist.is-away { opacity: 0; visibility: hidden; } /* steps aside while the visitor types in a form */
.reva-assist__face { width: 72px; height: 72px; border-radius: 50%; border: 0; padding: 6px; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); cursor: pointer; transition: transform .25s var(--ease); animation: revaIn .6s var(--ease) both; }
.reva-assist__face:hover { transform: translateY(-3px) rotate(-3deg); }
.reva-assist__face .reva-face { width: 100%; height: 100%; }
.reva-assist__bubble { position: relative; max-width: min(340px, calc(100vw - 2rem)); background: var(--midnight); color: #E6EFEC; border-radius: 18px 18px 6px 18px; padding: 1rem 2.9rem 1rem 1.1rem; box-shadow: var(--shadow-lg); animation: bubbleIn .35s var(--ease); font-size: var(--fs-sm); }
.reva-assist__text { margin: 0; }
.reva-assist__text strong { color: #fff; }
.reva-assist__actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.reva-assist__actions:empty { display: none; }
.reva-assist__actions a, .reva-assist__actions button { font: 600 .85rem var(--font-text); background: rgba(43, 212, 143, .14); color: var(--signal); border: 1px solid rgba(43, 212, 143, .35); border-radius: var(--radius-pill); padding: .4rem .85rem; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
.reva-assist__actions a:hover, .reva-assist__actions button:hover { background: var(--signal); color: var(--midnight); }
.reva-assist__dismiss { position: absolute; top: .15rem; inset-inline-end: .15rem; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; color: #8FA8A2; cursor: pointer; padding: 0; border-radius: 50%; }
.reva-assist__dismiss:hover { color: #fff; }
@media (max-width: 600px) { .reva-assist__face { width: 58px; height: 58px; } }
.reva-face__pupil { transition: transform .12s linear; }
.reva-face__eye { transform-origin: center; transform-box: fill-box; animation: blink 5.5s infinite; }
.reva-face__badge, .reva-face__badge-text { opacity: 0; transition: opacity .3s; }
.has-tip .reva-face__badge, .has-tip .reva-face__badge-text { opacity: 1; }
.reva-face__sprout { transform-origin: 60px 26px; animation: sway 4s ease-in-out infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

/* ---------- Story / chapters ---------- */
.chapter-num { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--deep); display: inline-flex; align-items: center; gap: .6rem; margin-bottom: var(--space-4); }
.chapter-num::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .chapter-num { color: var(--signal); }
.scrolly { display: grid; gap: var(--space-7); }
@media (min-width: 980px) {
  .scrolly { grid-template-columns: 1fr 1fr; align-items: start; }
  .scrolly__sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.scrolly__step { min-height: 55vh; display: flex; flex-direction: column; justify-content: center; }
/* Upcoming steps are dimmed with colour, not opacity, so their text keeps at least 4.5:1 (Slate on Paper 6.9:1).
   The active step carries a Deep Green rule. */
@media (min-width: 980px) {
  .scrolly__step { border-inline-start: 3px solid transparent; padding-inline-start: 1.25rem; transition: border-color .4s, color .4s; }
  .scrolly__step.is-active { border-inline-start-color: var(--deep); }
  .scrolly__step:not(.is-active), .scrolly__step:not(.is-active) :is(h2, h3, h4, p, strong, .amount, .mono) { color: var(--slate); }
}
@media (max-width: 979px) { .scrolly__step { min-height: auto; padding-block: 1rem; } }

/* Mock product window */
.window { background: var(--midnight-2); border-radius: var(--radius-lg); border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg); overflow: hidden; color: #E6EFEC; font-size: var(--fs-sm); }
.window__bar { display: flex; gap: .4rem; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: block; }
.window__title { margin-inline-start: .5rem; font-family: var(--font-mono); font-size: var(--fs-xs); color: #8FA8A2; }
.window__body { padding: 1rem; display: grid; gap: .6rem; }
.opp { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding: .8rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.opp.is-active { background: rgba(43, 212, 143, .08); border-color: rgba(43, 212, 143, .45); transform: translateX(4px); }
.opp__type { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.opp__type--quote { background: rgba(242, 181, 68, .16); color: var(--gold); }
.opp__type--overdue { background: rgba(224, 122, 31, .16); color: #F2A35E; }
.opp__type--dormant { background: rgba(61, 111, 182, .2); color: #8FB3E8; }
.opp__type--renewal { background: rgba(43, 212, 143, .14); color: var(--signal); }
.opp__type--lead { background: rgba(255, 255, 255, .1); color: #fff; }
.opp__title { color: #fff; font-weight: 600; line-height: 1.3; }
.opp__meta { color: #8FA8A2; font-size: var(--fs-xs); }
.opp__amount { font-family: var(--font-mono); color: var(--gold); font-weight: 500; }

/* ---------- Cycle diagram base ---------- */
.cycle { position: relative; }
.cycle__svg { width: 100%; height: auto; overflow: visible; }
.cycle__node { cursor: pointer; }
.cycle__node:focus-visible { outline: none; }
.cycle__node:focus-visible circle, .cycle__node:hover circle { stroke: var(--gold); stroke-width: 4; }
.cycle__node.is-active circle { fill: var(--signal); }

/* ---------- Calculators & charts ---------- */
.calc { display: grid; gap: var(--space-6); grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc__inputs { display: grid; gap: 1.25rem; align-content: start; }
.calc__out { background: var(--midnight); color: #E6EFEC; border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.calc__out h3 { color: #fff; }
.calc__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; color: var(--signal); }
.calc__row { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; border-bottom: 1px dashed var(--line-dark); }
.calc__row span:last-child { font-family: var(--font-mono); color: #fff; }
.calc__formula { font-size: var(--fs-xs); color: #8FA8A2; }
.chart { width: 100%; height: auto; }
.chart text { font-family: var(--font-text); font-size: 11px; fill: #8FA8A2; }
.chart .axis { stroke: rgba(255, 255, 255, .15); }

/* ---------- Flip / reveal cards ---------- */
.flip { perspective: 1200px; min-height: 260px; }
.flip__inner { position: relative; width: 100%; height: 100%; min-height: inherit; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.flip__face--back { transform: rotateY(180deg); }
.flip__btn { all: unset; position: absolute; inset: 0; border-radius: var(--radius-lg); cursor: pointer; z-index: 2; }
.flip__btn:focus-visible { box-shadow: var(--focus); }

/* ---------- Logos/trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; color: var(--slate); font-size: var(--fs-sm); }
.trust-strip span { display: inline-flex; align-items: center; gap: .45rem; }
.section--dark .trust-strip, .hero .trust-strip, .on-dark .trust-strip { color: #A9BDB8; }
.hero .muted, .cta-band .muted { color: #A9BDB8; }
.hero .source, .cta-band .source { color: #8FA8A2; }
.section--dark .segmented .badge--gold { background: #FCEFD3; color: #6B4A06; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--midnight) url("/assets/img/brand/pattern-ledger-checks-dark.svg") center/480px; color: #E6EFEC; border-radius: var(--radius-xl); padding: clamp(2rem, 1.5rem + 3vw, 4rem); display: grid; gap: var(--space-5); align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr 1fr; } }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #C7D8D3; }

/* ---------- Article (long-form) ---------- */
.article { font-size: 1.125rem; line-height: 1.75; }
.article h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.article h3 { margin-top: 1.8em; }
.article blockquote { margin: 2rem 0; padding: 1.25rem 1.5rem; border-inline-start: 4px solid var(--green); background: var(--mist-2); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; }
.article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: var(--fs-sm); }
.article th, .article td { text-align: start; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--mist-2); font-weight: 600; }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: var(--fs-sm); }
.toc ol { list-style: none; padding: 0; margin: 0; border-inline-start: 2px solid var(--line); }
.toc a { display: block; padding: .35rem 1rem; color: var(--slate); text-decoration: none; margin-inline-start: -2px; border-inline-start: 2px solid transparent; }
.toc a:hover, .toc a.is-active { color: var(--deep); border-inline-start-color: var(--deep); }
.callout { border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; background: var(--mist); border: 1px solid var(--line); }
.callout--gold { background: #FFF8E8; border-color: #F4D58E; }
.callout--dark { background: var(--midnight); color: #E6EFEC; border-color: var(--midnight); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Hero ---------- */
.hero { background: var(--midnight); color: #E6EFEC; position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2rem + 6vw, 7rem); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/brand/pattern-ledger-checks-dark.svg") center/520px; opacity: .55; pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 900px; height: 900px; inset-inline-end: -300px; top: -300px; background: radial-gradient(closest-side, rgba(43, 212, 143, .22), transparent); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lead { color: #C7D8D3; }
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }

/* Shared heading-size utilities and calculator fallback */
.h2-like { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.h3-like { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; }
.h4 { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; }
.calc-fallback { padding: 1.25rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--slate); }

/* ---------- Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes revaIn { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .reva-assist, .toast-region, dialog, .no-print { display: none !important; }
  .section--dark, .hero { background: #fff !important; color: #000 !important; }
  a { color: #000; }
}
