/*
   SynapTech — main stylesheet
   Logical properties (inline-start/end) are used throughout so the
   same CSS works for RTL (Arabic) and LTR (English) layouts.
*/

:root {
  /* SynapTech palette, taken from the logo.
     A synapse is colourless; the signal crossing it is the colour.
     Cool neutrals + navy-black carry the page. The logo's cyan > blue > violet is the signal. */

  /* neutrals: light tints (50-300) and deep navy-black (900-950, from the wordmark) */
  --brand-50:  #EEF0F4;
  --brand-100: #E6E9F0;
  --brand-200: #C7CBD6;
  --brand-300: #A3A8B6;
  --brand-900: #0D0F1A;
  --brand-950: #070812;

  /* signal: 700 = text/buttons (AA), 600 = large text/marks, spark = on dark */
  --brand-500: #2E7BF7;
  --brand-600: #0A6CF6;
  --brand-700: #0B57E0;
  --brand-800: #4A22B8;
  --spark: #3DD0F8;
  --spark-2: #0A6CF6;
  --cyan: #00C6F7;
  --violet: #6A2FD9;
  --grad: linear-gradient(90deg, #00C6F7, #0A6CF6 48%, #7533E5);
  --grad-text: linear-gradient(90deg, #0A6CF6, #6A2FD9);
  --pf-a: #00C6F7;
  --pf-b: #7533E5;

  --cream: #F5F6F8;
  --paper: #FFFFFF;
  --tint: #ECEEF2;
  --ink: #0B0C12;
  --ink-2: #353845;
  --muted: #5F6372;
  --line: #E1E4EA;
  --line-2: #CFD3DC;

  --ok: #3E7A4A;
  --warn: #B7832F;
  --bad: #B4483B;

  --primary: var(--brand-700);
  --primary-ink: #fff;
  --logo-ink: #fff;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --shadow-sm: 0 1px 2px rgba(13, 15, 26, .06);
  --shadow: 0 4px 14px -6px rgba(13, 15, 26, .16);
  --shadow-lg: 0 18px 40px -18px rgba(13, 15, 26, .3);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --hdr-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Noto Naskh Arabic', ui-serif, Georgia, serif;
  --font-display: var(--font);
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.75; color: var(--ink);
  background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { 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.35; font-weight: 700; }
/* Two typefaces: Thmanyah Serif Display (Latin: DM Serif Display) for headlines so they stand out,
   Thmanyah Sans (Latin: Plus Jakarta Sans) for text and interface. DM Serif Display has a single
   weight, so faux bold is switched off and Latin keeps its true shape beside bold Arabic. */
h1, h2, .display, .spot__copy h3, .pcard h3, .nf__code { font-family: var(--font-display); font-synthesis: none; letter-spacing: 0; }
h2 { line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand-200); color: var(--brand-950); }
:focus-visible { outline: 2.5px solid var(--spark-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.25em; height: 1.25em; flex: none; }
[dir="ltr"] .ico.flip { transform: scaleX(-1); }
/* direction-aware icons (send, list, ...) mirror on RTL pages; `scale` composes with any transform */
[dir="rtl"] .ico.mirror { scale: -1 1; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--brand-900); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; display: flex; justify-content: center; margin-top: 40px; }
.mt { margin-top: 32px; }
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 20px; }
.h3 { font-size: 1.15rem; margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); line-height: 1.85; }

/* buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: var(--radius); border: 1px solid transparent; font-weight: 600; font-size: .98rem; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .25s, color .25s;
}
/* a soft band of light at the logo's 30 degree angle, swept across on hover */
.btn::after {
  content: ""; position: absolute; z-index: -1; top: -2px; bottom: -2px; left: -70%; width: 45%; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--sheen, rgba(255, 255, 255, .42)) 42%, var(--sheen, rgba(255, 255, 255, .42)) 58%, transparent);
  transform: skewX(-30deg); transition: left .9s cubic-bezier(.45, 0, .25, 1);
}
[dir="rtl"] .btn::after { left: auto; right: -70%; transform: skewX(30deg); transition: right .9s cubic-bezier(.45, 0, .25, 1); }
@media (hover: hover) { .btn:hover::after { left: 125%; } }
@media (hover: hover) { [dir="rtl"] .btn:hover::after { right: 125%; } }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: translateY(1px); filter: brightness(.96); }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.btn .ico { transition: transform .3s var(--ease); width: 1.1em; height: 1.1em; }
@media (hover: hover) { .btn:hover .ico.flip { transform: translateX(-4px); } }
@media (hover: hover) { [dir="ltr"] .btn:hover .ico.flip { transform: scaleX(-1) translateX(-4px); } }

/* solid buttons: base colour + a gentle fold (lighter top face, deeper lower face, like the ribbons) */
.btn--primary, .btn--spark {
  --fold: linear-gradient(162deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, .06) 46%, rgba(0, 0, 0, .06) 54%, rgba(0, 0, 0, .16) 100%);
}
.btn--primary {
  background-color: var(--btn, var(--primary)); color: var(--primary-ink);
  background-image: var(--fold), linear-gradient(90deg, transparent 50%, color-mix(in srgb, var(--btn-tint, var(--violet)) 32%, transparent));
  border-color: color-mix(in srgb, var(--btn, var(--primary)) 78%, #000);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(0, 0, 0, .15), 0 6px 16px -9px color-mix(in srgb, var(--btn, var(--primary)) 80%, transparent);
}
[dir="rtl"] .btn--primary { background-image: var(--fold), linear-gradient(270deg, transparent 50%, color-mix(in srgb, var(--btn-tint, var(--violet)) 32%, transparent)); }
@media (hover: hover) { .btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -1px 0 rgba(0, 0, 0, .15), 0 12px 26px -12px color-mix(in srgb, var(--btn, var(--primary)) 90%, transparent); } }
.btn--spark {
  background-color: var(--spark); color: var(--brand-950); background-image: var(--fold);
  border-color: color-mix(in srgb, var(--spark) 70%, #fff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 0 transparent; --sheen: rgba(255, 255, 255, .6);
}
@media (hover: hover) { .btn--spark:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 28px -10px color-mix(in srgb, var(--spark) 80%, transparent); } }

/* outline buttons: quiet surface with an inner highlight; tinted sheen */
.btn--ghost {
  border-color: var(--line-2); color: var(--ink); --sheen: color-mix(in srgb, var(--brand-600) 18%, transparent);
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--paper) 55%, var(--cream)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(13, 15, 26, .05);
}
@media (hover: hover) { .btn--ghost:hover { border-color: color-mix(in srgb, var(--brand-600) 45%, var(--line-2)); color: var(--brand-700); } }
.btn--ghost-light {
  border-color: rgba(255, 255, 255, .22); color: #fff; --sheen: rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
@media (hover: hover) { .btn--ghost-light:hover { border-color: rgba(255, 255, 255, .45); } }
.btn--link { padding: 0; min-height: auto; color: var(--brand-700); margin-top: 24px; border-radius: 4px; overflow: visible; }
.btn--link::after { display: none; }
@media (hover: hover) { .btn--link:hover { transform: none; } }
@media (hover: hover) { .btn--link:hover { color: var(--brand-900); } }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.02rem; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr-h); transition: transform .4s var(--ease); }
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--cream) 82%, transparent); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.hdr.is-scrolled::before { background: color-mix(in srgb, var(--cream) 94%, transparent); border-bottom-color: var(--line); box-shadow: 0 8px 28px -22px rgba(13, 15, 26, .4); }
body.nav-open .hdr::before { background: var(--cream); border-bottom-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { display: flex; align-items: center; gap: 20px; height: 100%; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { display: block; height: 46px; width: auto; transition: height .3s var(--ease); }
.hdr.is-scrolled .logo img { height: 42px; }
.ftr .logo img, .logo--light img { height: 58px; }

/* desktop nav: plain links across a full-width bar */
.nav { margin-inline: auto; align-self: stretch; display: flex; }
.nav__scroll { display: flex; }
.nav__list { display: flex; align-items: stretch; gap: 6px; }
.nav__list > li { display: flex; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border: 0; background: none; cursor: pointer;
  font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: color .2s;
}
.nav__link .ico { width: 15px; height: 15px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
@media (hover: hover) { .nav__link:hover, .has-drop:hover > .nav__link { color: var(--ink); } }
.has-drop.is-open > .nav__link { color: var(--ink); }
.nav__link.is-active, .has-drop.is-active > .nav__link { color: var(--brand-700); font-weight: 600; }
.nav__foot { display: none; }

/* mega menu: a wide panel under the bar */
.has-drop { position: static; }
.drop {
  position: absolute; top: 100%; left: 50%; width: min(1180px, calc(100vw - 32px)); padding-top: 10px;
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s;
}
.has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease), visibility 0s; }
@media (hover: hover) { .has-drop:hover .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s .06s, transform .25s var(--ease) .06s, visibility 0s .06s; } }
.has-drop.is-open .nav__link .ico { transform: rotate(180deg); color: var(--ink); }
@media (hover: hover) { .has-drop:hover .nav__link .ico { transform: rotate(180deg); color: var(--ink); } }
.mega { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -28px rgba(13, 15, 26, .35), 0 2px 6px rgba(13, 15, 26, .04); overflow: hidden; }
.mega__main { display: grid; grid-template-columns: 1fr minmax(320px, 380px); gap: 8px; padding: 10px; }
.mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; padding: 16px 12px 8px; }
.mega__label { margin: 0 0 10px; padding-inline: 10px; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.mega__col ul { display: grid; gap: 2px; }
.mega__item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 12px; transition: background .2s; }
@media (hover: hover) { .mega__item:hover { background: var(--brand-50); } }
.mega__item b { display: block; font-size: .95rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
.mega__item small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .82rem; line-height: 1.55; color: var(--muted); }
.mega__item .pmark { --s: 34px; margin-top: 2px; }
.mega__ico {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--brand-700);
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--paper) 60%, var(--cream))); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(13, 15, 26, .06);
}
.mega__ico .ico { width: 19px; height: 19px; }
.mega__feat {
  display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 14px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--brand-600) 7%, var(--paper)), color-mix(in srgb, var(--violet) 9%, var(--paper)));
}
.mega__feat .mega__label { padding: 0; margin-bottom: 2px; }
.mega__card { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 12px; transition: background .2s; }
@media (hover: hover) { .mega__card:hover { background: rgba(255, 255, 255, .6); } }
.mega__thumb { display: block; position: relative; height: 82px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(13, 15, 26, .05); overflow: hidden; }
.mega__txt b { display: block; font-size: .95rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.mega__txt small { display: block; font-size: .82rem; line-height: 1.55; color: var(--muted); }
.mega__all { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 6px 8px 0; font-weight: 600; font-size: .92rem; color: var(--brand-700); }
.mega__all .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
@media (hover: hover) { .mega__all:hover .ico { transform: translateX(-4px); } [dir="ltr"] .mega__all:hover .ico { transform: scaleX(-1) translateX(-4px); } }
.mega__bar { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--cream) 60%, var(--paper)); }
.mega__bar img { width: 28px; height: auto; }
.mega__bar p { flex: 1; font-size: .95rem; color: var(--muted); }
.mega__bar b { color: var(--ink); font-weight: 600; }

/* explore-card visuals */
.mx { position: absolute; inset: 0; display: block; }
.mx > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mx > svg path { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 3 3; }
.mx--net .mx__n { position: absolute; transform: translate(-50%, -50%); }
.mx--net .pmark { --s: 22px; }
.mx__n--0 { left: 22%; top: 28%; } .mx__n--1 { left: 78%; top: 28%; } .mx__n--2 { left: 50%; top: 84%; }
.mx__core { position: absolute; left: 50%; top: 50%; width: 26px; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 4px rgba(13, 15, 26, .15)); }
.mx--chart { display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding: 14px 16px 0; direction: ltr; }
.mx--chart i { display: block; width: 10px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--tone), color-mix(in srgb, var(--tone) 35%, #fff)); }
.mx--steps .mx__s { position: absolute; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; font-weight: 600; transform: translate(-50%, -50%);
  background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(13, 15, 26, .08); direction: ltr; }
.mx__s--1 { left: 18%; top: 37%; } .mx__s--2 { left: 40%; top: 65%; } .mx__s--3 { left: 62%; top: 37%; } .mx__s--4 { left: 84%; top: 65%; }
.mx__s--2 { background: var(--grad); color: #fff; border-color: transparent; width: 26px; height: 26px; }
.mx--hex .mx__h { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.mx--hex .pmark { --s: 30px; }
.mx__h--0 { left: 30%; } .mx__h--1 { left: 50%; top: 42%; } .mx__h--2 { left: 70%; }
.mx__h--1 .pmark { --s: 36px; }

/* burger: two lines that fold into an X */
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer;
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--paper) 55%, var(--cream)));
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(13, 15, 26, .06); place-items: center;
}
.burger__box { position: relative; width: 18px; height: 12px; }
.burger__box i { position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease), width .35s var(--ease); }
.burger__box i:first-child { top: 1px; }
.burger__box i:last-child { top: 9px; width: 12px; }
.burger[aria-expanded="true"] .burger__box i:first-child { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__box i:last-child { top: 5px; width: 18px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.prodbar { display: grid; grid-template-columns: repeat(8, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.prodbar li + li { border-inline-start: 1px solid var(--line); }
.prodbar a { display: flex; flex-direction: column; gap: 2px; padding: 18px 14px 22px; transition: background .2s; }
.prodbar b { transition: color .2s; }
@media (hover: hover) { .prodbar a:hover { background: var(--paper); } .prodbar a:hover b { color: var(--tone); } }
.prodbar b { font-size: 1.02rem; }
.prodbar small { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); line-height: 1.35; text-wrap: balance; margin-bottom: 22px; }
.hero h1 span { display: block; color: var(--brand-700); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .08em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }


/* sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--flush { padding-top: 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--brand-900); color: #E9ECDD; position: relative; overflow: hidden; }
.section--dark .wrap { position: relative; }
.section--dark h2, .section--dark h3, .section--dark dt { color: #fff; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.shead > div { max-width: 640px; }
.shead__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--brand-700); white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.shead__link .ico { width: 16px; height: 16px; }
.section--slim { padding: 40px 0; }
.sectors { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.sectors .h3 { margin: 0; }
.sectors__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sectors__list li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; font-size: .98rem; line-height: 1.3; }
.sectors__list .ico { width: 18px; height: 18px; flex: none; color: var(--brand-600); }
.shead h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.shead p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; }
.section--dark .shead p { color: var(--brand-200); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--faq { grid-template-columns: .8fr 1.2fr; }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; width: 6px; height: 6px; background: var(--tone, var(--brand-600)); flex: none; transform: translateY(-3px); }
.ticks--sm { gap: 8px; margin-top: 18px; font-size: .95rem; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-weight: 600; font-size: .92rem; color: var(--brand-700); }
.more .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }

/* service list */
.slist { border-top: 1px solid var(--line-2); }
.srow { position: relative; display: grid; grid-template-columns: 56px minmax(200px, 1fr) 1.6fr 32px; gap: 24px; align-items: baseline; padding: 26px 4px; border-bottom: 1px solid var(--line-2); transition: background .25s; }
.srow__go .ico { transition: transform .3s var(--ease); }
@media (hover: hover) { .srow:hover .srow__go .ico { transform: translateX(-6px); } }
@media (hover: hover) { [dir="ltr"] .srow:hover .srow__go .ico { transform: scaleX(-1) translateX(-6px); } }
@media (hover: hover) { .srow:hover { background: rgba(255, 255, 255, .55); } }
.srow__n { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.srow h3 { font-size: 1.2rem; }
.srow p { color: var(--muted); }
.srow__go { color: var(--brand-700); align-self: center; }
@media (hover: hover) { .srow:hover h3 { color: var(--brand-700); } }

/* product cards */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard {
  display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); transition: border-color .25s, box-shadow .3s var(--ease);
}
@media (hover: hover) { .pcard:hover { border-color: var(--line-2); box-shadow: 0 14px 30px -22px rgba(13, 15, 26, .45); } }
@media (hover: hover) { .pcard:hover h3 { color: var(--tone); } }
.pcard.is-hidden { display: none; }
.pcard__cat { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--tone, var(--brand-700)); margin-bottom: 4px; }
.pcard h3 { font-size: 1.35rem; margin-bottom: 8px; }
.pcard p { color: var(--muted); font-size: .95rem; }
.pcard .more { color: var(--tone); }

/* product spotlight (tabs) */
.spot { border-top: 1px solid var(--line-2); }
.spot__tabs { display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; box-shadow: inset 0 -1px 0 var(--line); }
.spot__tabs::-webkit-scrollbar { display: none; }
.spot__tabs button {
  flex: 0 0 auto; padding: 14px 16px; border: 0; box-shadow: inset 0 -2px 0 transparent;
  background: none; cursor: pointer; font-weight: 600; font-size: .98rem; color: var(--muted); transition: color .2s, box-shadow .2s; white-space: nowrap;
}
@media (hover: hover) { .spot__tabs button:hover { color: var(--ink); } }
.spot__tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--tone); }
.spot__panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px) 0 0; }
.spot__panel[hidden] { display: none; }
.spot__copy h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 6px; }
.spot__tag { font-size: 1.12rem; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.spot__copy > p:not(.spot__tag) { color: var(--muted); }
.spot__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.spot__btns .btn--primary { --btn: var(--tone); --btn-tint: transparent; }
.spot__vis { background: color-mix(in srgb, var(--tone) 9%, var(--tint)); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 36px); display: grid; place-items: center; min-height: 360px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* why (dark) */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.why > div { padding: 18px 0; }
.why dt { font-weight: 700; font-size: 1.12rem; margin-bottom: 6px; }
.why dd { margin: 0; color: var(--brand-200); }
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.witem { padding: 0; }
.witem h3 { font-size: 1.12rem; margin-bottom: 8px; }
.witem p { color: var(--muted); font-size: .96rem; }
.wgrid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; background: none; border: 0; border-radius: 0; overflow: visible; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 0; }
.steps__n {
  display: block; margin-bottom: 10px; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--brand-700);
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .95rem; }

.vsteps { display: grid; gap: 4px; margin-top: 8px; }
.vsteps li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px dashed var(--line-2); }
.vsteps li:last-child { border: 0; }
.vsteps li > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-700); color: #fff; font-weight: 700; flex: none; }
.vsteps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.vsteps p { color: var(--muted); font-size: .95rem; }


/* faq */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 1.04rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { color: var(--brand-600); transition: transform .3s var(--ease); }
.faq__item[open] summary .ico { transform: rotate(180deg); }
.faq__item div { padding: 0 24px 22px; color: var(--muted); }

/* cta band */
.cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(36px, 6vw, 64px); border-radius: var(--radius-xl); background: var(--brand-900); color: #fff;
}
.cta > div { position: relative; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.cta p { color: var(--brand-200); font-size: 1.06rem; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* page hero (inner pages) */
.phero { padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 6vw, 72px); position: relative; }
.phero__in { max-width: 820px; position: relative; }
.phero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: 18px; }
.phero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: clamp(28px, 4vw, 44px); }
@media (hover: hover) { .crumbs a:hover { color: var(--brand-700); } }
.crumbs .ico { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* product hero */
.prod-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.prod-hero__badge { display: inline-block; font-weight: 600; font-size: .92rem; color: var(--tone); margin-bottom: 12px; }
.prod-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin-bottom: 8px; }
.prod-hero__tag { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; color: var(--tone); margin-bottom: 18px; }
.prod-hero .btn--primary { --btn: var(--tone); --btn-tint: transparent; }
.prod-hero__vis { background: color-mix(in srgb, var(--tone) 11%, var(--tint)); border-radius: var(--radius-xl); padding: clamp(20px, 4vw, 44px); display: grid; place-items: center; min-height: 400px; position: relative; overflow: hidden; }
.prod-hero__vis > * { position: relative; }

/* features */
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.fitem { display: grid; grid-template-columns: 24px 1fr; gap: 0 14px; align-items: start; }
.fitem > .ico { width: 22px; height: 22px; margin-top: 4px; color: var(--tone, var(--brand-700)); }
.fitem h3 { font-size: 1.05rem; margin-bottom: 6px; }
.fitem p { color: var(--muted); font-size: .93rem; }

.benefits { display: grid; gap: 14px; }
.benefit { padding: 10px 0; }
.benefit h3 { font-size: 1.12rem; margin-bottom: 4px; }
/* small gradient hexagon (the logo's outline) marking list headings */
.witem h3::before, .why dt::before, .benefit h3::before {
  content: ""; display: inline-block; width: 10px; height: 11px; margin-inline-end: 10px; vertical-align: .05em;
  background: var(--grad); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.benefit p { color: var(--muted); }

/* offerings (service) */
.ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.oitem { padding: 0; }
.oitem__n { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--brand-700); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.oitem h3 { font-size: 1.12rem; margin-bottom: 6px; }
.oitem p { color: var(--muted); font-size: .95rem; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-2); font-weight: 500; font-size: .95rem; cursor: pointer; transition: all .25s; }
.chip .ico { width: 17px; height: 17px; color: var(--brand-600); }
@media (hover: hover) { a.chip:hover, button.chip:hover { border-color: var(--brand-600); color: var(--brand-800); } }
.chip.is-on { background-color: var(--brand-700); background-image: linear-gradient(162deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04) 46%, rgba(0, 0, 0, .06) 54%, rgba(0, 0, 0, .14)); border-color: color-mix(in srgb, var(--brand-700) 78%, #000); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28); }
.chip.is-on, .chip.is-on:hover, .chip.is-on:active { color: #fff; border-color: color-mix(in srgb, var(--brand-700) 78%, #000); }
.chip--static { cursor: default; }
.chips--sm .chip { padding: 7px 14px; font-size: .88rem; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }

/* mini product links */
.mini { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.mini__item { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, box-shadow .3s var(--ease); }
@media (hover: hover) { .mini__item:hover { border-color: var(--line-2); box-shadow: 0 12px 26px -20px rgba(13, 15, 26, .45); } }
.mini__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini__item b { font-size: 1rem; }
.mini__item small { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.mini--stack { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
.mini--stack .mini__item { flex-direction: row; align-items: center; padding: 10px 12px; gap: 12px; }
.mini--stack .pmark { --s: 34px; }
.mini--stack .mini__item small { display: none; }

/* about */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv__item { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.mv__item h2 { font-size: 1.6rem; margin-bottom: 10px; }
.mv__item p { color: var(--brand-200); font-size: 1.1rem; }
.prose p { margin-bottom: 18px; color: var(--ink-2); font-size: 1.06rem; }
.prose--legal { max-width: 820px; }
.prose--legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }

/* careers */
.jobs { display: grid; gap: 12px; }
.jobs li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s; }
@media (hover: hover) { .jobs li:hover { border-color: var(--brand-300); } }
.jobs h3 { font-size: 1.1rem; margin-bottom: 4px; }
.jobs p { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .9rem; }
.jobs p span { display: inline-flex; align-items: center; gap: 6px; }
.jobs .ico { width: 16px; height: 16px; }
.note { display: flex; gap: 14px; align-items: center; margin: 28px 0 16px; padding: 20px 24px; border-radius: var(--radius); background: var(--brand-100); color: var(--brand-900); }
.note a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.small a { color: var(--brand-700); font-weight: 600; }

/* contact + forms */
.contact { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cinfo { display: grid; gap: 12px; }
.cinfo li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.cinfo li > .ico { width: 44px; height: 44px; padding: 11px; border-radius: 13px; background: var(--brand-100); color: var(--brand-700); }
.cinfo small { display: block; color: var(--muted); font-size: .82rem; }
.cinfo a, .cinfo span { font-weight: 600; word-break: break-word; }
@media (hover: hover) { .cinfo a:hover { color: var(--brand-700); } }
.form { position: relative; padding: clamp(24px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; }
.field label > span[aria-hidden] { color: var(--bad); }
.field label small { color: var(--muted); font-weight: 400; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s; font-size: 1rem;
}
.field input[dir="ltr"] { text-align: right; }
[dir="ltr"] .field input[dir="ltr"] { text-align: left; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346542B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; padding-inline-end: 42px; }
[dir="ltr"] .field select { background-position: right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-600); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-600) 18%, transparent); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--bad); }
.field__err { color: var(--bad); font-size: .84rem; min-height: 0; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .cf-turnstile { margin: 4px 0 14px; }
.form .cf-turnstile:empty { display: none; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.field--check input {
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 3px; flex: none; cursor: pointer;
  border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--paper); box-shadow: inset 0 1px 2px rgba(13, 15, 26, .06);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.field--check input:checked {
  border-color: color-mix(in srgb, var(--brand-700) 78%, #000);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat,
              linear-gradient(162deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .12)), var(--brand-700);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.field--check input:focus-visible { outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-600) 20%, transparent); }
.field.is-invalid.field--check input { border-color: var(--bad); }

/* custom select (enhances the native <select>, which stays in the form for its value) */
.cs { position: relative; }
.cs-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.cs__btn {
  width: 100%; min-height: 50px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 16px; cursor: pointer; text-align: start;
  border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--cream); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
[dir="rtl"] .cs__btn { padding: 10px 16px 10px 14px; }
.cs__val { flex: 1; display: flex; align-items: center; gap: 9px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs__val.is-ph { color: var(--muted); }
.cs__val small { color: var(--muted); font-size: .82rem; }
.cs__chev { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .3s var(--ease); }
.cs.is-open .cs__chev { transform: rotate(180deg); color: var(--brand-700); }
@media (hover: hover) { .cs__btn:hover { border-color: color-mix(in srgb, var(--brand-600) 40%, var(--line-2)); } }
.cs__btn:focus-visible, .cs.is-open .cs__btn { outline: none; border-color: var(--brand-600); background: var(--paper); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-600) 18%, transparent); }
.field.is-invalid .cs__btn { border-color: var(--bad); }
.cs__pop {
  position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline: 0; max-height: 320px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: top center;
  transition: opacity .18s, transform .22s var(--ease), visibility 0s linear .22s;
}
.cs__pop.is-up { top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; transform: translateY(6px) scale(.985); }
.cs.is-open .cs__pop { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .22s var(--ease), visibility 0s; }
.cs__pop:focus { outline: none; }
.cs__head { display: none; }
.cs__glabel { padding: 10px 12px 4px; font-size: .74rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.cs__opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; transition: background .12s; }
.cs__opt small { color: var(--muted); font-size: .8rem; }
.cs__opt.is-active { background: var(--brand-50); }
.cs__opt[aria-selected="true"] { color: var(--brand-700); font-weight: 600; }
.cs__opt .cs__tick { width: 16px; height: 16px; margin-inline-start: auto; color: var(--brand-700); opacity: 0; }
.cs__opt[aria-selected="true"] .cs__tick { opacity: 1; }
.cs__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--tone); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 16%, transparent); }
.cs-backdrop { display: none; }
.form__err { padding: 12px 16px; margin-bottom: 18px; border-radius: 12px; background: color-mix(in srgb, var(--bad) 9%, var(--paper)); color: var(--bad); border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent); font-size: .95rem; }
@media (max-width: 640px) {
  /* phones: the list opens as a bottom sheet */
  .cs__pop, .cs__pop.is-up {
    position: fixed; z-index: 70; inset: auto 0 0 0; top: auto; bottom: 0; max-height: 72vh; border-radius: 20px 20px 0 0; border-bottom: 0;
    padding: 0 10px calc(14px + env(safe-area-inset-bottom)); transform: translateY(100%); transform-origin: bottom center;
  }
  .cs.is-open .cs__pop { transform: none; }
  .cs__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; padding: 18px 6px 10px; background: var(--paper); font-weight: 700; }
  .cs__head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 38px; height: 4px; border-radius: 4px; background: var(--line-2); transform: translateX(-50%); }
  .cs__close { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--tint); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
  .cs__close .ico { width: 16px; height: 16px; }
  .cs__opt { padding: 14px 12px; font-size: 1.02rem; }
  .cs-backdrop { display: block; position: fixed; inset: 0; z-index: 69; background: rgba(13, 15, 26, .42); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; }
  .cs-backdrop.is-on { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
}
.field--check a { color: var(--brand-700); text-decoration: underline; }
.form__ok { position: absolute; inset: 0; border-radius: inherit; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; gap: 10px; animation: fadeUp .4s var(--ease); }
.form__ok[hidden] { display: none; }
.form__ok > span { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); margin-bottom: 10px; }
.form__ok > span .ico { width: 34px; height: 34px; }
.form__ok h3 { font-size: 1.5rem; }
.form__ok p { color: var(--muted); max-width: 380px; }
.form button[disabled] { opacity: .65; pointer-events: none; }
.demo-aside .ticks { margin-top: 0; }

/* 404 */
.nf { padding: clamp(60px, 12vw, 140px) 0; text-align: center; }
.nf__code { display: block; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--brand-200); font-weight: 700; margin-bottom: 18px; }
.nf h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }
.nf .hero__btns { justify-content: center; }

/* footer */
.ftr { background: var(--brand-950); color: var(--brand-200); padding: clamp(56px, 8vw, 88px) 0 28px; margin-top: 0; overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.35fr .75fr 1.2fr .7fr 1.3fr; gap: 36px 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr__brand p { margin: 18px 0 22px; max-width: 300px; color: var(--brand-300); }
.ftr h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.ftr__col ul { display: grid; gap: 10px; font-size: .94rem; }
.ftr__col a { transition: color .2s; }
@media (hover: hover) { .ftr__col a:hover { color: var(--spark); } }
.ftr__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr__contact .ico { width: 18px; height: 18px; margin-top: 5px; color: var(--spark); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--brand-200); transition: background .25s, color .25s; }
@media (hover: hover) { .social a:hover { background: var(--spark); color: var(--brand-950); } }
.social .ico { width: 18px; height: 18px; }
.ftr__bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 24px; font-size: .86rem; color: var(--brand-300); }
.ftr__reg { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.ftr__legal { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
@media (hover: hover) { .ftr__legal a:hover { color: var(--spark); } }
.totop { display: inline-flex; gap: 6px; align-items: center; }
@media (hover: hover) { .totop:hover { color: var(--spark); } }
.totop .ico { width: 16px; height: 16px; }

/* whatsapp float */
.wa-float {
  position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .55);
  transition: transform .3s var(--ease);
}
@media (hover: hover) { .wa-float:hover { transform: scale(1.07); } }
.wa-float .ico { width: 28px; height: 28px; }

/* product mockups */
.mock { width: 100%; max-width: 520px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; font-size: 13px; line-height: 1.5; text-align: start; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFAF6; }
.mock__bar b { font-weight: 600; font-size: 12.5px; color: var(--ink-2); }
.mock__body { padding: 16px; display: grid; gap: 14px; }
.mock .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 12px; background: color-mix(in srgb, var(--tone, var(--brand-600)) 15%, #fff); color: var(--tone, var(--brand-700)); }
.pill { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.pill--ok { background: #E3EFE2; color: var(--ok); } .pill--wait { background: #F6ECD7; color: var(--warn); }
.pill--high { background: #F6E0DC; color: var(--bad); } .pill--mid { background: #F6ECD7; color: var(--warn); } .pill--low { background: #E6ECEF; color: #4A6070; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats3 > div { padding: 12px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
.stats3 small { display: block; color: var(--muted); font-size: 11.5px; }
.stats3 b { font-size: 19px; color: var(--ink); }
.stats3 em { font-style: normal; font-size: 11px; font-weight: 600; margin-inline-start: 4px; }
.stats3 em.up { color: var(--ok); }
.bar { height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tone, var(--brand-600)), color-mix(in srgb, var(--tone, var(--brand-600)) 60%, #fff)); }
.rows { display: grid; gap: 8px; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); }
.rows li b { font-weight: 600; font-size: 12.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows li small { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.rows code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--tone, var(--brand-700)); background: color-mix(in srgb, var(--tone, var(--brand-600)) 9%, #fff); padding: 2px 6px; border-radius: 6px; }
.sla { font-variant-numeric: tabular-nums; }
.kb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kb__col { min-width: 0; background: var(--cream); border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.kb__h { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; color: var(--ink-2); }
.kb__h em { font-style: normal; color: var(--muted); font-weight: 600; background: #fff; border-radius: 99px; padding: 0 7px; }
.kb__card { display: flex; gap: 8px; align-items: center; padding: 8px; background: #fff; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.kb__card > div { flex: 1; min-width: 0; }
.kb__card b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb__card small { display: block; color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb__card .av { width: 26px; height: 26px; font-size: 11px; }
.match { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ok); }
.up__ok { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #E3EFE2; color: var(--ok); font-weight: 600; font-size: 12.5px; }
.up__ok .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(62, 122, 74, .2); animation: blink 2s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(62, 122, 74, 0); } }
.up { display: grid; gap: 12px; }
.up__h { display: flex; justify-content: space-between; margin-bottom: 5px; }
.up__h b { font-size: 12.5px; } .up__h small { color: var(--ok); font-weight: 600; font-size: 11.5px; }
.up__bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; direction: ltr; }
.up__bars i { height: 22px; border-radius: 3px; background: #9CC59A; }
.up__bars i.bad { background: var(--bad); } .up__bars i.warn { background: #E2B765; }
.dash { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.dash__bars { display: flex; align-items: flex-end; gap: 7px; height: 150px; padding: 12px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); direction: ltr; }
.dash__bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--tone, var(--brand-600)), color-mix(in srgb, var(--tone, var(--brand-600)) 45%, #fff)); }
.dash__donut { border-radius: 12px; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; }
.dash__donut span { width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; background: radial-gradient(closest-side, var(--cream) 68%, transparent 69%), conic-gradient(var(--tone, var(--brand-600)) 0 64%, var(--spark) 64% 84%, var(--line-2) 84%); }
.draw { text-align: center; padding: 20px 12px; border-radius: 14px; background: linear-gradient(160deg, var(--tone), color-mix(in srgb, var(--tone) 60%, #000)); color: #fff; }
.draw small { opacity: .85; font-size: 12px; }
.draw b { display: block; margin-top: 10px; font-size: 15px; }
.draw__num { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.draw__num span { width: 38px; height: 50px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 24px; font-weight: 700; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08); animation: roll .6s var(--ease) both; }
.draw__num span:nth-child(2) { animation-delay: .1s } .draw__num span:nth-child(3) { animation-delay: .2s } .draw__num span:nth-child(4) { animation-delay: .3s } .draw__num span:nth-child(5) { animation-delay: .4s } .draw__num span:nth-child(6) { animation-delay: .5s }
@keyframes roll { from { opacity: 0; } }
.phone { width: 250px; padding: 10px; border-radius: 38px; background: var(--brand-950); box-shadow: var(--shadow-lg); position: relative; font-size: 13px; line-height: 1.5; text-align: start; }
.phone__notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; border-radius: 99px; background: var(--brand-950); z-index: 2; }
.phone__screen { background: #fff; border-radius: 30px; padding: 44px 14px 14px; min-height: 440px; display: flex; flex-direction: column; gap: 12px; }
.qm__head { display: flex; justify-content: space-between; align-items: baseline; }
.qm__head b { font-size: 15px; } .qm__head small { color: var(--muted); font-size: 11.5px; background: var(--tint); padding: 1px 8px; border-radius: 99px; }
.qm__tabs { display: flex; gap: 6px; }
.qm__tabs i { font-style: normal; font-size: 11.5px; padding: 4px 10px; border-radius: 99px; background: var(--tint); color: var(--muted); font-weight: 600; }
.qm__tabs i.on { background: var(--tone); color: #fff; }
.qm__list { display: grid; gap: 8px; flex: 1; align-content: start; }
.qm__list li { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; border: 1px solid var(--line); }
.qm__list li > div { flex: 1; }
.qm__list b { display: block; font-size: 12.5px; } .qm__list small { color: var(--muted); font-size: 11.5px; }
.qm__img { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 14%, #fff); color: var(--tone); font-size: 18px; font-weight: 700; }
.qm__add { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tone); color: #fff; font-weight: 700; }
.qm__cart { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* horizontal scrollers: sideways only, with a fade on any edge that has more to scroll to */
@property --fade-l { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fade-r { syntax: '<length>'; inherits: false; initial-value: 0px; }
[data-hscroll] {
  overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-behavior: smooth;
  --fade-l: 0px; --fade-r: 0px; transition: --fade-l .25s ease, --fade-r .25s ease;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}
[data-hscroll].fade-l { --fade-l: 44px; }
[data-hscroll].fade-r { --fade-r: 44px; }

/* touches */
/* hero network: the "synapse" between SynapTech and its products */
.hero::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 55%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(13, 15, 26, .05), transparent); }
.net { position: relative; aspect-ratio: 1; width: 100%; max-width: 540px; margin-inline: auto; }
.net__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.net__lines line { stroke: var(--brand-300); stroke-width: .22; }
.net__lines .ring { fill: none; stroke: var(--brand-200); stroke-width: .22; }
.net__lines .ring--in { stroke-dasharray: .6 1.6; animation: spin 90s linear infinite; transform-origin: 50% 50%; }
.net__lines .pulse { fill: var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.net__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand-600) 6%, transparent), 0 26px 50px -24px rgba(13, 15, 26, .45);
}
.net__core img { width: 56%; height: auto; position: relative; }
.net__core::before, .net__core::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--brand-600); opacity: 0; animation: ping 4s cubic-bezier(.2, .6, .3, 1) infinite; }
.net__core::after { border-color: var(--violet); animation-delay: 2s; }
@keyframes ping { 0% { transform: scale(1); opacity: .22; } 100% { transform: scale(1.9); opacity: 0; } }
.net__node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; z-index: 1; }
/* the hexagon itself is centred on the line's end point; the label hangs below it */
.net__node b { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.net__node .pmark--node { --s: clamp(46px, 5.6vw, 58px); color: var(--tone); filter: drop-shadow(0 8px 12px rgba(13, 15, 26, .12)); transition: transform .35s var(--ease), color .3s; }
.net__node .pmark--node .pmark__hex { fill: var(--paper); stroke: var(--line-2); stroke-width: 1.05; }
/* arrival: a barely-there halo in the signal's colour */
.net__node.is-hit .pmark--node { animation: hit 1.1s ease-out; }
/* arrival: the outline tints toward the product's own colour (--c; --tone is grey until hover) */
.net__node .pmark--node .pmark__hex { transition: fill .35s, stroke .9s ease-out; }
.net__node.is-flash:not(:hover):not(:focus-visible) .pmark--node .pmark__hex { stroke: color-mix(in srgb, var(--c) 45%, var(--line-2)); transition: stroke .25s ease-out; }
/* hovered or focused: the hexagon is already in full colour, so no arrival effect */
.net__node:focus-visible.is-hit .pmark--node { animation: none; }
@media (hover: hover) { .net__node:hover.is-hit .pmark--node { animation: none; } }
@keyframes hit {
  35% { filter: drop-shadow(0 8px 12px rgba(13, 15, 26, .12)) drop-shadow(0 0 7px color-mix(in srgb, var(--hit, var(--cyan)) 18%, transparent)); }
}
.net__node .pmark--node .pmark__fold { fill: rgba(13, 15, 26, .035); }
.net__node:focus-visible .pmark--node { color: #fff; transform: scale(1.08); }
.net__node:focus-visible .pmark--node .pmark__hex { fill: var(--tone); stroke: var(--tone); }
@media (hover: hover) { .net__node:hover .pmark--node { color: #fff; transform: scale(1.08); } .net__node:hover .pmark--node .pmark__hex { fill: var(--tone); stroke: var(--tone); } }

/* product mark */
.pmark { --s: 40px; position: relative; display: inline-grid; place-items: center; width: var(--s); height: calc(var(--s) * 1.1); flex: none; color: #fff; font-style: normal; }
.pmark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pmark__hex { fill: var(--tone); stroke: var(--tone); stroke-width: 3; stroke-linejoin: round; transition: fill .35s, stroke .35s; }
.pmark__fold { fill: rgba(0, 0, 0, .16); }
.pmark__ring { fill: none; }
.pmark > .ico { position: relative; width: 44%; height: 44%; }
.pmark--lg { --s: 54px; }
.pmark--lift { --s: 52px; margin-top: calc(var(--s) * -.66); margin-bottom: 10px; z-index: 1; transition: transform .35s var(--ease); }
.pmark--lift .pmark__ring { fill: var(--paper); stroke: var(--paper); stroke-width: 9; stroke-linejoin: round; }
@media (hover: hover) { .pcard:hover .pmark--lift { transform: translateY(-3px); } }
.pid { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pid .pcard__cat, .pid .prod-hero__badge { margin: 0; }

/* product cards: a live peek of each product's screen */
.pcard { padding: 0; overflow: hidden; }
.pcard > :not(.pcard__shot) { margin-inline: 22px; }
.pcard > p { margin-bottom: 22px; }
.pcard__shot { position: relative; height: 176px; margin-bottom: 18px; overflow: hidden;
  background: color-mix(in srgb, var(--tone) 10%, var(--tint)); border-bottom: 1px solid var(--line); }
.pcard__scale { position: absolute; top: 22px; left: 50%; width: 520px; transform: translateX(-50%) scale(.5); transform-origin: top center; transition: transform .5s var(--ease); }
.pcard__scale .mock { box-shadow: var(--shadow); }
.pcard__scale .phone { margin-inline: auto; }
@media (hover: hover) { .pcard:hover .pcard__scale { transform: translateX(-50%) translateY(-8px) scale(.5); } }



/* pulse field: faint isometric lattice (the logo's 30 degree geometry) with travelling signals */
.has-pf { position: relative; isolation: isolate; }
.pf { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* home hero: the lattice sits behind the headline side, leaving the product network on a clean ground */
.pf[data-pf="light"] { -webkit-mask-image: radial-gradient(70% 95% at 80% 45%, #000 15%, transparent 78%); mask-image: radial-gradient(70% 95% at 80% 45%, #000 15%, transparent 78%); }
[dir="ltr"] .pf[data-pf="light"] { -webkit-mask-image: radial-gradient(70% 95% at 20% 45%, #000 15%, transparent 78%); mask-image: radial-gradient(70% 95% at 20% 45%, #000 15%, transparent 78%); }
.pf[data-pf="soft"] { -webkit-mask-image: radial-gradient(60% 120% at 10% 0%, #000 10%, transparent 75%); mask-image: radial-gradient(60% 120% at 10% 0%, #000 10%, transparent 75%); }
[dir="ltr"] .pf[data-pf="soft"] { -webkit-mask-image: radial-gradient(60% 120% at 90% 0%, #000 10%, transparent 75%); mask-image: radial-gradient(60% 120% at 90% 0%, #000 10%, transparent 75%); }
.pf[data-pf="dark"] { -webkit-mask-image: linear-gradient(to left, #000, transparent 85%); mask-image: linear-gradient(to left, #000, transparent 85%); }
[dir="ltr"] .pf[data-pf="dark"] { -webkit-mask-image: linear-gradient(to right, #000, transparent 85%); mask-image: linear-gradient(to right, #000, transparent 85%); }
/* closing banner: signals live in the empty middle, between the text and the buttons */
.pf[data-pf="cta"] { -webkit-mask-image: radial-gradient(30% 110% at 50% 50%, #000 15%, transparent 80%); mask-image: radial-gradient(30% 110% at 50% 50%, #000 15%, transparent 80%); }
/* product headers: keep signals in the band above the product screen */
.phero--product .pf[data-pf="soft"] { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 10%, transparent 30%); mask-image: linear-gradient(to bottom, #000 0, #000 10%, transparent 30%); }
.cta { isolation: isolate; }
.cta > :not(.pf) { position: relative; }


/* active nav item */

/* gentle entrance */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .net__lines .pulse { display: none; }
}


/* Signal behaviour: products are colourless until the signal reaches them (hover).
   Only on devices that can hover, so phones always show product colour. */
@media (hover: hover) {
  :is(.pcard, .net__node, .prodbar a, .mini__item):not(:hover):not(:focus-visible) { --tone: #8D8E91 !important; }
  .pcard__shot { filter: grayscale(1); transition: filter .5s var(--ease); }
  .pcard:hover .pcard__shot, .pcard:focus-visible .pcard__shot { filter: none; }
}

/* Dark theme: config.theme = 'dark' */
[data-theme="dark"] {
  --cream: #0E0F12; --paper: #17181C; --tint: #121316;
  --ink: #ECECEE; --ink-2: #C6C7CB; --muted: #9A9CA2;
  --line: #25262B; --line-2: #33353B;
  --brand-50: #1A1B20; --brand-100: #202227; --brand-200: #3A3C42; --brand-300: #4B4E55;
  --brand-900: #131418; --brand-950: #08090B;
  --brand-600: var(--spark); --brand-700: var(--spark); --brand-800: #fff;
  --primary: var(--spark); --primary-ink: #0E0F12; --logo-ink: #0E0F12;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 6px 18px -8px rgba(0, 0, 0, .6); --shadow-lg: 0 24px 50px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
/* product screens stay light, like real screenshots */
[data-theme="dark"] :is(.mock, .phone) {
  --cream: #FAF9F6; --paper: #fff; --tint: #F1F0EB; --ink: #1B1E15; --ink-2: #3A3F33; --muted: #666B5C; --line: #E4E1D5; --line-2: #D7D3C4;
  color: var(--ink);
}
[data-theme="dark"] .hdr::before { background: rgba(14, 15, 18, .8); }
[data-theme="dark"] .hdr.is-scrolled::before, [data-theme="dark"] body.nav-open .hdr::before { background: rgba(14, 15, 18, .95); }
[data-theme="dark"] .burger { background: var(--paper); }
@media (hover: hover) { [data-theme="dark"] .btn--ghost:hover { background: var(--paper); } }
@media (hover: hover) { [data-theme="dark"] .srow:hover { background: rgba(255, 255, 255, .03); } }
[data-theme="dark"] .field input:focus, [data-theme="dark"] .field select:focus, [data-theme="dark"] .field textarea:focus { background: var(--paper); }
[data-theme="dark"] :is(.section--dark .shead p, .why dd, .cta p, .mv__item p, .ftr, .social a) { color: var(--ink-2); }
[data-theme="dark"] .ftr__brand p, [data-theme="dark"] .ftr__bot { color: var(--muted); }
[data-theme="dark"] .section--dark, [data-theme="dark"] .cta { border: 1px solid var(--line); }
[data-theme="dark"] .section--dark { border-inline: 0; }
[data-theme="dark"] .net__core { background: #0A0B12; box-shadow: 0 0 0 12px color-mix(in srgb, var(--spark) 7%, transparent), 0 0 60px -10px color-mix(in srgb, var(--spark) 40%, transparent); }
[data-theme="dark"] .net__lines .pulse { filter: drop-shadow(0 0 .8px var(--spark)); }
[data-theme="dark"] .pcard__shot, [data-theme="dark"] .spot__vis, [data-theme="dark"] .prod-hero__vis { background: color-mix(in srgb, var(--tone) 16%, var(--tint)); }
[data-theme="dark"] :is(.pcard__cat, .prod-hero__tag, .prod-hero__badge, .mini__item small, .pmark--node) { color: color-mix(in srgb, var(--tone) 50%, #fff); }
@media (hover: hover) { [data-theme="dark"] .pcard:hover h3 { color: color-mix(in srgb, var(--tone) 50%, #fff); } }
[data-theme="dark"] :is(.prod-hero, .spot__btns) .btn--primary { --btn: color-mix(in srgb, var(--tone) 55%, #fff); color: #0E0F12; }
[data-theme="dark"] ::selection { background: var(--spark); color: #0E0F12; }

@media (max-width: 1024px) {
  /* keep signals clear of running text on stacked layouts */
  .phero--product .pf[data-pf="soft"] { -webkit-mask-image: linear-gradient(to bottom, #000, transparent 11%); mask-image: linear-gradient(to bottom, #000, transparent 11%); }
  .pf[data-pf="cta"] { -webkit-mask-image: radial-gradient(60% 55% at 15% 20%, #000 10%, transparent 80%); mask-image: radial-gradient(60% 55% at 15% 20%, #000 10%, transparent 80%); }
  [dir="ltr"] .pf[data-pf="cta"] { -webkit-mask-image: radial-gradient(60% 55% at 85% 20%, #000 10%, transparent 80%); mask-image: radial-gradient(60% 55% at 85% 20%, #000 10%, transparent 80%); }
  .pf[data-pf="dark"], [dir="ltr"] .pf[data-pf="dark"] { -webkit-mask-image: linear-gradient(to bottom, #000, transparent 30%); mask-image: linear-gradient(to bottom, #000, transparent 30%); }
  .pf[data-pf="soft"], [dir="ltr"] .pf[data-pf="soft"] { -webkit-mask-image: linear-gradient(to bottom, #000, transparent 22%); mask-image: linear-gradient(to bottom, #000, transparent 22%); }
  /* stacked hero: the lattice sits behind the headline (top), clear of the network below */
  .pf[data-pf="light"], [dir="ltr"] .pf[data-pf="light"] { -webkit-mask-image: radial-gradient(95% 36% at 50% 22%, #000 20%, transparent 80%); mask-image: radial-gradient(95% 36% at 50% 22%, #000 20%, transparent 80%); }
}

/* responsive */
@media (max-width: 1180px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .fgrid { grid-template-columns: repeat(3, 1fr); }
  .mini { grid-template-columns: repeat(4, 1fr); }
  .ftr__top { grid-template-columns: .8fr 1.2fr .75fr 1.25fr; }
  .ftr__brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
  .ftr__brand p { margin: 0; }
  .ftr { padding-bottom: 88px; } /* room for the floating WhatsApp button */
  .phero__ico { display: none; }
}

@media (max-width: 1024px) {
  :root { --hdr-h: 64px; }
  .burger { display: grid; }
  .hdr__cta { display: none; }
  .hdr__in { gap: 12px; }
  .hdr__actions { margin-inline-start: auto; }
  .logo img { height: 40px; }
  .hdr.is-scrolled .logo img { height: 38px; }

  /* mobile menu: a sheet that unfolds under the header */
  .nav {
    position: fixed; inset: var(--hdr-h) 0 0 0; margin: 0; display: flex; flex-direction: column; background: var(--cream);
    visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .45s var(--ease), visibility 0s; }
  .nav__scroll { display: block; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px var(--gutter) 24px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { display: block; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav.is-open .nav__list > li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 120ms); }
  .nav__link, .nav__link.is-active, .has-drop.is-active > .nav__link {
    width: 100%; justify-content: flex-start; gap: 10px; padding: 18px 2px; font-size: 1.18rem; font-weight: 600; color: var(--ink);
  }
  .nav__link.is-active, .has-drop.is-active > .nav__link { color: var(--brand-700); }
  .nav__link > .ico { width: 18px; height: 18px; margin-inline-start: auto; color: var(--muted); }
  .drop {
    position: static; width: auto; padding: 0; transform: none !important; opacity: 1; visibility: visible;
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease);
  }
  .has-drop.is-open .drop { grid-template-rows: 1fr; }
  .drop__in { overflow: hidden; }
  .mega { border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }
  .mega__main { display: block; padding: 0 0 8px; }
  .mega__cols { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0; }
  .mega__label { padding-inline: 4px; margin-bottom: 4px; }
  .mega__item { padding: 9px 4px; align-items: center; }
  .mega__item small { -webkit-line-clamp: 1; }
  .mega__item .pmark { --s: 30px; margin: 0; }
  .mega__ico { width: 32px; height: 32px; }
  .mega__ico .ico { width: 16px; height: 16px; }
  .mega__feat { padding: 4px 4px 10px; background: none; }
  .mega__feat .mega__label, .mega__card, .mega__bar { display: none; }
  .mega__all { padding: 4px 0; }
  .nav__foot {
    display: grid; gap: 0; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -24px rgba(13, 15, 26, .35);
  }
  .nav__foot .btn { width: 100%; }
  body.nav-open { overflow: hidden; }

  .hero__in, .prod-hero, .split, .split--faq, .contact { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .net { max-width: 460px; }
  .hero::before { width: 100%; }
  .prodbar { grid-template-columns: repeat(4, 1fr); }
  .prodbar li:nth-child(5) { border-inline-start: 0; }
  .prodbar li:nth-child(n+5) { border-top: 1px solid var(--line); }
  .srow { grid-template-columns: 40px 1fr 24px; gap: 6px 16px; }
  .srow p { grid-column: 2; grid-row: 2; }
  .srow__go { grid-row: 1 / span 2; grid-column: 3; }
  .why { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; gap: 8px; }
  .ogrid { grid-template-columns: repeat(2, 1fr); }
  .wgrid { grid-template-columns: repeat(2, 1fr); }
  .wgrid--4 { grid-template-columns: repeat(2, 1fr); }
  .pgrid, .pgrid--3, .fgrid { grid-template-columns: repeat(2, 1fr); }
  .sectors { gap: 14px; }
  .sectors__list { gap: 8px; }
  .sectors__list li { font-size: .92rem; padding: 8px 13px; }
  .spot__panel { grid-template-columns: 1fr; }
  .spot__vis { order: -1; min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo img { height: 40px; }
  .hero__btns .btn, .phero__btns .btn, .cta__btns .btn, .spot__btns .btn { flex: 1 1 100%; }
  .net__node b { font-size: .72rem; }
  .prodbar { display: none; }
  .hero { padding-bottom: 32px; }
  .shead { flex-direction: column; align-items: flex-start; }
  .ogrid, .wgrid, .wgrid--4, .pgrid, .pgrid--3, .fgrid, .mv, .steps { grid-template-columns: 1fr; }
  .mini { grid-template-columns: repeat(2, 1fr); }
  .form__grid { grid-template-columns: 1fr; }
  .jobs li { flex-direction: column; align-items: flex-start; }
  .spot__panel { padding-top: 20px; }
  .spot__vis { padding: 14px; }
  .prod-hero__vis { min-height: 0; padding: 16px; }
  .mock { font-size: 12px; }
  .kb { grid-template-columns: 1fr 1fr; }
  .kb__col:nth-child(3) { display: none; }
  .dash__bars { height: 120px; }
  .dash__donut span { width: 80px; height: 80px; font-size: 15px; }
  .rows li small:not(.sla) { display: none; }
  .rows li .sla { display: none; }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .ftr__brand { display: block; }
  .ftr__brand p { margin: 16px 0 20px; }
  .ftr__contact, .ftr__company { grid-column: 1 / -1; }
  .ftr__company ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .ftr__bot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .wa-float { width: 48px; height: 48px; inset-inline-start: 12px; bottom: 12px; }
  .wa-float .ico { width: 24px; height: 24px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; }
  .filters::-webkit-scrollbar { display: none; }
  .kb__card .match { display: none; }
  .ftr__bot { padding-bottom: 64px; }
  .filters .chip { flex: none; }
}
