/* ============================================================================
   FHINK AI · Corporate Fintech Website — Design System
   Financial Thinking Powered by AI
   ----------------------------------------------------------------------------
   Brand DNA carried over from the live product: teal #26A59A + charcoal #151924,
   Heebo, soft grid + glow. Elevated here to an Apple-style glass / Wealthfront +
   Monday corporate language. Light theme. RTL-ready (logical properties).
   Design: Studio Asaf Yefet · www.asaf.studio
============================================================================ */

/* ----------------------------------------------------------------------------
   1. Design tokens
---------------------------------------------------------------------------- */
:root {
  /* Brand ink */
  --ink:       #151924;
  --ink-2:     #3b4252;
  --ink-3:     #6b7385;
  --ink-4:     #99a0b0;
  --ink-900:   #0d111b;
  --ink-850:   #11151f;
  --ink-800:   #161b28;

  /* Teal */
  --teal:      #26a59a;
  --teal-600:  #1f8d84;
  --teal-700:  #16756c;
  --teal-300:  #5ee8dc;
  --teal-100:  #c7efeb;
  --teal-50:   #eaf7f5;
  --teal-soft:  rgba(38,165,154,.08);
  --teal-soft2: rgba(38,165,154,.14);

  /* Warm accent — used very sparingly (Founders / premium touches) */
  --gold:      #c6a16b;
  --gold-soft: rgba(198,161,107,.12);

  /* Neutrals / surfaces */
  --bg:        #f4f7f7;
  --bg-2:      #eef2f2;
  --surface:   #ffffff;
  --surface-2: #fbfcfc;
  --line:      rgba(21,25,36,.09);
  --line-2:    rgba(21,25,36,.055);
  --line-3:    rgba(21,25,36,.14);

  /* Glass */
  --glass:        rgba(255,255,255,.72);
  --glass-strong: rgba(255,255,255,.86);
  --glass-line:   rgba(255,255,255,.7);
  --glass-blur:   saturate(180%) blur(20px);

  /* State */
  --success: #2daa6e;
  --warning: #d9a441;
  --error:   #d64545;

  /* Shadows — layered, soft */
  --shadow-xs: 0 1px 2px rgba(21,25,36,.05);
  --shadow-sm: 0 2px 10px -2px rgba(21,25,36,.07);
  --shadow-md: 0 10px 28px -10px rgba(21,25,36,.16), 0 2px 8px -3px rgba(21,25,36,.06);
  --shadow-lg: 0 26px 60px -18px rgba(21,25,36,.22), 0 8px 22px -10px rgba(21,25,36,.10);
  --shadow-xl: 0 44px 100px -28px rgba(21,25,36,.30), 0 12px 30px -14px rgba(21,25,36,.12);
  --shadow-teal:   0 14px 34px -10px rgba(38,165,154,.42);
  --shadow-teal-lg:0 22px 50px -14px rgba(38,165,154,.50);
  --glass-inset: inset 0 1px 0 rgba(255,255,255,.6);

  /* Radii */
  --r-xs: 8px;  --r-sm: 12px; --r-md: 16px; --r-lg: 20px;
  --r-xl: 28px; --r-2xl: 36px; --pill: 999px;

  /* Type */
  --font-display: "Schibsted Grotesk", "Heebo", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans:    "Heebo", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Motion */
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.4,.5,1);
  --t-fast: 160ms; --t: 280ms; --t-slow: 600ms;

  /* Layout */
  --maxw: 1200px;
  --maxw-tight: 980px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 74px;

  /* z-index scale */
  --z-bg: -1; --z-base: 1; --z-mega: 90; --z-header: 100; --z-progress: 120;
  --z-overlay: 900; --z-modal: 1000;
}

/* ----------------------------------------------------------------------------
   2. Reset & base
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select, button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--teal-soft2); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

main { flex: 1; }

/* ----------------------------------------------------------------------------
   3. Background decoration
---------------------------------------------------------------------------- */
.bg-decoration { position: fixed; inset: 0; z-index: var(--z-bg); overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(21,25,36,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21,25,36,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 72%);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(120px); }
.bg-glow--a { top: -260px; inset-inline-end: -160px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(38,165,154,.26), transparent 65%); opacity: .8; }
.bg-glow--b { bottom: -360px; inset-inline-start: -240px; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(38,165,154,.10), transparent 65%); opacity: .7; }
.bg-glow--c { top: 38%; inset-inline-start: 46%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(94,232,220,.10), transparent 60%); opacity: .6; }

/* ----------------------------------------------------------------------------
   4. Scroll progress bar (pinned to the very top)
---------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  height: 3px; z-index: var(--z-progress);
  background: transparent; pointer-events: none;
}
.scroll-progress__bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--teal-700), var(--teal), var(--teal-300));
  box-shadow: 0 0 14px rgba(38,165,154,.6);
  border-end-end-radius: var(--pill); border-start-end-radius: var(--pill);
  transition: width 80ms linear;
}

/* ----------------------------------------------------------------------------
   5. Layout primitives
---------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--tight { max-width: var(--maxw-tight); }
.section { padding-block: clamp(72px, 10vw, 132px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 84px); }
.section--flush-top { padding-block-start: 0; }

.stack-sm > * + * { margin-block-start: 12px; }
.stack > * + * { margin-block-start: 20px; }

/* ----------------------------------------------------------------------------
   6. Typography
---------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: .76rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
}
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.032em;
  color: var(--ink);
  margin: 0;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; }
.h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.028em; font-weight: 800; }
.h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.024em; font-weight: 700; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
.h4 { font-size: 1.12rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }

.lead { font-size: clamp(1.075rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); font-weight: 400; }
.muted { color: var(--ink-3); }
.body  { color: var(--ink-2); }
.mono  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.accent { color: var(--teal-700); }
.accent-grad {
  background: linear-gradient(100deg, var(--teal-700) 0%, var(--teal) 48%, var(--teal-300) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-block-start: 16px; }
.section-head .lead { margin-block-start: 18px; }

/* ----------------------------------------------------------------------------
   7. Buttons
---------------------------------------------------------------------------- */
.btn {
  --b-pad-i: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 var(--b-pad-i);
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  letter-spacing: -.01em; border-radius: var(--pill);
  cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t) var(--ease-out),
              background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-600) 100%);
  box-shadow: var(--shadow-teal), var(--glass-inset);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-teal-lg), var(--glass-inset); }
.btn--primary .btn-arrow { transition: transform var(--t) var(--ease-spring); }
.btn--primary:hover .btn-arrow { transform: translateX(4px); }

.btn--ghost {
  color: var(--ink);
  background: var(--glass-strong);
  border: 1px solid var(--line-3);
  box-shadow: var(--shadow-xs);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--teal-700); box-shadow: var(--shadow-sm); }

.btn--dark { color: #fff; background: var(--ink); box-shadow: var(--shadow-md); }
.btn--dark:hover { transform: translateY(-2px); background: var(--ink-800); box-shadow: var(--shadow-lg); }

.btn--light { color: var(--ink); background: #fff; box-shadow: var(--shadow-md); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--teal-700); }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.06rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--teal-700);
  transition: gap var(--t) var(--ease-spring), color var(--t-fast) var(--ease);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--t) var(--ease-spring); }
.link-arrow:hover { color: var(--teal); }
.link-arrow:hover svg { transform: translateX(4px); }

/* logical arrow flip for RTL */
[dir="rtl"] .btn--primary:hover .btn-arrow,
[dir="rtl"] .link-arrow:hover svg { transform: translateX(-4px); }
[dir="rtl"] .btn-arrow, [dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* ----------------------------------------------------------------------------
   8. Header · glass · mega-menu
---------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: var(--z-header);
  height: var(--header-h);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  border-block-end: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-block-end-color: var(--line);
  box-shadow: 0 6px 30px -16px rgba(21,25,36,.2);
}
.header-inner {
  max-width: 1280px; margin-inline: auto; height: 100%;
  padding-inline: clamp(16px, 4vw, 40px);
  display: flex; align-items: center; gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand__mark { height: 34px; }

/* primary nav */
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 14px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-size: .97rem; font-weight: 500; color: var(--ink-2);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__link:hover, .nav__item.is-open .nav__link { color: var(--ink); background: var(--teal-soft); }
.nav__link .chev { width: 15px; height: 15px; color: var(--ink-3); transition: transform var(--t) var(--ease); }
.nav__item.is-open .nav__link .chev { transform: rotate(180deg); }
.nav__link.is-active { color: var(--teal-700); font-weight: 600; }

/* mega panel */
.mega {
  position: absolute; inset-block-start: calc(100% + 12px); inset-inline-start: 50%;
  transform: translateX(-50%) translateY(8px);
  width: max-content; max-width: 92vw;
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  padding: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out), visibility var(--t);
  z-index: var(--z-mega);
}
[dir="rtl"] .mega { transform: translateX(50%) translateY(8px); }
.nav__item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
[dir="rtl"] .nav__item.is-open .mega { transform: translateX(50%) translateY(0); }
.mega__grid { display: grid; gap: 6px; }
.mega--2 .mega__grid { grid-template-columns: repeat(2, minmax(230px, 1fr)); }
.mega--solutions { width: 680px; }
.mega--solutions .mega__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mega-link {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.mega-link:hover { background: var(--teal-soft); transform: translateX(2px); }
[dir="rtl"] .mega-link:hover { transform: translateX(-2px); }
.mega-link__icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; color: var(--teal-700);
  background: var(--teal-soft); border: 1px solid var(--teal-soft2);
}
.mega-link__icon svg { width: 19px; height: 19px; }
.mega-link__t { font-weight: 600; font-size: .96rem; color: var(--ink); display: block; }
.mega-link__d { font-size: .83rem; color: var(--ink-3); margin-block-start: 2px; line-height: 1.4; }
.mega__foot {
  margin-block-start: 10px; padding: 14px; border-radius: var(--r-md);
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-800) 100%);
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mega__foot p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.72); }
.mega__foot strong { display: block; color: #fff; font-size: .98rem; font-family: var(--font-display); }

/* portal lock chip in mega */
.mega-link__lock { display: inline-flex; align-items: center; gap: 5px; margin-block-start: 5px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.mega-link__lock svg { width: 12px; height: 12px; }

/* header actions */
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 42px; }
.login-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.login-link svg { width: 16px; height: 16px; }
.login-link:hover { color: var(--ink); background: var(--teal-soft); }

/* language toggle (segmented עב | EN) */
.lang-toggle { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--pill);
  background: var(--bg-2); border: 1px solid var(--line); flex-shrink: 0; }
.lang-toggle__btn { min-width: 36px; height: 32px; padding: 0 10px; border-radius: var(--pill);
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500; color: var(--ink-3); letter-spacing: .02em;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.lang-toggle__btn:hover { color: var(--ink); }
.lang-toggle__btn.is-active { color: #fff; background: linear-gradient(180deg, var(--teal), var(--teal-600)); box-shadow: var(--shadow-xs); }
.lang-toggle--mobile { width: 100%; justify-content: center; margin-block-end: 8px; }
.lang-toggle--mobile .lang-toggle__btn { flex: 1; height: 44px; font-size: .95rem; }

/* burger */
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--ink); }
.burger svg { width: 24px; height: 24px; }
.burger:hover { background: var(--teal-soft); }

/* ----------------------------------------------------------------------------
   9. Mobile nav
---------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: var(--glass-strong);
  -webkit-backdrop-filter: saturate(180%) blur(26px); backdrop-filter: saturate(180%) blur(26px);
  padding: calc(var(--header-h) + 12px) var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out), visibility var(--t);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.m-acc { border-block-end: 1px solid var(--line); }
.m-acc__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--ink);
}
.m-acc__head .chev { width: 20px; height: 20px; color: var(--ink-3); transition: transform var(--t) var(--ease); }
.m-acc.is-open .m-acc__head .chev { transform: rotate(180deg); }
.m-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t) var(--ease-out); }
.m-acc.is-open .m-acc__body { grid-template-rows: 1fr; }
.m-acc__body > div { overflow: hidden; }
.m-acc__link { display: block; padding: 13px 4px 13px 16px; font-size: 1.02rem; color: var(--ink-2); }
.m-acc__link:hover { color: var(--teal-700); }
.m-link { display: block; padding: 18px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--ink); border-block-end: 1px solid var(--line); }
.mobile-nav__cta { margin-block-start: 28px; display: grid; gap: 12px; }

body.no-scroll { overflow: hidden; }

/* ----------------------------------------------------------------------------
   10. Hero
---------------------------------------------------------------------------- */
.hero { position: relative; padding-block: calc(var(--header-h) + clamp(40px, 7vw, 84px)) clamp(60px, 9vw, 120px); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero .display { margin-block-start: 22px; }
.hero__sub { margin-block-start: 24px; max-width: 30em; }
.hero__cta { margin-block-start: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-block-start: 22px; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-3); }
.hero__note svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

.pill-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 9px; border-radius: var(--pill);
  background: var(--glass-strong); border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  font-size: .82rem; font-weight: 500; color: var(--ink-2);
}
.pill-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.pill-badge strong { color: var(--ink); font-weight: 700; }

/* ----------------------------------------------------------------------------
   11. Dashboard mock cluster (hero visual) — bespoke vector UI
---------------------------------------------------------------------------- */
.dash-cluster { position: relative; min-height: 480px; padding-block: 54px 40px; }
.glass-card {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), var(--glass-inset);
}
.mock { border-radius: var(--r-lg); }
.mock__head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 14px; }
.mock__title { font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--ink); }
.mock__tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); padding: 3px 8px; border-radius: var(--pill); background: var(--teal-soft); }

/* main dashboard card */
.dash-main { position: relative; z-index: 2; padding: 22px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-block-end: 16px; }
.kpi { padding: 12px 13px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-2); }
.kpi__label { font-size: .72rem; color: var(--ink-3); font-weight: 500; }
.kpi__value { font-family: var(--font-mono); font-weight: 600; font-size: 1.18rem; color: var(--ink); margin-block-start: 4px; font-variant-numeric: tabular-nums; }
.kpi__delta { display: inline-flex; align-items: center; gap: 3px; font-size: .72rem; font-weight: 600; margin-block-start: 3px; }
.kpi__delta.up { color: var(--success); }
.kpi__delta svg { width: 12px; height: 12px; }

.dash-chart { padding: 14px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-2); }
.dash-chart svg { width: 100%; height: 92px; display: block; overflow: visible; }
.chart-grid line { stroke: var(--line-2); stroke-width: 1; }
.area-fill { fill: url(#tealArea); }
.area-line { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.area-dot { fill: #fff; stroke: var(--teal); stroke-width: 2.5; }

/* floating sub-cards */
.float-card { position: absolute; padding: 16px; z-index: 3; }
.float-card--insight { inset-block-start: 4px; inset-inline-start: -36px; width: 224px; }
.float-card--ring { inset-block-end: 0; inset-inline-end: -26px; width: 210px; }
.float-card .mock__title { font-size: .9rem; }

.insight-row { display: flex; gap: 11px; align-items: flex-start; }
.insight-ai { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--teal), var(--teal-600)); color: #fff; box-shadow: var(--shadow-teal); }
.insight-ai svg { width: 18px; height: 18px; }
.insight-txt { font-size: .82rem; line-height: 1.45; color: var(--ink-2); }
.insight-txt b { color: var(--ink); font-weight: 700; }

.ring-wrap { display: flex; align-items: center; gap: 14px; }
.ring { width: 66px; height: 66px; flex-shrink: 0; }
.ring__track { fill: none; stroke: var(--line-3); stroke-width: 8; }
.ring__fill { fill: none; stroke: url(#tealStroke); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 201; stroke-dashoffset: 52; transform: rotate(-90deg); transform-origin: center; }
.ring-meta__n { font-family: var(--font-mono); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.ring-meta__l { font-size: .76rem; color: var(--ink-3); }

.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 8s; }
.float--delay { animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ----------------------------------------------------------------------------
   12. Marquee / trust strip
---------------------------------------------------------------------------- */
.trust { border-block: 1px solid var(--line); background: rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.trust__inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); }
.trust__cell { background: var(--bg); padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 36px); display: flex; gap: 16px; align-items: flex-start; }
.trust__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  color: var(--teal-700); background: var(--teal-soft); border: 1px solid var(--teal-soft2); }
.trust__icon svg { width: 23px; height: 23px; }
.trust__t { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.trust__d { font-size: .92rem; color: var(--ink-3); margin-block-start: 4px; line-height: 1.5; }

/* ----------------------------------------------------------------------------
   13. Feature cards grid
---------------------------------------------------------------------------- */
.cards { display: grid; gap: 22px; margin-block-start: 56px; }
.cards--4 { grid-template-columns: repeat(4,1fr); }
.cards--3 { grid-template-columns: repeat(3,1fr); }
.cards--2 { grid-template-columns: repeat(2,1fr); }

.feature {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), border-color var(--t) var(--ease);
  overflow: hidden;
}
.feature::after { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-300)); opacity: 0; transition: opacity var(--t) var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal-soft2); }
.feature:hover::after { opacity: 1; }
.feature__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-block-end: 20px;
  color: var(--teal-700); background: var(--teal-soft); border: 1px solid var(--teal-soft2); }
.feature__icon svg { width: 25px; height: 25px; }
.feature__num { position: absolute; inset-block-start: 24px; inset-inline-end: 26px; font-family: var(--font-mono); font-size: .8rem; color: var(--ink-4); }
.feature__t { font-size: 1.18rem; margin-block-end: 9px; }
.feature__d { color: var(--ink-3); font-size: .96rem; line-height: 1.6; }

/* ----------------------------------------------------------------------------
   14. Audience tabs (path selection)
---------------------------------------------------------------------------- */
.aud { margin-block-start: 48px; }
.segmented {
  display: inline-flex; padding: 6px; gap: 4px; border-radius: var(--pill);
  background: var(--glass-strong); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm), var(--glass-inset);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.segmented::-webkit-scrollbar { display: none; }
.seg {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--pill); white-space: nowrap;
  font-weight: 600; font-size: .98rem; color: var(--ink-3);
  transition: color var(--t) var(--ease);
}
.seg svg { width: 18px; height: 18px; }
.seg.is-active { color: #fff; }
.seg__bg {
  position: absolute; z-index: 0; inset-block: 6px; border-radius: var(--pill);
  background: linear-gradient(180deg, var(--teal), var(--teal-600));
  box-shadow: var(--shadow-teal);
  transition: transform var(--t-slow) var(--ease-spring), width var(--t-slow) var(--ease-spring);
}

.aud-panels { margin-block-start: 36px; position: relative; }
.aud-panel { display: none; }
.aud-panel.is-active { display: block; animation: panelIn var(--t-slow) var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.aud-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.aud-panel__copy .h3 { margin-block-end: 14px; }
.aud-list { margin-block-start: 22px; display: grid; gap: 13px; }
.aud-list li { display: flex; gap: 12px; align-items: flex-start; list-style: none; color: var(--ink-2); font-size: .98rem; }
.aud-list svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--teal); margin-block-start: 1px; }
.aud-panel__cta { margin-block-start: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.aud-visual { position: relative; }

/* mini stat tiles inside audience visual */
.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-tile__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-soft); margin-block-end: 14px; }
.stat-tile__icon svg { width: 20px; height: 20px; }
.stat-tile__t { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.stat-tile__d { font-size: .85rem; color: var(--ink-3); margin-block-start: 5px; line-height: 1.45; }
.stat-tile--wide { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; }
.stat-tile--wide .stat-tile__icon { margin: 0; }

/* ----------------------------------------------------------------------------
   15. Technology preview (dark band)
---------------------------------------------------------------------------- */
.band-dark {
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(38,165,154,.22), transparent 60%),
    radial-gradient(760px 520px at 100% 120%, rgba(38,165,154,.12), transparent 60%),
    linear-gradient(180deg, var(--ink-900), var(--ink-850));
  color: #fff; position: relative; overflow: hidden;
}
.band-dark::before { content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent 75%); }
.band-dark .h2, .band-dark .h3, .band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lead { color: rgba(255,255,255,.74); }
.band-dark .eyebrow { color: var(--teal-300); }
.band-dark .eyebrow::before { background: linear-gradient(90deg, var(--teal-300), transparent); }
.band-dark > .container { position: relative; z-index: 1; }

.tech-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }

/* glass mock on dark */
.mock-dark {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl); padding: 22px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
}
.pipeline { display: grid; gap: 12px; }
.pipe-step { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: var(--r-md);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.pipe-step__n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600; color: var(--teal-300);
  background: rgba(38,165,154,.16); border: 1px solid rgba(38,165,154,.3); }
.pipe-step__t { font-weight: 600; color: #fff; font-size: .98rem; }
.pipe-step__d { font-size: .82rem; color: rgba(255,255,255,.6); margin-block-start: 2px; }
.pipe-step__line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.18), transparent); }
.pipe-arrow { display: grid; place-items: center; color: rgba(255,255,255,.3); }
.pipe-arrow svg { width: 18px; height: 18px; }

.tech-feats { display: grid; gap: 14px; margin-block-start: 30px; }
.tech-feat { display: flex; gap: 13px; align-items: flex-start; }
.tech-feat__icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  color: var(--teal-300); background: rgba(38,165,154,.14); border: 1px solid rgba(38,165,154,.26); }
.tech-feat__icon svg { width: 19px; height: 19px; }
.tech-feat__t { font-weight: 600; color: #fff; }
.tech-feat__d { font-size: .9rem; color: rgba(255,255,255,.62); margin-block-start: 3px; line-height: 1.5; }

/* red-flags terminal (from brief) */
.terminal { font-family: var(--font-mono); font-size: .84rem; }
.terminal__bar { display: flex; align-items: center; gap: 6px; padding-block-end: 12px; margin-block-end: 12px; border-block-end: 1px solid rgba(255,255,255,.1); }
.terminal__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.terminal__title { margin-inline-start: 8px; color: rgba(255,255,255,.5); font-size: .76rem; letter-spacing: .04em; }
.flag { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: rgba(255,255,255,.8); border-block-end: 1px solid rgba(255,255,255,.05); }
.flag__box { font-family: var(--font-mono); }
.flag.ok .flag__box { color: var(--teal-300); }
.flag.warn .flag__box { color: var(--warning); }

/* ----------------------------------------------------------------------------
   16. Alternating feature rows
---------------------------------------------------------------------------- */
.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.alt-row + .alt-row { margin-block-start: clamp(60px, 8vw, 110px); }
.alt-row--flip .alt-row__visual { order: -1; }
.alt-row__copy .h2 { margin-block: 16px; }
.alt-row__points { margin-block-start: 24px; display: grid; gap: 16px; }
.alt-point { display: flex; gap: 14px; align-items: flex-start; }
.alt-point__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-soft); border: 1px solid var(--teal-soft2); }
.alt-point__icon svg { width: 20px; height: 20px; }
.alt-point__t { font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.alt-point__d { font-size: .92rem; color: var(--ink-3); margin-block-start: 3px; line-height: 1.5; }

/* guidance visual — person-free, abstract */
.guide-visual { position: relative; padding: 30px; }
.guide-chips { display: grid; gap: 14px; }
.guide-chip { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.guide-chip__av { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.guide-chip__av.a { background: linear-gradient(140deg, var(--teal), var(--teal-700)); }
.guide-chip__av.b { background: linear-gradient(140deg, var(--ink-2), var(--ink)); }
.guide-chip__av.c { background: linear-gradient(140deg, var(--gold), #a8854f); }
.guide-chip__t { font-weight: 600; color: var(--ink); font-size: .95rem; }
.guide-chip__d { font-size: .82rem; color: var(--ink-3); }
.guide-chip__time { margin-inline-start: auto; font-family: var(--font-mono); font-size: .76rem; color: var(--ink-4); }

/* ----------------------------------------------------------------------------
   17. Process / steps (Plaid-style ascending)
---------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-block-start: 56px; position: relative; }
.step { position: relative; padding: 0 22px; }
.step:not(:last-child)::before { content: ""; position: absolute; inset-block-start: 27px; inset-inline-start: calc(50% + 30px); inset-inline-end: calc(-50% + 30px);
  height: 2px; background: repeating-linear-gradient(90deg, var(--line-3) 0 6px, transparent 6px 12px); }
.step__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--teal-700);
  background: var(--surface); border: 2px solid var(--teal); box-shadow: var(--shadow-sm); margin-block-end: 22px; }
.step__t { font-size: 1.12rem; margin-block-end: 8px; }
.step__d { font-size: .92rem; color: var(--ink-3); line-height: 1.55; }
.step__bar { margin-block-start: 16px; height: 6px; border-radius: var(--pill); background: var(--line-2); overflow: hidden; }
.step__bar > span { display: block; height: 100%; border-radius: var(--pill); background: linear-gradient(90deg, var(--teal), var(--teal-300)); }

/* ----------------------------------------------------------------------------
   18. Solutions preview cards
---------------------------------------------------------------------------- */
.sol-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-block-start: 52px; }
.sol-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); padding: 30px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out); min-height: 280px; }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sol-card__bg { position: absolute; inset-block-start: -40%; inset-inline-end: -20%; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, var(--teal-soft2), transparent 70%); opacity: 0; transition: opacity var(--t) var(--ease); }
.sol-card:hover .sol-card__bg { opacity: 1; }
.sol-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--teal), var(--teal-700)); box-shadow: var(--shadow-teal); margin-block-end: 20px; position: relative; }
.sol-card__icon svg { width: 26px; height: 26px; }
.sol-card__t { font-size: 1.3rem; margin-block-end: 10px; position: relative; }
.sol-card__d { color: var(--ink-3); font-size: .95rem; line-height: 1.6; position: relative; flex: 1; }
.sol-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 18px; position: relative; }
.tag { font-size: .76rem; font-weight: 500; color: var(--ink-2); padding: 5px 11px; border-radius: var(--pill); background: var(--bg-2); border: 1px solid var(--line-2); }
.sol-card__link { position: relative; margin-block-start: auto; }

/* ----------------------------------------------------------------------------
   19. CTA band
---------------------------------------------------------------------------- */
.cta-band { position: relative; }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r-2xl); padding: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(700px 360px at 8% 0%, rgba(94,232,220,.22), transparent 60%),
    linear-gradient(135deg, var(--teal-700) 0%, var(--teal) 55%, var(--teal-600) 100%);
  color: #fff; text-align: center; box-shadow: var(--shadow-xl);
}
.cta-card::after { content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 70%); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card .h2 { color: #fff; max-width: 16em; margin-inline: auto; }
.cta-card .lead { color: rgba(255,255,255,.84); max-width: 32em; margin: 18px auto 0; }
.cta-card__btns { margin-block-start: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ----------------------------------------------------------------------------
   20. Footer
---------------------------------------------------------------------------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding-block: clamp(54px, 7vw, 84px) 30px; margin-block-start: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); }
.footer-brand__logo { height: 30px; margin-block-end: 18px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 30ch; }
.footer-social { display: flex; gap: 10px; margin-block-start: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: all var(--t-fast) var(--ease); }
.footer-social a:hover { color: #fff; background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.92); margin-block-end: 16px; }
.footer-col a { display: block; padding-block: 7px; font-size: .92rem; color: rgba(255,255,255,.6); transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--teal-300); }
.footer-col a.lock { display: flex; align-items: center; gap: 6px; }
.footer-col .lock svg { width: 12px; height: 12px; opacity: .6; }
.footer-bottom { margin-block-start: clamp(40px, 5vw, 64px); padding-block-start: 26px; border-block-start: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--teal-300); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-credit a { color: var(--teal-300); }

/* ----------------------------------------------------------------------------
   21. Inner page hero
---------------------------------------------------------------------------- */
.page-hero { padding-block: calc(var(--header-h) + clamp(36px, 6vw, 72px)) clamp(36px, 6vw, 64px); position: relative; }
.page-hero__inner { max-width: 760px; }
.page-hero--center .page-hero__inner { margin-inline: auto; text-align: center; }
.page-hero .display, .page-hero .h1 { margin-block-start: 20px; }
.page-hero .lead { margin-block-start: 20px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-3); margin-block-end: 6px; }
.breadcrumb a:hover { color: var(--teal-700); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }

/* ----------------------------------------------------------------------------
   22. Forms (contact)
---------------------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-block-end: 18px; }
.field__label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-block-end: 8px; }
.field__req { color: var(--teal-700); }
.input, .textarea, .select-el {
  width: 100%; min-height: 50px; padding: 13px 16px;
  background: var(--surface-2); border: 1.5px solid var(--line-3); border-radius: var(--r-md);
  font-size: 1rem; color: var(--ink); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .textarea:focus, .select-el:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-soft); }
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field__help { font-size: .82rem; color: var(--ink-4); margin-block-start: 7px; }
.form-success { display: none; text-align: center; padding: 20px; }
.form-success.is-on { display: block; animation: panelIn var(--t) var(--ease-out); }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--teal), var(--teal-700)); box-shadow: var(--shadow-teal); }
.form-success__icon svg { width: 32px; height: 32px; }

.contact-aside { display: grid; gap: 16px; align-content: start; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.contact-item__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-soft); }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__t { font-weight: 700; color: var(--ink); font-family: var(--font-display); font-size: .98rem; }
.contact-item__d { font-size: .9rem; color: var(--ink-3); margin-block-start: 3px; }

/* ----------------------------------------------------------------------------
   23. Login / Portal lock
---------------------------------------------------------------------------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100dvh - var(--header-h)); }
.auth-form-side { display: grid; place-items: center; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.auth-card { width: 100%; max-width: 400px; }
.auth-art { position: relative; overflow: hidden;
  background: radial-gradient(700px 500px at 30% 20%, rgba(38,165,154,.3), transparent 60%), linear-gradient(160deg, var(--ink-900), var(--ink-850)); }
.auth-art::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px; -webkit-mask-image: radial-gradient(ellipse at 40% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 40% 40%, #000, transparent 70%); }
.auth-art__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 80px); color: #fff; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin-block: 22px; color: var(--ink-4); font-size: .82rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.portal-lock { max-width: 620px; margin-inline: auto; text-align: center; }
.portal-lock__badge { width: 84px; height: 84px; margin: 0 auto 28px; border-radius: 24px; display: grid; place-items: center; color: var(--teal-700);
  background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg), var(--glass-inset); }
.portal-lock__badge svg { width: 40px; height: 40px; }
.portal-lock__tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: var(--pill);
  background: var(--gold-soft); color: #8a6d3a; border: 1px solid rgba(198,161,107,.3); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; margin-block-end: 22px; }
.portal-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; margin-block-start: 44px; text-align: start; }
.portal-mod { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), opacity var(--t) var(--ease); }
.portal-mod:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.portal-mod.is-soon { opacity: .58; }
.portal-mod__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-soft); margin-block-end: 13px; }
.portal-mod__icon svg { width: 19px; height: 19px; }
.portal-mod__t { font-weight: 700; font-family: var(--font-display); color: var(--ink); font-size: .98rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.portal-mod__soon { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); padding: 2px 7px; border-radius: var(--pill); background: var(--bg-2); }
.portal-mod__d { font-size: .84rem; color: var(--ink-3); margin-block-start: 6px; line-height: 1.45; }

/* ----------------------------------------------------------------------------
   24. FAQ / accordion (about, pages)
---------------------------------------------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; margin-block-start: 44px; }
.faq-item { border-block-end: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; text-align: start;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.faq-q .pm { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--teal-700); transform: translate(-50%,-50%); transition: transform var(--t) var(--ease); }
.faq-q .pm::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.is-open .pm::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t) var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 4px 22px; color: var(--ink-3); line-height: 1.65; margin: 0; }

/* ----------------------------------------------------------------------------
   25. Misc utilities
---------------------------------------------------------------------------- */
.note-line { display: inline-flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--ink-3); padding: 10px 16px; border-radius: var(--pill); background: var(--surface-2); border: 1px solid var(--line-2); }
.note-line svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: none; margin-block: 0; }
.skip-link { position: absolute; inset-inline-start: 50%; transform: translateX(-50%) translateY(-150%); top: 8px; z-index: var(--z-modal); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--pill); transition: transform var(--t) var(--ease); }
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* ----------------------------------------------------------------------------
   26. Scroll-reveal
---------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }

/* ----------------------------------------------------------------------------
   27. Responsive
---------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .nav, .header-actions .btn--primary, .header-actions .login-link, .header-actions .lang-toggle { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__grid > * { min-width: 0; }
  .dash-cluster { max-width: 520px; margin-inline: auto; }
  .dash-main, .mock-dark, .glass-card { max-width: 100%; }
  .tech-layout { grid-template-columns: 1fr; }
  .alt-row, .aud-panel__grid { grid-template-columns: 1fr; gap: 36px; }
  .alt-row--flip .alt-row__visual { order: 0; }
  .cards--4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); gap: 36px 16px; }
  .step:not(:last-child)::before { display: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .trust__inner, .cards--3, .cards--2, .sol-cards, .form-row, .stat-tiles { grid-template-columns: 1fr; }
  .cards--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .float-card--insight { inset-inline-start: -10px; inset-block-start: -16px; width: 220px; }
  .float-card--ring { inset-inline-end: -6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero__cta, .cta-card__btns, .aud-panel__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn, .cta-card__btns .btn, .aud-panel__cta .btn { width: 100%; }
  .dash-cluster { padding-block-start: 44px; overflow: hidden; }
  .float-card--insight { inset-block-start: 8px; inset-inline-start: 6px; width: min(220px, 72%); }
  .float-card--ring { inset-block-end: 8px; inset-inline-end: 6px; width: 200px; }
  .dash-kpis { gap: 8px; }
  .dash-kpis .kpi { min-width: 0; padding: 10px 11px; }
  .kpi__value { font-size: 1rem; }
  .hero .display { font-size: clamp(1.85rem, 8.4vw, 2.7rem); line-height: 1.08; }
  .display, .h1, .h2, .h3 { overflow-wrap: break-word; }
  .page-hero .display, .page-hero .h1 { font-size: clamp(1.9rem, 8vw, 2.6rem) !important; }
}

/* ----------------------------------------------------------------------------
   28. Reduced motion
---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  .float { animation: none !important; }
}

/* Print / static-render fallback — ensure all content is visible */
@media print {
  .site-header, .scroll-progress, .bg-decoration { position: static; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  .float { animation: none !important; }
}
