/* ============================================================
   S4 TechnoSoft — Design System v3 (Light)
   Warm editorial fintech studio, light theme
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #eef1f8;
  --bg-2: #f7f9fd;
  --bg-3: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --border: rgba(20, 18, 46, 0.10);
  --border-strong: rgba(20, 18, 46, 0.20);

  /* Text */
  --ink: #14183a;
  --text: #14183a;
  --text-2: #3a4060;
  --muted: #626a86;
  --muted-2: #9298b0;

  /* Brand — straight from the S4 logo: indigo + cyan. No green, ever. */
  --brand: #2e3191;
  --brand-ink: #23265f;
  --cyan: #00adee;
  --cyan-deep: #0090c9;
  --blue: #2e3191;
  --violet: #2e3191;
  --accent: var(--brand);
  --iconcolor: #14183a;
  --grad: #2e3191;
  --grad-ink: #2e3191;
  --grad-soft: rgba(0,173,238,.14);

  /* Type */
  --font-head: "Archivo", "Space Grotesk", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 34px;
  --nav-h: 74px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 34px 70px -34px rgba(28, 38, 74, 0.26);
  --shadow-sm: 0 16px 40px -24px rgba(28, 38, 74, 0.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2 { font-family: var(--font-head); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; color: var(--ink); }
h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
::selection { background: rgba(0,173,238,.28); }

.ital { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.grad-text { color: var(--brand); }

/* Ambient background */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(46% 42% at 10% -6%, rgba(47,46,158,.10), transparent 60%),
    radial-gradient(46% 42% at 92% 0%, rgba(0,173,238,.14), transparent 60%),
    radial-gradient(60% 50% at 50% 108%, rgba(47,46,158,.07), transparent 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 480px; height: 480px; z-index: -1;
  border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(61,123,255,.10), transparent 62%);
  transition: opacity .4s; opacity: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 10vw, 150px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 90px); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); padding: 0; border: none; background: none;
}

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 22px; }
.section-head p { color: var(--muted); margin-top: 18px; font-size: 1.12rem; max-width: 620px; }
.section-head.center p { margin-inline: auto; }
.section-num { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .18em; color: var(--brand); text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  border: 1px solid transparent; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 16px 34px -16px rgba(46,49,145,.55); }
.btn--primary:hover { background: var(--brand-ink); transform: translateY(-3px); box-shadow: 0 24px 46px -16px rgba(46,49,145,.68); }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--bg); transform: translateY(-3px); border-color: rgba(17,21,30,.32); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center;
  background: rgba(238,241,248,.82); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav.scrolled { background: rgba(244,247,252,.92); border-bottom-color: var(--border); box-shadow: 0 10px 30px -24px rgba(28,26,74,.24); }

.brand { display: flex; align-items: center; gap: 0; font-family: "Fredoka", var(--font-head); font-weight: 600; font-style: italic; font-size: 1.36rem; letter-spacing: -0.01em; color: var(--brand); }
.brand__logo { width: 42px; height: 42px; flex: none; margin-right: -4px; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { padding: 10px 15px; border-radius: 11px; position: relative; color: var(--text-2); font-size: .95rem; font-weight: 450; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: rgba(17,21,30,.05); }
.nav__links a.active { color: var(--text); }
.nav__links a.active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; background: #fff; border: 1px solid var(--border); border-radius: 12px; width: 44px; height: 44px; padding: 0; place-items: center; }
.nav__toggle svg { stroke: var(--text); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 12px auto; z-index: 99;
  background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
  padding: 20px; display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow);
  transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { padding: 15px 14px; font-family: var(--font-head); font-size: 1.4rem; letter-spacing: -0.02em; border-bottom: 1px solid var(--border); color: var(--text-2); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn { margin-top: 16px; }
.mobile-menu a.btn--primary { color: #fff; border-bottom: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(44px, 6vw, 80px) clamp(56px, 8vw, 110px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__bg .glow { position: absolute; border-radius: 50%; filter: blur(72px); }
.glow--1 { width: 620px; height: 620px; top: -300px; left: 50%; transform: translateX(-75%); background: radial-gradient(circle, rgba(46,49,145,.16), transparent 62%); }
.glow--2 { width: 560px; height: 560px; top: -220px; left: 50%; transform: translateX(-8%); background: radial-gradient(circle, rgba(0,173,238,.15), transparent 62%); }
.hero__grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(72% 56% at 50% 0%, #000, transparent 74%); mask-image: radial-gradient(72% 56% at 50% 0%, #000, transparent 74%); opacity: .55; }
.hero__head { max-width: 900px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__head .eyebrow { margin-bottom: 22px; }
.aurora { position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1; pointer-events: none; filter: blur(64px); opacity: .42; }
.aurora span { position: absolute; border-radius: 50%; }
.aurora .a1 { width: 480px; height: 480px; left: 4%; top: -60px; background: radial-gradient(circle, rgba(47,46,158,.20), transparent 62%); animation: drift 20s var(--ease) infinite alternate; }
.aurora .a2 { width: 540px; height: 540px; right: 0%; top: -30px; background: radial-gradient(circle, rgba(0,173,238,.34), transparent 60%); animation: drift 26s var(--ease) infinite alternate-reverse; }
.aurora .a3 { width: 420px; height: 420px; left: 46%; top: 60px; background: radial-gradient(circle, rgba(47,46,158,.14), transparent 62%); animation: drift 30s var(--ease) infinite alternate; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.15); } }

.hero__grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 52px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.0; letter-spacing: -0.01em; max-width: 20ch; margin-inline: auto; }
.hero h1 .ital { font-size: 1em; }
.hero__lead { color: var(--text-2); font-size: 1.16rem; margin: 26px auto 0; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; justify-content: center; }
.hero__meta { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); }
.hero__avatars { display: flex; }
.hero__avatars i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; background: var(--grad); display: block; }
.hero__avatars i:first-child { margin-left: 0; }
.hero__avatars i:nth-child(2){ background: #00adee;} .hero__avatars i:nth-child(3){ background: var(--brand);} .hero__avatars i:nth-child(4){ background: #0093c9;}

.hero__visual { position: relative; width: 100%; max-width: 500px; margin-inline: auto; }
.orb {
  position: absolute; width: 340px; height: 340px; border-radius: 50%; z-index: 0;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle at 38% 34%, #00adee, transparent 56%), radial-gradient(circle at 66% 70%, #2f2e9e, transparent 60%);
  filter: blur(54px); opacity: .3; animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.glass-card {
  position: relative; z-index: 2; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 22px;
}
.glass-card__top { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.glass-card__top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(17,21,30,.14); }
.glass-card__top b { margin-left: auto; font-family: var(--font-head); font-size: .74rem; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.row { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 14px; background: #f6f4ef; border: 1px solid var(--border); margin-bottom: 10px; }
.row .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); flex: none; }
.row .ln { flex: 1; display: grid; gap: 6px; }
.row .ln b { height: 8px; border-radius: 4px; background: rgba(17,21,30,.18); width: 55%; }
.row .ln i { height: 6px; border-radius: 4px; background: rgba(17,21,30,.09); width: 80%; }
.row .v { font-family: var(--font-head); font-size: .84rem; color: var(--blue); }
.spark { display: flex; align-items: flex-end; gap: 7px; height: 84px; padding: 14px; border-radius: 14px; background: #f6f4ef; border: 1px solid var(--border); margin-top: 4px; }
.spark span { flex: 1; border-radius: 5px 5px 0 0; background: var(--grad); opacity: .9; }
.chip {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 13px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 11px;
}
.chip .ci { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 1rem; }
.chip b { font-family: var(--font-head); font-size: .92rem; color: var(--text); }
.chip small { display: block; color: var(--muted); font-size: .74rem; }
.chip--1 { top: 6px; right: -20px; animation: floaty 6s var(--ease) infinite alternate; }
.chip--2 { bottom: 18px; left: -26px; animation: floaty 7s var(--ease) infinite alternate-reverse; }
@keyframes floaty { to { transform: translateY(-12px); } }

/* ---------- Hero product dashboard ---------- */
.hero__showcase { position: relative; max-width: 1060px; margin: clamp(44px, 6vw, 76px) auto 0; }
.dash { position: relative; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: 0 50px 100px -46px rgba(20,24,70,.42); overflow: hidden; }
.dash__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #fbfcff, #f5f7fc); }
.dash__bar .wd { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.dash__title { margin-left: 12px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--text-2); }
.dash__pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--cyan-deep); background: rgba(0,173,238,.12); padding: 5px 12px; border-radius: 999px; text-transform: uppercase; }
.dash__pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-deep); animation: ping 1.9s var(--ease) infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(0,173,238,.5);} 70%{box-shadow:0 0 0 7px rgba(0,173,238,0);} 100%{box-shadow:0 0 0 0 rgba(0,173,238,0);} }
.dash__body { padding: clamp(16px, 2.2vw, 24px); display: grid; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpi { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; background: var(--bg-2); display: flex; flex-direction: column; gap: 5px; }
.kpi__l { font-size: .76rem; color: var(--muted); }
.kpi__v { font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; letter-spacing: -.02em; color: var(--ink); }
.kpi__t { font-size: .74rem; color: var(--muted); }
.kpi__t.up { color: var(--cyan-deep); font-weight: 600; }
.dash__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.panelc { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; background: #fff; }
.panelc__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.panelc__head b { font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.panelc__head span { font-size: .74rem; color: var(--muted); }
.chart { position: relative; height: 152px; display: flex; align-items: flex-end; gap: 10px; background-image: repeating-linear-gradient(to top, transparent 0, transparent 37px, var(--border) 37px, var(--border) 38px); }
.chart .bar { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; }
.chart .bar i { width: 60%; max-width: 26px; border-radius: 6px 6px 0 0; background: var(--brand); display: block; transition: opacity .3s; }
.chart .bar.hi i { background: var(--cyan); }
.chart .bar span { font-size: .66rem; color: var(--muted-2); }
.tbl { display: flex; flex-direction: column; }
.tbl li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10.5px 2px; border-bottom: 1px solid var(--border); }
.tbl li:last-child { border-bottom: none; }
.tbl__name { font-size: .9rem; font-weight: 500; color: var(--text); }
.tbl__n { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.badge { font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; }
.badge.ok { color: var(--brand); background: rgba(46,49,145,.10); }
.badge.map { color: var(--cyan-deep); background: rgba(0,173,238,.14); }
.hero__showcase .chip { position: absolute; z-index: 3; }
.chip .ci svg { width: 18px; height: 18px; }
.hero__showcase .chip--1 { top: -26px; right: -14px; }
.hero__showcase .chip--2 { bottom: -26px; left: -14px; }
@media (max-width: 760px) { .dash__grid { grid-template-columns: 1fr; } .hero__showcase .chip { display: none; } }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }

/* ---------- Services page mini visuals ---------- */
.svcviz { border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.svcviz__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg,#fbfcff,#f5f7fc); }
.svcviz__bar .wd { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.svcviz__bar b { margin-left: 8px; font-family: var(--font-head); font-size: .82rem; color: var(--text-2); }
.svcviz__bar .dash__pill { margin-left: auto; }
.dash__pill.up { color: var(--cyan-deep); background: rgba(0,173,238,.12); }
.dash__pill.up::before { display: none; }
.svcviz__body { padding: 18px; display: grid; gap: 16px; }
.svcviz__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mini { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--bg-2); }
.mini b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.mini span { font-size: .72rem; color: var(--muted); }
.svcviz .chart { height: 110px; }
.svcviz .chart .bar i { max-width: 22px; }
.linechart svg { width: 100%; height: 116px; display: block; }
.code { padding: 16px 18px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84rem; line-height: 1.85; }
.code__line { display: flex; gap: 14px; white-space: pre; }
.code__line .ln { color: var(--muted-2); width: 12px; text-align: right; user-select: none; flex: none; }
.tk-key { color: var(--brand); font-weight: 600; }
.tk-fn { color: var(--cyan-deep); }
.tk-punc { color: var(--muted); }
.svcviz__foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 18px; }
.chiplet { font-family: var(--font-head); font-size: .76rem; font-weight: 600; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; }
.stack-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.stack-row .chiplet { font-size: .9rem; padding: 9px 18px; background: #fff; box-shadow: var(--shadow-sm); }

/* ---------- Service cards (home) ---------- */
.svc-card { display: flex; flex-direction: column; }
.svc-card .card__ic { margin-bottom: 0; }
.svc-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.svc-card__no { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--border-strong); letter-spacing: -.03em; line-height: 1; }
.svc-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .98rem; }
.svc-card .job__tags { margin-top: 18px; margin-bottom: 24px; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.card__link .arr { transition: transform .25s var(--ease); }
.svc-card:hover .card__link .arr { transform: translateX(4px); }

/* ---------- Contact map ---------- */
.mapwrap { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; margin-top: 44px; }
.mapcard { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: #fff; min-height: 460px; }
.mapcard iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.mapside { display: grid; gap: 16px; align-content: start; }
.office { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease); }
.office:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.office h3 { font-size: 1.2rem; margin-bottom: 8px; }
.office p { color: var(--muted); font-size: .96rem; }
.office--contact a { display: block; color: var(--brand); font-weight: 600; font-size: .98rem; margin-top: 6px; }
.office--contact a:hover { color: var(--cyan-deep); }
.office__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.office__link .arr { transition: transform .25s var(--ease); }
.office__link:hover .arr { transform: translateX(4px); }
@media (max-width: 900px) { .mapwrap { grid-template-columns: 1fr; } .mapcard, .mapcard iframe { min-height: 340px; } }

/* ---------- Quote modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16,18,44,.55); backdrop-filter: blur(4px); }
.modal__dialog { position: relative; width: 100%; max-width: 540px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 50px 100px -40px rgba(16,18,44,.5); padding: clamp(26px, 4vw, 40px); max-height: 92vh; overflow: auto; transform: translateY(14px) scale(.98); transition: transform .3s var(--ease); }
.modal.open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; color: var(--text-2); transition: background .2s, color .2s; }
.modal__close:hover { background: var(--bg); color: var(--ink); }
.modal__dialog h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 14px 0 8px; }
.modal__lead { color: var(--muted); margin-bottom: 22px; font-size: 1rem; }
.modal .form { padding: 0; border: none; box-shadow: none; background: none; }
.modal .field { margin-bottom: 16px; }
body.modal-open { overflow: hidden; }

/* ---------- RDMFin flagship band (two-column) ---------- */
.cta-band.rdmfin { text-align: left; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; background: linear-gradient(150deg, #e9ecfb, #f5f7fe); }
.rdmfin__text h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-top: 16px; }
.rdmfin__text p { color: var(--muted); max-width: none; margin: 16px 0 30px; font-size: 1.06rem; }
.rdmfin__viz .svcviz { box-shadow: 0 34px 66px -36px rgba(20,24,70,.38); }
@media (max-width: 860px) { .cta-band.rdmfin { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .modal, .modal__dialog { transition: none; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding-block: 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 44px; width: max-content; animation: scroll 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 3vw, 2.1rem); letter-spacing: -0.02em; color: var(--text); display: flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--blue); font-size: .7em; }
.marquee--muted .marquee__track span { color: var(--muted); font-weight: 500; font-size: clamp(1rem,2vw,1.4rem); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Spotlight ---------- */
.spot { position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .4s; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(47,46,158,.06), transparent 60%); }
.spot:hover::before { opacity: 1; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { position: relative; padding: 32px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card__ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); border: none; color: #fff; margin-bottom: 22px; }
.card__ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .99rem; }
.card__list { margin-top: 20px; display: grid; gap: 10px; }
.card__list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-2); font-size: .93rem; }
.card__list li::before { content: ""; margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }
.card__num { position: absolute; top: 24px; right: 28px; font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--border-strong); }

/* Bento (kept for compatibility) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; grid-auto-rows: minmax(200px, auto); }
.bento__item { position: relative; padding: 30px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.bento__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bento__item.col-3 { grid-column: span 3; }
.bento__item.col-2 { grid-column: span 2; }
.bento__item.col-4 { grid-column: span 4; }
.bento__item.row-2 { grid-row: span 2; }
.bento__ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); border: none; color: #fff; margin-bottom: auto; }
.bento__item h3 { font-size: 1.5rem; margin-top: 24px; }
.bento__item p { color: var(--muted); font-size: .98rem; margin-top: 10px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__sticky { position: sticky; top: 110px; align-self: start; }
.feature-list { display: grid; gap: 20px; margin-top: 30px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .fi { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--brand); border: none; color: #fff; font-size: 1.1rem; }
.feature-list .fi svg { width: 22px; height: 22px; }
.feature-list b { display: block; font-family: var(--font-head); font-size: 1.06rem; margin-bottom: 3px; color: var(--text); }
.feature-list p { color: var(--muted); font-size: .95rem; }

.panel { border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); padding: 28px; position: relative; overflow: hidden; }
.panel::before { content:""; position:absolute; inset:0; background: var(--grad-soft); opacity:.3; }

/* ---------- Stats ---------- */
.stats-xl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-xl { padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.stat-xl .n { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.04em; }
.stat-xl .l { color: var(--muted); margin-top: 14px; font-size: .98rem; }

.stats-band { border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); padding: clamp(32px, 4vw, 52px); }
.statc { text-align: center; }
.statc .n { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em; }
.statc .l { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.statc + .statc { border-left: 1px solid var(--border); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.step__n { font-family: var(--font-head); font-size: 1.15rem; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #04121f; font-weight: 600; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* ---------- Values / perks ---------- */
.value, .perk { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover, .perk:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value .vi, .perk .pi { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; margin-bottom: 18px; }
.value .vi svg, .perk .pi svg { width: 24px; height: 24px; }
.value h3, .perk h3 { font-size: 1.18rem; margin-bottom: 9px; }
.value p, .perk p { color: var(--muted); font-size: .94rem; }

/* ---------- Testimonial ---------- */
.quote { max-width: 900px; margin-inline: auto; text-align: center; }
.quote__stars { display: flex; justify-content: center; gap: 5px; margin-bottom: 26px; color: #e8a93b; font-size: 1.1rem; }
.quote blockquote { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.28; letter-spacing: -0.02em; }
.quote figcaption { margin-top: 28px; color: var(--muted); font-family: var(--font-head); }
.quote figcaption b { color: var(--text); display: block; }

/* ---------- CTA ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(48px, 7vw, 90px) clamp(28px, 5vw, 76px); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); text-align: center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 120% at 50% 0%, rgba(61,123,255,.14), transparent 62%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.cta-band p { color: var(--muted); max-width: 580px; margin: 20px auto 34px; font-size: 1.12rem; }
.cta-band .hero__cta { justify-content: center; }

.cta-huge { text-align: center; position: relative; }
.cta-huge h2 { font-size: clamp(3rem, 11vw, 9rem); line-height: .92; letter-spacing: -0.05em; }
.cta-huge p { color: var(--muted); font-size: 1.15rem; margin: 26px auto 0; max-width: 480px; }
.cta-huge .hero__cta { justify-content: center; margin-top: 38px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 72px 34px; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 44px; }
.footer__brand p { color: var(--muted); margin-top: 18px; max-width: 320px; font-size: .96rem; }
.footer h4 { font-family: var(--font-head); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.footer ul { display: grid; gap: 12px; }
.footer ul a, .footer ul li { color: var(--text-2); font-size: .96rem; transition: color .2s; }
.footer ul a:hover { color: var(--blue); }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--text-2); transition: all .25s; }
.footer__social a:hover { color: var(--blue); border-color: var(--border-strong); transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .88rem; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding-block: clamp(60px, 9vw, 120px) clamp(30px, 4vw, 56px); text-align: center; overflow: hidden; }
.page-hero .aurora { opacity: .34; height: 460px; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); margin-top: 22px; letter-spacing: -0.04em; }
.page-hero > .container > p:last-child { color: var(--muted); max-width: 640px; margin: 22px auto 0; font-size: 1.15rem; }
.breadcrumb { color: var(--muted-2); font-size: .88rem; font-family: var(--font-head); letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info .info-card { flex: 1; align-items: center; margin-bottom: 0; min-height: 108px; }
.info-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); display: flex; gap: 16px; margin-bottom: 16px; transition: box-shadow .3s, transform .3s var(--ease); }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card .ic { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); border: none; color: #fff; }
.info-card h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 5px; }
.info-card p, .info-card a { color: var(--muted); font-size: .95rem; }
.info-card a:hover { color: var(--blue); }

.form { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .9rem; margin-bottom: 9px; color: var(--text-2); font-family: var(--font-head); }
.field input, .field textarea, .field select { width: 100%; padding: 15px 17px; border-radius: 13px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text); font: inherit; font-size: .97rem; transition: border-color .2s, background .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { min-height: 118px; resize: vertical; }
.form__note { color: var(--muted-2); font-size: .82rem; margin-top: 8px; }

/* ---------- Careers ---------- */
.job { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 30px 32px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease); }
.job:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: .78rem; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); color: var(--text-2); font-family: var(--font-head); }
.job h3 { font-size: 1.35rem; }
.job__meta { color: var(--muted); font-size: .9rem; margin-top: 7px; }

/* ---------- Logos ---------- */
.logos { border-block: 1px solid var(--border); padding-block: 34px; }
.logos p { text-align: center; color: var(--muted-2); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 26px; font-family: var(--font-head); }
.logos__row { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 76px); flex-wrap: wrap; }
.logos__row span { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.6rem); color: var(--muted-2); transition: color .3s; letter-spacing: -0.02em; }
.logos__row span:hover { color: var(--text); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   Section variety — distinct primitives + contrast bands
   ============================================================ */

/* Dark contrast section (inverts palette locally) */
.section--dark {
  background: #0b0f1a; color: #f2f5fd; position: relative; overflow: hidden;
  --text: #f2f5fd; --text-2: #c6cee1; --muted: #98a2b8; --muted-2: #6b7488;
  --surface: rgba(255,255,255,.05); --surface-2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.12); --border-strong: rgba(255,255,255,.24);
  --iconcolor: #56d9e6; --shadow: 0 30px 70px -30px rgba(0,0,0,.6); --shadow-sm: none;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #f2f5fd; }
.section--dark .grad-text { background: linear-gradient(115deg,#5ff0e6,#8ab4ff,#c9b0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .panel { background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: var(--shadow); }
.section--dark .panel::before { opacity: .4; }
.section--dark .row { background: rgba(255,255,255,.05); }
.section--dark .row .ln b { background: rgba(255,255,255,.24); }
.section--dark .row .ln i { background: rgba(255,255,255,.1); }
.section--dark .row .v { color: #56d9e6; }
.section--dark .glass-card__top i { background: rgba(255,255,255,.16); }
.section--dark .spark { background: rgba(255,255,255,.05); }
.section--dark .panel::before { background: linear-gradient(120deg, rgba(86,217,230,.16), rgba(138,164,255,.16), rgba(201,176,255,.16)); }
.section--dark .card, .section--dark .value, .section--dark .perk, .section--dark .stat-xl, .section--dark .step, .section--dark .info-card, .section--dark .job { background: rgba(255,255,255,.04); box-shadow: none; }
.section--dark .btn--ghost { background: rgba(255,255,255,.05); color: #f2f5fd; }
.section--dark .eyebrow { background: rgba(255,255,255,.05); }

/* White band + subtle tint sections (gentle rhythm) */
.section--tint { background: #ffffff; }
.section--panel { background: #ffffff; }

/* Full-bleed vivid gradient band (finale) */
.band {
  position: relative; overflow: hidden; color: #fff;
  --text: #fff; --muted: rgba(255,255,255,.75); --muted-2: rgba(255,255,255,.55); --border-strong: rgba(255,255,255,.4);
  background: radial-gradient(120% 130% at 0% 0%, #1c3fa0 0%, transparent 52%), radial-gradient(120% 130% at 100% 100%, #6a2ea0 0%, transparent 52%), #0a1030;
}
.band h1, .band h2 { color: #fff; }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); }
.band > * { position: relative; }
.band .grad-text { background: linear-gradient(115deg,#7ff5ea,#9bc0ff,#d3b6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band .btn--ghost { background: rgba(255,255,255,.1); color: #fff; }

/* Editorial numbered index list */
.index-list { margin-top: 52px; border-top: 1px solid var(--border); }
.index-row { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(26px, 3.4vw, 40px) 10px; border-bottom: 1px solid var(--border); position: relative; z-index: 0; transition: padding-left .45s var(--ease); }
.index-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-soft); opacity: 0; transition: opacity .4s; }
.index-row:hover { padding-left: 26px; }
.index-row:hover::before { opacity: 1; }
.index-row__idx { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--muted-2); letter-spacing: -0.03em; transition: color .3s; min-width: 2ch; }
.index-row:hover .index-row__idx { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.index-row h3 { font-size: clamp(1.6rem, 3.6vw, 2.7rem); letter-spacing: -0.035em; }
.index-row .desc { color: var(--muted); font-size: 1rem; margin-top: 8px; max-width: 560px; }
.index-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.index-row__go { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text); flex: none; transition: background .35s, color .35s, transform .35s var(--ease); }
.index-row:hover .index-row__go { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(-45deg); }

/* Full-bleed stat strip */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-strip > div { padding: clamp(30px, 4vw, 52px) 26px; border-right: 1px solid var(--border); }
.stats-strip > div:last-child { border-right: none; }
.stats-strip .n { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .95; letter-spacing: -0.05em; }
.stats-strip .l { color: var(--muted); margin-top: 16px; font-size: .96rem; max-width: 190px; }

/* Connected timeline */
.timeline { margin-top: 52px; max-width: 780px; }
.tl-item { position: relative; padding-left: 82px; padding-bottom: 46px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: attr(data-n); position: absolute; left: 0; top: -4px; width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 1px solid var(--border-strong); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: var(--text); z-index: 1; box-shadow: var(--shadow-sm); }
.tl-item::after { content: ""; position: absolute; left: 27px; top: 54px; bottom: 0; width: 2px; background: linear-gradient(var(--blue), rgba(138,79,255,.12)); }
.tl-item:last-child::after { display: none; }
.tl-item h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-bottom: 8px; }
.tl-item p { color: var(--muted); font-size: 1.02rem; max-width: 520px; }

/* Definition list */
.deflist { border-top: 1px solid var(--border); margin-top: 48px; }
.def-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(20px, 5vw, 60px); padding: clamp(24px, 3vw, 38px) 10px; border-bottom: 1px solid var(--border); align-items: start; transition: padding-left .35s var(--ease); }
.def-row:hover { padding-left: 22px; }
.def-row__term { display: flex; align-items: center; gap: 16px; }
.def-row__term .vi { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; flex: none; }
.def-row__term .vi svg { width: 22px; height: 22px; }
.def-row h3 { font-size: clamp(1.4rem, 2.8vw, 2rem); letter-spacing: -0.03em; }
.def-row p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split--rev .split__media { order: 0; }
  .split__sticky { position: static; top: auto; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-xl { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: grid; }
  .bento__item.col-3, .bento__item.col-2, .bento__item.col-4 { grid-column: span 6; }
  .bento__item.row-2 { grid-row: auto; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip > div:nth-child(2) { border-right: none; }
  .stats-strip > div:nth-child(1), .stats-strip > div:nth-child(2) { border-bottom: 1px solid var(--border); }
  .def-row { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .stats-xl { grid-template-columns: 1fr 1fr; }
  .statc + .statc { border-left: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .job { grid-template-columns: 1fr; }
  .chip--1 { right: 0; } .chip--2 { left: 0; }
  .hero__visual { max-width: 340px; }
  .stats-strip { grid-template-columns: 1fr; }
  .stats-strip > div { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-strip > div:last-child { border-bottom: none; }
  .index-row { grid-template-columns: auto 1fr; }
  .index-row__go { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .cursor-glow { display: none; }
}
