/* Finance Family design system. See DESIGN.md. */

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --navy-950: #061530;
  --navy-900: #0b1f3a;
  --navy-800: #12294d;
  --navy-700: #1b3a6b;
  --blue: #2457f5;
  --blue-600: #1d49d6;
  --blue-100: #e3eaff;
  --teal: #10c8b8;
  --teal-600: #0aa89b;
  --teal-100: #dcf7f4;
  --green: #10a058;
  --green-100: #dcf3e6;
  --amber: #ffc857;
  --amber-100: #fff1d0;
  --coral: #ff6b57;
  --coral-100: #ffe3de;
  --lime: #c9f04b;

  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --surface-3: #e4e9f2;
  --ink: #0e1b33;
  --ink-2: #33415c;
  --muted: #5f6e86;
  --line: #dfe5ef;
  --line-strong: #c9d2e0;

  --on-dark: #eef3fb;
  --on-dark-muted: #a9b7cf;
  --dark-line: rgba(255, 255, 255, 0.12);
  --dark-surface: rgba(255, 255, 255, 0.06);

  --g-hero: linear-gradient(135deg, #061530 0%, #0b1f3a 42%, #143c80 100%);
  --g-accent: linear-gradient(90deg, #2457f5 0%, #10c8b8 100%);
  --g-fin: linear-gradient(135deg, #10c8b8 0%, #10a058 100%);
  --g-band: linear-gradient(120deg, #0b1f3a 0%, #1b3a6b 55%, #2457f5 100%);

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 4px 12px rgba(11, 31, 58, 0.06);
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.1);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.18);

  --r-xs: 6px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: 20px;
  --section: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;

  --fs-display: clamp(2.25rem, 1.1rem + 3.2vw, 3.7rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 2.4vw, 3.2rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1526;
    --surface: #111f38;
    --surface-2: #172845;
    --surface-3: #1f3355;
    --ink: #eaf0f8;
    --ink-2: #c5d0e2;
    --muted: #93a3bd;
    --line: #22344f;
    --line-strong: #2f4463;
    --blue-100: #1a2d5f;
    --teal-100: #0f3a3a;
    --green-100: #0f3324;
    --amber-100: #3d3116;
    --coral-100: #3f1f1a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1526;
  --surface: #111f38;
  --surface-2: #172845;
  --surface-3: #1f3355;
  --ink: #eaf0f8;
  --ink-2: #c5d0e2;
  --muted: #93a3bd;
  --line: #22344f;
  --line-strong: #2f4463;
  --blue-100: #1a2d5f;
  --teal-100: #0f3a3a;
  --green-100: #0f3324;
  --amber-100: #3d3116;
  --coral-100: #3f1f1a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* display preferences (accessibility widget) */
:root[data-contrast="high"] {
  --ink: #000;
  --ink-2: #000;
  --muted: #1f2937;
  --line: #6b7280;
  --bg: #fff;
  --surface: #fff;
  --surface-2: #f3f4f6;
  --blue: #0031c9;
  --on-dark-muted: #e5e9f2;
}
:root[data-contrast="high"][data-theme="dark"],
:root[data-contrast="high"]:not([data-theme="light"]) {
  color-scheme: light;
}
:root[data-textsize="large"] { font-size: 118%; }
:root[data-textsize="xlarge"] { font-size: 135%; }

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: "Heebo", "Noto Sans Hebrew", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-600); }
ul, ol { margin: 0; padding-inline-start: 1.25em; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
small { font-size: var(--fs-small); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: rgba(36, 87, 245, 0.2); }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--lime); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 0.75rem 1.25rem; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1; font-weight: 800; letter-spacing: -0.02em; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.maxw { max-width: 65ch; }
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; } .mb-6 { margin-bottom: 3rem; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1400px; }
.container-narrow { max-width: 820px; }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.section-dark { background: var(--navy-900); color: var(--on-dark); }
.section-dark .muted { color: var(--on-dark-muted); }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 66ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin-top: 0.85rem; }
.section-dark .section-head p { color: var(--on-dark-muted); }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-12 { grid-template-columns: 1fr; }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: auto; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--g-accent); }
.section-dark .eyebrow { color: var(--teal); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.7rem 1.5rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: transform 0.15s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--blue-600); color: #fff; box-shadow: 0 8px 22px rgba(36, 87, 245, 0.3); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-lg { min-height: 3.4rem; padding: 0.85rem 1.9rem; font-size: 1.05rem; }
.btn-sm { min-height: 2.5rem; padding: 0.4rem 1.1rem; font-size: 0.92rem; }
.btn-secondary { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); color: var(--ink); box-shadow: none; border-color: var(--ink-2); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn-light:hover { background: #eef3fb; color: var(--navy-900); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, 0.06); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: none; }
.btn-teal { --btn-bg: var(--teal-600); }
.btn-teal:hover { background: #078f84; }
.btn-whatsapp { --btn-bg: #1f9d55; }
.btn-whatsapp:hover { background: #17843f; box-shadow: 0 8px 22px rgba(31, 157, 85, 0.3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; color: var(--blue); }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(-4px); }
.section-dark .link-arrow { color: var(--teal); }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--ink-2); font-size: 0.85rem; font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
a.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip-blue { background: var(--blue-100); color: var(--blue-600); }
.chip-teal { background: var(--teal-100); color: var(--teal-600); }
.chip-green { background: var(--green-100); color: var(--green); }
.chip-amber { background: var(--amber-100); color: #8a5a00; }
.chip-coral { background: var(--coral-100); color: #b8321f; }
.chip-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ---------- cards / surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.card-hover { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.panel { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon-tile {
  width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--blue-100); color: var(--blue-600);
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; }
.icon-tile.teal { background: var(--teal-100); color: var(--teal-600); }
.icon-tile.green { background: var(--green-100); color: var(--green); }
.icon-tile.amber { background: var(--amber-100); color: #8a5a00; }
.icon-tile.coral { background: var(--coral-100); color: #b8321f; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; transform-origin: right center; transition: transform 0.3s var(--ease); }
[dir="ltr"] .brand img { transform-origin: left center; }
.site-header.is-scrolled .brand img { transform: scale(0.86); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.brand-text span { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.nav-desktop { display: flex; align-items: center; gap: 0.25rem; }
.nav-desktop a {
  display: inline-block; padding: 0.55rem 0.8rem; border-radius: var(--r-pill);
  color: var(--ink-2); font-weight: 600; font-size: 0.97rem; text-decoration: none; transition: background 0.2s, color 0.2s;
}
.nav-desktop a:hover { background: var(--surface-2); color: var(--ink); }
.nav-desktop a[aria-current="page"] { color: var(--blue-600); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--ink-2); transition: background 0.2s, color 0.2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 1.35rem; height: 1.35rem; }
.nav-toggle { display: none; }
@media (max-width: 1023px) {
  .nav-desktop, .header-actions .btn { display: none; }
  .nav-toggle { display: grid; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; display: none; flex-direction: column;
  background: var(--surface); padding: 0 var(--gutter) 2rem; overflow-y: auto;
}
.mobile-menu[data-open="true"] { display: flex; }
.mobile-menu .bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 0.5rem; }
.mobile-menu nav a {
  font-size: 1.4rem; font-weight: 700; color: var(--ink); text-decoration: none; padding: 0.85rem 0;
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu nav a svg { width: 1.2rem; height: 1.2rem; color: var(--muted); }
.mobile-menu .menu-cta { margin-top: 1.5rem; display: grid; gap: 0.6rem; }
.mobile-menu .menu-contact { margin-top: 1.5rem; color: var(--muted); font-size: 0.95rem; display: grid; gap: 0.35rem; }
.mobile-menu .menu-contact a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
body[data-menu-open="true"] { overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 5rem) 1.5rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 48px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-brand p { color: var(--on-dark-muted); margin-top: 1rem; max-width: 36ch; font-size: 0.95rem; }
.site-footer h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-list { list-style: none; padding: 0; display: grid; gap: 0.5rem; font-size: 0.97rem; }
.footer-list li a { color: var(--on-dark-muted); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--dark-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; font-size: 0.88rem; color: var(--on-dark-muted);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-bottom nav a { color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 0.2em; }
.social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.social a { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--dark-surface); border: 1px solid var(--dark-line); }
.social a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.social svg { width: 1.2rem; height: 1.2rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; background: var(--g-hero); color: var(--on-dark); overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 780px; max-height: 780px;
  inset-inline-end: -18vw; bottom: -30vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(16, 200, 184, 0.28) 0%, rgba(36, 87, 245, 0.12) 45%, transparent 70%);
  filter: blur(10px);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 1023px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; color: #fff; }
.hero h1 .accent { background: var(--g-accent); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-bottom: 0.06em; }
.hero .lead { color: var(--on-dark-muted); margin-top: 1.4rem; font-size: 1.15rem; max-width: 50ch; }
.hero .btn-row { margin-top: 2rem; }
.hero-note { margin-top: 1.5rem; color: var(--on-dark-muted); font-size: 0.9rem; display: flex; gap: 0.5rem; align-items: center; }
.hero-note svg { width: 1.1rem; height: 1.1rem; color: var(--teal); }

/* hero visualization */
.viz { position: relative; display: grid; gap: 0.9rem; grid-template-columns: repeat(6, 1fr); }
.viz-card {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r); padding: 1.1rem 1.2rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.viz-card.span-3 { grid-column: span 3; } .viz-card.span-6 { grid-column: span 6; } .viz-card.span-2 { grid-column: span 2; } .viz-card.span-4 { grid-column: span 4; }
@media (max-width: 560px) { .viz-card.span-3, .viz-card.span-2, .viz-card.span-4 { grid-column: span 6; } }
.viz-label { font-size: 0.8rem; color: var(--on-dark-muted); font-weight: 600; letter-spacing: 0.02em; }
.viz-value { font-size: 1.9rem; color: #fff; margin-top: 0.15rem; line-height: 1.1; }
.viz-value small { font-size: 0.95rem; color: var(--on-dark-muted); font-weight: 600; margin-inline-start: 0.2rem; }
.viz-trend { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; font-weight: 700; margin-top: 0.4rem; padding: 0.15rem 0.55rem; border-radius: var(--r-pill); }
.viz-trend svg { width: 0.95rem; height: 0.95rem; }
.trend-down { background: rgba(16, 200, 184, 0.18); color: #7ff0e6; }
.trend-up { background: rgba(255, 200, 87, 0.18); color: #ffd982; }
.trend-flat { background: rgba(255, 255, 255, 0.1); color: var(--on-dark-muted); }
.viz-mix { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.viz-legend { display: grid; gap: 0.35rem; font-size: 0.85rem; color: var(--on-dark); }
.viz-legend span { display: flex; align-items: center; gap: 0.45rem; }
.viz-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.viz-legend b { margin-inline-start: auto; font-weight: 700; }
.viz-chart { margin-top: 0.6rem; }
.viz-chart svg { width: 100%; height: auto; }
.viz-foot { grid-column: span 6; font-size: 0.78rem; color: var(--on-dark-muted); text-align: start; }
.donut-seg { fill: none; stroke-width: 14; stroke-linecap: butt; transition: stroke-dasharray 1.2s var(--ease); }
.viz .draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.viz.is-in .draw { animation: draw 1.6s var(--ease) 0.2s forwards; }
.viz .fill-area { opacity: 0; }
.viz.is-in .fill-area { animation: fadein 1s var(--ease) 1s forwards; }
.viz .bar { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
.viz.is-in .bar { animation: growY 0.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes growY { to { transform: scaleY(1); } }

/* ---------- trust band ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: clamp(1.25rem, 2.5vw, 2rem) 1.25rem; border-inline-start: 1px solid var(--line); display: flex; gap: 0.9rem; align-items: flex-start; }
.trust-item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.trust-item svg { width: 1.6rem; height: 1.6rem; color: var(--teal-600); flex: none; margin-top: 0.15rem; }
.trust-item b { display: block; font-weight: 700; }
.trust-item span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-inline-start: 0; padding-inline: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
}

/* ---------- needs selector (tabs) ---------- */
.needs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
@media (max-width: 900px) { .needs { grid-template-columns: 1fr; } }
.needs-tabs { display: grid; gap: 0.5rem; }
.needs-tab {
  --acc: var(--blue); --acc-bg: var(--blue-100);
  display: flex; align-items: center; gap: 0.9rem; width: 100%; text-align: start;
  padding: 0.9rem 1rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}
.needs-tab .icon-tile { width: 2.6rem; height: 2.6rem; background: var(--acc-bg); color: var(--acc); border-radius: 10px; transition: transform 0.3s var(--ease); }
.needs-tab b { display: block; font-weight: 700; }
.needs-tab span { display: block; font-size: 0.86rem; color: var(--muted); }
.needs-tab svg.caret { width: 1.1rem; height: 1.1rem; margin-inline-start: auto; color: var(--muted); opacity: 0; transform: translateX(6px); transition: opacity 0.2s, transform 0.3s var(--ease); }
.needs-tab:hover { border-color: var(--line-strong); }
.needs-tab:hover .icon-tile { transform: scale(1.06) rotate(-4deg); }
.needs-tab[aria-selected="true"] { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 18%, transparent); }
.needs-tab[aria-selected="true"] svg.caret { opacity: 1; transform: none; color: var(--acc); }
.needs-tab[data-accent="teal"] { --acc: var(--teal-600); --acc-bg: var(--teal-100); }
.needs-tab[data-accent="green"] { --acc: var(--green); --acc-bg: var(--green-100); }
.needs-tab[data-accent="amber"] { --acc: #b8780a; --acc-bg: var(--amber-100); }
.needs-tab[data-accent="coral"] { --acc: #d9432c; --acc-bg: var(--coral-100); }
.needs-panel {
  --acc: var(--blue); --acc-bg: var(--blue-100);
  position: relative; background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow); overflow: hidden; min-height: 100%;
}
.needs-panel[data-accent="teal"] { --acc: var(--teal-600); --acc-bg: var(--teal-100); }
.needs-panel[data-accent="green"] { --acc: var(--green); --acc-bg: var(--green-100); }
.needs-panel[data-accent="amber"] { --acc: #b8780a; --acc-bg: var(--amber-100); }
.needs-panel[data-accent="coral"] { --acc: #d9432c; --acc-bg: var(--coral-100); }
.needs-panel::before { content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--acc-bg); opacity: 0.7; transition: background 0.4s; }
.needs-panel > * { position: relative; }
.needs-panel .chip { background: var(--acc-bg); color: var(--acc); margin-bottom: 1rem; }
.needs-panel h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 800; }
.needs-panel p { color: var(--ink-2); margin-top: 0.9rem; }
.needs-points { list-style: none; padding: 0; margin-top: 1.25rem; display: grid; gap: 0.55rem; }
.needs-points li { display: flex; gap: 0.6rem; align-items: flex-start; }
.needs-points svg { width: 1.2rem; height: 1.2rem; color: var(--acc); flex: none; margin-top: 0.2rem; }
.needs-panel .btn-row { margin-top: 1.6rem; }
.needs-panel .btn { --btn-bg: var(--acc); }
.needs-panel .btn:hover { filter: brightness(0.92); background: var(--acc); }
.needs-panel[hidden] { display: none; }
.needs-panel.is-switching > * { animation: panelIn 0.45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- values (editorial) ---------- */
.values { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }
.values-quote { position: sticky; top: calc(var(--header-h) + 24px); }
.values-quote blockquote { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.values-quote blockquote::before { content: ""; display: block; width: 56px; height: 5px; border-radius: 4px; background: var(--g-accent); margin-bottom: 1.25rem; }
.values-quote cite { display: block; font-style: normal; margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }
.values-list { display: grid; }
.value-item { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-item .n { font-size: 2.4rem; line-height: 1; color: var(--teal-600); font-weight: 800; letter-spacing: -0.03em; }
.value-item h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.value-item p { color: var(--ink-2); }
@media (max-width: 900px) { .values-quote { position: static; } }

/* ---------- process timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1rem; }
.step { position: relative; padding: 1.75rem 0.5rem 0 0; opacity: 0.55; transition: opacity 0.4s; }
.step::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; border-radius: 4px; background: var(--dark-line); transition: background 0.5s; }
.step::before {
  content: ""; position: absolute; top: -6px; inset-inline-start: 0; width: 16px; height: 16px; border-radius: 50%; z-index: 1;
  background: var(--navy-800); border: 3px solid var(--navy-700); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.step.is-active { opacity: 1; }
.step.is-active::after { background: var(--g-accent); }
.step.is-active::before { background: var(--teal); border-color: #fff; box-shadow: 0 0 0 6px rgba(16, 200, 184, 0.25); }
.step .n { font-size: 0.85rem; font-weight: 800; color: var(--teal); letter-spacing: 0.08em; }
.step h3 { font-size: 1.15rem; color: #fff; margin-top: 0.3rem; }
.step p { color: var(--on-dark-muted); font-size: 0.95rem; margin-top: 0.4rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 1.75rem 0; padding-inline-start: 2.25rem; }
  .step::after { top: 0.35rem; bottom: 0; inset-inline: auto; inset-inline-start: 6px; width: 4px; height: auto; }
  .step:last-child::after { display: none; }
  .step::before { top: 0.3rem; }
}

/* ---------- financial center ---------- */
.fin-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.fin-tile {
  grid-column: span 3; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.25rem; position: relative; overflow: hidden;
}
.fin-tile.wide { grid-column: span 6; }
.fin-tile.full { grid-column: span 12; }
.fin-tile.dark { background: var(--navy-900); color: var(--on-dark); border-color: transparent; }
.fin-tile.dark .fin-label { color: var(--on-dark-muted); }
.fin-tile.accent { background: var(--g-fin); color: #fff; border-color: transparent; }
.fin-tile.accent .fin-label, .fin-tile.accent .fin-sub { color: rgba(255, 255, 255, 0.85); }
.fin-label { font-size: 0.85rem; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.fin-value { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.05; margin-top: 0.35rem; }
.fin-value small { font-size: 1.1rem; font-weight: 700; margin-inline-start: 0.15rem; opacity: 0.85; }
.fin-sub { font-size: 0.85rem; color: var(--muted); margin-top: auto; padding-top: 0.5rem; }
.fin-trend { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: var(--r-pill); background: var(--green-100); color: var(--green); }
.fin-trend svg { width: 0.95rem; height: 0.95rem; }
.fin-trend.up { background: var(--amber-100); color: #8a5a00; }
.fin-tile.dark .fin-trend { background: rgba(16, 200, 184, 0.2); color: #7ff0e6; }
.fin-tile.dark .fin-trend.up { background: rgba(255, 200, 87, 0.2); color: #ffd982; }
.fin-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 0.75rem; }
.fin-mini div { background: var(--surface-2); border-radius: var(--r-sm); padding: 0.6rem 0.75rem; }
.fin-mini b { display: block; font-size: 1.25rem; }
.fin-mini span { font-size: 0.78rem; color: var(--muted); }
.fin-tile.dark .fin-mini div { background: rgba(255, 255, 255, 0.07); }
.fin-tile.dark .fin-mini span { color: var(--on-dark-muted); }
.chart { width: 100%; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .grid-line { stroke: var(--line); stroke-dasharray: 3 4; }
.chart text { font-family: inherit; font-size: 11px; fill: var(--muted); }
.chart .bar-pos { fill: var(--teal); }
.chart .bar-neg { fill: var(--coral); }
.chart .bar { transform-box: fill-box; transform-origin: bottom; }
.chart .bar-neg { transform-origin: top; }
.reveal.is-in .chart .bar, .chart.is-in .bar { animation: growY 0.7s var(--ease) both; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; font-size: 0.82rem; color: var(--muted); margin-top: 0.5rem; }
.chart-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; }
.fin-grid > .fin-tile.accent { grid-column: span 12; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.fin-grid > .fin-tile.accent .fin-label { flex-basis: 100%; }
.fin-grid > .fin-tile.accent .fin-value { margin-top: 0; }
.fin-grid > .fin-tile.accent .fin-sub { margin-top: 0; padding-top: 0; max-width: 46ch; }
@media (max-width: 900px) { .fin-tile, .fin-tile.wide { grid-column: span 6; } }
@media (max-width: 560px) { .fin-tile, .fin-tile.wide { grid-column: span 12; } }

/* rate tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.rate-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.rate-table th, .rate-table td { padding: 0.75rem 1rem; text-align: start; }
.rate-table thead th { background: var(--surface-2); font-weight: 700; font-size: 0.85rem; color: var(--ink-2); }
.rate-table tbody tr + tr td { border-top: 1px solid var(--line); }
.rate-table td.num, .rate-table th.num { text-align: center; font-weight: 700; }
.rate-table .range { white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.rate-table .range b { color: var(--blue-600); }
.rate-table caption { text-align: start; padding: 0.9rem 1rem 0.5rem; font-weight: 800; font-size: 1.05rem; caption-side: top; }
.rate-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.rate-tab { padding: 0.5rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; font-size: 0.92rem; color: var(--ink-2); }
.rate-tab[aria-selected="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.rate-tab:hover:not([aria-selected="true"]) { border-color: var(--line-strong); }
.track-note { font-size: 0.88rem; color: var(--muted); margin-top: 0.75rem; }


/* index line charts (rates page) */
.index-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (max-width: 1023px) { .index-grid { grid-template-columns: minmax(0, 1fr); } }
.index-block { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 2.5vw, 1.75rem); display: grid; gap: 1rem; }
.index-block .chart, .index-block .table-wrap { min-width: 0; max-width: 100%; }
.index-block h3 { font-size: 1.35rem; }
.index-block .summary-table { max-width: 620px; margin-inline: auto; width: 100%; }
.chart-lines .line { stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.chart-lines text { font-size: 14px; }
.chart-lines .chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; direction: ltr; }
@media (max-width: 760px) { .chart-lines svg { min-width: 860px; } }
.chart-lines.is-in .line, .reveal.is-in .chart-lines .line { animation: draw 1.6s var(--ease) forwards; }
.chart-lines .dot { opacity: 0; transition: opacity 0.4s; }
.chart-lines.is-in .dot, .reveal.is-in .chart-lines .dot { opacity: 1; transition-delay: 1.2s; }
.chart-lines .dot:hover { r: 6; }
.summary-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.summary-table th { text-align: start; font-weight: 600; padding: 0.75rem 0.75rem; border-top: 1px solid var(--line); color: var(--ink-2); }
.summary-table td { text-align: end; padding: 0.75rem 0.75rem; border-top: 1px solid var(--line); font-size: 1.15rem; }
.summary-table tr:first-child th { font-weight: 800; color: var(--ink); }
.summary-table tr:first-child td { color: var(--blue-600); font-size: 1.3rem; }
@media (prefers-reduced-motion: reduce) { .chart-lines .line { stroke-dashoffset: 0; } .chart-lines .dot { opacity: 1; } }
:root[data-motion="reduce"] .chart-lines .line { stroke-dashoffset: 0; } :root[data-motion="reduce"] .chart-lines .dot { opacity: 1; }


.chart-lines { position: relative; }
.chart-lines .chart-scroll { position: relative; }
.chart-lines svg { cursor: crosshair; }
.chart-lines svg:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
.chart-lines .crosshair { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0.6; }
.chart-lines .line, .chart-lines .dot { transition: opacity 0.3s; }
.chart-lines .is-off { opacity: 0 !important; pointer-events: none; transition-delay: 0s !important; }
.chart-lines .dot.is-current { r: 6; stroke: var(--surface); stroke-width: 2; }
.chart-tip { position: absolute; z-index: 3; min-width: 150px; background: var(--navy-900); color: var(--on-dark); border-radius: var(--r-sm); padding: 0.6rem 0.8rem; box-shadow: var(--shadow-lg); font-size: 0.88rem; pointer-events: none; display: grid; gap: 0.25rem; direction: rtl; }
.chart-tip[hidden] { display: none; }
.chart-tip .tip-title { font-weight: 800; color: #fff; margin-bottom: 0.15rem; }
.chart-tip .tip-row { display: flex; align-items: center; gap: 0.5rem; }
.chart-tip .tip-row i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.chart-tip .tip-row b { margin-inline-start: auto; font-weight: 800; direction: ltr; }
.chart-legend-buttons { gap: 0.5rem; }
.legend-btn { --c: var(--muted); display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: opacity 0.2s, border-color 0.2s; }
.legend-btn i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.legend-btn[aria-pressed="false"] { opacity: 0.45; }
.legend-btn[aria-pressed="false"] i { background: var(--line-strong); }
.legend-btn:hover { border-color: var(--c); }
.legend-btn.legend-all { color: var(--blue-600); }
.legend-btn[hidden] { display: none; }
.chart-hint { font-size: 0.82rem; color: var(--muted); }

/* ---------- knowledge ---------- */
.knowledge-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 900px) { .knowledge-grid { grid-template-columns: 1fr; } }
.featured {
  display: grid; align-content: end; min-height: 380px; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--g-band); color: #fff; text-decoration: none; position: relative; overflow: hidden;
}
.featured::after {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 200, 184, 0.35), transparent 65%); pointer-events: none;
}
.featured > * { position: relative; }
.featured .chip { background: rgba(255, 255, 255, 0.14); color: #fff; margin-bottom: auto; }
.featured h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; margin-top: 2rem; color: #fff; }
.featured p { color: rgba(255, 255, 255, 0.82); margin-top: 0.75rem; max-width: 52ch; }
.featured .meta { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; margin-top: 1rem; }
.featured:hover h3 { text-decoration: underline; text-underline-offset: 0.2em; }
.post-list { display: grid; gap: 0; }
.post-row { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; align-items: center; }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row h4 { font-size: 1.05rem; font-weight: 700; transition: color 0.2s; }
.post-row:hover h4 { color: var(--blue-600); }
.post-row .meta { grid-column: 1 / -1; font-size: 0.83rem; color: var(--muted); display: flex; gap: 0.6rem; align-items: center; }
.post-row svg { width: 1.1rem; height: 1.1rem; color: var(--muted); }
.meta-dot::before { content: "·"; margin-inline-end: 0.6rem; }
.knowledge-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 720px) { .knowledge-tools { grid-template-columns: 1fr; } }
.tool-link { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.tool-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.tool-link b { display: block; }
.tool-link span { color: var(--muted); font-size: 0.88rem; }
.tool-link svg.arrow { margin-inline-start: auto; width: 1.2rem; height: 1.2rem; color: var(--muted); }

/* article grid (knowledge page) */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }
.article-card { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.article-card h3 { font-size: 1.12rem; line-height: 1.35; }
.article-card p { color: var(--muted); font-size: 0.92rem; }
.article-card .meta { margin-top: auto; font-size: 0.82rem; color: var(--muted); padding-top: 0.5rem; }
.article-card[hidden] { display: none; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter-bar .chip { cursor: pointer; border: 1px solid transparent; }
.filter-bar .chip[aria-pressed="true"] { background: var(--navy-900); color: #fff; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-form { display: grid; gap: 1.25rem; }
.range-field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 0.4rem; }
.range-field output { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--blue-600); }
input[type="range"] { width: 100%; accent-color: var(--blue); height: 2rem; cursor: pointer; }
.calc-result { background: var(--navy-900); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; align-content: start; gap: 1rem; position: relative; overflow: hidden; }
.calc-result::before { content: ""; position: absolute; inset: auto -30% -50% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(16, 200, 184, 0.35), transparent 65%); pointer-events: none; }
.calc-result > * { position: relative; }
.calc-result .big { font-size: clamp(2.4rem, 4vw, 3.4rem); color: #fff; line-height: 1; }
.calc-result .big small { font-size: 1.1rem; color: var(--on-dark-muted); font-weight: 600; }
.calc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.calc-split div { background: rgba(255, 255, 255, 0.07); border-radius: var(--r-sm); padding: 0.75rem 0.9rem; }
.calc-split b { display: block; font-size: 1.25rem; color: #fff; }
.calc-split span { font-size: 0.8rem; color: var(--on-dark-muted); }
.calc-bar { height: 12px; border-radius: 6px; background: var(--amber); overflow: hidden; }
.calc-bar i { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: right center; transform: scaleX(0.6); transition: transform 0.4s var(--ease); }
[dir="ltr"] .calc-bar i { transform-origin: left center; }
.calc-bar i + i { display: none; }
.calc-note { font-size: 0.8rem; color: var(--on-dark-muted); }

/* ---------- team ---------- */
.team-lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (max-width: 900px) { .team-lead { grid-template-columns: 1fr; } }
.portrait { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--g-band); aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; }
.portrait::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 100%, rgba(16, 200, 184, 0.35), transparent 60%); }
.portrait img { position: relative; height: 92%; width: auto; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35)); }
.portrait.sm { aspect-ratio: 1 / 1.05; border-radius: var(--r); }
.team-lead blockquote { margin: 0 0 1.25rem; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.team-lead .role { color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; }
.cred-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.25rem; }
.cred-list li { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--surface-2); border-radius: var(--r-pill); padding: 0.3rem 0.8rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.cred-list svg { width: 1rem; height: 1rem; color: var(--teal-600); }
details.more { margin-top: 0.75rem; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--blue); list-style: none; display: inline-flex; align-items: center; gap: 0.4rem; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease); }
details.more[open] summary svg { transform: rotate(180deg); }
details.more p { margin-top: 0.75rem; color: var(--ink-2); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: grid; grid-template-columns: 230px 1fr; gap: 1.5rem; align-items: center; }
@media (max-width: 560px) { .team-card { grid-template-columns: 1fr; } .team-card .portrait { width: 100%; max-width: 280px; } }
.team-card .portrait { width: 230px; }
.team-card h3 { font-size: 1.25rem; }
.team-card .role { color: var(--muted); font-size: 0.9rem; }
.team-card p { margin-top: 0.6rem; color: var(--ink-2); font-size: 0.97rem; }

/* ---------- CTA band + forms ---------- */
.cta-band { background: var(--g-band); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: 0.25; background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.cta-band .container { position: relative; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, 0.8); }
.cta-contact { margin-top: 1.5rem; display: grid; gap: 0.6rem; font-size: 1.05rem; }
.cta-contact a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.cta-contact a:hover { color: var(--lime); }
.cta-contact svg { width: 1.2rem; height: 1.2rem; color: var(--teal); }

.form-card { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
form.lead-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.82rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 0.75rem 0.9rem; min-height: 3rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input::placeholder { color: #8b98ad; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 87, 245, 0.2); }
.field[data-invalid="true"] input, .field[data-invalid="true"] select { border-color: #c92a2a; }
.field .error { display: none; font-size: 0.85rem; color: #c92a2a; font-weight: 600; }
.field[data-invalid="true"] .error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: start; }
.form-privacy { font-size: 0.85rem; color: var(--muted); }
.form-privacy a { color: var(--blue-600); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--blue); flex: none; }
.form-status { display: none; padding: 0.85rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.form-status[data-state="success"] { display: block; background: var(--green-100); color: var(--green); }
.form-status[data-state="error"] { display: block; background: var(--coral-100); color: #b8321f; }
.hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.lead-form .btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--g-hero); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline-end: -10%; top: -40%; width: 50vw; max-width: 600px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(16, 200, 184, 0.25), transparent 65%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--on-dark-muted); margin-top: 1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; color: var(--on-dark-muted); margin-bottom: 1rem; list-style: none; padding: 0; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-inline-end: 0.4rem; opacity: 0.6; }

/* ---------- accordion / FAQ ---------- */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--blue); transition: transform 0.3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.25rem; color: var(--ink-2); max-width: 70ch; }

/* ---------- service sections ---------- */
.service-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 3rem); padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.service-block:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .service-block { grid-template-columns: 1fr; } }
.service-block .side { display: flex; gap: 1rem; align-items: flex-start; }
.service-block h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.service-block .side span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.35rem; }
.service-block p { color: var(--ink-2); }
.service-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
@media (max-width: 720px) { .service-more { grid-template-columns: 1fr; } }
.service-more .card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.service-more .card p { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- glossary ---------- */
.glossary-search { display: flex; gap: 0.75rem; align-items: center; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); padding: 0.4rem 0.6rem 0.4rem 1.1rem; max-width: 560px; }
.glossary-search svg { width: 1.25rem; height: 1.25rem; color: var(--muted); flex: none; }
.glossary-search input { flex: 1; border: 0; background: transparent; font: inherit; color: var(--ink); min-height: 2.6rem; }
.glossary-search input:focus-visible { outline: none; }
.glossary-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 87, 245, 0.2); }
.glossary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 800px) { .glossary-list { grid-template-columns: 1fr; } }
.term { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.4rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.term[hidden] { display: none; }
.term h3 { font-size: 1.12rem; color: var(--navy-800); margin-bottom: 0.4rem; }
:root[data-theme="dark"] .term h3 { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .term h3 { color: #fff; } }
.term p { color: var(--ink-2); font-size: 0.97rem; }
.term p + p { margin-top: 0.5rem; }
.glossary-empty { display: none; color: var(--muted); padding: 2rem 0; }
.glossary-list[data-empty="true"] + .glossary-empty { display: block; }

/* ---------- prose (articles, legal) ---------- */
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--ink); margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { font-size: 1.2rem; color: var(--ink); margin-top: 1.8em; }
.prose h1 { font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--ink); margin-top: 2.2em; }
.prose h4, .prose h5 { color: var(--ink); margin-top: 1.5em; }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: 0.35em; }
.prose img { border-radius: var(--r); margin-inline: auto; box-shadow: var(--shadow-sm); }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: start; vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 700; }
.prose blockquote { margin: 0; padding: 0.5rem 1.25rem; border-inline-start: 4px solid var(--teal); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose a { color: var(--blue-600); font-weight: 600; }
.prose hr { margin: 2.5rem 0; }
.prose .wp-block-file, .prose .wp-block-file a { font-weight: 700; }
.prose .field-note { display: inline-block; background: var(--amber-100); color: #7a4c00; border-radius: var(--r-xs); padding: 0.05rem 0.4rem; font-weight: 600; font-size: 0.92em; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.legal-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.legal-toc h2 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.legal-toc ol { columns: 2; gap: 2rem; font-size: 0.95rem; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }
.legal-toc a { text-decoration: none; }
.legal-toc li { margin-bottom: 0.3rem; }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; color: var(--on-dark-muted); font-size: 0.9rem; margin-top: 1.25rem; }
.article-body { max-width: 760px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
@media (max-width: 600px) { .article-nav { grid-template-columns: 1fr; } }
.article-nav a { display: block; padding: 1rem 1.25rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; }
.article-nav a:hover { border-color: var(--blue); }
.article-nav small { color: var(--muted); display: block; margin-bottom: 0.2rem; }
.article-nav b { font-size: 0.98rem; }
.share-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }

/* ---------- consent + preferences ---------- */
.consent {
  position: fixed; inset-inline: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin-inline-start: auto;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 1rem 1.1rem; display: none; gap: 0.75rem; align-items: center; flex-wrap: wrap;
}
.consent[data-open="true"] { display: flex; }
.consent p { flex: 1 1 260px; font-size: 0.9rem; margin: 0; }
.consent .btn-row { gap: 0.5rem; }
.consent-settings { display: none; width: 100%; gap: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.consent[data-settings="true"] .consent-settings { display: grid; }

.prefs { position: relative; }
.prefs-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 280px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 1rem; display: none; z-index: 80;
}
.prefs-panel[data-open="true"] { display: block; }
.prefs-panel h4 { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.prefs-panel fieldset { border: 0; padding: 0; margin: 0 0 0.9rem; }
.prefs-panel legend { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.4rem; padding: 0; }
.seg { display: flex; border: 1px solid var(--line-strong); border-radius: var(--r-pill); overflow: hidden; }
.seg label { flex: 1; text-align: center; font-size: 0.85rem; font-weight: 600; padding: 0.45rem 0.25rem; cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg input:checked + span { color: var(--blue-600); }
.seg label:has(input:checked) { background: var(--blue-100); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: -3px; }
.prefs-panel .btn { width: 100%; }
.site-footer .prefs-panel { top: auto; bottom: calc(100% + 8px); }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > :nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-in > :nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.is-in > :nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.is-in > :nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.is-in > :nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.is-in > :nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger.is-in > :nth-child(n+7) { transition-delay: 0.42s; }
.hero .fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp 0.9s var(--ease) forwards; }
.hero .fade-up:nth-child(2) { animation-delay: 0.1s; }
.hero .fade-up:nth-child(3) { animation-delay: 0.2s; }
.hero .fade-up:nth-child(4) { animation-delay: 0.3s; }
.hero .viz-wrap { opacity: 0; transform: translateY(24px) scale(0.98); animation: fadeUp 1s var(--ease) 0.25s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; }
  .reveal, .reveal-stagger > *, .hero .fade-up, .hero .viz-wrap { opacity: 1; transform: none; }
  .viz .draw { stroke-dashoffset: 0; } .viz .fill-area { opacity: 1; } .viz .bar, .chart .bar { transform: none; }
  .step { opacity: 1; }
}
:root[data-motion="reduce"] { scroll-behavior: auto; }
:root[data-motion="reduce"] *, :root[data-motion="reduce"] *::before, :root[data-motion="reduce"] *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; }
:root[data-motion="reduce"] .reveal, :root[data-motion="reduce"] .reveal-stagger > *, :root[data-motion="reduce"] .hero .fade-up, :root[data-motion="reduce"] .hero .viz-wrap { opacity: 1; transform: none; }
:root[data-motion="reduce"] .viz .draw { stroke-dashoffset: 0; } :root[data-motion="reduce"] .viz .fill-area { opacity: 1; } :root[data-motion="reduce"] .viz .bar, :root[data-motion="reduce"] .chart .bar { transform: none; }
:root[data-motion="reduce"] .step { opacity: 1; }

/* ---------- misc ---------- */
.whatsapp-float {
  position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 40; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31, 157, 85, 0.35);
  transition: transform 0.2s var(--ease); opacity: 0.92;
}
.whatsapp-float:hover { transform: scale(1.06); color: #fff; opacity: 1; }
.whatsapp-float svg { width: 1.6rem; height: 1.6rem; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(4rem, 12vw, 8rem); line-height: 1; background: var(--g-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-row { display: flex; flex-wrap: wrap; gap: 2rem 3rem; }
.stat-row b { display: block; font-size: 2rem; line-height: 1; }
.stat-row span { color: var(--muted); font-size: 0.9rem; }
.badge-verified { font-size: 0.75rem; color: var(--muted); }
@media print {
  .site-header, .site-footer, .whatsapp-float, .consent, .prefs { display: none !important; }
  body { background: #fff; color: #000; }
}
