/* ==========================================================================
   MEDIAZOO — design system
   --------------------------------------------------------------------------
   Bright product-SaaS: light-first, soft pastel gradients, a rounded
   geometric sans, green for action and violet for data, generous radii and
   low, wide shadows. Dark mode is a toggle, not the default.

   1.  Tokens
   2.  Reset & base
   3.  Layout
   4.  Typography
   5.  Buttons & chips
   6.  Announcement bar, header, nav
   7.  Hero & product collage
   8.  Cards
   9.  Feature accordion, tabs, steps, timeline
   10. Duo panels & testimonial wall
   11. Marquee, ticker, logos
   12. Forms & widgets
   13. Tables
   14. Footer
   15. Motion
   16. Responsive
   ========================================================================== */

/* 1. TOKENS ============================================================== */

:root {
  color-scheme: light;

  /* Brand — the UAE flag, kept gentle --------------------------------- */
  --green: #00732f;            /* UAE green: action, data, positive         */
  --green-ink: #00732f;        /* green as text on light surfaces (7:1)     */
  --green-soft: #e3f0e7;
  --green-on-dark: #4cc27a;    /* green legible on the dark cards/footer    */
  --red: #d63b3b;              /* UAE red, softened: highlights only        */
  --red-ink: #b83030;          /* red as text on light surfaces (5.9:1)     */
  --red-soft: #fbe8e8;
  --amber: #d8a12d;            /* stars only                                */
  --code-num: #8a6114;         /* numerals in code panels — AA on white     */

  /* Pastel washes */
  --mint: #e8f3ec;
  --blush: #fbeeee;
  --sand: #f4f2ee;

  /* Ground & ink — very dark grey, never navy ------------------------- */
  --ink: #1c1f24;              /* dark cards, footer                        */
  --ink-2: #24282e;
  --ink-3: #2e333a;

  --bg: #ffffff;
  --bg-alt: #f7f7f6;
  --surface: #ffffff;
  --surface-2: #f6f6f5;
  --surface-3: #ecedeb;
  /* Three ink steps. Every one clears WCAG AA (4.5:1) on every surface
     above, including the darkest wash (--surface-3), so small print is
     readable rather than merely decorative. */
  --text: #24272d;             /* 12.7:1 worst case                         */
  --text-muted: #4c515a;       /* 6.8:1  — body copy                        */
  --text-dim: #666b74;         /* 4.6:1  — captions, labels, meta           */
  --hair: #e8e9e7;
  --hair-strong: #d5d7d3;
  --wash: #f7f7f6;
  --wash-hover: #efefed;
  --overlay: rgba(255, 255, 255, 0.84);

  --accent: var(--green);
  --accent-ink: #ffffff;

  /* Soft, wide shadows are most of the feel. */
  --shadow-sm: 0 1px 2px rgba(12, 20, 36, 0.05);
  --shadow-md: 0 2px 4px rgba(12, 20, 36, 0.04), 0 12px 28px -10px rgba(12, 20, 36, 0.12);
  --shadow-lg: 0 4px 8px rgba(12, 20, 36, 0.04), 0 28px 56px -16px rgba(12, 20, 36, 0.18);
  --shadow-float: 0 6px 12px rgba(12, 20, 36, 0.05), 0 36px 72px -24px rgba(12, 20, 36, 0.22);

  /* Type ----------------------------------------------------------------- */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-md: clamp(1rem, 0.3vw + 0.94rem, 1.12rem);
  --t-lg: clamp(1.15rem, 0.5vw + 1.02rem, 1.4rem);
  --t-xl: clamp(1.5rem, 1.1vw + 1.2rem, 2.1rem);
  --t-2xl: clamp(1.9rem, 2.2vw + 1.3rem, 3rem);
  --t-3xl: clamp(2.2rem, 2.2vw + 1.35rem, 3.3rem);

  /* Space ---------------------------------------------------------------- */
  --s1: 0.25rem;  --s2: 0.5rem;  --s3: 0.75rem;  --s4: 1rem;
  --s5: 1.5rem;   --s6: 2rem;    --s7: 3rem;     --s8: 4.5rem;
  --s9: 6rem;     --s10: 8rem;

  /* Shape — generous and rounded */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --container: 1200px;
  --container-wide: 1340px;
  --header-h: 68px;
  --announce-h: 40px;

  --ease: cubic-bezier(0.2, 0.9, 0.25, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --t-fast: 0.16s var(--ease-out);
  --t-med: 0.32s var(--ease);
}

[data-theme="dark"] {
  color-scheme: dark;

  --green-ink: #5fcf8a;
  --green-soft: rgba(76, 194, 122, 0.16);
  --red-ink: #ef7373;
  --red-soft: rgba(214, 59, 59, 0.18);
  --mint: rgba(76, 194, 122, 0.12);
  --blush: rgba(214, 59, 59, 0.12);
  --sand: rgba(255, 255, 255, 0.05);

  --bg: #141619;
  --bg-alt: #191c20;
  --surface: #1e2126;
  --surface-2: #24282e;
  --surface-3: #2e333a;
  --text: #f1f2f0;             /* 11.3:1 worst case                         */
  --text-muted: #b2b8c0;       /* 6.4:1  — body copy                        */
  --text-dim: #969ca4;         /* 4.6:1  — captions, labels, meta           */
  --hair: rgba(255, 255, 255, 0.10);
  --hair-strong: rgba(255, 255, 255, 0.20);
  --wash: rgba(255, 255, 255, 0.03);
  --wash-hover: rgba(255, 255, 255, 0.07);
  --overlay: rgba(20, 22, 25, 0.86);

  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3), 0 12px 28px -10px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.3), 0 28px 56px -16px rgba(0, 0, 0, 0.7);
  --shadow-float: 0 6px 12px rgba(0, 0, 0, 0.35), 0 36px 72px -24px rgba(0, 0, 0, 0.8);
}

@view-transition { navigation: auto; }

/* 2. RESET & BASE ======================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--t-med), color var(--t-med);
}
body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; height: 1px; background: var(--hair); margin: var(--s6) 0; }

::selection { background: var(--green-soft); color: var(--text); }

:focus-visible { outline: 2px solid var(--green-ink); outline-offset: 3px; border-radius: var(--r-xs); }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  background: var(--surface); border: 1px solid var(--hair-strong);
  padding: 10px 18px; border-radius: var(--r-sm); box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

* { scrollbar-width: thin; scrollbar-color: var(--hair-strong) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: var(--hair-strong); border-radius: var(--r-full);
  border: 3px solid transparent; background-clip: content-box;
}

/* 3. LAYOUT ============================================================== */

.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px);
}
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 780px; }

.section { padding-block: var(--s9); position: relative; }
.section--sm { padding-block: var(--s8); }
.section--lg { padding-block: var(--s10); }
.section--tight { padding-block: var(--s7); }
.section--alt { background: var(--bg-alt); }
.section--line { border-top: 1px solid var(--hair); }

.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid--gap-lg { gap: var(--s6); }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--s6), 4vw, var(--s8)); align-items: center;
}
.split--40 { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.split--60 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.split--top { align-items: start; }

.stack > * + * { margin-top: var(--s4); }
.stack-lg > * + * { margin-top: var(--s6); }

.flex { display: flex; gap: var(--s3); }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); }
.mt-7 { margin-top: var(--s7); } .mb-0 { margin-bottom: 0; }
.w-full { width: 100%; }

/* 4. TYPOGRAPHY ========================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 0 0 var(--s4);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--t-3xl); font-weight: 700; line-height: 1.08; }
h2, .h2 { font-size: var(--t-2xl); font-weight: 700; line-height: 1.14; }
h3, .h3 { font-size: var(--t-lg); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
h4, .h4 { font-size: var(--t-md); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
/* line-height is stated rather than inherited so .h5 renders identically
   whether it sits on an <h5> or on a heading of another level. */
h5, .h5 { font-size: var(--t-base); font-weight: 600; letter-spacing: -0.01em; line-height: 1.6; }

p { margin: 0 0 var(--s4); color: var(--text-muted); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.lead { font-size: var(--t-md); line-height: 1.6; color: var(--text-muted); max-width: 56ch; }
.small { font-size: var(--t-sm); }
.tiny { font-size: var(--t-xs); }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.mono { font-family: var(--font-mono); }
.strong { color: var(--text); font-weight: 600; }

/* Soft pill kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-full);
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0;
  text-transform: none;
  margin-bottom: var(--s5);
  width: fit-content;
  border: 0;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}
.eyebrow--gold { background: var(--red-soft); color: var(--red-ink); }
.eyebrow--center { margin-inline: auto; }
[data-theme="dark"] .eyebrow--gold { color: #5fcf8a; }

.gradient-text, .gold-text { color: var(--red-ink); font-style: normal; }
[data-theme="dark"] .gradient-text, [data-theme="dark"] .gold-text { color: var(--red-ink); }

/* Section heads are centred — the reference pattern for this kind of page. */
.section-head { max-width: 720px; margin: 0 auto var(--s8); text-align: center; }
.section-head .eyebrow { margin-inline: auto; }
.section-head h2 { margin-bottom: var(--s4); }
.section-head p { font-size: var(--t-md); max-width: 58ch; margin-inline: auto; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--left .eyebrow, .section-head--left p { margin-inline: 0; }

.prose { max-width: 68ch; }
.prose p { margin-bottom: var(--s5); line-height: 1.75; }
.prose h2 { margin-top: var(--s8); font-size: var(--t-xl); }
.prose h3 { margin-top: var(--s6); }
.prose ul { margin: 0 0 var(--s5); }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-muted); }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.prose a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }

/* 5. BUTTONS & CHIPS ===================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hair-strong);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.94rem; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: none; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-3); border-color: var(--ink-3); }
[data-theme="dark"] .btn--primary { background: #fff; border-color: #fff; color: var(--ink); }
[data-theme="dark"] .btn--primary:hover { background: #e6ebf5; border-color: #e6ebf5; }

.btn--accent { background: var(--green); border-color: var(--green); color: #ffffff; }
.btn--accent:hover { background: #29ad4d; border-color: #29ad4d; }

.btn--ghost, .btn--glass { background: transparent; border-color: var(--hair-strong); }
.btn--ghost:hover, .btn--glass:hover { background: var(--wash-hover); }
.btn--sm { padding: 8px 15px; font-size: 0.85rem; border-radius: var(--r-xs); }
.btn--lg { padding: 15px 28px; font-size: 1rem; border-radius: var(--r-md); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.btn-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 0.92rem; color: var(--green-ink);
}
[data-theme="dark"] .btn-link { color: #5fcf8a; }
.btn-link svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.btn-link:hover svg { transform: translateX(4px); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-full);
  border: 0; background: var(--surface-3);
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0; text-transform: none;
  color: var(--text-muted);
}
.pill--cyan { background: var(--sand); color: #2b57c4; }
.pill--gold { background: var(--red-soft); color: var(--red-ink); }
.pill--violet { background: var(--blush); color: var(--green-ink); }
.pill--green { background: var(--green-soft); color: var(--green-ink); }
[data-theme="dark"] .pill--cyan { color: #5fcf8a; }
[data-theme="dark"] .pill--gold, [data-theme="dark"] .pill--violet { color: #5fcf8a; }

.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 115, 47, 0.45); animation: pulse 2.4s infinite;
}

/* 6. ANNOUNCE / HEADER / NAV ============================================= */

.announce {
  position: relative; z-index: 220;
  background: var(--ink); color: #e9eef7;
  height: var(--announce-h);
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding-inline: 16px;
  font-size: 0.8rem; text-align: center;
}
.announce svg { width: 15px; height: 15px; color: var(--green-on-dark); flex-shrink: 0; }
.announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.announce__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; color: #8b95a8; line-height: 0; padding: 6px;
}
.announce__close svg { width: 13px; height: 13px; color: currentColor; }
.announce__close:hover { color: #fff; }
body.has-announce { --scroll-offset: var(--announce-h); }

.header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.header.is-stuck {
  background: var(--overlay);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--hair);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); width: 100%; }

.logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo__mark { width: 28px; height: 28px; flex-shrink: 0; }
.logo__text {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.22rem; letter-spacing: -0.04em; color: var(--text);
}
.logo__text span { color: var(--green-ink); }
[data-theme="dark"] .logo__text span { color: #5fcf8a; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: var(--r-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--text); background: var(--wash-hover); }
.nav__link.is-active { color: var(--text); font-weight: 600; }
.nav__link svg { width: 11px; height: 11px; opacity: 0.5; transition: transform var(--t-fast); }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 6px);
  min-width: 480px; padding: 10px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega--wide { min-width: 620px; }
.mega__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px; }
.mega__link { display: block; padding: 11px 13px; border-radius: var(--r-sm); transition: background var(--t-fast); }
.mega__link:hover { background: var(--wash-hover); }
.mega__title { font-weight: 600; font-size: 0.88rem; color: var(--text); letter-spacing: -0.015em; }
.mega__desc { font-size: 0.77rem; color: var(--text-dim); line-height: 1.45; margin: 3px 0 0; }
.mega__icon { display: none; }
.mega__foot {
  margin-top: 6px; padding: 12px 13px;
  border-top: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; font-size: 0.82rem;
}

.header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: var(--r-sm); border: 1px solid var(--hair);
  background: var(--surface); cursor: pointer; color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.icon-btn:hover { color: var(--text); background: var(--wash-hover); }
.icon-btn svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.burger { display: none; }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 190;
  background: var(--bg);
  padding: var(--s5) clamp(20px, 5vw, 40px) var(--s8);
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform var(--t-med), opacity var(--t-med), visibility var(--t-med);
}
.drawer.is-open { transform: none; opacity: 1; visibility: visible; }
.drawer__group { border-bottom: 1px solid var(--hair); }
.drawer__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 17px 2px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: -0.02em; color: var(--text);
}
.drawer__toggle svg { width: 15px; height: 15px; transition: transform var(--t-fast); color: var(--text-dim); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__panel { display: none; padding-bottom: 14px; }
.drawer__panel.is-open { display: block; }
.drawer__panel a { display: block; padding: 9px 2px 9px 14px; border-left: 2px solid var(--hair); color: var(--text-muted); font-size: 0.95rem; }
.drawer__panel a:hover { color: var(--green-ink); border-color: var(--green); }
.drawer__cta { margin-top: var(--s6); display: grid; gap: 10px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--green); z-index: 210; transition: width 0.1s linear;
}

/* Retired decoration — kept as no-ops. */
.bg-grid, .bg-glow, .bg-noise { display: none; }
.rel { position: relative; z-index: 1; }
.divider-glow { height: 1px; background: var(--hair); border: 0; margin: 0; }

/* 7. HERO & PRODUCT COLLAGE ============================================== */

.hero {
  position: relative;
  padding-top: var(--s8);
  padding-bottom: var(--s9);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 8% 0%, var(--blush), transparent 60%),
    radial-gradient(ellipse 80% 90% at 92% 10%, var(--mint), transparent 62%),
    radial-gradient(ellipse 60% 60% at 55% 100%, var(--sand), transparent 70%),
    var(--bg);
}
.hero--tall { padding-top: var(--s8); }
.hero__inner { position: relative; z-index: 2; }
.hero h1 { margin-bottom: var(--s5); }
.hero .lead { max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s6); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin-top: var(--s6); padding-top: var(--s5);
  border-top: 1px solid var(--hair);
  font-size: 0.83rem; color: var(--text-muted);
}
.hero__meta-item { display: flex; align-items: center; gap: 7px; }
.hero__meta-item svg { width: 14px; height: 14px; color: var(--green); }
.hero__top { max-width: 100%; }
.hero__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(var(--s6), 4vw, var(--s8)); align-items: center; }

.page-hero {
  position: relative;
  padding-top: var(--s8); padding-bottom: var(--s8);
  background:
    radial-gradient(ellipse 60% 100% at 10% 0%, var(--blush), transparent 60%),
    radial-gradient(ellipse 70% 100% at 90% 0%, var(--mint), transparent 62%),
    var(--bg);
}
.page-hero h1 { font-size: var(--t-2xl); max-width: 20ch; }
.page-hero .lead { max-width: 58ch; }

.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.8rem; color: var(--text-dim); margin-bottom: var(--s5);
}
.breadcrumb a:hover { color: var(--green-ink); }

/* --- Product collage --------------------------------------------------- */
.collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  position: relative;
}
.frag {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
  padding: 14px 16px;
  min-width: 0;
}
.frag--dark { background: var(--ink); border-color: var(--ink-3); color: #eef2f8; }
.frag--dark .frag__label, .frag--dark .frag__sub { color: #8b95a8; }
.frag--dark .frag__value { color: #fff; }
.frag__label {
  font-size: 0.7rem; font-weight: 600; color: var(--text-dim);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.frag__value {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem; letter-spacing: -0.03em; color: var(--text);
  margin-top: 4px; line-height: 1.1;
}
.frag__sub { font-size: 0.68rem; color: var(--text-dim); margin-top: 2px; }
.frag__chart { margin-top: 10px; }
.frag__chart svg { width: 100%; height: auto; overflow: visible; }

.frag--chart { grid-column: 2 / 7; }
.frag--stats { grid-column: 3 / 7; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0; border: 0; background: none; box-shadow: none; }
.frag--stat { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-md); box-shadow: var(--shadow-float); padding: 14px 16px; }
.frag--lead { grid-column: 1 / 3; grid-row: 2; align-self: center; z-index: 3; }
.frag--progress { grid-column: 1 / 6; z-index: 2; }
.frag--integrations { grid-column: 1 / 4; }
.frag--live { grid-column: 4 / 7; }

.frag__person { display: flex; align-items: center; gap: 9px; }
.frag__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blush); color: var(--red-ink);
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 0.7rem; font-weight: 700;
}
.frag__person > span:nth-child(2) { min-width: 0; }
.frag__name { display: block; font-size: 0.76rem; font-weight: 600; color: var(--text); line-height: 1.25; }
.frag__role { display: block; font-size: 0.66rem; color: var(--text-dim); line-height: 1.3; }
.frag__check {
  width: 16px; height: 16px; border-radius: 50%; background: var(--green);
  display: grid; place-items: center; margin-left: auto; flex-shrink: 0;
}
.frag__check svg { width: 9px; height: 9px; color: #fff; }

.frag__bar { height: 8px; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; margin-top: 10px; }
.frag__bar i { display: block; height: 100%; border-radius: var(--r-full); background: var(--green-ink); }
.frag--dark .frag__bar { background: rgba(255, 255, 255, 0.12); }

.frag__row {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 0; border-bottom: 1px solid var(--hair); font-size: 0.74rem;
}
.frag__row:last-child { border-bottom: 0; }
.frag--dark .frag__row { border-color: rgba(255, 255, 255, 0.09); }
.frag__logo {
  width: 22px; height: 22px; border-radius: var(--r-xs);
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--surface-3); color: var(--text-muted);
}
.frag__logo svg { width: 13px; height: 13px; }
.frag__tag {
  margin-left: auto; font-size: 0.62rem; font-weight: 700;
  padding: 3px 7px; border-radius: var(--r-full);
  background: var(--green-soft); color: var(--green-ink);
}
.frag__ring { display: grid; place-items: center; padding: 4px 0; }
.frag__ring svg { width: 74px; height: 74px; }

/* 8. CARDS =============================================================== */

.card {
  position: relative; padding: var(--s6);
  border-radius: var(--r-lg);
  border: 1px solid var(--hair);
  background: var(--surface);
  container-type: inline-size;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
.card--hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.card--glass { background: var(--surface-2); }
.card--flat { background: transparent; box-shadow: none; }
.card--pad-sm { padding: var(--s5); }
.card--pad-lg { padding: clamp(var(--s6), 3vw, var(--s7)); }
.card h3:not(.h4):not(.h5) { margin-bottom: var(--s3); }
.card p { font-size: 0.94rem; }
.card--feature::after { display: none; }

.card__icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-ink);
  margin-bottom: var(--s5);
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--gold { background: var(--green-soft); color: var(--green-ink); }
.card__icon--violet { background: var(--blush); color: var(--green-ink); }
.card__icon--green { background: var(--green-soft); color: var(--green-ink); }
.card__icon--rose { background: var(--red-soft); color: var(--red-ink); }
[data-theme="dark"] .card__icon--rose { background: var(--red-soft); color: var(--red-ink); }
[data-theme="dark"] .card__icon--gold, [data-theme="dark"] .card__icon--violet { color: #5fcf8a; }

.card__num {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--text-dim); letter-spacing: 0.1em;
  margin-bottom: var(--s4); display: block;
}

.card-list { display: grid; gap: 9px; margin-top: var(--s5); }
.card-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); }
.card-list li svg { width: 14px; height: 14px; margin-top: 4px; flex-shrink: 0; color: var(--green); }

.stat { padding: var(--s5); border-radius: var(--r-lg); border: 1px solid var(--hair); background: var(--surface); }
.stat__value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -0.04em;
  line-height: 1; color: var(--text);
}
.stat__label { font-size: 0.84rem; color: var(--text-muted); margin-top: 10px; }
.stat--cyan .stat__value { color: var(--green-ink); }
[data-theme="dark"] .stat--cyan .stat__value { color: #5fcf8a; }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--hair); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden; box-shadow: var(--shadow-md);
}
.stat-strip > div { padding: var(--s6) var(--s5); border-right: 1px solid var(--hair); }
.stat-strip > div:last-child { border-right: 0; }

.vcard {
  display: flex; flex-direction: column; gap: var(--s4);
  padding: var(--s5); border-radius: var(--r-lg);
  border: 1px solid var(--hair); background: var(--surface);
  transition: box-shadow var(--t-med), transform var(--t-med), border-color var(--t-med);
}
.vcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.vcard__top { display: flex; align-items: center; gap: 11px; }
.vcard__icon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--green-soft); color: var(--green-ink);
}
.vcard__icon svg { width: 19px; height: 19px; }
.vcard h4, .vcard .h4 { margin: 0; font-size: 0.98rem; }
.vcard p { font-size: 0.86rem; margin: 0; }
.vcard__meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--hair);
  font-size: 0.72rem; color: var(--text-dim);
}
.vcard__meta b { color: var(--green-ink); font-weight: 700; }
[data-theme="dark"] .vcard__meta b { color: #5fcf8a; }

.article-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); border: 1px solid var(--hair);
  background: var(--surface); overflow: hidden;
  transition: box-shadow var(--t-med), transform var(--t-med), border-color var(--t-med);
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.article-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.article-card__thumb svg { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.article-card h4, .article-card .h4 { font-size: 1.02rem; margin-bottom: 9px; line-height: 1.3; }
.article-card p { font-size: 0.86rem; }
.article-card__meta {
  margin-top: auto; padding-top: var(--s4);
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; color: var(--text-dim);
}

.case-card {
  padding: var(--s6); border-radius: var(--r-lg);
  border: 1px solid var(--hair); background: var(--surface);
  transition: box-shadow var(--t-med), transform var(--t-med), border-color var(--t-med);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.case-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: var(--s5); }
.case-card h3, .case-card .h3 { font-size: var(--t-lg); }
.case-card__kpis {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--hair);
}
.case-card__kpi b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.4rem; letter-spacing: -0.03em; line-height: 1; color: var(--green-ink);
}
[data-theme="dark"] .case-card__kpi b { color: #5fcf8a; }
.case-card__kpi span { font-size: 0.66rem; color: var(--text-dim); font-weight: 600; }

.frow {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: var(--s4);
  padding: var(--s5) 0; border-bottom: 1px solid var(--hair);
}
.frow:last-child { border-bottom: 0; }
.frow__icon {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-ink);
}
.frow__icon svg { width: 20px; height: 20px; }
.frow h4, .frow .h4 { margin-bottom: 5px; }
.frow p { font-size: 0.9rem; margin: 0; }

.cta-band {
  position: relative; border-radius: var(--r-xl);
  border: 1px solid var(--hair);
  background:
    radial-gradient(ellipse 60% 100% at 5% 0%, var(--blush), transparent 60%),
    radial-gradient(ellipse 70% 100% at 95% 100%, var(--mint), transparent 62%),
    var(--surface);
  padding: clamp(var(--s7), 5vw, var(--s9)) clamp(var(--s5), 4vw, var(--s8));
  text-align: center; display: block;
  box-shadow: var(--shadow-md);
}
.cta-band .eyebrow { margin-inline: auto; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: var(--s6); }

/* 9. FEATURE ACCORDION / TABS / STEPS / TIMELINE ========================= */

.accordion { border-top: 1px solid var(--hair); }
.accordion__item { border-bottom: 1px solid var(--hair); transition: background var(--t-med); }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); padding: var(--s5) 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.06rem; letter-spacing: -0.02em; color: var(--text);
  transition: color var(--t-fast);
}
.accordion__btn:hover { color: var(--green-ink); }
.accordion__icon {
  width: 22px; height: 22px; flex-shrink: 0; position: relative;
  transition: transform var(--t-med); color: var(--text-dim);
}
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; background: currentColor; transition: opacity var(--t-fast);
}
.accordion__icon::before { width: 14px; height: 2px; top: 10px; left: 4px; border-radius: 2px; }
.accordion__icon::after { width: 2px; height: 14px; left: 10px; top: 4px; border-radius: 2px; }
.accordion__btn[aria-expanded="true"] .accordion__icon::after { opacity: 0; }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height var(--t-med); }
.accordion__inner { padding-bottom: var(--s5); max-width: 70ch; }
.accordion__inner p { font-size: 0.95rem; line-height: 1.7; }

/* Feature variant: the open item lifts into a dark card holding a visual. */
.accordion--feature { border-top: 0; }
.accordion--feature .accordion__item {
  border-bottom: 1px solid var(--hair);
  border-radius: 0; padding-inline: 0;
}
.accordion--feature .accordion__item.is-open {
  background: var(--ink);
  border-radius: var(--r-xl);
  border-bottom-color: transparent;
  padding: var(--s5) clamp(var(--s5), 3vw, var(--s7));
  margin-block: var(--s4);
  box-shadow: var(--shadow-lg);
}
.accordion--feature .accordion__item.is-open .accordion__btn,
.accordion--feature .accordion__item.is-open .accordion__icon { color: #fff; }
.accordion--feature .accordion__item.is-open p { color: #9aa6bc; }
.accordion--feature .accordion__btn { font-size: var(--t-lg); padding-block: var(--s5); }
.accordion--feature .accordion__inner { max-width: none; }
.feature-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s6); align-items: center; }
.feature-panel__art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.feature-panel .btn { margin-top: var(--s5); }

.tabs { margin-top: var(--s6); }
.tabs__list {
  display: flex; gap: 6px; padding: 5px;
  border: 1px solid var(--hair); border-radius: var(--r-full);
  background: var(--surface-2);
  overflow-x: auto; scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__btn {
  flex: 1 0 auto; min-width: max-content;
  padding: 10px 18px; border-radius: var(--r-full);
  border: 0; background: none; color: var(--text-muted);
  font-family: var(--font-display); font-weight: 600; font-size: 0.86rem;
  cursor: pointer; white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.tabs__btn:hover { color: var(--text); }
.tabs__btn[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .tabs__btn[aria-selected="true"] { background: var(--surface-3); }
.tabs__panel { display: none; padding-top: var(--s7); }
.tabs__panel.is-active { display: block; animation: riseIn 0.4s var(--ease) both; }

.vtabs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(var(--s6), 3vw, var(--s7)); }
.vtabs__list { display: flex; flex-direction: column; gap: 4px; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.vtabs__btn {
  display: flex; align-items: center; gap: 11px;
  width: 100%; padding: 12px 14px;
  border: 0; border-radius: var(--r-sm);
  background: none; color: var(--text-muted);
  text-align: left; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  letter-spacing: -0.01em; transition: background var(--t-fast), color var(--t-fast);
}
.vtabs__btn svg { width: 17px; height: 17px; flex-shrink: 0; opacity: 0.6; }
.vtabs__btn:hover { background: var(--wash-hover); color: var(--text); }
.vtabs__btn[aria-selected="true"] { background: var(--ink); color: #fff; }
.vtabs__btn[aria-selected="true"] svg { color: var(--green-on-dark); opacity: 1; }
[data-theme="dark"] .vtabs__btn[aria-selected="true"] { background: var(--surface-3); }
.vtabs__panel { display: none; }
.vtabs__panel.is-active { display: block; animation: riseIn 0.4s var(--ease) both; }

.steps { counter-reset: step; display: grid; gap: var(--s4); }
.step {
  position: relative; padding: var(--s6);
  border-radius: var(--r-lg); border: 1px solid var(--hair);
  background: var(--surface);
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s5);
  transition: box-shadow var(--t-med);
}
.step:hover { box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  width: 34px; height: 34px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
}
.step h4, .step .h4 { margin-bottom: 6px; }
.step p { font-size: 0.92rem; margin: 0; }
.steps--h { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--h .step { display: block; }
.steps--h .step::before { margin-bottom: var(--s4); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--h .step .btn-link { display: inline-flex; }

/* Guarantee block — the risk reversal, given its own dark card. */
.guarantee {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(var(--s6), 4vw, var(--s8)); align-items: center;
  padding: clamp(var(--s6), 3vw, var(--s7));
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(76, 194, 122, 0.18), transparent 60%),
    var(--ink);
  color: #eef2f8; box-shadow: var(--shadow-lg);
}
.guarantee h3, .guarantee .h3 { color: #fff; font-size: var(--t-xl); max-width: 22ch; }
.guarantee p { color: #9aa6bc; max-width: 54ch; }
.guarantee__stats { display: grid; gap: var(--s4); }
.guarantee__stat {
  padding: var(--s4) var(--s5); border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08);
}
.guarantee__stat b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.9rem; letter-spacing: -0.04em; line-height: 1; color: var(--green-on-dark);
}
.guarantee__stat span { display: block; font-size: 0.78rem; color: #9aa6bc; margin-top: 5px; }

.timeline { position: relative; padding-left: 0; }
.timeline::before { display: none; }
.timeline__item {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: var(--s5);
  padding: var(--s5) 0; border-bottom: 1px solid var(--hair);
}
.timeline__item::before { display: none; }
.timeline__item:last-child { border-bottom: 0; }
.timeline__year {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  color: var(--red-ink); display: block; margin: 0; padding-top: 3px;
}
[data-theme="dark"] .timeline__year { color: #5fcf8a; }
.timeline__item h4, .timeline__item .h4 { margin-bottom: 5px; }
.timeline__item p { font-size: 0.9rem; margin: 0; }

/* 10. DUO PANELS & TESTIMONIAL WALL ====================================== */

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.duo__panel {
  padding: clamp(var(--s6), 4vw, var(--s8));
  display: flex; flex-direction: column; gap: var(--s5);
  min-height: 100%;
}
.duo__panel--sky { background: var(--blush); }
.duo__panel--mint { background: var(--mint); }
.duo__art { flex: 1; display: grid; place-items: center; padding-block: var(--s5); }
.duo__art-inner { width: 100%; max-width: 380px; display: grid; gap: 12px; }
.duo__panel h3, .duo__panel .h3 { font-size: var(--t-lg); margin-bottom: var(--s3); }
.duo__panel p { font-size: 0.92rem; }
.duo__more {
  margin-top: auto; align-self: flex-end;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12, 20, 36, 0.08); color: var(--ink);
  transition: background var(--t-fast), transform var(--t-fast);
}
.duo__more:hover { background: rgba(12, 20, 36, 0.16); transform: translateX(3px); }
.duo__more svg { width: 17px; height: 17px; }
[data-theme="dark"] .duo__panel h3, [data-theme="dark"] .duo__panel .h3, [data-theme="dark"] .duo__panel p { color: var(--text); }

/* Chat-style bubbles used inside the duo art */
.bubble {
  background: var(--ink); color: #fff; border-radius: var(--r-md);
  padding: 10px 12px; font-size: 0.76rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
}
/* This bubble keeps a white ground in both themes, so its text is pinned to
   the dark ink rather than the themed one — otherwise dark mode paints
   near-white type onto white. */
.bubble--light { background: #fff; color: var(--ink); }
.bubble--light .frag__name { color: var(--ink); }
.bubble--light .frag__role { color: #666b74; }
.bubble--light .frag__avatar { color: #b83030; background: #fbeeee; }
.bubble--ghost { background: #fff; height: 34px; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.bubble__code {
  font-family: var(--font-mono); font-size: 0.68rem;
  background: var(--green-ink); color: #fff; padding: 3px 7px; border-radius: var(--r-xs);
}
/* Dark mode lightens --green-ink, so the chip needs dark type to stay legible. */
[data-theme="dark"] .bubble__code { color: var(--ink); }
.brand-chip {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 11px 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.86rem;
  letter-spacing: -0.03em; color: var(--ink);
}

/* Testimonial wall: rows beyond the fold fade out under a Show more button. */
.wall { position: relative; }
.wall__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.wall.is-clamped .wall__grid { max-height: 560px; overflow: hidden; }
.wall.is-clamped::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 240px;
  /* Fades to whatever the section sits on, not always the page ground. */
  background: linear-gradient(transparent, var(--wall-fade, var(--bg)) 78%);
  pointer-events: none;
}
.section--alt .wall { --wall-fade: var(--bg-alt); }
.wall__more { display: flex; justify-content: center; margin-top: var(--s6); position: relative; z-index: 2; }
.wall.is-clamped .wall__more { margin-top: calc(var(--s6) * -1); }

.quote {
  padding: var(--s5); border-radius: var(--r-lg);
  border: 1px solid var(--hair); background: var(--surface);
  display: flex; flex-direction: column; gap: var(--s4); height: 100%;
}
.quote__stars { display: flex; gap: 2px; color: var(--amber); }
.quote__stars svg { width: 13px; height: 13px; }
.quote p { font-size: 0.88rem; line-height: 1.6; color: var(--text-muted); margin: 0; }
.quote__by { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.quote__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blush); border: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  color: var(--red-ink); flex-shrink: 0;
}
.quote__by b { display: block; font-size: 0.84rem; font-weight: 700; letter-spacing: -0.01em; }
/* Scoped to the name/role block so it cannot repaint .quote__avatar,
   whose red initials are part of the mark. */
.quote__by > div span { font-size: 0.73rem; color: var(--text-dim); }
.quote--wall { gap: var(--s3); }
.quote--wall .quote__by { margin-top: 0; order: -1; }

/* 11. MARQUEE / TICKER / LOGOS =========================================== */

.marquee {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; }

.logo-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 0 var(--s6); border: 0; background: none;
  color: var(--text-dim);
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; letter-spacing: -0.03em;
  white-space: nowrap; transition: color var(--t-fast);
}
.logo-chip:hover { color: var(--text-muted); }

.ticker {
  display: flex; align-items: center; gap: var(--s5);
  padding: 11px 14px; border: 1px solid var(--hair);
  border-radius: var(--r-sm); background: var(--surface-2);
  font-size: 0.74rem; overflow: hidden;
}
.ticker__item { display: flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--text-dim); }
.ticker__item b { color: var(--text); font-weight: 700; font-family: var(--font-mono); }
.ticker__up b { color: var(--green-ink); }
[data-theme="dark"] .ticker__up b { color: #5fcf8a; }

/* 12. FORMS & WIDGETS ==================================================== */

.field { display: block; margin-bottom: var(--s4); }
.field__label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field__hint { font-size: 0.76rem; color: var(--text-dim); margin-top: 6px; }

.input, .select, .textarea {
  width: 100%; padding: 12px 15px;
  border: 1px solid var(--hair-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text); font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: var(--text-dim); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--green-ink);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.textarea { min-height: 110px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b95a8' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 15px;
  padding-right: 38px;
}
.select option { background: var(--surface); color: var(--text); }

.choices { display: grid; gap: 8px; }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__body {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; border-radius: var(--r-sm);
  border: 1px solid var(--hair-strong); background: var(--surface);
  font-size: 0.9rem; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.choice__body svg { width: 16px; height: 16px; color: var(--text-dim); flex-shrink: 0; }
.choice:hover .choice__body { border-color: var(--text-dim); }
.choice input:checked + .choice__body {
  border-color: var(--green); background: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(0, 115, 47, 0.14);
}
.choice input:checked + .choice__body svg { color: var(--green-ink); }
.choice input:focus-visible + .choice__body { outline: 2px solid var(--green-ink); outline-offset: 2px; }

.msform {
  border-radius: var(--r-xl); border: 1px solid var(--hair);
  background: var(--surface); overflow: hidden; box-shadow: var(--shadow-lg);
}
.msform__head { padding: var(--s5) var(--s6); border-bottom: 1px solid var(--hair); background: var(--surface-2); }
.msform__progress { height: 6px; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; margin-top: 13px; }
.msform__bar { height: 100%; width: 25%; border-radius: var(--r-full); background: var(--green); transition: width var(--t-med); }
.msform__steps { display: flex; gap: 14px; font-size: 0.72rem; font-weight: 600; color: var(--text-dim); }
.msform__steps span.is-done { color: var(--green-ink); }
.msform__steps span.is-current { color: var(--text); }
.msform__head .strong { font-size: 0.8rem; font-weight: 700; }
.msform__body { padding: var(--s6); min-height: 350px; }
.msform__step { display: none; animation: riseIn 0.35s var(--ease) both; }
.msform__step.is-active { display: block; }
.msform__foot {
  padding: var(--s5) var(--s6); border-top: 1px solid var(--hair);
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: var(--surface-2);
}
.msform__success { display: none; text-align: center; padding: var(--s7) var(--s6); }
.msform__success.is-active { display: block; animation: riseIn 0.4s var(--ease) both; }
.msform__success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto var(--s5); display: grid; place-items: center;
  background: var(--green-soft); border: 0; color: var(--green-ink);
}
.msform__success-icon svg { width: 26px; height: 26px; }

.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--r-xl); border: 1px solid var(--hair);
  overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg);
}
.calc__controls { padding: clamp(var(--s5), 3vw, var(--s7)); border-right: 1px solid var(--hair); }
.calc__out { padding: clamp(var(--s5), 3vw, var(--s7)); background: var(--ink); color: #eef2f8; display: flex; flex-direction: column; gap: var(--s4); }
.calc__out .calc__row span { color: #9aa6bc; }
.calc__out .calc__row b { color: #fff; }
.calc__out hr { background: rgba(255, 255, 255, 0.12); }
.calc__out .tiny { color: #8b95a8; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc__row span { font-size: 0.85rem; color: var(--text-muted); }
.calc__row b { font-size: 0.95rem; color: var(--text); font-weight: 700; }
.calc__hero {
  padding: var(--s5); border-radius: var(--r-lg);
  border: 0; background: rgba(255, 255, 255, 0.06); text-align: center;
}
.calc__hero b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1;
  color: var(--green-on-dark);
}
.calc__hero span { font-size: 0.7rem; color: #9aa6bc; font-weight: 600; letter-spacing: 0.06em; display: block; margin-top: 10px; }

.range { display: block; margin-bottom: var(--s5); }
.range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 11px; }
.range__top label { font-size: 0.84rem; font-weight: 600; }
.range__val { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--green-ink); }
[data-theme="dark"] .range__val { color: #5fcf8a; }
input[type="range"] {
  width: 100%; height: 6px; border-radius: var(--r-full);
  background: var(--surface-3); appearance: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 0; box-shadow: 0 1px 4px rgba(12, 20, 36, 0.3), 0 0 0 2px var(--green-ink) inset;
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--green-ink);
  box-shadow: 0 1px 4px rgba(12, 20, 36, 0.3); cursor: pointer;
}

.funnel { display: grid; gap: 8px; }
.funnel__stage {
  position: relative; border: 1px solid var(--hair);
  border-radius: var(--r-sm); background: var(--surface-2);
  padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  overflow: hidden; cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.funnel__stage:hover { transform: translateX(3px); }
.funnel__stage.is-active { border-color: var(--green-ink); }
.funnel__fill {
  position: absolute; inset: 0 auto 0 0;
  background: var(--green-soft); width: 0;
  transition: width 1s var(--ease);
}
.funnel__stage > :not(.funnel__fill) { position: relative; z-index: 1; }
.funnel__label { font-weight: 600; font-size: 0.88rem; letter-spacing: -0.01em; min-width: 0; }
.funnel__label small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--text-dim); margin-top: 1px; }
.funnel__val { font-family: var(--font-mono); font-size: 0.78rem; color: var(--green-ink); white-space: nowrap; font-weight: 500; }
[data-theme="dark"] .funnel__val { color: #5fcf8a; }

.panel { border-radius: var(--r-lg); border: 1px solid var(--hair); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-md); }
.panel__head {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-bottom: 1px solid var(--hair);
  background: var(--surface-2);
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim);
  overflow: hidden;
}
.panel__head > span:not(.panel__dots):not(.dot) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel__dots { display: flex; gap: 5px; flex-shrink: 0; }
.panel__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--hair-strong); display: block; }
.panel__dots i:first-child { background: #ff5f57; }
.panel__dots i:nth-child(2) { background: #febc2e; }
.panel__dots i:nth-child(3) { background: #28c840; }
.panel__body { padding: var(--s5); }
.panel pre {
  margin: 0; font-family: var(--font-mono); font-size: 0.76rem;
  line-height: 1.75; color: var(--text-muted); overflow-x: auto; white-space: pre;
}
.panel pre .k { color: var(--green-ink); }
.panel pre .s { color: var(--green-ink); }
.panel pre .n { color: var(--code-num); }
.panel pre .c { color: var(--text-dim); font-style: italic; }
[data-theme="dark"] .panel pre .k { color: #5fcf8a; }
[data-theme="dark"] .panel pre .s { color: #5fcf8a; }
[data-theme="dark"] .panel pre .n { color: var(--amber); }

/* Link list for light cards. The footer's own list is tuned for a dark
   ground and must not be borrowed onto a white surface. */
.link-list li { margin-bottom: 11px; }
.link-list a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--t-fast); }
.link-list a:hover { color: var(--green-ink); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s6); }
.filter-btn {
  padding: 8px 16px; border: 1px solid var(--hair-strong);
  border-radius: var(--r-full); background: var(--surface);
  color: var(--text-muted); font-family: var(--font-display);
  font-weight: 600; font-size: 0.84rem; cursor: pointer;
  transition: all var(--t-fast);
}
.filter-btn:hover { color: var(--text); border-color: var(--text-dim); }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="dark"] .filter-btn.is-active { background: #fff; color: var(--ink); border-color: #fff; }

.note {
  display: flex; gap: 13px; padding: var(--s5);
  border: 1px solid var(--hair); border-radius: var(--r-md);
  background: var(--surface-2); font-size: 0.9rem;
}
.note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green-ink); margin-top: 2px; }
.note--gold { background: var(--red-soft); border-color: transparent; }
.note--edit { background: var(--green-soft); border-color: transparent; }
.note--edit svg { color: var(--green-ink); }
.note--gold svg { color: var(--red-ink); }
.note code { font-family: var(--font-mono); font-size: 0.85em; color: var(--text); }

/* 13. TABLES ============================================================= */

.table-wrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: var(--r-lg); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; min-width: 620px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--hair); font-size: 0.9rem; }
table.data th {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--text-dim); background: var(--surface-2);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background var(--t-fast); }
table.data tbody tr:hover { background: var(--wash); }
table.data td.num { font-family: var(--font-mono); color: var(--green-ink); font-size: 0.85rem; }
[data-theme="dark"] table.data td.num { color: #5fcf8a; }
table.data td strong { color: var(--text); font-weight: 700; }

/* 14. FOOTER ============================================================= */

/* The footer is dark in both themes — it closes the page. */
.footer {
  border-top: 0; background: var(--ink); color: #cdd5e2;
  padding-top: var(--s8); position: relative;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: var(--s8);
}
.footer .logo__text { color: #fff; }
.footer .logo__text span { color: var(--green-on-dark); }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr));
  gap: var(--s6); padding-bottom: var(--s8);
}
.footer__brand p { font-size: 0.88rem; max-width: 30ch; margin-top: var(--s4); color: #9aa6bc; }
.footer h5, .footer .h5 { font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: var(--s5); letter-spacing: -0.01em; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { font-size: 0.88rem; color: #9aa6bc; transition: color var(--t-fast); }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--s5) 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--s4); font-size: 0.8rem; color: #8b95a8;
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.09); border: 0;
  display: grid; place-items: center; color: #cdd5e2;
  transition: background var(--t-fast), color var(--t-fast);
}
.socials a:hover { background: var(--green-on-dark); color: #ffffff; }
.socials svg { width: 15px; height: 15px; }
.footer__cta {
  border: 0; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  padding: var(--s6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s8);
}


/* Auth pages ------------------------------------------------------------ */
.auth {
  padding-block: var(--s8) var(--s9);
  background:
    radial-gradient(ellipse 60% 100% at 10% 0%, var(--blush), transparent 60%),
    radial-gradient(ellipse 70% 100% at 90% 0%, var(--mint), transparent 62%),
    var(--bg);
}
.auth__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(var(--s6), 5vw, var(--s9)); align-items: center;
}
.auth__aside h1 { font-size: var(--t-2xl); max-width: 16ch; }
.auth__card {
  padding: clamp(var(--s5), 3vw, var(--s7));
  border-radius: var(--r-xl); border: 1px solid var(--hair);
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.auth__title { font-size: var(--t-xl); margin-bottom: var(--s2); }
.auth__card a { color: var(--green-ink); font-weight: 600; }
.auth__label-row { display: flex; justify-content: space-between; align-items: baseline; }
.auth__link { font-size: 0.78rem; font-weight: 500; }
.auth__success { text-align: center; padding-top: var(--s5); }
.auth__success .msform__success-icon { margin-bottom: var(--s4); }
.auth__card.is-done > :not(.auth__success):not(.auth__title) { display: none; }
.auth__card.is-done .auth__success { display: block; animation: riseIn 0.4s var(--ease) both; }
.header__login { margin-right: -2px; }
@media (max-width: 960px) {
  .auth__grid { grid-template-columns: minmax(0, 1fr); }
  .auth__aside { display: none; }
}

/* Inline email capture */
.signup { display: flex; gap: 10px; flex-wrap: wrap; }
.signup .input { flex: 1 1 220px; }

/* 15. MOTION ============================================================= */

@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 115, 47, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(0, 115, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 115, 47, 0); }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }
.reveal[data-delay="4"] { transition-delay: 0.28s; }
.reveal[data-delay="5"] { transition-delay: 0.35s; }
.reveal[data-delay="6"] { transition-delay: 0.42s; }

.float { animation: float 8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* 16. RESPONSIVE ========================================================= */

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps--h { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guarantee { grid-template-columns: minmax(0, 1fr); }
  .wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .nav, .header__actions .btn { display: none; }
  .burger { display: grid; }
  .split, .split--40, .split--60, .hero__body { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vtabs { grid-template-columns: minmax(0, 1fr); }
  .vtabs__list { flex-direction: row; overflow-x: auto; position: static; scrollbar-width: none; padding-bottom: 4px; }
  .vtabs__list::-webkit-scrollbar { display: none; }
  .vtabs__btn { flex: 0 0 auto; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__controls { border-right: 0; border-bottom: 1px solid var(--hair); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .feature-panel { grid-template-columns: minmax(0, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip > div:nth-child(2n) { border-right: 0; }
  .stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .section { padding-block: var(--s8); }
  .section--lg { padding-block: var(--s9); }
  /* The collage flattens into a simple stack of cards. */
  .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frag--chart { grid-column: 1 / -1; }
  .frag--stats { grid-column: 1 / -1; }
  .frag--progress { grid-column: 1 / -1; }
  .frag--lead { grid-column: 1 / 2; grid-row: auto; }
  .frag--integrations { grid-column: 2 / 3; }
  .frag--live { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-5, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .choices--2, .choices--3 { grid-template-columns: minmax(0, 1fr); }
  .steps--h, .steps--3 { grid-template-columns: minmax(0, 1fr); }
  .guarantee__stats { grid-template-columns: minmax(0, 1fr); }
  .stat-strip { grid-template-columns: minmax(0, 1fr); }
  .stat-strip > div { border-right: 0; border-bottom: 1px solid var(--hair); }
  .stat-strip > div:last-child { border-bottom: 0; }
  .wall__grid { grid-template-columns: minmax(0, 1fr); }
  .wall.is-clamped .wall__grid { max-height: 460px; }
  .card { padding: var(--s5); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .timeline__item { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .msform__body, .msform__head, .msform__foot, .msform__success { padding: var(--s5); }
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .collage { grid-template-columns: minmax(0, 1fr); }
  .frag--lead, .frag--integrations { grid-column: 1 / -1; }
  .frag--stats { grid-template-columns: 1fr 1fr; }
}

@media print {
  .header, .footer, .drawer, .scroll-progress, .announce { display: none !important; }
  body { background: #fff; color: #000; }
}
