/* =========================================================
   Zentara Solutions — Design System
   No external dependencies. System fonts for speed + GDPR.
   ========================================================= */

:root {
  --bg: #f6f6f2;
  --bg-2: #efefe9;
  --surface: #ffffff;
  --ink: #0a0d14;
  --ink-2: #252a36;
  --muted: #5d6472;
  --line: #e3e3dc;
  --line-2: #d6d6cd;

  --accent: #2f5bff;
  --accent-600: #1f45e6;
  --accent-soft: #e9eeff;
  --cyan: #38d6f5;
  --mint: #22c79a;

  --dark: #090c14;
  --dark-2: #111624;
  --dark-3: #1a2133;
  --dark-line: rgba(255, 255, 255, 0.09);
  --dark-muted: #9aa3b6;

  --font-sans: "Inter", "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(10, 13, 20, 0.05);
  --shadow: 0 1px 2px rgba(10, 13, 20, 0.04), 0 12px 32px -12px rgba(10, 13, 20, 0.12);
  --shadow-lg: 0 30px 80px -30px rgba(10, 13, 20, 0.35);

  --container: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.028em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section--white { background: var(--surface); }
.section--dark { background: var(--dark); color: #fff; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 7px 14px 7px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(34, 199, 154, 0.18); animation: pulse 2.4s var(--ease) infinite; }
.section--dark .eyebrow, .dark .eyebrow { background: rgba(255,255,255,0.06); border-color: var(--dark-line); color: #dfe4ee; box-shadow: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 199, 154, 0.05); } }

.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .kicker { color: var(--cyan); }

.display { font-size: clamp(2.55rem, 6.4vw, 5.4rem); line-height: 1.0; letter-spacing: -0.045em; font-weight: 600; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); letter-spacing: -0.038em; line-height: 1.04; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.accent { color: var(--accent); }
.section--dark .accent { color: var(--cyan); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: var(--dark-muted); }
.muted { color: var(--muted); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 32px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

.prose { max-width: 72ch; font-size: 18px; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2em; color: var(--ink); }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease), border-color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(10,13,20,.45); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-600); box-shadow: 0 14px 30px -12px rgba(47,91,255,.7); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--surface); box-shadow: var(--shadow); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--ghost-dark { --btn-bg: rgba(255,255,255,.04); --btn-fg: #fff; border-color: rgba(255,255,255,.18); }
.btn--ghost-dark:hover { --btn-bg: rgba(255,255,255,.1); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); transition: background-color .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(246, 246, 242, 0.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 2px; line-height: 1; }
.brand-text { line-height: 1; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  background: none; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button { background: rgba(10,13,20,.05); color: var(--ink); }
.nav > a[aria-current="page"] { color: var(--ink); background: rgba(10,13,20,.06); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-drop.is-open > button svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(680px, 90vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s;
}
.nav-drop.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px; border-radius: 14px; transition: background-color .2s; }
.mega a:hover { background: var(--bg); }
.mega .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mega .ico svg { width: 20px; height: 20px; }
.mega strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mega span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 14px 16px; border-radius: 14px; background: var(--dark); color: #fff; font-size: 14px; }
.mega-foot a { display: inline-flex; padding: 0; color: var(--cyan); font-weight: 600; }
.mega-foot a:hover { background: none; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 20px; height: 20px; }

.mobile-nav { display: none; }
@media (max-width: 1020px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: var(--bg); padding: 16px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--bg); border-bottom-color: var(--line); }
  .mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
  .mobile-nav .sub a { font-size: 16px; font-weight: 500; padding: 12px 4px 12px 16px; color: var(--ink-2); }
  .mobile-nav .label { display: block; margin: 24px 4px 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
  .mobile-nav .btn { width: 100%; margin-top: 28px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 40% at 78% 30%, rgba(47, 91, 255, 0.16), transparent 70%),
    radial-gradient(30% 30% at 95% 60%, rgba(56, 214, 245, 0.14), transparent 70%),
    radial-gradient(35% 35% at 10% 10%, rgba(34, 199, 154, 0.08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-copy .lead { max-width: 54ch; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--line); width: 100%; }
.hero-proof div { display: grid; gap: 2px; }
.hero-proof strong { font-size: 30px; letter-spacing: -0.04em; font-weight: 600; line-height: 1; }
.hero-proof span { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

/* Hero visual: integration console */
.console {
  position: relative; border-radius: var(--radius-lg); background: var(--dark); color: #fff;
  padding: 18px; box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255,255,255,.06);
}
.console::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(80% 70% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 40%, transparent 100%);
}
.console::after { content: ""; position: absolute; width: 420px; height: 420px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(47,91,255,.45), transparent 62%); z-index: -1; filter: blur(10px); }
.console-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--dark-muted); }
.console-bar .dots { display: flex; gap: 6px; }
.console-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.console-bar .live { display: inline-flex; align-items: center; gap: 8px; color: #c9f5e6; }
.console-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.console svg.flow { width: 100%; height: auto; }
.flow .wire { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.5; }
.flow .pulse { fill: none; stroke: url(#wireGrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 14 180; animation: flow 3.2s linear infinite; }
.flow .pulse.d2 { animation-delay: -.8s; } .flow .pulse.d3 { animation-delay: -1.6s; } .flow .pulse.d4 { animation-delay: -2.4s; } .flow .pulse.d5 { animation-delay: -1.2s; }
@keyframes flow { from { stroke-dashoffset: 194; } to { stroke-dashoffset: 0; } }
.flow .node rect { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.12); }
.flow .node text { fill: #e6ebf5; font-family: var(--font-sans); font-size: 12.5px; font-weight: 500; }
.flow .node .sub { fill: #8b93a7; font-size: 10.5px; font-family: var(--font-mono); }
.flow .core circle.ring { fill: none; stroke: rgba(56,214,245,.35); stroke-dasharray: 3 6; transform-origin: center; transform-box: fill-box; animation: spin 18s linear infinite; }
.flow .core text { fill: #fff; font-family: var(--font-sans); font-weight: 600; font-size: 13px; }
@keyframes spin { to { transform: rotate(360deg); } }
.console-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.console-foot div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); font-size: 12px; color: var(--dark-muted); }
.console-foot b { display: block; color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 2px; letter-spacing: -0.01em; }
@media (max-width: 520px) { .console-foot { grid-template-columns: 1fr; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--surface); padding: 22px 0; overflow: hidden; }
.marquee-inner { display: flex; align-items: center; gap: 28px; }
.marquee-label { flex: none; font-size: 13px; color: var(--muted); font-weight: 500; padding-left: var(--gutter); max-width: 180px; line-height: 1.35; }
.marquee-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-list { display: flex; gap: 56px; width: max-content; list-style: none; animation: marquee 38s linear infinite; }
.marquee-list li { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: #9197a3; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.marquee-list li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--line-2); transform: rotate(45deg); }
.marquee:hover .marquee-list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .marquee-label { display: none; } }

/* ---------- Statement / pillars ---------- */
.statement { font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.14; letter-spacing: -0.035em; font-weight: 500; max-width: 26ch; }
.statement .muted { color: #a0a5ae; }
.pillars { margin-top: clamp(48px, 6vw, 80px); }
.pillar { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.pillar .num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.pillar h3 { font-size: 22px; }
.pillar p { color: var(--muted); font-size: 16px; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 22px; letter-spacing: -0.025em; }
.card p { color: var(--muted); font-size: 16px; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li { font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.card--feature { background: var(--dark); color: #fff; border-color: var(--dark); overflow: hidden; isolation: isolate; }
.card--feature::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(47,91,255,.55), transparent 65%); z-index: -1; }
.card--feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(120deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000); }
.card--feature p { color: var(--dark-muted); }
.card--feature .ico { background: rgba(56,214,245,.12); color: var(--cyan); }
.card--feature .tags li { background: rgba(255,255,255,.06); border-color: var(--dark-line); color: #dfe4ee; }
.card--feature .link-arrow { color: #fff; }
.card--feature .badge { position: absolute; top: 26px; right: 26px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(56,214,245,.14); color: var(--cyan); border: 1px solid rgba(56,214,245,.25); }
@media (max-width: 980px) { .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento .span-3, .bento .span-4 { grid-column: auto; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); display: grid; gap: 12px; align-content: start; min-height: 260px; }
.step .n { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); display: flex; align-items: center; gap: 10px; }
.step .n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(56,214,245,.4), transparent); }
.step h3 { font-size: 24px; color: #fff; margin-top: 28px; }
.step p { color: var(--dark-muted); font-size: 15.5px; }
.step ul { list-style: none; display: grid; gap: 6px; margin-top: 6px; font-size: 14px; color: #c7cedb; }
.step li { display: flex; gap: 8px; align-items: baseline; }
.step li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex: none; transform: translateY(-2px); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* Light steps variant */
.steps--light .step { background: var(--surface); border-color: var(--line); }
.steps--light .step h3 { color: var(--ink); }
.steps--light .step p { color: var(--muted); }
.steps--light .step .n { color: var(--accent); }
.steps--light .step .n::after { background: linear-gradient(90deg, rgba(47,91,255,.35), transparent); }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); }
.compare-col h3 { font-size: 24px; margin-bottom: 6px; }
.compare-col .sub { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.compare-col ul { list-style: none; display: grid; }
.compare-col li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 16.5px; align-items: start; }
.compare-col li svg { width: 22px; height: 22px; margin-top: 2px; }
.compare-col--before { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
.compare-col--before li svg { color: #a3a8b1; }
.compare-col--before li { color: #666c78; }
.compare-col--after { background: var(--dark); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.compare-col--after::before { content: ""; position: absolute; left: -100px; bottom: -160px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(47,91,255,.45), transparent 65%); z-index: -1; }
.compare-col--after .sub { color: var(--dark-muted); }
.compare-col--after li { border-top-color: var(--dark-line); }
.compare-col--after li svg { color: var(--mint); }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Value props ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; background: var(--surface); transition: background-color .3s; }
.value:hover { background: #fbfbf9; }
.value .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.value .ico svg { width: 20px; height: 20px; }
.value h3 { font-size: 20px; }
.value p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.values-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.values-wrap .values { border: 0; margin: -1px; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.industry { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; transition: transform .4s var(--ease), border-color .3s; }
.industry:hover { transform: translateY(-3px); border-color: var(--line-2); }
.industry .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--accent); flex: none; }
.industry .ico svg { width: 20px; height: 20px; }
@media (max-width: 980px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .industries { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.t-wrap { position: relative; }
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, calc((100% - 40px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.t-track::-webkit-scrollbar { display: none; }
@media (max-width: 980px) { .t-track { grid-auto-columns: minmax(0, calc((100% - 20px) / 1.6)); } }
@media (max-width: 640px) { .t-track { grid-auto-columns: 88%; } }
.t-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 24px; margin: 0; }
.t-card .stars { display: flex; gap: 3px; color: var(--accent); }
.t-card .stars svg { width: 16px; height: 16px; }
.t-card blockquote { margin: 0; font-size: 18.5px; line-height: 1.5; letter-spacing: -0.012em; color: var(--ink); flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-card .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--cyan)); flex: none; }
.t-card .who strong { display: block; font-size: 15.5px; }
.t-card .who span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.t-controls { display: flex; gap: 10px; }
.t-controls button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.t-controls button:hover { background: var(--ink); color: #fff; }
.t-controls svg { width: 18px; height: 18px; }
.t-controls .prev svg { transform: rotate(180deg); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.05em; font-weight: 600; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 600; letter-spacing: -0.018em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s, color .3s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq .answer { padding: 0 60px 26px 0; color: var(--muted); font-size: 16.5px; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA + form ---------- */
.cta { position: relative; border-radius: var(--radius-lg); background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; padding: clamp(32px, 6vw, 72px); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 100% 0%, rgba(47,91,255,.5), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(56,214,245,.18), transparent 70%); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .cta-grid { grid-template-columns: 1fr; } }
.cta h2 { color: #fff; }
.cta .lead { color: var(--dark-muted); }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 32px; }
.contact-list li { display: flex; gap: 14px; align-items: center; font-size: 16px; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); display: grid; place-items: center; color: var(--cyan); flex: none; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--dark-muted); font-size: 13px; }
.contact-list a:hover { color: var(--cyan); }
.checklist { list-style: none; display: grid; gap: 10px; margin-top: 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: #dfe4ee; font-size: 16px; }
.checklist svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 3px; }
.checklist--light li { color: var(--ink-2); }
.checklist--light svg { color: var(--accent); }

.form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3.2vw, 36px); display: grid; gap: 16px; box-shadow: var(--shadow-lg); }
.form h3 { font-size: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-2); background: var(--bg); border-radius: 12px; padding: 13px 14px; font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d6472' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(47,91,255,.14); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--accent); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-status { font-size: 14.5px; padding: 12px 14px; border-radius: 12px; display: none; }
.form-status.ok { display: block; background: #e7f8f1; color: #0d6b4f; }
.form-status.err { display: block; background: #fdecec; color: #9b1c1c; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto 30%; height: 700px; z-index: -1; background: radial-gradient(40% 45% at 60% 40%, rgba(47,91,255,.14), transparent 70%), radial-gradient(30% 30% at 85% 70%, rgba(56,214,245,.12), transparent 70%); pointer-events: none; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.045em; line-height: 1.02; margin: 22px 0 22px; max-width: 18ch; }
.page-hero .btn-row { margin-top: 32px; }
.hero-aside { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 26px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.hero-aside h2 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero-aside ul { list-style: none; display: grid; gap: 10px; }
.hero-aside li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 500; }
.hero-aside li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 14px; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-2); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* Offer list */
.offer { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.offer:last-child { border-bottom: 1px solid var(--line); }
.offer .n { font-family: var(--font-mono); font-size: 14px; color: var(--accent); padding-top: 4px; }
.offer h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 8px; }
.offer p { color: var(--muted); max-width: 64ch; }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .sticky { position: static; } }

/* Article */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.toc { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 24px; font-size: 15px; }
.toc h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { padding-left: 1.2em; display: grid; gap: 8px; }
.toc a:hover { color: var(--accent); }
.key-takeaways { border-radius: var(--radius); background: var(--dark); color: #e6ebf5; padding: 28px 30px; margin: 0 0 2em; }
.key-takeaways h2 { color: #fff; font-size: 18px !important; margin: 0 0 12px !important; }
.key-takeaways ul { padding-left: 1.2em; }
.key-takeaways li + li { margin-top: 6px; }

.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card .thumb { aspect-ratio: 16 / 9; border-radius: 16px; background: var(--dark); position: relative; overflow: hidden; display: grid; place-items: center; color: var(--cyan); }
.post-card .thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 10%, rgba(47,91,255,.55), transparent 70%); }
.post-card .thumb::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; }
.post-card .thumb svg { width: 44px; height: 44px; position: relative; z-index: 1; }
.post-card .meta { font-size: 13.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfd5e1; padding: clamp(56px, 8vw, 96px) 0 32px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: var(--dark-muted); }
.footer-brand p { margin-top: 18px; color: var(--dark-muted); max-width: 38ch; font-size: 15.5px; }
.footer-brand address { font-style: normal; margin-top: 20px; font-size: 15px; line-height: 1.7; }
.footer-brand address a:hover { color: var(--cyan); }
.site-footer h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.site-footer ul a { color: #aab2c3; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 14px; color: var(--dark-muted); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }
.footer-word { font-size: clamp(4rem, 17vw, 15rem); font-weight: 700; letter-spacing: -0.07em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16); margin-top: 40px; margin-bottom: -24px; user-select: none; text-align: center; white-space: nowrap; overflow: hidden; }

/* ---------- Reveal animations (only when JS is on) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: .07s; }
.js [data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: .14s; }
.js [data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: .21s; }
.js [data-reveal-stagger].is-in > *:nth-child(5) { transition-delay: .28s; }
.js [data-reveal-stagger].is-in > *:nth-child(6) { transition-delay: .35s; }
.js [data-reveal-stagger].is-in > *:nth-child(7) { transition-delay: .42s; }
.js [data-reveal-stagger].is-in > *:nth-child(8) { transition-delay: .49s; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; } }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found .big { font-size: clamp(6rem, 22vw, 14rem); font-weight: 700; letter-spacing: -0.08em; line-height: .9; background: linear-gradient(135deg, var(--ink), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 980px) and (min-width: 641px) { .bento .span-cta { grid-column: span 6; } }
.split--article { grid-template-columns: minmax(220px, 0.55fr) 1.45fr; }
.split--article .prose { min-width: 0; }
@media (max-width: 900px) { .split--article { grid-template-columns: 1fr; } .split--article aside { order: 2; } }
@media (max-width: 560px) { .hero-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; } .hero-proof strong { font-size: 26px; } }
.t-card .stars { color: var(--accent); opacity: .9; }
.mega a > span:last-child strong { color: var(--ink); }
@media (max-width: 640px) { .prose { font-size: 17px; } }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--ink-2);
  transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--ease);
}
.lang-switch svg { width: 17px; height: 17px; color: var(--muted); transition: color .2s; }
.lang-switch:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-1px); }
.lang-switch:hover svg { color: var(--cyan); }
.lang-switch--mobile { display: none; }
@media (max-width: 1020px) {
  .lang-switch { display: none; }
  .lang-switch--mobile { display: inline-flex; width: 100%; justify-content: center; height: 52px; margin-top: 12px; font-size: 16px; }
}
