/* ============================================================================
   VIRTUAL ZONE TECHNOLOGIES
   ----------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Buttons & shared bits
   5.  Navigation + mobile menu
   6.  Hero
   7.  Statement
   8.  Services
   9.  Process
   10. Technology orbit
   11. Product showcase
   12. Featured product
   13. Why / principles
   14. Contact & form
   15. Footer
   16. Responsive
   17. Reduced motion
   18. Sub-pages (products, contact, policies)
   19. WhatsApp button
   ========================================================================== */

/* ---------------------------------------------------------------- 1. TOKENS */
:root {
  /* surfaces */
  --black:      #060607;
  --ink:        #0A0A0A;
  --ink-2:      #111214;
  --ink-3:      #17181C;
  --paper:      #F5F5F7;
  --white:      #FFFFFF;

  /* accent: used sparingly */
  --accent:     #0071E3;
  --accent-2:   #5E5CE6;

  /* text on light */
  --t-strong:   #0A0A0A;
  --t-body:     #3D3D44;
  --t-soft:     #6E6E77;

  /* text on dark */
  --d-strong:   #F5F5F7;
  --d-body:     rgba(245,245,247,.70);
  --d-soft:     rgba(245,245,247,.45);

  /* lines */
  --line-l:     rgba(10,10,10,.10);
  --line-l-2:   rgba(10,10,10,.06);
  --line-d:     rgba(255,255,255,.10);
  --line-d-2:   rgba(255,255,255,.06);

  /* metrics */
  --nav-h:      68px;
  --wrap:       1240px;
  --gut:        clamp(20px, 5vw, 56px);
  --sect:       clamp(84px, 11vw, 168px);
  --r-sm:       12px;
  --r-md:       18px;
  --r-lg:       28px;

  /* motion */
  --ease:       cubic-bezier(.22, 1, .36, 1);
  --ease-io:    cubic-bezier(.65, 0, .35, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ------------------------------------------------------------ 2. RESET/BASE */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--t-body);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.06; color: var(--t-strong); }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 12px 18px; border-radius: 10px;
  background: var(--white); color: var(--t-strong);
  font-size: 15px; font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ------------------------------------------------------- 3. LAYOUT PRIMITIVES */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

section { position: relative; scroll-margin-top: calc(var(--nav-h) + 8px); }

.section--dark   { background: var(--ink);   color: var(--d-body); }
.section--black  { background: var(--black); color: var(--d-body); }
.section--light  { background: var(--white); color: var(--t-body); }
.section--paper  { background: var(--paper); color: var(--t-body); }

.section--dark h1, .section--dark h2, .section--dark h3,
.section--black h1, .section--black h2, .section--black h3 { color: var(--d-strong); }

/* generic section padding */
.statement, .services, .process, .tech, .products, .feature, .why, .contact { padding-block: var(--sect); }

/* process → tech → products run on one continuous dark field, so their
   stacked padding would read as dead space rather than breathing room */
.process { padding-bottom: clamp(44px, 5.5vw, 92px); }
.tech    { padding-block: clamp(56px, 7vw, 112px) clamp(40px, 5vw, 84px); }

/* eyebrow */
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--d-soft); margin-bottom: 22px;
}
.eyebrow--dark { color: var(--t-soft); }

/* section heads */
.sec-title { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.035em; }
.sec-lead  { font-size: clamp(1.02rem, 1.35vw, 1.22rem); line-height: 1.55; max-width: 46ch; color: inherit; }
.sec-head  { margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .sec-lead { margin-top: 24px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-lead { margin-inline: auto; }
.sec-head--split {
  display: flex; flex-wrap: wrap; gap: 32px 48px;
  align-items: flex-end; justify-content: space-between;
}
.sec-head--split .sec-head__aside { max-width: 460px; }
.sec-head--split .sec-lead { margin-top: 0; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.32rem); line-height: 1.5; }

/* --------------------------------------------------- 4. BUTTONS & SHARED BITS */
.btn {
  /* buttons must clear the UA's default buttonface background */
  background: transparent;
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 24px; border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.btn--solid {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.16), 0 8px 26px -12px rgba(0,113,227,.85);
}
.btn--solid:hover { background: #0a84ff; transform: translateY(-1px); }
.btn--solid:active { transform: translateY(0); }

.btn--ghost { border-color: rgba(255,255,255,.22); color: var(--d-strong); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.section--light .btn--ghost, .section--paper .btn--ghost { border-color: var(--line-l); color: var(--t-strong); }
.section--light .btn--ghost:hover, .section--paper .btn--ghost:hover { border-color: rgba(10,10,10,.3); background: rgba(10,10,10,.04); }

.arw { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arw, a:hover > .arw { transform: translateX(4px); }
.btn:hover .arw--down, a:hover > .arw--down { transform: translateY(3px); }

/* scroll reveal */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* word-by-word headline reveal (built by script.js) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.w > i {
  display: inline-block; font-style: inherit;
  transform: translateY(105%);
  transition: transform .95s var(--ease);
  transition-delay: var(--wd, 0ms);
}
.is-in .w > i, .w.is-in > i { transform: none; }

/* --------------------------------------------------------------- 5. NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--d-strong);
}
.nav__inner {
  height: 100%; width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gut);
  display: flex; align-items: center; gap: 24px;
}

/* scrolled state: light translucent bar */
.nav[data-state="scrolled"] {
  background: rgba(250,250,252,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line-l-2);
  color: var(--t-strong);
  box-shadow: 0 1px 24px -14px rgba(0,0,0,.4);
}
.nav[data-state="scrolled"] .nav__links a { color: var(--t-body); }
.nav[data-state="scrolled"] .nav__links a:hover { color: var(--t-strong); }
.nav[data-state="scrolled"] .brand__l2 { color: var(--t-soft); }
.nav[data-state="scrolled"] .nav__bars i { background: var(--t-strong); }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark { display: block; width: 32px; height: 32px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__mark--lg { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__l1 { font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.brand__l2 { font-size: 10.5px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; color: var(--d-soft); transition: color .4s var(--ease); }

.nav__links { display: flex; gap: 34px; }
.nav__links a {
  position: relative; font-size: 14.5px; font-weight: 450; color: var(--d-body);
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--d-strong); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  background: none; border: 0; cursor: pointer; border-radius: 10px;
}
.nav__bars { display: block; width: 20px; margin-inline: auto; }
.nav__bars i {
  display: block; height: 1.6px; width: 20px; background: var(--d-strong); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease), background-color .4s var(--ease);
}
.nav__bars i + i { margin-top: 5.5px; }
.nav__toggle[aria-expanded="true"] .nav__bars i:first-child { transform: translateY(3.6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars i:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(8,8,9,.94);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  padding: calc(var(--nav-h) + 28px) var(--gut) 40px;
  opacity: 0; transition: opacity .4s var(--ease);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__inner { display: flex; flex-direction: column; max-width: 560px; margin-inline: auto; }
.menu__inner > a:not(.menu__cta) {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 22px 2px; border-bottom: 1px solid var(--line-d);
  font-size: clamp(1.7rem, 8vw, 2.3rem); font-weight: 600; letter-spacing: -.035em;
  color: var(--d-strong);
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s var(--ease);
}
.menu__inner > a i { font-size: 12px; font-weight: 500; font-style: normal; letter-spacing: .12em; color: var(--d-soft); }
.menu.is-open .menu__inner > a:not(.menu__cta) { opacity: 1; transform: none; }
.menu.is-open .menu__inner > a:nth-child(1) { transition-delay: .06s; }
.menu.is-open .menu__inner > a:nth-child(2) { transition-delay: .12s; }
.menu.is-open .menu__inner > a:nth-child(3) { transition-delay: .18s; }
.menu.is-open .menu__inner > a:nth-child(4) { transition-delay: .24s; }
.menu__cta { align-self: flex-start; margin-top: 34px; }
.menu__meta { margin-top: 28px; font-size: 14px; color: var(--d-soft); }
.menu__meta a { color: var(--d-body); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- 6. HERO */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 940px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + clamp(56px, 10vh, 120px)) 0 clamp(32px, 6vh, 56px);
  overflow: hidden;
  background: var(--ink);
}

.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.hero__grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(120% 78% at 50% 34%, #000 8%, transparent 72%);
  mask-image: radial-gradient(120% 78% at 50% 34%, #000 8%, transparent 72%);
}

.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb--a {
  width: 56vw; height: 56vw; max-width: 760px; max-height: 760px;
  top: -18%; left: -12%;
  background: radial-gradient(circle at 40% 40%, rgba(0,113,227,.55), transparent 66%);
  animation: drift-a 26s var(--ease-io) infinite alternate;
}
.orb--b {
  width: 48vw; height: 48vw; max-width: 660px; max-height: 660px;
  right: -14%; bottom: -22%;
  background: radial-gradient(circle at 55% 45%, rgba(94,92,230,.5), transparent 66%);
  animation: drift-b 32s var(--ease-io) infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(9%, 8%, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-8%, -7%, 0) scale(1.1); } }

.constellation {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55;
  /* fade out behind the headline so type stays the loudest thing on screen */
  -webkit-mask-image: radial-gradient(ellipse 44% 38% at 50% 46%, transparent 35%, #000 100%);
  mask-image: radial-gradient(ellipse 44% 38% at 50% 46%, transparent 35%, #000 100%);
}
/* the whole field drifts as one piece, so nodes never detach from their lines */
.cn-field { animation: cn-drift 50s ease-in-out infinite alternate; }
@keyframes cn-drift { to { transform: translate(-20px, 13px); } }

/* hairlines that slowly brighten and fade */
/* animate `opacity`, not `stroke-opacity`: opacity is composited, while
   stroke/fill-opacity repaint the whole masked SVG on every frame */
.cn-lines path {
  fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1;
  animation: line-breathe 11s ease-in-out infinite;
  animation-delay: var(--ld, 0s);
}
@keyframes line-breathe {
  0%, 100% { opacity: .3; }
  50%      { opacity: 1;  }
}

/* a short pulse of light running the length of each connection.
   dash 70 + gap 1600 is longer than any path here, so only one
   spark is ever in flight and each run is followed by a rest. */
.cn-spark path {
  fill: none; stroke-linecap: round;
  stroke-dasharray: 70 1600;
  stroke-dashoffset: 0;
  animation: spark var(--sdur, 12s) linear infinite;
  animation-delay: var(--sd, 0s);
}
.cn-spark__halo path { stroke: rgba(0,113,227,.28); stroke-width: 6; }
.cn-spark__core path { stroke: #7FB8FF;             stroke-width: 1.6; }
@keyframes spark { to { stroke-dashoffset: -1670; } }

.cn-nodes circle {
  fill: #fff;
  animation: node-pulse 7s ease-in-out infinite;
  animation-delay: var(--t, 0s);
}
@keyframes node-pulse {
  0%, 100% { opacity: .14; }
  50%      { opacity: .85; }
}

/* floating interface fragments */
.frag {
  position: absolute; width: 190px; padding: 16px;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.9);
}
.frag--1 { left: 4%;  top: 26%; animation: float-a 13s ease-in-out infinite; }
.frag--2 { right: 5%; bottom: 20%; width: 168px; animation: float-b 16s ease-in-out infinite; }
.frag__row { height: 7px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.frag__row + .frag__row { margin-top: 10px; }
.frag__row i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, rgba(0,113,227,.85), rgba(94,92,230,.55)); }
.frag__dot { width: 22px; height: 22px; border-radius: 8px; margin-bottom: 14px; background: linear-gradient(140deg, var(--accent), var(--accent-2)); }
@keyframes float-a { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
@keyframes float-b { 0%,100% { transform: translateY(0) } 50% { transform: translateY(14px) } }

.hero__content { position: relative; text-align: center; }
.hero__content .eyebrow { color: rgba(245,245,247,.52); }

.hero__title {
  font-size: clamp(2.6rem, 7.1vw, 6.1rem);
  letter-spacing: -.045em;
  line-height: 1.02;
  color: var(--d-strong);
  margin-bottom: clamp(22px, 3vw, 32px);
}
.hero__sub {
  max-width: 40ch; margin-inline: auto;
  color: var(--d-body);
}
.hero__cta {
  margin-top: clamp(34px, 4.5vw, 48px);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}

.hero__foot {
  position: relative;
  margin-top: clamp(56px, 9vh, 104px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 18px;
  font-size: 13px; letter-spacing: .01em; color: rgba(245,245,247,.42);
}
.hero__foot em { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

/* ------------------------------------------------------------ 7. STATEMENT */
.statement { border-top: 1px solid transparent; }
.statement__type {
  font-size: clamp(2.1rem, 5.4vw, 4.6rem);
  letter-spacing: -.04em; line-height: 1.08;
  max-width: 19ch;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.statement__body {
  display: grid; gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px; margin-left: auto;
  font-size: clamp(1rem, 1.25vw, 1.14rem); line-height: 1.62; color: var(--t-body);
}

/* ------------------------------------------------------------- 8. SERVICES */
.svc { border-top: 1px solid var(--line-l); }
.svc__item { border-bottom: 1px solid var(--line-l); position: relative; }
.svc__item::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: linear-gradient(100deg, rgba(0,113,227,.055), rgba(94,92,230,.03) 46%, transparent 78%);
  transition: opacity .55s var(--ease);
  pointer-events: none;
}
.svc__item.is-open::before { opacity: 1; }

.svc__item h3 { margin: 0; }
.svc__head {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: clamp(18px, 3vw, 44px);
  width: 100%; padding: clamp(26px, 3.2vw, 40px) 4px;
  background: none; border: 0; text-align: left; cursor: pointer;
  color: var(--t-strong);
}
.svc__num {
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em;
  color: var(--t-soft); flex: none; padding-top: .55em;
  transition: color .4s var(--ease), transform .5s var(--ease);
}
.svc__name {
  flex: 1;
  font-size: clamp(1.55rem, 3.5vw, 2.9rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1;
  transition: transform .5s var(--ease);
}
.svc__icon {
  flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-l);
  transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .5s var(--ease);
}
.svc__icon::before, .svc__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 1.6px;
  background: var(--t-strong); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .45s var(--ease), background-color .4s var(--ease);
}
.svc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.svc__head:hover .svc__num { color: var(--accent); transform: translateX(3px); }
.svc__head:hover .svc__name { transform: translateX(6px); }
.svc__head:hover .svc__icon { border-color: rgba(10,10,10,.3); }

.svc__item.is-open .svc__icon { background: var(--t-strong); border-color: var(--t-strong); transform: rotate(180deg); }
.svc__item.is-open .svc__icon::before,
.svc__item.is-open .svc__icon::after { background: var(--white); }
.svc__item.is-open .svc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc__item.is-open .svc__num { color: var(--accent); }

.svc__panel {
  position: relative; z-index: 1;
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--ease);
}
.svc__item.is-open .svc__panel { grid-template-rows: 1fr; }
/* collapsed panels are marked inert from script.js: that keeps them out of
   the a11y tree and tab order without affecting the collapse animation */
.svc__panel-in { overflow: hidden; }
.svc__panel-in > * {
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.svc__item.is-open .svc__panel-in > * { opacity: 1; transform: none; transition-delay: .12s; }

.svc__desc {
  max-width: 62ch; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.55;
  color: var(--t-body);
  padding-left: clamp(0px, 5.6vw, 74px);
}
.svc__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 26px 0 clamp(30px, 3.4vw, 44px) clamp(0px, 5.6vw, 74px);
}
.svc__tags li {
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line-l);
  background: rgba(255,255,255,.6);
  font-size: 13.5px; color: var(--t-body);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.svc__tags li:hover { border-color: rgba(0,113,227,.4); color: var(--t-strong); }

/* -------------------------------------------------------------- 9. PROCESS */
.steps {
  display: grid; gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px;
  background: var(--line-d);
}
.step { position: relative; padding-top: 62px; }
.step::before {
  content: ""; position: absolute; top: 21px; left: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--ink); border: 1px solid rgba(255,255,255,.28);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.step.is-in::before {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(0,113,227,.16);
}
.step__num {
  display: block; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em;
  color: var(--d-soft); margin-bottom: 14px;
}
.step__title { font-size: clamp(1.25rem, 1.9vw, 1.6rem); margin-bottom: 12px; }
.step__text { font-size: 15.5px; line-height: 1.58; color: var(--d-body); max-width: 30ch; }

/* ------------------------------------------------------- 10. TECHNOLOGY ORBIT */
.tech { overflow: hidden; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 58%, var(--black) 100%); }
.tech__wrap {
  display: grid; gap: clamp(48px, 6vw, 80px);
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  align-items: center;
}
.tech__copy .sec-lead { margin-top: 26px; color: var(--d-body); }

.orbit { display: flex; justify-content: center; }
.orbit__stage {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1 / 1;
}

.orbit__ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%; border: 1px solid var(--line-d-2);
  transform: translate(-50%, -50%);
}
.orbit__ring--1 { width: 56%; height: 56%; border-color: rgba(255,255,255,.09); }
.orbit__ring--2 { width: 76%; height: 76%; }
.orbit__ring--3 { width: 92%; height: 92%; }

.orbit__core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(0,113,227,.42), rgba(94,92,230,.16) 62%, transparent 76%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 70px -12px rgba(0,113,227,.55), inset 0 0 30px -12px rgba(255,255,255,.35);
  animation: core-breathe 6s ease-in-out infinite;
}
@keyframes core-breathe {
  0%, 100% { box-shadow: 0 0 60px -16px rgba(0,113,227,.45), inset 0 0 30px -12px rgba(255,255,255,.3); }
  50%      { box-shadow: 0 0 92px -8px  rgba(0,113,227,.75), inset 0 0 30px -10px rgba(255,255,255,.45); }
}
.orbit__core span {
  font-size: 17px; font-weight: 600; letter-spacing: .12em; color: var(--d-strong);
}

.orbit__set {
  position: absolute; inset: 0;
  animation: spin var(--dur, 70s) linear infinite;
}
.orbit__set--1 { --dur: 34s; }
.orbit__set--2 { --dur: 46s; animation-direction: reverse; }
.orbit__set--3 { --dur: 58s; }

.orbit__chip { position: absolute; left: var(--x); top: var(--y); }
.orbit__chip > span {
  display: block; transform: translate(-50%, -50%);
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-d);
  background: rgba(20,21,24,.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 500; color: var(--d-body);
  /* 1st animation keeps the label upright while its ring turns,
     2nd is the automatic blink: staggered per chip by --bd */
  animation: spin-rev var(--dur, 70s) linear infinite,
             chip-blink 8s ease-in-out infinite;
  animation-delay: 0s, var(--bd, 0s);
  transition: border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.orbit__set--2 .orbit__chip > span { animation-direction: reverse, normal; }

/* one chip lights up roughly every 0.67s, sweeping around the rings */
@keyframes chip-blink {
  0%, 68%, 100% {
    border-color: var(--line-d);
    background: rgba(20,21,24,.72);
    color: var(--d-body);
    box-shadow: 0 0 0 0 rgba(0,113,227,0);
  }
  80% {
    border-color: rgba(0,113,227,.85);
    background: rgba(0,113,227,.18);
    color: #fff;
    box-shadow: 0 0 26px -4px rgba(0,113,227,.7);
  }
}
.orbit__chip:hover > span {
  border-color: rgba(0,113,227,.6); color: var(--d-strong);
  box-shadow: 0 0 24px -6px rgba(0,113,227,.6);
}
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes spin-rev  { to { transform: translate(-50%, -50%) rotate(-360deg); } }

/* ------------------------------------------------------ 11. PRODUCT SHOWCASE */
.products { overflow: hidden; }
.products .sec-lead { color: var(--d-body); }

.rail__nav { display: flex; gap: 10px; margin-top: 26px; }
.rail__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-d); background: transparent; color: var(--d-strong);
  font-size: 16px; line-height: 1; cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}
.rail__btn:hover:not(:disabled) { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); }
.rail__btn:disabled { opacity: .3; cursor: default; }

.rail {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 8px 4px;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }

.rail__track {
  display: flex; gap: clamp(16px, 1.8vw, 26px);
  padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  width: max-content;
}

.pcard {
  position: relative; overflow: hidden;
  flex: none; width: clamp(280px, 30vw, 372px);
  height: clamp(468px, 56vw, 560px);
  scroll-snap-align: center;
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-d);
  background: linear-gradient(168deg, rgba(255,255,255,.075), rgba(255,255,255,.014) 46%, rgba(255,255,255,0) 74%), var(--ink-2);
  transition: border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pcard::after {
  content: ""; position: absolute; left: 50%; bottom: -46%; z-index: 0;
  width: 116%; height: 62%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,113,227,.30), transparent 66%);
  opacity: 0; transition: opacity .6s var(--ease);
  pointer-events: none;
}
.pcard:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); box-shadow: 0 40px 80px -50px rgba(0,0,0,.9); }
.pcard:hover::after { opacity: 1; }

.pcard::before {
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 68px;
  background: linear-gradient(to top, var(--ink-2) 12%, rgba(17,18,20,0));
  pointer-events: none;
}
.pcard__head { display: flex; align-items: center; gap: 14px; position: relative; z-index: 3; }
.pcard__icon {
  width: 56px; height: 56px; flex: none; border-radius: 14px;
  border: 1px solid var(--line-d-2);
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.9);
}
.pcard__name { font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--d-strong); }
.pcard__cat {
  margin-top: 5px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--d-soft);
}
.pcard__desc {
  position: relative; z-index: 3;
  margin-top: 18px; font-size: 14.8px; line-height: 1.55; color: var(--d-body);
}
.pcard__link {
  position: relative; z-index: 4;
  display: inline-flex; align-items: center; gap: .45em;
  margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--d-strong);
  border-bottom: 1px solid rgba(255,255,255,.24); padding-bottom: 3px;
  transition: border-color .3s var(--ease);
}
.pcard__link:hover { border-color: var(--accent); }

.pcard__shot {
  position: absolute; z-index: 1; left: 50%; bottom: -14px;
  width: 56%; height: 50%; transform: translateX(-50%);
  border-radius: 22px 22px 0 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); border-bottom: 0;
  box-shadow: 0 -8px 50px -18px rgba(0,0,0,.95);
  transition: transform .6s var(--ease);
}
.pcard:hover .pcard__shot { transform: translateX(-50%) translateY(-12px); }
.pcard__shot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }

.rail__hint { margin-top: 26px; font-size: 13px; color: var(--d-soft); }

/* ----------------------------------------------------- 12. FEATURED PRODUCT */
.feature { overflow: hidden; }
.feature__wrap {
  display: grid; gap: clamp(48px, 6vw, 76px);
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: center;
}
.feature__title { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.04em; }
.feature__sub {
  margin-top: 16px; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.4;
  letter-spacing: -.02em; color: var(--t-strong); font-weight: 500;
}
.feature__text { margin-top: 20px; max-width: 48ch; line-height: 1.62; }
.feature__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px; margin: 32px 0 36px;
}
.feature__list li {
  position: relative; padding-left: 24px;
  font-size: 15px; color: var(--t-body);
}
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.feature__stage {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: clamp(420px, 52vw, 620px);
}

.phone {
  border-radius: 40px; padding: 9px;
  background: linear-gradient(160deg, #2a2c31, #0d0d10 42%, #33353b);
  box-shadow: 0 44px 90px -40px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.18);
}
.phone__screen {
  position: relative; overflow: hidden; border-radius: 32px; background: #000;
  aspect-ratio: 9 / 17.4;
}
.phone__screen::before { /* speaker island */
  content: ""; position: absolute; z-index: 2; top: 10px; left: 50%;
  width: 30%; height: 15px; border-radius: 999px;
  background: #000; transform: translateX(-50%);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.phone--main {
  position: relative; z-index: 3;
  width: clamp(212px, 23vw, 272px);
  animation: float-main 9s ease-in-out infinite;
}
.phone--side {
  position: absolute; z-index: 1; top: 50%;
  width: clamp(170px, 18vw, 216px);
  opacity: .92;
}
.phone--left  { left: 0;  transform: translateY(-46%) rotate(-7deg); animation: float-l 11s ease-in-out infinite; }
.phone--right { right: 0; transform: translateY(-52%) rotate(7deg);  animation: float-r 12s ease-in-out infinite; }
@keyframes float-main { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes float-l { 0%,100% { transform: translateY(-46%) rotate(-7deg) } 50% { transform: translateY(-52%) rotate(-7deg) } }
@keyframes float-r { 0%,100% { transform: translateY(-52%) rotate(7deg) }  50% { transform: translateY(-45%) rotate(7deg) } }

/* ------------------------------------------------------------ 13. WHY */
.why__title {
  font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -.04em; line-height: 1.08;
  max-width: 17ch;
}
.why__lead {
  margin: clamp(30px, 3.6vw, 46px) 0 clamp(56px, 6.5vw, 92px);
  max-width: 58ch; margin-left: auto;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.6;
}
.prin {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line-l); padding-top: clamp(36px, 4vw, 52px);
}
.prin__item { position: relative; }
.prin__idx {
  display: block; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em;
  color: var(--accent); margin-bottom: 18px;
}
.prin__item h3 { font-size: clamp(1.08rem, 1.5vw, 1.35rem); letter-spacing: -.025em; margin-bottom: 12px; }
.prin__item p { font-size: 15px; line-height: 1.6; color: var(--t-soft); }

/* ---------------------------------------------------------- 14. CONTACT/FORM */
.contact { background: linear-gradient(180deg, var(--black) 0%, var(--ink) 40%); }
.contact__wrap {
  display: grid; gap: clamp(48px, 5vw, 72px);
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  align-items: start;
}
.contact__intro { position: sticky; top: calc(var(--nav-h) + 44px); }
.contact__intro .sec-lead { margin-top: 24px; color: var(--d-body); }

.contact__meta { margin-top: clamp(36px, 4vw, 52px); display: grid; gap: 20px; }
.contact__meta li { display: grid; gap: 5px; }
.contact__meta span {
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--d-soft);
}
.contact__meta a, .contact__meta address { font-size: 15.5px; color: var(--d-strong); }
.contact__meta a { transition: color .3s var(--ease); }
.contact__meta a:hover { color: var(--accent); }

.contact__panel {
  position: relative;
  padding: clamp(26px, 3.4vw, 46px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-d);
  background: linear-gradient(168deg, rgba(255,255,255,.055), rgba(255,255,255,.012) 60%), var(--ink-2);
  box-shadow: 0 50px 100px -60px rgba(0,0,0,1);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 9px; margin-bottom: 20px; border: 0; padding: 0; min-width: 0; }
.form__grid .field { margin-bottom: 0; }
.field--full { margin-bottom: 20px; }

.field label, .field legend {
  font-size: 13.5px; font-weight: 500; letter-spacing: -.005em; color: var(--d-body); padding: 0;
}
.req { color: var(--accent); }

.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-d);
  background: rgba(255,255,255,.035);
  color: var(--d-strong); font-size: 15.5px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245,245,247,.32); }

.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(255,255,255,.2); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(0,113,227,.75);
  background: rgba(255,255,255,.055);
  box-shadow: 0 0 0 4px rgba(0,113,227,.16);
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; }

.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 17px; top: 50%; pointer-events: none;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.6px solid var(--d-soft); border-bottom: 1.6px solid var(--d-soft);
  transform: rotate(45deg);
}
.field select { padding-right: 42px; cursor: pointer; }
.field select option { background: var(--ink-2); color: var(--d-strong); }

/* service chips */
.choices { display: flex; flex-wrap: wrap; gap: 9px; }
.choice { position: relative; }
.choice input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.choice span {
  display: block; padding: 10px 17px; border-radius: 999px;
  border: 1px solid var(--line-d); background: rgba(255,255,255,.03);
  font-size: 14px; color: var(--d-body);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.choice:hover span { border-color: rgba(255,255,255,.26); color: var(--d-strong); }
.choice input:checked + span {
  border-color: var(--accent); background: rgba(0,113,227,.16); color: #fff;
}
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* validation */
.field__err { font-size: 13px; color: #FF6B6B; min-height: 0; }
.field__err:empty { display: none; }
.field [aria-invalid="true"] { border-color: rgba(255,107,107,.7); }
.field--invalid legend { color: #FF6B6B; }

.form__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px;
  margin-top: 30px;
}
.form__note { font-size: 13.5px; color: var(--d-soft); max-width: 30ch; }

.btn--submit { position: relative; min-width: 168px; justify-content: center; }
.btn__spinner {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  opacity: 0; animation: spin .75s linear infinite;
}
.btn--submit[data-loading="true"] { pointer-events: none; }
.btn--submit[data-loading="true"] .btn__label { opacity: 0; }
.btn--submit[data-loading="true"] .btn__spinner { opacity: 1; }
.btn--submit .btn__label { transition: opacity .25s var(--ease); }

.form__error {
  margin-top: 20px; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,107,107,.35); background: rgba(255,107,107,.08);
  font-size: 14.5px; color: #FFB3B3;
}
.form__error a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* success */
.sent { text-align: center; padding: clamp(20px, 4vw, 44px) 0; }
/* focused programmatically so screen readers announce it: no visible ring needed */
.sent:focus, .sent:focus-visible { outline: none; }
.sent__check { width: 76px; height: 76px; margin: 0 auto 26px; color: var(--accent); }
.sent__ring, .sent__tick {
  stroke-dasharray: var(--len, 200); stroke-dashoffset: var(--len, 200);
  animation: draw .8s var(--ease) forwards;
}
.sent__ring { --len: 183; }
.sent__tick { --len: 52; animation-delay: .38s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.sent__title { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.035em; margin-bottom: 14px; }
.sent__text { max-width: 42ch; margin: 0 auto 30px; color: var(--d-body); line-height: 1.6; }

/* ---------------------------------------------------------------- 15. FOOTER */
.foot { padding-block: clamp(56px, 7vw, 92px) 34px; border-top: 1px solid var(--line-d-2); }
/* brand sits above the links: four columns next to it leave no room for the
   email address and the office address */
.foot__top {
  display: grid; gap: clamp(40px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: clamp(44px, 5vw, 68px);
}
.foot__brand { color: var(--d-strong); }
.foot__name { margin-top: 20px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.foot__tag { margin-top: 8px; font-size: 14.5px; color: var(--d-soft); max-width: 28ch; }

.foot__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot__h {
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--d-soft); margin-bottom: 18px;
}
.foot__nav ul { display: grid; gap: 11px; }
.foot__nav > div { min-width: 0; }
.foot__nav a, .foot__nav address {
  font-size: 14.5px; color: var(--d-body);
  /* long contact strings wrap instead of widening the page */
  overflow-wrap: anywhere;
}
.foot__nav a { transition: color .3s var(--ease); }
.foot__nav a:hover { color: var(--d-strong); }
.foot__nav a[aria-disabled="true"] { opacity: .48; cursor: default; }

/* registration badges */
.cred {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding-top: clamp(28px, 3.4vw, 40px);
  border-top: 1px solid var(--line-d-2);
}
.cred__item {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 20px 12px 16px;
  border: 1px solid var(--line-d);
  border-radius: 14px;
  background: rgba(255,255,255,.028);
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.cred__item:hover { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.05); }

.cred__mark { flex: none; width: 26px; height: 26px; color: var(--d-soft); transition: color .35s var(--ease); }
.cred__mark svg { width: 100%; height: 100%; }
.cred__item:hover .cred__mark { color: var(--accent); }

.cred__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.2; }
.cred__label {
  font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--d-soft);
}
.cred__value { font-size: 14.5px; font-weight: 500; color: var(--d-strong); letter-spacing: -.01em; }
.cred__value sup { font-size: .62em; vertical-align: super; line-height: 0; margin-left: .5px; }

.foot__bar {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  padding-top: 30px; margin-top: clamp(28px, 3.4vw, 40px);
  border-top: 1px solid var(--line-d-2);
  font-size: 13px; color: var(--d-soft);
}

/* ------------------------------------------------------------ 16. RESPONSIVE */

@media (max-width: 1180px) {
  .frag--1 { left: 1.5%; }
  .frag--2 { right: 2%; }
}

@media (max-width: 1024px) {
  .tech__wrap,
  .feature__wrap,
  .contact__wrap { grid-template-columns: minmax(0, 1fr); }

  .tech__copy .sec-lead { max-width: 60ch; }
  .contact__intro { position: static; }
  .feature__stage { order: 2; }
  .orbit__stage { width: min(480px, 100%); }
}

@media (max-width: 950px) {
  /* three footer columns stop fitting the contact address around here */
  .foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 62px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .frag { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .steps::before { display: none; }
  .step { padding-top: 54px; }
  .step::before { top: 14px; }
  .prin { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  .statement__body { max-width: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  /* let the headline find its own line breaks on narrow screens */
  .hero__title br { display: none; }

  .statement__body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .statement__type { max-width: none; }

  .svc__desc, .svc__tags { padding-left: 0; }
  .svc__head { gap: 16px; padding-block: 24px; }
  .svc__num { align-self: flex-start; padding-top: .35em; }

  /* orbit → static chip cloud */
  .orbit__stage {
    aspect-ratio: auto; width: 100%;
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start;
  }
  .orbit__ring { display: none; }
  .orbit__core {
    position: static; transform: none; width: auto; height: auto;
    border-radius: 999px; padding: 10px 20px; place-items: center;
    background: linear-gradient(120deg, rgba(0,113,227,.3), rgba(94,92,230,.16));
    box-shadow: none;
  }
  .orbit__core span { font-size: 13.5px; }
  .orbit__set { position: static; display: contents; animation: none; }
  .orbit__chip { position: static; transform: none; }
  .orbit__chip > span {
    transform: none;
    animation: chip-blink 8s ease-in-out infinite;
    animation-delay: var(--bd, 0s);
  }
  .orbit__set--2 .orbit__chip > span { animation-direction: normal; }

  .feature__wrap { gap: 44px; }
  .feature__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature__stage { min-height: 0; padding-block: 12px; }
  .phone--side { display: none; }
  .phone--main { width: min(258px, 62vw); }

  .contact__panel { padding: 24px 20px; }
  .foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}

@media (max-width: 620px) {
  /* process → vertical timeline */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 30px; }
  .steps::before {
    display: block; left: 5px; right: auto; top: 8px; bottom: 8px;
    width: 1px; height: auto;
  }
  .step { padding: 0 0 34px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: 4px; left: -30px; }
  .step__num { margin-bottom: 8px; }
  .step__text { max-width: none; }

  .prin { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .prin__idx { margin-bottom: 12px; }

  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn--submit { width: 100%; }
  .form__note { max-width: none; text-align: center; }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }

  .rail__track { padding-inline: var(--gut); }
  .pcard { width: min(300px, 78vw); height: 500px; }
}

@media (max-width: 480px) {
  :root { --gut: 20px; }
  .nav__actions .btn--sm { display: none; }
  .brand__l2 { letter-spacing: .14em; }
  .feature__list { grid-template-columns: minmax(0, 1fr); }
  .hero__foot { font-size: 12px; gap: 8px 12px; }
  .foot__nav { grid-template-columns: minmax(0, 1fr); }
  .foot__bar { flex-direction: column; }
  .cred { flex-direction: column; }
  .cred__item { width: 100%; }
  .sec-head--split { gap: 26px; }
  .rail__hint { display: none; }
}

/* touch devices: hover lifts are misleading */
@media (hover: none) {
  .pcard:hover { transform: none; }
  .pcard:hover .pcard__shot { transform: translateX(-50%); }
  .svc__head:hover .svc__name,
  .svc__head:hover .svc__num { transform: none; }
}

/* ------------------------------------------------------- 17. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .w > i { transform: none; }
  .orb { animation: none; }
  .orbit__set { animation: none !important; }

  /* Reduce Motion is about movement, not light. Colour and opacity pulses
     carry no vestibular risk, so the orbit still blinks, the core still
     breathes and the hero nodes still glimmer: nothing travels. */
  .orbit__chip > span {
    animation: chip-blink 8s ease-in-out infinite !important;
    animation-delay: var(--bd, 0s) !important;
    transform: translate(-50%, -50%);
  }
  .orbit__core {
    animation: core-breathe 6s ease-in-out infinite !important;
  }
  .constellation .cn-field { animation: none !important; }
  .constellation .cn-spark { display: none; }   /* light that travels: off */
  .constellation .cn-nodes circle {
    animation: node-pulse 7s ease-in-out infinite !important;
    animation-delay: var(--t, 0s) !important;
  }
  .constellation .cn-lines path {
    animation: line-breathe 11s ease-in-out infinite !important;
    animation-delay: var(--ld, 0s) !important;
  }
  .phone--main { animation: none; }
  .phone--left  { animation: none; transform: translateY(-46%) rotate(-7deg); }
  .phone--right { animation: none; transform: translateY(-52%) rotate(7deg); }
  .sent__ring, .sent__tick { stroke-dashoffset: 0; }
}

@media print {
  .nav, .menu, .hero__bg, .rail__nav, .rail__hint, .form__foot { display: none !important; }
  body { background: #fff; color: #000; }
  .section--dark, .section--black { background: #fff !important; color: #000 !important; }
  .section--dark h1, .section--dark h2, .section--dark h3,
  .section--black h1, .section--black h2, .section--black h3 { color: #000 !important; }
  .toc, .related { display: none !important; }
}

/* ------------------------------------------------------------ 18. SUB-PAGES
   products.html, contact.html and the four policy pages share one short dark
   header, then settle into light, readable content. */

/* current page in the primary nav */
.nav__links a[aria-current="page"] { color: var(--d-strong); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav[data-state="scrolled"] .nav__links a[aria-current="page"] { color: var(--t-strong); }

/* page header */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(64px, 10vw, 128px)) 0 clamp(56px, 7vw, 96px);
  background: var(--ink);
}
.page-hero .orb--a { opacity: .38; }
.page-hero__title {
  font-size: clamp(2.5rem, 6.4vw, 5.2rem);
  letter-spacing: -.045em; line-height: 1.02;
  max-width: 16ch;
}
.page-hero__lead {
  margin-top: clamp(20px, 2.6vw, 30px); max-width: 56ch;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.55;
  color: var(--d-body);
}
.page-hero__meta { margin-top: 26px; font-size: 13.5px; color: var(--d-soft); }

.jump { display: flex; flex-wrap: wrap; gap: 9px; margin-top: clamp(30px, 3.6vw, 42px); }
.jump a {
  padding: 10px 17px; border-radius: 999px;
  border: 1px solid var(--line-d); background: rgba(255,255,255,.03);
  font-size: 14px; color: var(--d-body);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.jump a:hover { border-color: rgba(255,255,255,.3); color: var(--d-strong); }

/* policy pages */
.legal { padding-block: clamp(64px, 8vw, 120px) var(--sect); }
.legal__wrap {
  display: grid; gap: clamp(40px, 6vw, 96px);
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  align-items: start;
}

.toc {
  position: sticky; top: calc(var(--nav-h) + 32px);
  max-height: calc(100vh - var(--nav-h) - 64px); overflow-y: auto;
}
.toc__h, .related__h {
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--t-soft); margin-bottom: 16px;
}
.toc ol { border-left: 1px solid var(--line-l); }
.toc li { break-inside: avoid; }
.toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 14px; line-height: 1.4; color: var(--t-soft);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.toc a:hover { color: var(--t-strong); border-left-color: var(--accent); }

.prose { max-width: 72ch; color: var(--t-body); }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  margin: clamp(44px, 5vw, 64px) 0 16px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -.025em; line-height: 1.2;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose h3 { margin: 28px 0 10px; font-size: 1.08rem; letter-spacing: -.015em; line-height: 1.3; }
.prose p { margin-bottom: 16px; line-height: 1.7; }
.prose ul { display: grid; gap: 10px; margin-bottom: 18px; }
.prose li { position: relative; padding-left: 22px; line-height: 1.65; }
.prose li::before {
  content: ""; position: absolute; left: 2px; top: .68em;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.prose a {
  color: var(--accent); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.prose strong { color: var(--t-strong); font-weight: 600; }
.prose address { margin-bottom: 16px; line-height: 1.7; }

.note {
  margin-bottom: clamp(36px, 4vw, 48px); padding: 20px 22px;
  border-radius: var(--r-md); border: 1px solid var(--line-l-2); background: var(--paper);
  font-size: 15.5px;
}
.note p:last-child { margin-bottom: 0; }

.related { max-width: 72ch; margin-top: clamp(56px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line-l); }
.related ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line-l);
  font-size: 15.5px; font-weight: 500; color: var(--t-strong);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.related a:hover { border-color: rgba(0,113,227,.4); background: var(--paper); }

/* contact page */
.office { padding-block: clamp(64px, 8vw, 120px); }
.office__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.ocard {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--r-lg); border: 1px solid var(--line-l-2); background: var(--white);
  box-shadow: 0 30px 60px -48px rgba(0,0,0,.35);
}
.ocard--wide { grid-column: 1 / -1; }
.ocard__label {
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--t-soft);
}
.ocard__value {
  margin-top: 14px;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.25;
  color: var(--t-strong); overflow-wrap: anywhere;
}
.ocard--wide .ocard__value { font-size: clamp(1.45rem, 3vw, 2.3rem); max-width: 26ch; }
.ocard__note { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--t-soft); }
.ocard__actions { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.ocard__links { margin-top: 14px; display: grid; gap: 8px; }
.ocard__links a { font-size: 15.5px; font-weight: 500; color: var(--t-strong); transition: color .3s var(--ease); }
.ocard__links a:hover { color: var(--accent); }

/* products & services page */
.catalog, .apps, .how { padding-block: var(--sect); }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.offer {
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.6vw, 34px);
  border-radius: var(--r-lg); border: 1px solid var(--line-l-2); background: var(--white);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.offer:hover { border-color: rgba(0,113,227,.28); box-shadow: 0 34px 70px -50px rgba(0,40,120,.5); transform: translateY(-3px); }
.offer__num { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; color: var(--accent); }
.offer__name { margin-top: 16px; font-size: clamp(1.22rem, 1.7vw, 1.45rem); letter-spacing: -.025em; line-height: 1.2; }
.offer__desc { margin-top: 12px; font-size: 15.5px; line-height: 1.6; }
.offer__list { display: grid; gap: 8px; margin: 20px 0 26px; }
.offer__list li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.5; }
.offer__list li::before {
  content: ""; position: absolute; left: 1px; top: .6em;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.offer__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line-l);
}
.offer__facts dt {
  font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--t-soft);
}
.offer__facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--t-strong); }
.offer__cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .45em;
  margin-top: 20px; font-size: 14.5px; font-weight: 500; color: var(--accent);
}

.apps .sec-lead { color: var(--d-body); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.app {
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-lg); border: 1px solid var(--line-d);
  background: linear-gradient(168deg, rgba(255,255,255,.06), rgba(255,255,255,.012) 60%), var(--ink-2);
  transition: border-color .4s var(--ease);
}
.app:hover { border-color: rgba(255,255,255,.2); }
.app .pcard__desc { flex: 1; }
.app .pcard__link { align-self: flex-start; }

.how .prin__item p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.how__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(44px, 5vw, 64px); }

/* home page: link from the product rail to the full catalogue */
.products__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; margin-top: 26px;
}
.products__foot .rail__hint, .products__foot .pcard__link { margin-top: 0; }

@media (max-width: 1024px) {
  .offers, .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .legal__wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .toc {
    position: static; max-height: none;
    padding-bottom: 28px; border-bottom: 1px solid var(--line-l);
  }
  .toc ol { columns: 2; column-gap: 24px; border-left: 0; }
  .toc a { padding-left: 0; margin-left: 0; border-left: 0; }
}

@media (max-width: 620px) {
  .offers, .app-grid, .office__grid, .related ul { grid-template-columns: minmax(0, 1fr); }
  .toc ol { columns: 1; }
}

@media (hover: none) {
  .offer:hover { transform: none; }
}

/* ------------------------------------------------------ 19. WHATSAPP BUTTON
   Injected by script.js. Hidden until the script adds .is-in after 3s, then
   pinned bottom-right above the nav (100) and mobile menu (95). The skip link
   (200) still sits above it. */
.wa {
  position: fixed; z-index: 190;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  opacity: 0; visibility: hidden;
  transform: translateY(18px) scale(.6);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
.wa.is-in { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.wa__icon {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 100%; height: 100%; border-radius: 50%;
  background: linear-gradient(145deg, #34E27A, #1EBE5A);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.8), 0 2px 6px rgba(0,0,0,.25),
              inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .35s var(--ease);
}
.wa__icon svg { width: 32px; height: 32px; }
.wa:hover .wa__icon { transform: scale(1.08); }
.wa:active .wa__icon { transform: scale(.96); }

/* soft light that breathes behind the button */
.wa__halo {
  position: absolute; inset: -14px; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,211,102,.6) 30%, rgba(37,211,102,0) 70%);
  opacity: .45;
  animation: wa-glow 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wa-glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* two rings rippling outward, half a cycle apart */
.wa::before, .wa::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.75);
  opacity: 0;
  animation: wa-ripple 2.4s ease-out infinite;
  pointer-events: none;
}
.wa::after { animation-delay: 1.2s; }
@keyframes wa-ripple {
  0%   { transform: scale(1);    opacity: .85; }
  100% { transform: scale(1.75); opacity: 0; }
}

@media (max-width: 480px) {
  .wa { width: 56px; height: 56px; }
  .wa__icon svg { width: 30px; height: 30px; }
}

/* Reduce Motion: the ripples travel, so they stop; the glow is only light,
   so it keeps breathing (same rule as the tech orbit). */
@media (prefers-reduced-motion: reduce) {
  .wa::before, .wa::after { display: none; }
  .wa__halo { animation: wa-glow 2.4s ease-in-out infinite !important; }
}

@media print {
  .wa { display: none !important; }
}

/* ------------------------------------------------- 20. FEATURED PRODUCT CARD
   Links the products catalogue to the AI Patient Conversion landing page. */
.offer--feature {
  display: block; margin-top: clamp(14px, 1.6vw, 22px);
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--r-lg); border: 1px solid rgba(0,113,227,.25);
  background: linear-gradient(120deg, rgba(0,113,227,.06), rgba(94,92,230,.04) 60%, transparent), var(--white);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.offer--feature:hover { border-color: rgba(0,113,227,.5); box-shadow: 0 34px 70px -50px rgba(0,40,120,.5); transform: translateY(-3px); }
.offer--feature .offer__name { max-width: 22ch; }
.offer--feature .offer__desc { max-width: 68ch; }
.offer--feature .offer__cta { display: inline-flex; align-items: center; gap: .45em; margin-top: 20px; font-size: 14.5px; font-weight: 500; color: var(--accent); }
@media (hover: none) { .offer--feature:hover { transform: none; } }
