/* =========================================================================
   WebNixTech - master design system
   ========================================================================= */

/* =========================================================================
   FONT FALLBACK METRICS
   Fonts load asynchronously so they do not block the first paint. The cost of
   that is a layout shift when the real font swaps in. These fallbacks are
   metric-matched to Inter and Sora, so the fallback occupies almost exactly
   the same space and the shift is negligible (keeps CLS near zero).
   ========================================================================= */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica'), local('Segoe UI');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Sora Fallback';
  src: local('Arial'), local('Helvetica'), local('Segoe UI');
  size-adjust: 104%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --bg:        #070910;
  --bg-2:      #0B0E1A;
  --surface:   #10152A;
  --surface-2: #161C36;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);

  --ink:       #EEF2FF;
  --ink-2:     #B9C3E0;
  --ink-3:     #7C89AE;

  --violet:    #6D5EF8;
  --cyan:      #22D3EE;
  --gold:      #F7B733;
  --pink:      #F472B6;
  --mint:      #34D399;
  --rose:      #FB7185;

  --accent:    var(--violet);
  --grad:      linear-gradient(120deg, var(--violet), var(--cyan));
  --grad-warm: linear-gradient(120deg, var(--gold), var(--pink));

  --r-sm: 10px;  --r: 16px;  --r-lg: 24px;  --r-xl: 34px;
  --shadow:    0 24px 60px -24px rgba(0,0,0,.75);
  --shadow-lg: 0 46px 120px -40px rgba(0,0,0,.9);
  --glow:      0 0 0 1px rgba(109,94,248,.35), 0 20px 60px -18px rgba(109,94,248,.55);

  --maxw: 1240px;
  --pad: clamp(18px, 4vw, 42px);
  --nav-h: 74px;

  --font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-d: 'Sora', 'Sora Fallback', var(--font);

  --ease: cubic-bezier(.22,.74,.3,1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  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; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--violet); color: #fff; }

/* --------------------------------------------------------------- scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #272F52; border-radius: 99px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #38427040; background: #3A4474; }

/* ---------------------------------------------------------------- typography */
h1, h2, h3, h4, h5 { font-family: var(--font-d); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.65rem); }
p  { color: var(--ink-2); }
.lead { font-size: clamp(1.03rem, 1.7vw, 1.22rem); color: var(--ink-2); max-width: 64ch; }
.small { font-size: .875rem; }
.muted { color: var(--ink-3); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.warm-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* -------------------------------------------------------------- primitives */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(62px, 9vw, 118px); position: relative; }
.section--tight { padding-block: clamp(42px, 6vw, 72px); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
  padding: .4rem .85rem; border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgba(34,211,238,.07);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 99px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-block: .7rem .9rem; }

.ico { width: 22px; height: 22px; flex: none; }
.ico-lg { width: 28px; height: 28px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --btn-bg: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.6rem;
  border-radius: 99px;
  font-weight: 600; font-size: .96rem;
  letter-spacing: .005em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  white-space: nowrap;
}
.btn--primary { background: var(--btn-bg); color: #fff; box-shadow: 0 16px 38px -14px rgba(109,94,248,.8); }
.btn--primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn--primary:hover::after { opacity: 1; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(34,211,238,.09); }
.btn--wa { background: #25D366; color: #06240f; font-weight: 700; }
.btn--sm { padding: .66rem 1.15rem; font-size: .875rem; }
.btn--lg { padding: 1.08rem 2rem; font-size: 1.02rem; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--cyan); font-weight: 600; font-size: .93rem; }
.link-arrow .ico { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* -------------------------------------------------------------------- cards */
.card {
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(109,94,248,.17), transparent 62%);
  opacity: 0; transition: opacity .45s;
}
.card:hover { transform: translateY(-7px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .95rem; }

.card-ico {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: rgba(109,94,248,.13);
  border: 1px solid rgba(109,94,248,.3);
  color: var(--accent);
  margin-bottom: 1.15rem;
}
.card-ico .ico { width: 26px; height: 26px; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ------------------------------------------------------------------- header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(7,9,16,.82);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 1.6rem; }

.brand { display: flex; align-items: center; gap: .66rem; font-family: var(--font-d); font-weight: 800; font-size: 1.16rem; letter-spacing: -.03em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--grad); display: grid; place-items: center;
  color: #fff; font-size: .92rem; font-weight: 800;
  box-shadow: 0 10px 26px -10px rgba(109,94,248,.9);
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content: ''; position: absolute; inset: -50%;
  background: linear-gradient(60deg, transparent 40%, rgba(255,255,255,.55), transparent 60%);
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%,65% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.brand small { display: block; font-family: var(--font); font-size: .62rem; font-weight: 500; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav > li { position: relative; }
.nav a.nav-link, .nav button.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .6rem .85rem; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
  transition: color .25s, background .25s;
}
.nav .nav-link:hover, .nav .nav-link[aria-expanded="true"] { color: var(--ink); background: rgba(255,255,255,.05); }
.nav .is-active > .nav-link { color: var(--ink); }
.nav .is-active > .nav-link::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.caret { width: 14px; height: 14px; transition: transform .3s var(--ease); }
[aria-expanded="true"] .caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  background: rgba(13,17,33,.97);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega--svc { width: min(660px, 92vw); }
.mega--ind { width: min(880px, 94vw); }
.mega-grid { display: grid; gap: .3rem; }
.mega--svc .mega-grid { grid-template-columns: 1fr 1fr; }
.mega--ind .mega-grid { grid-template-columns: repeat(3, 1fr); }
.mega-item {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .72rem .8rem; border-radius: 13px;
  transition: background .25s, transform .25s var(--ease);
}
.mega-item:hover { background: rgba(255,255,255,.055); transform: translateX(3px); }
.mega-item .mi-ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: rgba(109,94,248,.14); color: var(--accent);
  border: 1px solid rgba(109,94,248,.26);
}
.mega-item .mi-ico .ico { width: 18px; height: 18px; }
.mega-item strong { display: block; font-size: .91rem; font-weight: 600; color: var(--ink); }
.mega-item span { font-size: .775rem; color: var(--ink-3); line-height: 1.45; display: block; }
.mega-foot {
  margin-top: .7rem; padding-top: .85rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .83rem; color: var(--ink-3); padding-inline: .8rem;
}

.nav-cta { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; }
.burger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); place-items: center; }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 890;
  background: rgba(7,9,16,.98); backdrop-filter: blur(20px);
  padding: 1.4rem var(--pad) 3rem; overflow-y: auto;
  transform: translateX(100%); transition: transform .42s var(--ease);
  display: none;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary {
  list-style: none; cursor: pointer; padding: 1rem 0;
  font-family: var(--font-d); font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .caret { transform: rotate(180deg); }
.mobile-nav .m-sub { padding-bottom: 1rem; display: grid; gap: .1rem; }
.mobile-nav .m-sub a { padding: .6rem .4rem; color: var(--ink-2); font-size: .94rem; border-radius: 8px; }
.mobile-nav .m-sub a:hover { background: rgba(255,255,255,.05); color: var(--ink); }
.mobile-nav > a.m-top { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; }
.m-actions { display: grid; gap: .7rem; margin-top: 1.6rem; }

/* progress bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; z-index: 950; background: var(--grad); width: 0; transition: width .1s linear; }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 86px)); padding-bottom: clamp(50px, 8vw, 100px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px circle at 14% 8%, rgba(109,94,248,.28), transparent 55%),
    radial-gradient(760px circle at 88% 28%, rgba(34,211,238,.20), transparent 55%),
    radial-gradient(640px circle at 52% 96%, rgba(247,183,51,.13), transparent 58%);
}
.hero-grid {
  position: absolute; inset: -20% -10%;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 62% at 50% 32%, #000 25%, transparent 78%);
  animation: driftGrid 36s linear infinite;
}
@keyframes driftGrid { to { transform: translate(64px, 64px); } }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb-1 { width: 460px; height: 460px; background: var(--violet); top: -130px; left: -90px; animation: float1 17s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: var(--cyan); top: 14%; right: -110px; animation: float2 21s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; background: var(--gold); bottom: -110px; left: 42%; opacity: .3; animation: float1 25s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translate(55px, 65px) scale(1.12); } }
@keyframes float2 { 50% { transform: translate(-65px, 45px) scale(.9); } }

.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { margin-block: 1rem 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-trust div strong { display: block; font-family: var(--font-d); font-size: 1.5rem; }
.hero-trust div span { font-size: .78rem; color: var(--ink-3); }

/* capability orbit visual */
.orbit { position: relative; aspect-ratio: 1; max-width: 480px; margin-inline: auto; width: 100%; }
.orbit-core {
  position: absolute; inset: 31%; border-radius: 50%;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  display: grid; place-items: center; text-align: center;
  box-shadow: var(--glow); z-index: 3;
}
.orbit-core strong { font-family: var(--font-d); font-size: 1.02rem; display: block; }
.orbit-core span { font-size: .66rem; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; }
.orbit-ring { position: absolute; inset: 12%; border: 1px dashed var(--line-2); border-radius: 50%; animation: spin 46s linear infinite; }
.orbit-ring--2 { inset: 0; border-style: solid; border-color: var(--line); animation-duration: 70s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-node {
  position: absolute; top: 50%; left: 50%;
  width: 78px; height: 78px; margin: -39px;
  border-radius: 20px;
  background: rgba(16,21,42,.93);
  border: 1px solid var(--line-2);
  display: grid; place-items: center; gap: 2px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  z-index: 4;
}
.orbit-node .ico { width: 21px; height: 21px; }
.orbit-node b { font-size: .6rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.orbit-node:hover { transform: translate(var(--tx), var(--ty)) scale(1.14) !important; border-color: currentColor; }

/* ------------------------------------------------------------------ marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.1rem; background: rgba(255,255,255,.015); }
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--ink-3); white-space: nowrap; }
.marquee-item .ico { width: 17px; height: 17px; color: var(--accent); }

/* -------------------------------------------------------------------- bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.bento > * { grid-column: span 2; }
.bento .b-wide { grid-column: span 3; }
.bento .b-full { grid-column: span 6; }
.bento .b-tall { grid-row: span 2; }

/* ------------------------------------------------------------------ service */
.svc-card { display: flex; flex-direction: column; min-height: 100%; }
.svc-card .card-ico { background: color-mix(in srgb, var(--c) 15%, transparent); border-color: color-mix(in srgb, var(--c) 36%, transparent); color: var(--c); }
.svc-card:hover { border-color: color-mix(in srgb, var(--c) 48%, transparent); }
.svc-card::before { background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), color-mix(in srgb, var(--c) 18%, transparent), transparent 62%); }
.svc-list { margin-top: 1.1rem; display: grid; gap: .5rem; }
.svc-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .89rem; color: var(--ink-2); }
.svc-list .ico { width: 16px; height: 16px; color: var(--c, var(--mint)); margin-top: .3rem; flex: none; }
.svc-card .link-arrow { margin-top: auto; padding-top: 1.3rem; color: var(--c); }

/* ---------------------------------------------------------------- industries */
.ind-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  isolation: isolate;
}
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease), filter .6s; }
.ind-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,9,16,.15) 0%, rgba(7,9,16,.76) 56%, rgba(7,9,16,.95) 100%);
}
.ind-card:hover { transform: translateY(-8px); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.ind-card:hover img { transform: scale(1.09); }
.ind-badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  padding: .3rem .62rem; border-radius: 99px;
  background: rgba(0,0,0,.5); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
}
.ind-badge.is-a { color: var(--gold); border-color: rgba(247,183,51,.45); }
.ind-badge.is-b { color: var(--cyan); border-color: rgba(34,211,238,.4); }
.ind-card h3 { font-size: 1.22rem; }
.ind-card p { font-size: .86rem; margin-top: .35rem; color: var(--ink-2); }
.ind-meta { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; font-size: .78rem; color: var(--ink-3); }
.ind-foot { display: flex; gap: .55rem; margin-top: 1.1rem; }
.ind-foot .btn { flex: 1; }

/* keyword chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-size: .8rem; padding: .42rem .82rem; border-radius: 99px;
  border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--ink-2);
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
a.chip:hover, .chip:hover { border-color: var(--cyan); color: var(--ink); transform: translateY(-2px); }
.chip--on { background: rgba(109,94,248,.16); border-color: rgba(109,94,248,.5); color: var(--ink); }

/* ------------------------------------------------------------------- device */
.device {
  position: relative; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line-2);
  background: #05070E;
  box-shadow: var(--shadow-lg);
}
.device-bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.device-dots { display: flex; gap: .36rem; }
.device-dots i { width: 10px; height: 10px; border-radius: 50%; background: #343C63; display: block; }
.device-dots i:nth-child(1) { background: #FF5F57; } .device-dots i:nth-child(2) { background: #FEBC2E; } .device-dots i:nth-child(3) { background: #28C840; }
.device-url {
  flex: 1; font-size: .74rem; color: var(--ink-3);
  background: rgba(0,0,0,.42); border-radius: 99px; padding: .3rem .8rem;
  text-align: center; font-family: ui-monospace, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.device-frame { width: 100%; height: clamp(440px, 64vh, 760px); border: 0; display: block; background: #05070E; }
.device-foot { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; align-items: center; padding: .85rem 1rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); }

/* --------------------------------------------------------------------- tabs */
.tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.6rem; }
.tab {
  padding: .6rem 1.05rem; border-radius: 99px; font-size: .88rem; font-weight: 500;
  border: 1px solid var(--line); color: var(--ink-3); transition: all .3s var(--ease);
}
.tab[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 26px -12px rgba(109,94,248,.9); }
.tab:hover { color: var(--ink); border-color: var(--line-2); }
.tab-panel[hidden] { display: none; }

/* ---------------------------------------------------------------- accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-family: var(--font-d); font-weight: 600; font-size: 1.02rem;
  transition: color .25s;
}
.acc-q:hover { color: var(--cyan); }
.acc-q .plus { position: relative; width: 20px; height: 20px; flex: none; }
.acc-q .plus::before, .acc-q .plus::after {
  content: ''; position: absolute; inset: 50% 0 auto; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .35s var(--ease);
}
.acc-q .plus::after { transform: rotate(90deg); }
.acc-item.is-open .plus::after { transform: rotate(0); }
.acc-item.is-open .acc-q { color: var(--cyan); }
.acc-a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.acc-a > div { padding-bottom: 1.3rem; color: var(--ink-2); max-width: 72ch; }

/* ------------------------------------------------------------------ process */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--bg-2); padding: clamp(20px, 2.6vw, 30px); position: relative; transition: background .4s; }
.step:hover { background: var(--surface); }
.step-n { font-family: var(--font-d); font-size: 2.6rem; font-weight: 800; line-height: 1; -webkit-text-stroke: 1px var(--line-2); color: transparent; transition: color .4s, -webkit-text-stroke-color .4s; }
.step:hover .step-n { color: transparent; -webkit-text-stroke-color: var(--cyan); }
.step h3 { font-size: 1.1rem; margin-block: .7rem .45rem; }
.step p { font-size: .9rem; }
.step-when { font-size: .74rem; color: var(--cyan); letter-spacing: .08em; text-transform: uppercase; margin-top: .9rem; display: block; }

/* -------------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--bg-2); padding: clamp(22px, 3vw, 34px); text-align: center; }
.stat b { font-family: var(--font-d); font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; display: block; line-height: 1; }
.stat span { font-size: .83rem; color: var(--ink-3); margin-top: .45rem; display: block; }

/* --------------------------------------------------------------- testimonial */
.quote { position: relative; padding-top: 2.4rem; }
.quote::before {
  content: '\201C'; position: absolute; top: -.6rem; left: -.3rem;
  font-family: Georgia, serif; font-size: 5.6rem; line-height: 1; color: var(--violet); opacity: .35;
}
.quote p { font-size: 1.04rem; color: var(--ink); font-style: italic; }
.quote footer { margin-top: 1.1rem; font-size: .85rem; color: var(--ink-3); }
.quote footer strong { color: var(--ink-2); display: block; font-style: normal; }

/* -------------------------------------------------------------------- forms */
.form-card {
  background: linear-gradient(170deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 42px);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.form-card::before {
  content: ''; position: absolute; top: -2px; left: 10%; right: 10%; height: 2px;
  background: var(--grad); filter: blur(1px);
}
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .83rem; font-weight: 600; color: var(--ink-2); margin-bottom: .42rem; }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%; padding: .88rem 1.05rem;
  background: rgba(5,7,14,.65);
  border: 1px solid var(--line-2); border-radius: 13px;
  color: var(--ink); font-size: .95rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 118px; resize: vertical; }
.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='%237C89AE' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 17px; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); background: rgba(5,7,14,.9);
  box-shadow: 0 0 0 4px rgba(109,94,248,.18);
}
.field input::placeholder, .field textarea::placeholder { color: #5A678C; }
.field.has-error input, .field.has-error select { border-color: var(--rose); }
.field .err { font-size: .78rem; color: var(--rose); margin-top: .35rem; display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.pickers { display: flex; flex-wrap: wrap; gap: .5rem; }
.picker input { position: absolute; opacity: 0; width: 0; height: 0; }
.picker span {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .83rem; padding: .5rem .9rem; border-radius: 99px;
  border: 1px solid var(--line-2); color: var(--ink-2);
  cursor: pointer; transition: all .28s var(--ease); user-select: none;
}
.picker span:hover { border-color: var(--line-2); color: var(--ink); transform: translateY(-2px); }
.picker input:checked + span { background: rgba(109,94,248,.2); border-color: var(--violet); color: #fff; }
.picker input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.form-note { font-size: .78rem; color: var(--ink-3); margin-top: 1rem; line-height: 1.6; }
.alert {
  padding: .9rem 1.1rem; border-radius: 13px; font-size: .9rem; margin-bottom: 1.3rem;
  background: rgba(251,113,133,.11); border: 1px solid rgba(251,113,133,.36); color: #FFC9D1;
}
.alert--ok { background: rgba(52,211,153,.11); border-color: rgba(52,211,153,.36); color: #B9F6DC; }

/* ------------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(46px, 6vw, 72px) 0; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(26px, 3vw, 46px); }
.footer h4 { font-family: var(--font-d); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.05rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { font-size: .9rem; color: var(--ink-2); transition: color .25s, transform .25s var(--ease); display: inline-block; }
.footer-links a:hover { color: var(--cyan); transform: translateX(4px); }
.footer-contact { display: grid; gap: .9rem; font-size: .9rem; color: var(--ink-2); }
.footer-contact div { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact .ico { width: 18px; height: 18px; color: var(--accent); margin-top: .22rem; flex: none; }
.footer-bottom {
  margin-top: clamp(32px, 4vw, 52px); padding-block: 1.4rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .82rem; color: var(--ink-3);
}
.footer-cities { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }

/* ------------------------------------------------------------- float actions */
.floats { position: fixed; right: clamp(14px, 2.4vw, 26px); bottom: clamp(14px, 2.4vw, 26px); z-index: 880; display: grid; gap: .7rem; justify-items: end; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 16px 36px -12px rgba(0,0,0,.85);
  transition: transform .34s var(--ease), box-shadow .34s;
  position: relative;
}
.float-btn:hover { transform: scale(1.1) translateY(-2px); }
.float-btn .ico { width: 27px; height: 27px; }
.float-wa { background: #25D366; color: #053d1b; }
.float-chat { background: var(--grad); }
.float-btn::after {
  content: attr(data-label); position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%;
  background: rgba(13,17,33,.96); border: 1px solid var(--line-2);
  padding: .42rem .8rem; border-radius: 9px; font-size: .78rem; color: var(--ink);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .28s, translate .28s;
}
.float-btn:hover::after { opacity: 1; translate: -4px -50%; }
.float-ping { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.6s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 75%,100% { transform: scale(1.75); opacity: 0; } }

/* ------------------------------------------------------------------ chatbot */
.chatbot {
  position: fixed; right: clamp(14px, 2.4vw, 26px); bottom: clamp(82px, 11vw, 100px); z-index: 885;
  width: min(378px, calc(100vw - 28px));
  background: rgba(11,14,26,.985); backdrop-filter: blur(22px);
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.96);
  transition: opacity .34s var(--ease), transform .34s var(--ease), visibility .34s;
  max-height: min(600px, calc(100vh - 140px));
}
.chatbot.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-head { display: flex; align-items: center; gap: .7rem; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(109,94,248,.2), rgba(34,211,238,.1)); }
.chat-avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex: none; }
.chat-head strong { font-size: .95rem; display: block; font-family: var(--font-d); }
.chat-head span { font-size: .73rem; color: var(--mint); display: flex; align-items: center; gap: .33rem; }
.chat-head span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.chat-close { margin-left: auto; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-3); }
.chat-close:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.chat-body { padding: 1rem; overflow-y: auto; display: grid; gap: .75rem; align-content: start; flex: 1; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: .7rem .95rem; border-radius: 15px; font-size: .88rem; line-height: 1.55; animation: msgIn .35s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; justify-self: start; color: var(--ink-2); }
.msg--me { background: var(--grad); color: #fff; border-bottom-right-radius: 5px; justify-self: end; }
.msg-actions { display: flex; flex-wrap: wrap; gap: .4rem; justify-self: start; max-width: 92%; }
.msg-actions a { font-size: .78rem; padding: .4rem .75rem; border-radius: 99px; border: 1px solid rgba(34,211,238,.4); color: var(--cyan); transition: background .25s; }
.msg-actions a:hover { background: rgba(34,211,238,.13); }
.chat-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .7rem; }
.chat-chips button { font-size: .77rem; padding: .4rem .78rem; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-3); transition: all .25s; }
.chat-chips button:hover { border-color: var(--violet); color: var(--ink); }
.chat-form { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; padding: .72rem .95rem; border-radius: 99px; background: rgba(5,7,14,.75); border: 1px solid var(--line-2); font-size: .88rem; }
.chat-form input:focus { outline: none; border-color: var(--violet); }
.chat-send { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; flex: none; transition: transform .25s; }
.chat-send:hover { transform: scale(1.08); }
.typing { display: flex; gap: 4px; padding: .85rem 1rem; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; } .typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* ------------------------------------------------------------------ reveals */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-dir="left"]  { transform: translateX(-30px); }
[data-reveal][data-dir="right"] { transform: translateX(30px); }
[data-reveal][data-dir="zoom"]  { transform: scale(.94); }

/* -------------------------------------------------------------- breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .8rem; color: var(--ink-3); padding-top: calc(var(--nav-h) + 26px); }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { opacity: .45; }

/* ---------------------------------------------------------------- utilities */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin-block: clamp(36px, 5vw, 60px); }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.kv { display: grid; gap: .8rem; }
.kv div { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.kv .ico { width: 18px; height: 18px; color: var(--mint); margin-top: .26rem; flex: none; }
.ratio { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.ratio img { width: 100%; height: 100%; object-fit: cover; }
.glass { background: rgba(255,255,255,.045); backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9rem; }
table.data th, table.data td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-family: var(--font-d); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); background: rgba(255,255,255,.03); }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background .25s; }
table.data tbody tr:hover { background: rgba(255,255,255,.028); }

/* pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.is-featured { border-color: rgba(109,94,248,.55); box-shadow: var(--glow); }
.price-tag { font-family: var(--font-d); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-block: .6rem .2rem; }
.price-sub { font-size: .82rem; color: var(--cyan); }
.price-best { font-size: .8rem; color: var(--ink-3); margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.ribbon {
  position: absolute; top: 1rem; right: -2.3rem; transform: rotate(38deg);
  background: var(--grad); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .34rem 2.6rem;
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .orbit { max-width: 400px; margin-top: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento > * { grid-column: span 3; }
  .bento .b-wide, .bento .b-full { grid-column: span 6; }
}
@media (max-width: 880px) {
  .nav, .nav-cta .btn--primary { display: none; }
  .burger { display: grid; margin-left: auto; }
  .mobile-nav { display: block; }
  .field-row { grid-template-columns: 1fr; }
  .bento > * { grid-column: span 6; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.1rem; }
  .float-btn { width: 52px; height: 52px; }
  .device-frame { height: 72vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media print {
  .header, .floats, .chatbot, .mobile-nav, .progress { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =========================================================================
   PRELOADER
   ========================================================================= */
html.is-loading, html.is-loading body { overflow: hidden; }

.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-out { opacity: 0; visibility: hidden; pointer-events: none; }

/* curtain panels that split away on exit */
.loader-curtain { position: absolute; inset: 0; display: flex; }
.loader-curtain i {
  flex: 1; background: var(--bg-2);
  border-right: 1px solid rgba(255,255,255,.04);
  transform: translateY(0); transition: transform 1s var(--ease);
}
.loader.is-out .loader-curtain i { transform: translateY(-101%); }
.loader.is-out .loader-curtain i:nth-child(2) { transition-delay: .07s; }
.loader.is-out .loader-curtain i:nth-child(3) { transition-delay: .14s; }
.loader.is-out .loader-curtain i:nth-child(4) { transition-delay: .21s; }
.loader.is-out .loader-curtain i:nth-child(5) { transition-delay: .28s; }

.loader-core { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.1rem; padding: var(--pad); text-align: center; }
.loader.is-out .loader-core { opacity: 0; transform: translateY(-14px); transition: opacity .4s, transform .5s var(--ease); }

.loader-mark { filter: drop-shadow(0 18px 44px rgba(109,94,248,.55)); }
.loader-mark svg { width: clamp(118px, 22vw, 160px); height: auto; }
.l-ring { animation: lSpin 9s linear infinite; transform-origin: 80px 80px; }
.l-ring:nth-of-type(2) { animation-duration: 6s; animation-direction: reverse; }
.l-ring:nth-of-type(3) { animation-duration: 12s; }
@keyframes lSpin { to { transform: rotate(360deg); } }

.l-trace  { stroke-dasharray: 90 337; stroke-dashoffset: 0; animation: lTrace 2.1s cubic-bezier(.65,0,.35,1) infinite; transform-origin: 80px 80px; }
.l-trace2 { stroke-dasharray: 40 387; animation: lTrace 2.1s cubic-bezier(.65,0,.35,1) infinite reverse; transform-origin: 80px 80px; opacity: .75; }
@keyframes lTrace { to { transform: rotate(360deg); } }

.l-w { stroke-dasharray: 150; stroke-dashoffset: 150; animation: lDraw 2.4s var(--ease) infinite; }
@keyframes lDraw {
  0%   { stroke-dashoffset: 150; opacity: .3; }
  45%  { stroke-dashoffset: 0;   opacity: 1; }
  80%  { stroke-dashoffset: 0;   opacity: 1; }
  100% { stroke-dashoffset: -150; opacity: .3; }
}
.l-node { animation: lOrbit 3.2s linear infinite; transform-origin: 80px 80px; }
@keyframes lOrbit { to { transform: rotate(360deg); } }

.loader-word { display: flex; gap: .16em; font-family: var(--font-d); font-weight: 800; font-size: clamp(1.1rem, 3.4vw, 1.7rem); letter-spacing: .18em; }
.loader-word span { display: inline-block; animation: lLetter 1.9s var(--ease) infinite; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes lLetter { 0%, 70%, 100% { transform: translateY(0); opacity: .75; } 35% { transform: translateY(-7px); opacity: 1; } }

.loader-caps { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; max-width: 420px; }
.loader-caps span {
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  padding: .3rem .7rem; border-radius: 99px;
  color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  opacity: 0; animation: lCap .5s var(--ease) forwards;
}
.loader-caps span:nth-child(1) { animation-delay: .25s; } .loader-caps span:nth-child(2) { animation-delay: .35s; }
.loader-caps span:nth-child(3) { animation-delay: .45s; } .loader-caps span:nth-child(4) { animation-delay: .55s; }
.loader-caps span:nth-child(5) { animation-delay: .65s; } .loader-caps span:nth-child(6) { animation-delay: .75s; }
@keyframes lCap { to { opacity: 1; transform: translateY(0); } }

.loader-bar { width: min(280px, 70vw); height: 3px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .3s var(--ease); box-shadow: 0 0 14px var(--violet); }
.loader-pct { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.loader-pct small { font-size: .7rem; color: var(--ink-3); margin-left: 2px; }
.loader-tag { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { .loader { display: none !important; } }

/* =========================================================================
   WHATSAPP AUTO-REPLY TOAST
   ========================================================================= */
.wa-toast {
  position: fixed; left: 50%; bottom: 26px; translate: -50% 0; z-index: 9000;
  display: flex; align-items: flex-start; gap: .85rem;
  width: min(430px, calc(100vw - 28px));
  padding: 1rem 1.1rem;
  background: rgba(11,14,26,.97); backdrop-filter: blur(18px);
  border: 1px solid rgba(37,211,102,.45);
  border-radius: 16px;
  box-shadow: 0 26px 60px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(37,211,102,.12);
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.97);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.wa-toast.is-on { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-toast-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: #25D366; color: #06240f;
}
.wa-toast-ico .ico { width: 21px; height: 21px; }
.wa-toast strong { display: block; font-size: .92rem; font-family: var(--font-d); margin-bottom: .2rem; }
.wa-toast span { font-size: .82rem; color: var(--ink-3); line-height: 1.5; display: block; }
.wa-toast-x { width: 28px; height: 28px; border-radius: 8px; flex: none; color: var(--ink-3); display: grid; place-items: center; margin-left: auto; }
.wa-toast-x:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.wa-toast-x .ico { width: 15px; height: 15px; }
@media (max-width: 560px) { .wa-toast { bottom: 94px; } }

/* =========================================================================
   FIT & RESPONSIVE PASS
   Loaded last, so these win over the base rules above.
   Goals: the hero fits one screen without scrolling, and nothing overflows
   horizontally at any width from 320px up.
   ========================================================================= */

/* ---- type scale: tied to viewport HEIGHT as well as width, so short
        laptop screens get smaller headings instead of a cut-off hero ---- */
h1 { font-size: clamp(1.85rem, min(4.7vw, 7vh), 3.4rem); line-height: 1.06; }
h2 { font-size: clamp(1.5rem, min(3.4vw, 5vh), 2.4rem); }
h3 { font-size: clamp(1.1rem, 1.9vw, 1.4rem); }
.page-h1 { font-size: clamp(1.75rem, min(4.3vw, 6.4vh), 3rem); line-height: 1.07; }
.lead { font-size: clamp(.94rem, 1.25vw, 1.08rem); }

/* ---------------------------------------------------- hero fits the fold */
.hero {
  padding-top: calc(var(--nav-h) + clamp(16px, 3vw, 44px));
  padding-bottom: clamp(32px, 4.5vw, 68px);
}
.hero h1 { margin-block: .65rem .8rem; }
.hero .lead { max-width: 56ch; }
.hero-actions { margin-top: clamp(1rem, 2vw, 1.6rem); gap: .7rem; }
.hero-trust {
  margin-top: clamp(1rem, 2.2vw, 1.7rem);
  padding-top: clamp(.9rem, 1.6vw, 1.3rem);
  gap: clamp(.9rem, 2.6vw, 2.2rem);
}
.hero-trust div strong { font-size: clamp(1.1rem, 2.1vw, 1.42rem); }
.hero-trust div span { font-size: .72rem; }
.eyebrow { font-size: .7rem; padding: .34rem .75rem; }

/* the orbit must never push the hero taller than the screen */
.orbit { max-width: min(430px, 46vh); }

/* ------------------------------------------- phone-safe grid tracks
   auto-fit with a fixed minimum overflows when the screen is narrower
   than that minimum. min() clamps the track to the container instead. */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.stats  { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.steps  { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

/* nothing may scroll the page sideways */
html, body { max-width: 100%; overflow-x: clip; }
img, svg, iframe, table, pre { max-width: 100%; }

/* ------------------------------------------------------- ≤1080px */
@media (max-width: 1080px) {
  .hero-inner { gap: clamp(20px, 3vw, 34px); }
  .orbit { max-width: min(380px, 40vh); margin-top: .5rem; }
}

/* -------------------------------------------------------- ≤880px */
@media (max-width: 880px) {
  :root { --nav-h: 66px; }
  .hero { padding-top: calc(var(--nav-h) + 26px); }
  .hero .lead { max-width: none; }
  .hero-trust { gap: 1rem 1.6rem; }
  .hero-trust div { min-width: 42%; }
  .section { padding-block: clamp(46px, 7vw, 78px); }
  .section-head { margin-bottom: 28px; }
  .device-frame { height: 62vh; }
  .quote p { font-size: .98rem; }
  .form-card { padding: 22px 18px; }
  .footer-grid { gap: 26px; }
}

/* -------------------------------------------------------- ≤640px */
@media (max-width: 640px) {
  .hero { padding-bottom: 34px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .orbit { max-width: min(300px, 34vh); }
  .orbit-node { width: 62px; height: 62px; margin: -31px; border-radius: 16px; }
  .orbit-node .ico { width: 17px; height: 17px; }
  .orbit-node b { font-size: .52rem; }
  .orbit-core strong { font-size: .86rem; }
  .orbit-core span { font-size: .56rem; }

  .btn { padding: .85rem 1.3rem; font-size: .92rem; }
  .btn--lg { padding: .95rem 1.5rem; font-size: .95rem; }
  .ind-card { min-height: 260px; }
  .ind-foot { flex-direction: column; }
  .ind-foot .btn { width: 100%; }
  .card { padding: 20px 18px; }
  .card-ico { width: 46px; height: 46px; margin-bottom: .85rem; }
  .card-ico .ico { width: 22px; height: 22px; }
  .step { padding: 20px 18px; }
  .stat { padding: 20px 14px; }
  .acc-q { font-size: .95rem; padding: 1.05rem 0; }
  .price-tag { font-size: 1.5rem; }
  .device-bar { padding: .55rem .7rem; }
  .device-url { font-size: .66rem; }
  .device-foot { font-size: .76rem; }
  .device-frame { height: 70vh; }
  .chip { font-size: .76rem; padding: .38rem .7rem; }
  table.data { min-width: 520px; }
  .crumbs { font-size: .74rem; padding-top: calc(var(--nav-h) + 18px); }
}

/* -------------------------------------------------------- ≤460px */
@media (max-width: 460px) {
  .nav-cta .btn--ghost { padding: .6rem .8rem; font-size: 0; gap: 0; }  /* icon only */
  .nav-cta .btn--ghost .ico { width: 20px; height: 20px; }
  .brand small { display: none; }
  .brand { font-size: 1.05rem; }
  .hero-trust div { min-width: 100%; }
  .hero-trust { gap: .8rem; }
  .floats { right: 12px; bottom: 12px; gap: .55rem; }
  .float-btn { width: 50px; height: 50px; }
  .float-btn .ico { width: 23px; height: 23px; }
  .float-btn::after { display: none; }       /* tooltips are useless on touch */
  .chatbot { bottom: 74px; right: 10px; left: 10px; width: auto; max-height: 72vh; }
  .wa-toast { left: 10px; right: 10px; translate: 0 0; width: auto; bottom: 74px; }
  .loader-word { font-size: 1rem; letter-spacing: .12em; }
  .loader-caps { display: none; }
  .ribbon { display: none; }
}

/* ------------------------------------- very short screens (landscape phone) */
@media (max-height: 560px) and (min-width: 700px) {
  .hero { padding-top: calc(var(--nav-h) + 14px); padding-bottom: 28px; }
  .orbit { max-width: 34vh; }
  .hero-trust { display: none; }
}

/* ------------------------------------------------ touch device niceties */
@media (hover: none) {
  .card:hover, .ind-card:hover { transform: none; }
  .mega { display: none; }
}

/* =========================================================================
   HERO CAPABILITY ORBIT — give it real presence on desktop
   ========================================================================= */
.orbit { max-width: min(560px, 60vh); }

@media (min-width: 1200px) {
  .orbit-node { width: 92px; height: 92px; margin: -46px; border-radius: 24px; gap: 4px; }
  .orbit-node .ico { width: 25px; height: 25px; }
  .orbit-node b { font-size: .66rem; }
  .orbit-core strong { font-size: 1.18rem; }
  .orbit-core span { font-size: .7rem; }
}

@media (min-width: 1500px) {
  .orbit { max-width: min(620px, 64vh); }
}

@media (max-width: 1199px) and (min-width: 1081px) {
  .orbit-node { width: 84px; height: 84px; margin: -42px; }
}

@media (max-width: 1080px) {
  .orbit { max-width: min(480px, 52vh); }
}

@media (max-width: 640px) {
  .orbit { max-width: min(330px, 38vh); }
}

/* =========================================================================
   REVEAL SAFETY NET
   Scroll-reveals start at opacity 0 and are switched on by JavaScript.
   If JS is blocked, fails, or an error stops the observer, this animation
   forces the content visible after 2.5s — the page can never render blank.
   ========================================================================= */
[data-reveal] { animation: revealFailsafe 0s linear 2.5s forwards; }
@keyframes revealFailsafe { to { opacity: 1; transform: none; } }
[data-reveal].is-in { animation: none; }

.rv { animation: revealFailsafe 0s linear 2.5s forwards; }
.rv.in { animation: none; }

/* =========================================================================
   REVEAL DIRECTION ON NARROW SCREENS
   The left/right reveals animate in from a 30px horizontal offset. Once the
   layout stacks to a single column there is no side margin to absorb that, so
   mid-transition the element sits past the viewport edge and widens the page.
   overflow-x:clip hides it, but Safari < 16 ignores clip and shows a real
   horizontal scrollbar. Below 1080px the reveal rises instead of sliding in.
   ========================================================================= */
@media (max-width: 1080px) {
  [data-reveal][data-dir="left"],
  [data-reveal][data-dir="right"] { transform: translateY(26px); }
  [data-reveal][data-dir="left"].is-in,
  [data-reveal][data-dir="right"].is-in { transform: none; }
}

/* =========================================================================
   ABOVE-THE-FOLD ENTRANCE
   Hero content must never sit at opacity:0 waiting for JavaScript — that
   delays Largest Contentful Paint, which Google measures as a ranking signal.
   These elements animate from CSS the moment the stylesheet applies, so the
   text is paintable immediately and still arrives with a stagger.
   ========================================================================= */
.hero-in {
  /* No opacity:0 start — an element at zero opacity is ignored for LCP, which
     is exactly the trap this block exists to avoid. The entrance is a pure
     transform, so the text is paintable on the very first frame. */
  animation: heroIn .7s var(--ease) both;
}
.hero-in--1 { animation-delay: .04s; }
.hero-in--2 { animation-delay: .12s; }
.hero-in--3 { animation-delay: .20s; }
.hero-in--4 { animation-delay: .28s; }
.hero-in--5 { animation-delay: .36s; }

@keyframes heroIn {
  from { transform: translateY(16px); }
  to   { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-in { opacity: 1 !important; animation: none !important; transform: none !important; }
}

/* =========================================================================
   HERO BACKGROUND STABILITY
   The decorative grid was sized relative to the hero, so when the webfont
   swapped in and the headline reflowed, the grid resized with it and
   registered as a layout shift. Pinning it to viewport units makes its size
   independent of the text, so the font swap costs nothing in CLS.
   ========================================================================= */
.hero-grid {
  /* Percentage insets resolve against the hero's height, so the grid still
     moved when the headline reflowed. Viewport units make both the position
     and the size independent of the text. */
  inset: -20vh -10% auto;
  height: 160vh;
  contain: strict;
}
