:root {
  color-scheme: dark;
  --bg: #020706;
  --bg-2: #04100e;
  --text: #f4fbf8;
  --muted: rgba(244, 251, 248, 0.72);
  --muted-2: rgba(244, 251, 248, 0.52);
  --neon: #20f0b6;
  --neon-2: #6affdf;
  --neon-3: #0fbf91;
  --amber: #f4bf3e;
  --amber-2: #ffd978;
  --line: rgba(136, 255, 225, 0.18);
  --line-strong: rgba(136, 255, 225, 0.34);
  --panel: rgba(4, 14, 13, 0.72);
  --panel-strong: rgba(6, 18, 16, 0.9);
  --max: 1280px;
  --gutter: clamp(24px, 3.8vw, 52px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow-neon: 0 0 28px rgba(32, 240, 182, 0.22), 0 0 88px rgba(32, 240, 182, 0.11);
  --shadow-amber: 0 0 34px rgba(244, 191, 62, 0.17), 0 0 96px rgba(244, 191, 62, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 76% 16%, rgba(32, 240, 182, 0.18), transparent 30rem),
    radial-gradient(circle at 14% 44%, rgba(32, 240, 182, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 70%, rgba(244, 191, 62, 0.15), transparent 26rem),
    linear-gradient(180deg, #020706 0%, #020706 44%, #04100e 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(55, 255, 207, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 255, 207, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(700px) rotateX(63deg) translateY(18vh) scale(1.18);
  transform-origin: center top;
  opacity: 0.72;
  animation: gridDrift 12s linear infinite;
}

body::after {
  position: fixed;
  right: 0;
  bottom: -8vh;
  left: 0;
  z-index: -4;
  height: 48vh;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(32, 240, 182, 0.3), rgba(32, 240, 182, 0.05) 36%, transparent 70%),
    linear-gradient(90deg, transparent, rgba(244, 191, 62, 0.22), transparent);
  filter: blur(20px);
  opacity: 0.75;
}

::selection {
  color: #02100d;
  background: var(--neon-2);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.mono {
  font-family: "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #02100d;
  background: var(--neon-2);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 200ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#neural-canvas,
.site-noise,
.site-scanline {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  pointer-events: none;
}

#neural-canvas {
  z-index: -3;
}

.site-noise {
  z-index: -2;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.site-scanline {
  z-index: 20;
  height: 36vh;
  opacity: 0.72;
  background: linear-gradient(180deg, transparent, rgba(114, 255, 217, 0.035), transparent);
  animation: scanline 8s linear infinite;
}

.boot-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 16px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(32, 240, 182, 0.16), transparent min(34rem, 80vw)),
    rgba(2, 7, 6, 0.97);
  transition: opacity 500ms var(--ease), visibility 500ms var(--ease);
}

.boot-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.boot-loader__panel {
  position: relative;
  width: min(390px, calc(100vw - 32px));
  width: min(390px, calc(100dvw - 32px));
  padding: clamp(24px, 7vw, 34px);
  overflow: hidden;
  text-align: center;
  background: rgba(7, 17, 16, 0.86);
  border: 1px solid var(--line-strong);
  border-radius: clamp(22px, 6vw, 28px);
  box-shadow: var(--shadow-neon);
}

.boot-loader__panel::before {
  position: absolute;
  inset: -80px;
  content: "";
  background: conic-gradient(from 90deg, transparent, rgba(32, 240, 182, 0.28), transparent 32%);
  animation: spin 1.6s linear infinite;
}

.boot-loader__panel > * {
  position: relative;
  z-index: 1;
}

.boot-loader__eyebrow,
.boot-loader__copy {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--neon-2);
  font-size: clamp(0.62rem, 2.3vw, 0.72rem);
  letter-spacing: 0.16em;
}

.boot-loader__ring {
  display: grid;
  width: min(156px, 42vw);
  height: min(156px, 42vw);
  margin: clamp(20px, 6vw, 26px) auto clamp(16px, 5vw, 20px);
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(2, 7, 6, 0.98) 0 49%, transparent 50%),
    conic-gradient(var(--neon) 0deg, rgba(32, 240, 182, 0.18) 0deg);
  box-shadow: inset 0 0 24px rgba(32, 240, 182, 0.22), 0 0 44px rgba(32, 240, 182, 0.25);
}

.boot-loader__ring span {
  color: var(--text);
  font-size: clamp(1.9rem, 8vw, 2.2rem);
  font-weight: 760;
  letter-spacing: -0.04em;
}

.site-header,
.section-shell,
.site-footer {
  width: min(calc(100% - var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: 30px 0 18px;
  backdrop-filter: blur(16px);
}

.site-header::before {
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(2, 7, 6, 0.86), rgba(2, 7, 6, 0.22) 78%, transparent);
  mask-image: linear-gradient(180deg, #000 68%, transparent);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(1.72rem, 2.2vw, 2.1rem);
  font-weight: 840;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.brand__mark {
  color: var(--neon);
  text-shadow: 0 0 26px rgba(32, 240, 182, 0.58);
}

.brand__dot {
  color: var(--text);
}

.brand--footer {
  font-size: 2rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4.2vw, 72px);
  color: rgba(243, 248, 246, 0.88);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  transition: color 200ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--neon);
  box-shadow: 0 0 16px var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--neon-2);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 56px;
  gap: 12px;
  padding: 0 28px;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  font-weight: 760;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease), color 220ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(105deg, transparent 0 30%, rgba(255, 255, 255, 0.32) 48%, transparent 66% 100%);
  transform: translateX(-140%);
  transition: transform 650ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(140%);
}

.button svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button--primary {
  color: white;
  background: linear-gradient(135deg, #118b71, var(--neon) 62%, #0abf89);
  border-color: rgba(114, 255, 217, 0.58);
  box-shadow: var(--shadow-neon), inset 0 1px 0 rgba(255, 255, 255, 0.23);
}

.button--header {
  min-width: 158px;
  min-height: 58px;
  padding: 0 26px;
  background:
    linear-gradient(180deg, rgba(29, 255, 191, 0.26), rgba(5, 42, 36, 0.52)),
    rgba(2, 15, 13, 0.46);
  border: 1px solid rgba(91, 255, 218, 0.86);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(32, 240, 182, 0.24),
    0 0 30px rgba(32, 240, 182, 0.34),
    inset 0 0 18px rgba(32, 240, 182, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button--ghost {
  background: rgba(5, 12, 11, 0.62);
  border-color: rgba(156, 255, 228, 0.2);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(114, 255, 217, 0.45);
  box-shadow: 0 0 28px rgba(32, 240, 182, 0.12);
}

.button--amber {
  color: var(--amber-2);
  background: rgba(37, 23, 4, 0.72);
  border-color: rgba(244, 191, 62, 0.58);
  box-shadow: var(--shadow-amber);
}

.button--compact {
  min-height: 48px;
  padding-inline: 20px;
}

.site-main {
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

.section-shell {
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(450px, 1fr);
  gap: clamp(28px, 3.8vw, 54px);
  align-items: center;
  min-height: 806px;
  padding: 92px 0 72px;
  overflow: visible;
}

.hero::before {
  position: absolute;
  inset: 1% calc(var(--gutter) * -1) -8%;
  z-index: -4;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 56% 72%, rgba(32, 240, 182, 0.52), transparent 3.7rem),
    radial-gradient(circle at 82% 78%, rgba(244, 191, 62, 0.40), transparent 4.2rem),
    radial-gradient(ellipse at 54% 76%, rgba(32, 240, 182, 0.28), transparent 22rem),
    radial-gradient(ellipse at 91% 68%, rgba(244, 191, 62, 0.20), transparent 23rem),
    linear-gradient(90deg, transparent 0 36%, rgba(1, 18, 16, 0.36) 52%, transparent 86%);
  opacity: 0.9;
}

.hero__grid {
  position: absolute;
  inset: -16px calc(var(--gutter) * -1) -92px;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background:
    url("../img/hero-cubes.svg") 46% 68% / 410px auto no-repeat,
    radial-gradient(circle at 50% 34%, rgba(32, 240, 182, 0.56) 0 1px, transparent 2px) 0 0 / 74px 74px,
    radial-gradient(circle at 83% 26%, rgba(32, 240, 182, 0.48) 0 1px, transparent 2px) 0 0 / 54px 54px,
    linear-gradient(118deg, transparent 0 58%, rgba(32, 240, 182, 0.08) 58.1%, transparent 59.8% 100%),
    linear-gradient(123deg, transparent 0 64%, rgba(32, 240, 182, 0.10) 64.1%, transparent 65.4% 100%);
  opacity: 0.86;
  mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 90%, transparent 100%);
}

.hero__grid::before {
  position: absolute;
  top: 20%;
  right: 5.6%;
  width: 270px;
  content: "function build() {\A  return impact;\A}\A\Aconst product = {\A  precision: true,\A  performance: true,\A  usability: true,\A};";
  white-space: pre;
  color: rgba(114, 255, 217, 0.40);
  font-family: "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.78;
  text-shadow: 0 0 18px rgba(32, 240, 182, 0.44);
  transform: skewY(-9deg);
  opacity: 0.58;
}

.hero__grid::after {
  position: absolute;
  right: -8%;
  bottom: -12%;
  left: -8%;
  height: 50%;
  content: "";
  background-image:
    linear-gradient(rgba(33, 241, 184, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 241, 184, 0.18) 1px, transparent 1px),
    linear-gradient(105deg, transparent 58%, rgba(244, 191, 62, 0.18) 58.4%, transparent 59.4%),
    linear-gradient(110deg, transparent 62%, rgba(244, 191, 62, 0.24) 62.2%, transparent 64%);
  background-size: 46px 46px, 46px 46px, 100% 100%, 100% 100%;
  box-shadow: 0 -42px 120px rgba(32, 240, 182, 0.26) inset;
  mask-image: radial-gradient(ellipse at center, #000 0 38%, transparent 78%);
  opacity: 0.84;
  transform: perspective(760px) rotateX(64deg) translateY(-4px);
  transform-origin: center top;
}

.hero__content {
  max-width: 570px;
}

.eyebrow {
  max-width: 100%;
  margin: 0 0 30px;
  overflow-wrap: anywhere;
  color: var(--neon);
  font-size: 0.80rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(32, 240, 182, 0.42);
}

.eyebrow--amber {
  color: var(--amber);
  text-shadow: 0 0 22px rgba(244, 191, 62, 0.3);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  overflow-wrap: normal;
  color: var(--text);
  font-size: clamp(4rem, 5.55vw, 5.55rem);
  line-height: 1.02;
  letter-spacing: -0.064em;
}

.hero h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(95deg, #29efad 0%, #5affdc 48%, #18c98d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 26px rgba(32, 240, 182, 0.26));
}

.hero__lead {
  max-width: 560px;
  margin: 30px 0 0;
  color: rgba(243, 248, 246, 0.78);
  font-size: clamp(1.08rem, 1.44vw, 1.22rem);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 46px;
}

.hero__actions .button {
  min-width: 216px;
  min-height: 66px;
  border-radius: 8px;
}

.hero__actions .button--ghost {
  min-width: 226px;
  background: rgba(4, 10, 9, 0.70);
  border-color: rgba(156, 255, 228, 0.26);
}

.status-board {
  margin-top: 64px;
}

.status-board__label {
  margin: 0 0 18px;
  color: rgba(114, 255, 217, 0.6);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-board__items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.status-board__items span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: 10px;
  padding: 0 18px;
  color: rgba(243, 248, 246, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(6, 15, 14, 0.72);
  border: 1px solid rgba(156, 255, 228, 0.18);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.status-board__items i {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: #2dff80;
  border-radius: 50%;
  box-shadow: 0 0 14px #2dff80;
}

.hero__visual {
  position: relative;
  display: grid;
  min-height: 626px;
  transform: translateY(-18px);
  place-items: center;
}

.hero__visual::before {
  position: absolute;
  inset: 6% -8% 8%;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent, rgba(32, 240, 182, 0.14), transparent 58%),
    repeating-linear-gradient(112deg, transparent 0 30px, rgba(114, 255, 217, 0.12) 31px, transparent 33px);
  mask-image: linear-gradient(90deg, transparent, #000 18% 86%, transparent);
  transform: skewY(-11deg);
}

.hologram-card,
.glass-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
    linear-gradient(145deg, rgba(10, 26, 24, 0.86), rgba(3, 9, 8, 0.68));
  border: 1px solid rgba(156, 255, 228, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 28px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(20px);
}

.hologram-card::before,
.glass-card::before,
.product-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 38%, rgba(114, 255, 217, 0.14) 50%, transparent 62% 100%);
  transform: translateX(-110%);
  transition: transform 900ms var(--ease);
}

.hologram-card:hover::before,
.glass-card:hover::before,
.product-card:hover::before {
  transform: translateX(110%);
}

.boot-card {
  width: min(100%, 458px);
  min-height: 654px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 23%),
    radial-gradient(circle at 50% 64%, rgba(32, 240, 182, 0.11), transparent 20rem),
    rgba(2, 13, 12, 0.43);
  border-color: rgba(155, 255, 230, 0.36);
  box-shadow:
    0 0 0 1px rgba(32, 240, 182, 0.07),
    0 20px 110px rgba(0, 0, 0, 0.50),
    0 0 70px rgba(32, 240, 182, 0.15),
    inset 0 0 48px rgba(32, 240, 182, 0.045);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}

.boot-card::before {
  position: absolute;
  inset: 12px;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(114, 255, 217, 0.80) 0 20px, transparent 21px) top left / 56px 56px no-repeat,
    linear-gradient(225deg, rgba(255, 255, 255, 0.55) 0 20px, transparent 21px) top right / 56px 56px no-repeat,
    linear-gradient(45deg, rgba(32, 240, 182, 0.54) 0 18px, transparent 19px) bottom left / 54px 54px no-repeat,
    linear-gradient(315deg, rgba(244, 191, 62, 0.56) 0 18px, transparent 19px) bottom right / 54px 54px no-repeat;
  opacity: 0.46;
  transform: none;
  transition: none;
}

.boot-card:hover::before,
.boot-card:focus-within::before {
  transform: none;
}

.boot-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(114, 255, 217, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 255, 217, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(114, 255, 217, 0.16) 50%, transparent calc(50% + 1px));
  background-size: 36px 36px, 36px 36px, 100% 100%;
  mask-image: linear-gradient(#000, transparent 88%);
  opacity: 0.58;
}

.boot-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 30px 38px 23px;
  color: rgba(243, 248, 246, 0.63);
  font-size: 0.80rem;
  border-bottom: 1px solid rgba(156, 255, 228, 0.13);
}

.boot-card__top span {
  overflow-wrap: anywhere;
}

.boot-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 64px 48px 42px;
}

.boot-card__title {
  max-width: 100%;
  margin: 0 0 42px;
  overflow-wrap: anywhere;
  color: rgba(244, 251, 248, 0.90);
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.progress-orb {
  position: relative;
  display: grid;
  width: 210px;
  height: 210px;
  place-items: center;
  isolation: isolate;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #061311 0 38%, rgba(6, 19, 17, 0.78) 39% 43%, transparent 44%),
    repeating-radial-gradient(circle at center, transparent 0 66px, rgba(114, 255, 217, 0.18) 67px 68px, transparent 69px 82px),
    radial-gradient(circle at center, rgba(32, 240, 182, 0.14), transparent 68%);
  box-shadow: 0 0 34px rgba(32, 240, 182, 0.34), inset 0 0 36px rgba(32, 240, 182, 0.11);
}

.progress-orb::before,
.progress-orb::after {
  position: absolute;
  content: "";
  border-radius: inherit;
  pointer-events: none;
}

.progress-orb::before {
  inset: 8px;
  background:
    conic-gradient(from -44deg,
      transparent 0 16deg,
      rgba(32, 240, 182, 0.96) 17deg 112deg,
      transparent 113deg 137deg,
      rgba(32, 240, 182, 0.98) 138deg 286deg,
      rgba(32, 240, 182, 0.30) 287deg 316deg,
      transparent 317deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 24px), #000 calc(100% - 23px) calc(100% - 7px), transparent calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 24px), #000 calc(100% - 23px) calc(100% - 7px), transparent calc(100% - 6px));
  filter: drop-shadow(0 0 14px rgba(32, 240, 182, 0.58));
}

.progress-orb::after {
  inset: 0;
  border: 1px dashed rgba(114, 255, 217, 0.24);
  box-shadow: inset 0 0 0 23px rgba(32, 240, 182, 0.055), inset 0 0 0 44px rgba(32, 240, 182, 0.035);
  animation: spin 16s linear infinite;
}

.progress-orb span {
  position: relative;
  z-index: 1;
  color: rgba(244, 251, 248, 0.78);
  font-size: 2.85rem;
  font-weight: 560;
  letter-spacing: -0.06em;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.20);
}

.boot-steps {
  display: grid;
  width: 100%;
  max-width: 310px;
  gap: 14px;
  padding: 0;
  margin: 50px 0 0;
  color: rgba(243, 248, 246, 0.72);
  font-size: 0.74rem;
  list-style: none;
}

.boot-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-wrap: anywhere;
}

.boot-steps span {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(32, 240, 182, 0.8);
}

.boot-steps .is-ready {
  color: var(--neon-2);
  font-weight: 800;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 0 54px;
}

.service-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 28px;
  min-height: 232px;
  padding: 44px 34px;
  overflow: hidden;
  border-radius: 13px;
}

.service-card__icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--neon);
  filter: drop-shadow(0 0 18px rgba(32, 240, 182, 0.34));
}

.service-card__icon svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}

.service-card p {
  margin: 0;
  color: rgba(243, 248, 246, 0.68);
  font-size: 1rem;
  line-height: 1.45;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--neon-2);
  font-weight: 800;
  transition: gap 200ms ease, color 200ms ease;
}

.service-card a:hover,
.service-card a:focus-visible {
  gap: 14px;
  color: white;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  min-height: 626px;
  transform: translateY(-18px);
  margin-top: 18px;
  margin-bottom: 56px;
  padding: 56px 38px 70px 42px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 28%, rgba(244, 191, 62, 0.16), transparent 28rem),
    radial-gradient(circle at 64% 62%, rgba(244, 191, 62, 0.08), transparent 26rem),
    linear-gradient(135deg, rgba(40, 25, 5, 0.72), rgba(5, 11, 10, 0.68) 52%, rgba(5, 11, 10, 0.92));
  border: 1px solid rgba(244, 191, 62, 0.38);
  border-radius: 13px;
  box-shadow: var(--shadow-amber), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.product-card__copy {
  position: relative;
  z-index: 2;
  max-width: 410px;
}

.product-card h2 {
  margin: 0 0 22px;
  font-size: clamp(4rem, 7vw, 5.75rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.product-card__lead {
  margin: 0 0 24px;
  color: rgba(243, 248, 246, 0.9);
  font-size: clamp(1.42rem, 2.2vw, 1.95rem);
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.product-card__copy p:not(.eyebrow):not(.product-card__lead) {
  margin: 0 0 36px;
  color: rgba(243, 248, 246, 0.68);
  font-size: 1.05rem;
  line-height: 1.55;
}

.product-card__visual {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  min-height: 450px;
  overflow: visible;
}

.product-card__visual::before {
  position: absolute;
  right: 6%;
  bottom: 12px;
  left: 8%;
  z-index: -1;
  height: 46%;
  content: "";
  background:
    radial-gradient(ellipse at 58% 70%, rgba(0, 0, 0, 0.76), transparent 70%),
    radial-gradient(circle at 30% 20%, rgba(244, 191, 62, 0.18), transparent 42%);
  filter: blur(12px);
}

.product-card__visual img {
  width: min(104%, 820px);
  max-width: none;
  margin-left: auto;
  transform: translate(20px, 30px) rotate(-1.15deg);
  filter:
    drop-shadow(0 46px 30px rgba(0, 0, 0, 0.68))
    drop-shadow(0 0 30px rgba(244, 191, 62, 0.08));
  animation: floatDevice 6s ease-in-out infinite;
}

.product-card__footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 66px;
  margin: 0;
  padding: 0 18px;
  color: rgba(243, 248, 246, 0.78);
  font-size: clamp(0.86rem, 1.4vw, 1.05rem);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(244, 191, 62, 0.1);
}

.product-card__footer strong {
  display: inline-flex;
  align-items: baseline;
  color: rgba(243, 248, 246, 0.92);
  font-weight: 800;
  white-space: nowrap;
}

.product-card__footer strong span {
  color: var(--neon);
  text-shadow: 0 0 18px rgba(38, 238, 190, 0.38);
}

.info-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.95fr) minmax(280px, 1.35fr);
  gap: 40px;
  align-items: center;
  padding: 0 0 44px;
}

.about-panel {
  min-height: 260px;
}

.about-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.about-panel p:not(.eyebrow) {
  max-width: 310px;
  margin: 0 0 28px;
  color: rgba(243, 248, 246, 0.69);
  font-size: 1.02rem;
}

.contact-panel {
  min-height: 230px;
  padding-left: 48px;
  border-left: 1px solid rgba(156, 255, 228, 0.15);
}

.contact-list {
  display: grid;
  gap: 23px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(243, 248, 246, 0.78);
  font-size: 1.05rem;
}

.contact-list a,
.contact-list li > span:last-child {
  overflow-wrap: anywhere;
}

.contact-list a {
  transition: color 200ms ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--neon-2);
}

.contact-list li > span:first-child {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  color: rgba(243, 248, 246, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.contact-list svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.world-map {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.world-map__glow {
  position: absolute;
  inset: 14% 10% 18% 14%;
  background: radial-gradient(circle at 60% 40%, rgba(32, 240, 182, 0.44), transparent 46%);
  filter: blur(28px);
}

.world-map img {
  position: relative;
  z-index: 1;
  width: 100%;
  opacity: 0.78;
  filter: drop-shadow(0 0 28px rgba(32, 240, 182, 0.22));
}

.timezone-chip {
  position: absolute;
  right: 16%;
  bottom: 22%;
  z-index: 2;
  padding: 14px 18px;
  color: var(--neon-2);
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(4, 14, 13, 0.78);
  border: 1px solid rgba(156, 255, 228, 0.18);
  border-radius: 10px;
  box-shadow: var(--shadow-neon);
}

.timezone-chip small {
  color: rgba(243, 248, 246, 0.55);
  font-size: 0.66rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  min-height: 112px;
  padding: 22px 0 34px;
  border-top: 1px solid rgba(156, 255, 228, 0.11);
}

.site-footer p {
  margin: 0;
  color: rgba(243, 248, 246, 0.72);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 54px;
  gap: 12px;
  padding: 0 22px;
  font-weight: 760;
  background: rgba(8, 13, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(114, 255, 217, 0.42);
  box-shadow: 0 0 28px rgba(32, 240, 182, 0.12);
  transform: translateY(-2px);
}

.social-links svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 160ms ease, box-shadow 220ms ease;
  will-change: transform;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scanline {
  0% { transform: translateY(-42vh); }
  100% { transform: translateY(112vh); }
}

@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 72px, 72px 0; }
}

@keyframes floatDevice {
  0%, 100% { transform: translateY(34px) rotate(-1.6deg); }
  50% { transform: translateY(18px) rotate(-1.1deg); }
}

@media (max-width: 1100px) {
  :root { --gutter: clamp(16px, 4vw, 32px); }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .button--header {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 2px;
    font-size: 0.84rem;
  }

  .site-nav a {
    display: grid;
    min-height: 40px;
    padding: 0 10px;
    place-items: center;
    color: rgba(243, 248, 246, 0.84);
    background: rgba(4, 10, 9, 0.64);
    border: 1px solid rgba(156, 255, 228, 0.17);
    border-radius: 9px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero__visual {
    min-height: auto;
  }

  .boot-card {
    width: min(100%, 520px);
    min-height: 540px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 180px;
  }

  .product-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-card__copy {
    max-width: 460px;
  }

  .product-card__visual img {
    width: min(100%, 760px);
    margin-inline: auto;
    transform: translateY(16px) rotate(-1deg);
  }

  .info-section {
    grid-template-columns: 1fr 1fr;
  }

  .world-map {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }

  body::before {
    background-size: 44px 44px;
    opacity: 0.36;
    transform: none;
  }

  body::after {
    height: 32vh;
    filter: blur(16px);
  }

  .site-header,
  .section-shell,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px 0 16px;
  }

  .site-header::before {
    inset: 0 -16px;
    background: linear-gradient(180deg, rgba(2, 7, 6, 0.94), rgba(2, 7, 6, 0.74) 76%, rgba(2, 7, 6, 0.2));
  }

  .brand {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .site-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    font-size: 0.82rem;
  }

  .site-nav a {
    display: grid;
    min-height: 40px;
    padding: 0 8px;
    place-items: center;
    color: rgba(243, 248, 246, 0.84);
    background: rgba(4, 10, 9, 0.68);
    border: 1px solid rgba(156, 255, 228, 0.17);
    border-radius: 9px;
  }

  .site-nav a::after {
    display: none;
  }

  .button--header {
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 12px;
  }

  .button--header span {
    display: none;
  }

  .site-main {
    padding-top: 0;
  }

  .hero {
    display: block;
    padding: 36px 0 34px;
  }

  .hero__grid {
    height: 48%;
    background-size: 38px 38px;
    opacity: 0.54;
  }

  .hero__content {
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: clamp(0.64rem, 2.8vw, 0.76rem);
    letter-spacing: 0.14em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 11.4vw, 3.35rem);
    line-height: 1.03;
    letter-spacing: -0.055em;
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 1.02rem;
    line-height: 1.48;
  }

  .hero__lead br {
    display: none;
  }

  .hero__actions {
    display: grid;
    gap: 14px;
    margin-top: 34px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .status-board {
    margin-top: 42px;
  }

  .status-board__items {
    display: grid;
    gap: 10px;
  }

  .status-board__items span {
    width: 100%;
  }

  .hero__visual {
    min-height: auto;
    margin-top: 30px;
  }

  .hero__visual::before {
    inset: 5% 0 10%;
    opacity: 0.64;
    transform: skewY(-8deg);
  }

  .boot-card {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    border-radius: 20px;
  }

  .boot-card__top {
    padding: 20px 18px 16px;
    font-size: 0.68rem;
  }

  .boot-card__body {
    padding: 34px 18px 26px;
  }

  .boot-card__title {
    margin-bottom: 28px;
    font-size: 0.76rem;
  }

  .progress-orb {
    width: min(168px, 48vw);
    height: min(168px, 48vw);
  }

  .progress-orb span {
    font-size: clamp(2.15rem, 10vw, 2.6rem);
  }

  .boot-steps {
    max-width: 100%;
    margin-top: 34px;
    font-size: 0.68rem;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding: 30px 24px;
  }

  .product-card {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 8px;
    margin-bottom: 44px;
    padding: 32px 20px 76px;
  }

  .product-card h2 {
    font-size: clamp(3.1rem, 15vw, 4.3rem);
  }

  .product-card__lead {
    font-size: clamp(1.24rem, 6vw, 1.62rem);
  }

  .product-card__visual {
    min-height: 236px;
    overflow: visible;
  }

  .product-card__visual img {
    width: min(116%, 620px);
    max-width: none;
    margin-inline: -7% auto;
    transform: translateY(8px) rotate(-0.8deg);
  }

  .product-card__footer {
    min-height: 58px;
    padding: 0 10px;
    font-size: clamp(0.74rem, 3.2vw, 0.92rem);
    text-align: center;
    white-space: nowrap;
  }

  .info-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 34px;
  }

  .about-panel,
  .contact-panel {
    min-height: auto;
  }

  .contact-panel {
    padding-left: 0;
    border-left: 0;
  }

  .contact-list li {
    align-items: flex-start;
    font-size: 0.96rem;
  }

  .world-map {
    min-height: 190px;
  }

  .timezone-chip {
    right: 8%;
    bottom: 18%;
    padding: 10px 12px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    padding-bottom: 28px;
  }

  .social-links {
    display: grid;
    width: 100%;
    gap: 12px;
  }

  .social-links a {
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 380px) {
  :root { --gutter: 12px; }

  .site-header,
  .section-shell,
  .site-footer {
    width: calc(100% - 24px);
  }

  .site-nav {
    gap: 6px;
    font-size: 0.76rem;
  }

  .site-nav a {
    min-height: 38px;
    padding-inline: 6px;
  }

  .hero h1 {
    font-size: clamp(2.28rem, 11vw, 3rem);
  }

  .button {
    padding-inline: 18px;
  }

  .progress-orb {
    width: min(148px, 46vw);
    height: min(148px, 46vw);
  }

  .boot-loader__panel {
    width: calc(100vw - 28px);
    width: calc(100dvw - 28px);
  }
}

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

  .site-scanline {
    display: none;
  }

  .boot-loader__panel::before,
  .progress-orb::after {
    animation: none !important;
  }
}

/* Stage hero fidelity patch: keep the cyber scene inside the viewport on smaller screens. */
@media (max-width: 1100px) {
  .hero {
    overflow: hidden;
  }

  .hero__grid {
    inset: 0 calc(var(--gutter) * -1) -64px;
  }

  .hero__grid::before {
    right: 3%;
    top: 52%;
    opacity: 0.34;
  }

  .hero__visual {
    transform: none;
  }
}

@media (max-width: 720px) {
  .hero::before {
    inset: -18px -16px -42px;
    background:
      radial-gradient(circle at 56% 82%, rgba(32, 240, 182, 0.34), transparent 4.2rem),
      radial-gradient(ellipse at 70% 88%, rgba(244, 191, 62, 0.16), transparent 13rem),
      linear-gradient(180deg, transparent, rgba(1, 18, 16, 0.34));
  }

  .hero__grid {
    inset: -12px -16px -48px;
    height: auto;
    background:
      url("../img/hero-cubes.svg") 86% 63% / 250px auto no-repeat,
      radial-gradient(circle at 50% 34%, rgba(32, 240, 182, 0.38) 0 1px, transparent 2px) 0 0 / 54px 54px,
      radial-gradient(circle at 83% 26%, rgba(32, 240, 182, 0.28) 0 1px, transparent 2px) 0 0 / 44px 44px,
      linear-gradient(118deg, transparent 0 58%, rgba(32, 240, 182, 0.06) 58.1%, transparent 59.8% 100%),
      linear-gradient(123deg, transparent 0 64%, rgba(32, 240, 182, 0.07) 64.1%, transparent 65.4% 100%);
    opacity: 0.58;
    mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 92%, transparent 100%);
  }

  .hero__grid::before {
    top: 66%;
    right: -72px;
    width: 210px;
    font-size: 0.58rem;
    line-height: 1.65;
    opacity: 0.25;
  }

  .hero__grid::after {
    right: -36%;
    bottom: -8%;
    left: -36%;
    height: 36%;
    background-size: 34px 34px, 34px 34px, 100% 100%, 100% 100%;
    opacity: 0.55;
  }

  .hero__actions .button,
  .hero__actions .button--ghost {
    min-width: 0;
  }

  .boot-card::before {
    inset: 9px;
    opacity: 0.36;
  }
}

/* Final hero fidelity pass: closer to the approved mockup, without killing the tilt/animation layer. */
:root {
  --hero-panel-w: clamp(360px, 34.4vw, 458px);
  --hero-panel-h: clamp(500px, 49vw, 610px);
}

@media (min-width: 1000px) {
  .site-header {
    padding-top: 30px;
    padding-bottom: 16px;
  }

  .brand {
    font-size: clamp(1.84rem, 2vw, 2.14rem);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.14));
  }

  .site-nav {
    gap: clamp(42px, 5vw, 74px);
    font-size: 0.94rem;
  }

  .button--header {
    min-width: 142px;
    min-height: 50px;
    padding-inline: 24px;
    color: rgba(255, 255, 255, 0.96);
    background:
      linear-gradient(180deg, rgba(32, 240, 182, 0.17), rgba(5, 32, 29, 0.42)),
      rgba(2, 10, 9, 0.46);
    border-color: rgba(104, 255, 220, 0.88);
    border-radius: 8px;
    box-shadow:
      0 0 0 1px rgba(32, 240, 182, 0.18),
      0 0 34px rgba(32, 240, 182, 0.32),
      inset 0 0 24px rgba(32, 240, 182, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  .button--header::after {
    position: absolute;
    inset: 4px;
    z-index: -1;
    content: "";
    border: 1px solid rgba(32, 240, 182, 0.18);
    border-radius: 5px;
  }

  .hero {
    grid-template-columns: minmax(0, 485px) minmax(430px, 1fr);
    gap: clamp(36px, 5vw, 82px);
    align-items: start;
    min-height: 654px;
    padding-top: 76px;
    padding-bottom: 58px;
    isolation: isolate;
  }

  .hero::before {
    inset: -24px calc(var(--gutter) * -1) -54px;
    background:
      radial-gradient(circle at 56% 80%, rgba(32, 240, 182, 0.43), transparent 5.4rem),
      radial-gradient(circle at 83% 82%, rgba(244, 191, 62, 0.35), transparent 4.4rem),
      radial-gradient(ellipse at 63% 74%, rgba(32, 240, 182, 0.21), transparent 25rem),
      radial-gradient(ellipse at 92% 73%, rgba(244, 191, 62, 0.17), transparent 21rem),
      linear-gradient(90deg, transparent 0 27%, rgba(2, 18, 16, 0.42) 49%, transparent 100%);
    opacity: 0.98;
  }

  .hero__grid {
    inset: -42px calc(var(--gutter) * -1) -96px;
    background:
      url("../img/hero-cyber-scene.svg") center 26% / 100% auto no-repeat,
      radial-gradient(circle at 47% 38%, rgba(32, 240, 182, 0.62) 0 1px, transparent 2px) 0 0 / 76px 76px,
      radial-gradient(circle at 84% 26%, rgba(32, 240, 182, 0.48) 0 1px, transparent 2px) 0 0 / 54px 54px;
    opacity: 0.96;
    mix-blend-mode: screen;
    mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 94%, transparent 100%);
  }

  .hero__grid::before,
  .hero__grid::after {
    content: none;
  }

  .hero__content {
    max-width: 492px;
    padding-top: 72px;
    filter: drop-shadow(0 0 22px rgba(0, 0, 0, 0.55));
  }

  .hero .eyebrow {
    margin-bottom: 26px;
    font-size: clamp(0.72rem, 0.8vw, 0.82rem);
    letter-spacing: 0.22em;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(4.34rem, 5.03vw, 5.16rem);
    line-height: 1.04;
    letter-spacing: -0.079em;
  }

  .hero__lead {
    max-width: 468px;
    margin-top: 26px;
    color: rgba(243, 248, 246, 0.76);
    font-size: clamp(1.06rem, 1.34vw, 1.18rem);
    line-height: 1.55;
  }

  .hero__actions {
    gap: 22px;
    margin-top: 42px;
  }

  .hero__actions .button {
    min-width: 172px;
    min-height: 58px;
    padding-inline: 24px;
    border-radius: 7px;
  }

  .hero__actions .button--primary {
    background:
      linear-gradient(135deg, rgba(18, 141, 115, 0.96), rgba(32, 240, 182, 0.96) 64%, rgba(7, 179, 126, 0.96));
    box-shadow:
      0 0 0 1px rgba(32, 240, 182, 0.24),
      0 0 28px rgba(32, 240, 182, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .hero__actions .button--ghost {
    min-width: 178px;
    background: rgba(2, 7, 6, 0.60);
    border-color: rgba(135, 255, 226, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .status-board {
    margin-top: 58px;
  }

  .status-board__items {
    gap: 12px;
  }

  .status-board__items span {
    min-height: 36px;
    padding-inline: 16px;
    border-radius: 6px;
  }

  .hero__visual {
    min-height: 600px;
    align-items: start;
    padding-top: 62px;
    transform: none;
    perspective: 1100px;
    overflow: visible;
  }

  .hero__visual::before {
    inset: 8% -10% 5% 4%;
    background:
      linear-gradient(112deg, transparent 0 20%, rgba(32, 240, 182, 0.10) 43%, transparent 56%),
      repeating-linear-gradient(106deg, transparent 0 29px, rgba(72, 255, 211, 0.11) 30px, transparent 32px);
    opacity: 0.76;
    mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 86%, transparent 100%);
    transform: skewY(-11deg) translateX(-18px);
  }

  .hero__visual::after {
    position: absolute;
    top: 175px;
    right: -8px;
    z-index: -1;
    width: 255px;
    content: "function build() {\A  return impact;\A}\A\Aconst product = {\A  precision: true,\A  performance: true,\A  usability: true,\A};";
    white-space: pre;
    color: rgba(112, 255, 222, 0.36);
    font-family: "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.76rem;
    line-height: 1.78;
    text-shadow: 0 0 18px rgba(32, 240, 182, 0.46);
    transform: skewY(-8deg);
    opacity: 0.55;
    pointer-events: none;
  }

  .boot-card {
    width: var(--hero-panel-w);
    min-height: var(--hero-panel-h);
    margin-left: clamp(10px, 1vw, 24px);
    border-radius: 17px;
    overflow: visible;
    background:
      linear-gradient(180deg, rgba(240, 255, 250, 0.035), transparent 22%),
      radial-gradient(circle at 52% 58%, rgba(32, 240, 182, 0.15), transparent 17rem),
      linear-gradient(145deg, rgba(9, 34, 30, 0.44), rgba(3, 12, 11, 0.27));
    border-color: rgba(137, 255, 229, 0.31);
    box-shadow:
      0 26px 100px rgba(0, 0, 0, 0.50),
      0 0 56px rgba(32, 240, 182, 0.11),
      inset 0 0 0 1px rgba(255, 255, 255, 0.018),
      inset 0 0 60px rgba(32, 240, 182, 0.036);
    backdrop-filter: blur(11px) saturate(124%);
    transform:
      perspective(1100px)
      rotateX(calc(1deg + var(--tilt-x, 0deg)))
      rotateY(calc(-7deg + var(--tilt-y, 0deg)))
      translateY(var(--tilt-lift, 0));
    transform-origin: 50% 45%;
    transition: transform 180ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
  }

  .boot-card:hover,
  .boot-card:focus-within {
    border-color: rgba(137, 255, 229, 0.44);
    box-shadow:
      0 30px 112px rgba(0, 0, 0, 0.54),
      0 0 78px rgba(32, 240, 182, 0.18),
      inset 0 0 70px rgba(32, 240, 182, 0.048);
  }

  .boot-card::before {
    inset: 0;
    border-radius: inherit;
    opacity: 1;
    background:
      linear-gradient(135deg, rgba(114, 255, 217, 0.78) 0 18px, transparent 19px) top left / 44px 44px no-repeat,
      linear-gradient(225deg, rgba(244, 251, 248, 0.55) 0 16px, transparent 17px) top right / 42px 42px no-repeat,
      linear-gradient(45deg, rgba(32, 240, 182, 0.52) 0 16px, transparent 17px) bottom left / 42px 42px no-repeat,
      linear-gradient(315deg, rgba(244, 191, 62, 0.54) 0 15px, transparent 16px) bottom right / 40px 40px no-repeat;
    mask-image: linear-gradient(#000, #000);
  }

  .boot-card::after {
    inset: 0;
    border-radius: inherit;
    background:
      linear-gradient(rgba(114, 255, 217, 0.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(114, 255, 217, 0.038) 1px, transparent 1px),
      linear-gradient(90deg, transparent calc(50% - 1px), rgba(114, 255, 217, 0.14) 50%, transparent calc(50% + 1px)),
      radial-gradient(circle at 50% 60%, rgba(32, 240, 182, 0.11), transparent 42%);
    background-size: 36px 36px, 36px 36px, 100% 100%, 100% 100%;
    opacity: 0.72;
    mask-image: linear-gradient(#000 0 88%, transparent 100%);
  }

  .boot-card .boot-card__top,
  .boot-card .boot-card__body {
    position: relative;
    z-index: 2;
  }

  .boot-card__top {
    min-height: 74px;
    padding: 25px 36px 18px;
    color: rgba(243, 248, 246, 0.62);
    font-size: 0.78rem;
    border-bottom-color: rgba(156, 255, 228, 0.15);
  }

  .boot-card__body {
    padding: clamp(52px, 5vw, 74px) 42px 38px;
  }

  .boot-card__title {
    margin-bottom: 38px;
    color: rgba(244, 251, 248, 0.91);
    font-size: clamp(0.82rem, 1vw, 0.94rem);
    letter-spacing: 0.07em;
  }

  .progress-orb {
    width: clamp(174px, 16vw, 214px);
    height: clamp(174px, 16vw, 214px);
    background:
      radial-gradient(circle at center, rgba(5, 14, 13, 1) 0 36%, rgba(5, 14, 13, 0.92) 37% 42%, transparent 43%),
      radial-gradient(circle at center, transparent 0 51%, rgba(32, 240, 182, 0.12) 52% 54%, transparent 55%),
      repeating-radial-gradient(circle at center, transparent 0 76px, rgba(114, 255, 217, 0.16) 77px 78px, transparent 79px 91px),
      radial-gradient(circle at center, rgba(32, 240, 182, 0.14), transparent 72%);
    box-shadow:
      0 0 32px rgba(32, 240, 182, 0.34),
      0 0 78px rgba(32, 240, 182, 0.12),
      inset 0 0 34px rgba(32, 240, 182, 0.09);
  }

  .progress-orb::before {
    inset: 11px;
    background:
      conic-gradient(from -6deg,
        rgba(32, 240, 182, 0.98) 0deg 88deg,
        rgba(32, 240, 182, 0.20) 88deg 112deg,
        transparent 112deg 131deg,
        rgba(32, 240, 182, 0.96) 131deg 286deg,
        rgba(32, 240, 182, 0.34) 286deg 314deg,
        transparent 314deg 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 24px), #000 calc(100% - 23px) calc(100% - 8px), transparent calc(100% - 7px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 24px), #000 calc(100% - 23px) calc(100% - 8px), transparent calc(100% - 7px));
  }

  .progress-orb::after {
    inset: -6px;
    border-color: rgba(114, 255, 217, 0.18);
    box-shadow:
      inset 0 0 0 22px rgba(32, 240, 182, 0.042),
      inset 0 0 0 42px rgba(32, 240, 182, 0.026);
  }

  .progress-orb span {
    color: rgba(244, 251, 248, 0.76);
    font-size: clamp(2.28rem, 3.6vw, 3.05rem);
    font-weight: 570;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
  }

  .boot-steps {
    max-width: 294px;
    gap: 13px;
    margin-top: 46px;
    color: rgba(243, 248, 246, 0.68);
    font-size: clamp(0.66rem, 0.75vw, 0.74rem);
    line-height: 1.45;
  }

  .boot-steps span {
    flex-basis: 5px;
    width: 5px;
    height: 5px;
  }
}

@media (min-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 548px) minmax(520px, 1fr);
  }

  .hero__content {
    padding-top: 94px;
  }

  .hero h1 {
    max-width: 565px;
    font-size: clamp(5rem, 5.8vw, 6.35rem);
  }

  .hero__visual {
    padding-top: 82px;
  }

  .boot-card {
    margin-left: clamp(18px, 2.5vw, 56px);
  }
}

@media (max-width: 999px) {
  .boot-card {
    transform:
      perspective(1000px)
      rotateX(var(--tilt-x, 0deg))
      rotateY(var(--tilt-y, 0deg))
      translateY(var(--tilt-lift, 0));
  }
}

@media (max-width: 720px) {
  .hero__grid {
    background:
      url("../img/hero-cyber-scene.svg") 58% 16% / auto 740px no-repeat,
      radial-gradient(circle at 50% 34%, rgba(32, 240, 182, 0.38) 0 1px, transparent 2px) 0 0 / 54px 54px,
      radial-gradient(circle at 83% 26%, rgba(32, 240, 182, 0.28) 0 1px, transparent 2px) 0 0 / 44px 44px;
  }

  .hero__visual::after {
    content: none;
  }
}

@media (min-width: 1000px) {
  .hero__grid::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    pointer-events: none;
    background: url("../img/hero-design-layer.webp") center top / 100% auto no-repeat;
    opacity: 0.38;
    mix-blend-mode: screen;
    mask-image: linear-gradient(90deg, transparent 0 31%, rgba(0,0,0,.2) 37%, #000 45%, #000 100%);
  }
}

/* Stage RWD + asset hardening: generated hero/map plates, cleaner dots, better desktop layout. */
:root {
  --hero-bg-asset: url("../img/hero-background.webp");
  --map-bg-asset: url("../img/world-network-premium.webp");
}

#neural-canvas {
  opacity: 0.16;
  mix-blend-mode: screen;
}

body::before {
  opacity: 0.16;
}

body::after {
  opacity: 0.28;
}

.hero {
  overflow: visible;
}

.hero::after {
  position: absolute;
  right: calc(var(--gutter) * -1);
  bottom: -112px;
  left: calc(var(--gutter) * -1);
  z-index: -2;
  height: 220px;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(32, 240, 182, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(2, 7, 6, 0), rgba(2, 7, 6, 0.86) 68%, #020706 100%);
}

.hero__grid {
  background: var(--hero-bg-asset) center top / cover no-repeat !important;
  opacity: 0.98 !important;
  mix-blend-mode: normal !important;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0, #000 7%, #000 84%, rgba(0,0,0,0) 100%) !important;
}

.hero__grid::before,
.hero__grid::after {
  content: none !important;
}

.hero__visual::before {
  background:
    linear-gradient(112deg, transparent 0 17%, rgba(32, 240, 182, 0.12) 42%, transparent 57%),
    repeating-linear-gradient(106deg, transparent 0 35px, rgba(72, 255, 211, 0.09) 36px, transparent 38px) !important;
}

.boot-card {
  background:
    linear-gradient(180deg, rgba(240, 255, 250, 0.04), transparent 22%),
    radial-gradient(circle at 52% 58%, rgba(32, 240, 182, 0.16), transparent 17rem),
    linear-gradient(145deg, rgba(8, 32, 29, 0.42), rgba(2, 10, 9, 0.22)) !important;
  backdrop-filter: blur(9px) saturate(128%);
  -webkit-backdrop-filter: blur(9px) saturate(128%);
}

.boot-card__title::after {
  display: inline-block;
  width: 0.65ch;
  margin-left: 0.2ch;
  content: "";
  border-right: 2px solid rgba(106, 255, 223, 0.86);
  transform: translateY(0.12em);
  animation: caretBlink 0.78s steps(1) infinite;
}

.status-board__items span {
  white-space: nowrap;
}

.service-card__icon {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(112, 255, 222, 0.10), rgba(4, 18, 16, 0.18)),
    radial-gradient(circle at 50% 32%, rgba(32, 240, 182, 0.22), transparent 60%);
  border: 1px solid rgba(112, 255, 222, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 26px rgba(32, 240, 182, 0.07),
    0 0 34px rgba(32, 240, 182, 0.10);
}

.service-card__icon::before,
.service-card__icon::after {
  position: absolute;
  inset: 9px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(32, 240, 182, 0.18);
  border-radius: 15px;
}

.service-card__icon::after {
  inset: -10px;
  border: 0;
  background: radial-gradient(circle, rgba(32, 240, 182, 0.18), transparent 62%);
  filter: blur(12px);
  opacity: 0.72;
}

.service-card__icon svg {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  stroke-width: 1.35;
  filter:
    drop-shadow(0 0 9px rgba(32, 240, 182, 0.64))
    drop-shadow(0 0 18px rgba(32, 240, 182, 0.18));
}

.world-map {
  min-height: 276px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(2, 7, 6, 0.78), rgba(2, 7, 6, 0.10) 42%, rgba(2, 7, 6, 0.24)),
    var(--map-bg-asset) center right / cover no-repeat;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.72), #000 18%, #000 90%, rgba(0,0,0,0.72));
}

.world-map__glow {
  inset: 8% 8% 12% 32%;
  opacity: 0.54;
}

.world-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0;
}

.timezone-chip {
  right: 10%;
  bottom: 26%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@keyframes caretBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@media (min-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 548px) minmax(500px, 1fr) !important;
    gap: clamp(34px, 4.6vw, 74px) !important;
    min-height: 748px !important;
    padding-top: 70px !important;
    padding-bottom: 82px !important;
  }

  .hero__grid {
    inset: -62px calc(var(--gutter) * -1) -156px !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  .hero__content {
    max-width: 548px !important;
    padding-top: 88px !important;
  }

  .hero h1 {
    max-width: 548px !important;
    font-size: clamp(4.76rem, 5.68vw, 6.16rem) !important;
  }

  .hero__lead {
    max-width: 520px !important;
  }

  .status-board__items {
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }

  .status-board__items span {
    flex: 0 1 auto;
    min-height: 36px !important;
    padding-inline: 13px !important;
    font-size: 0.66rem !important;
    letter-spacing: 0.01em;
  }

  .hero__visual {
    padding-top: 58px !important;
    min-height: 620px !important;
  }

  .boot-card {
    width: clamp(404px, 36.2vw, 488px) !important;
    min-height: clamp(546px, 49vw, 638px) !important;
    margin-left: clamp(0px, 1.2vw, 24px) !important;
    transform:
      perspective(1180px)
      rotateX(calc(0.7deg + var(--tilt-x, 0deg)))
      rotateY(calc(-5.8deg + var(--tilt-y, 0deg)))
      translateY(var(--tilt-lift, 0)) !important;
  }

  .progress-orb {
    width: clamp(178px, 16vw, 216px) !important;
    height: clamp(178px, 16vw, 216px) !important;
  }

  .services {
    padding-top: 10px !important;
  }

  .service-card {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    align-items: center;
    min-height: 214px !important;
    padding: 34px 30px !important;
  }
}

@media (min-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 578px) minmax(560px, 1fr) !important;
    gap: clamp(48px, 4.2vw, 78px) !important;
  }

  .hero h1 {
    max-width: 586px !important;
    font-size: clamp(5.12rem, 5.82vw, 6.45rem) !important;
  }

  .status-board__items span {
    padding-inline: 16px !important;
    font-size: 0.69rem !important;
  }
}

@media (max-width: 999px) {
  #neural-canvas {
    opacity: 0.10;
  }

  .hero {
    overflow: hidden;
  }

  .hero__grid {
    inset: -34px calc(var(--gutter) * -1) -94px !important;
    background-position: 58% top !important;
    background-size: auto 100% !important;
    opacity: 0.74 !important;
  }

  .status-board__items {
    display: flex;
    flex-wrap: wrap;
  }

  .service-card__icon {
    width: 78px;
    height: 78px;
  }

  .service-card__icon svg {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 720px) {
  .hero::after {
    bottom: -84px;
    height: 180px;
  }

  .hero__grid {
    inset: -22px -16px -74px !important;
    background-position: 62% top !important;
    background-size: auto 720px !important;
    opacity: 0.48 !important;
    mask-image: linear-gradient(180deg, #000 0, #000 82%, rgba(0,0,0,0) 100%) !important;
  }

  .status-board__items {
    display: grid !important;
  }

  .service-card__icon {
    width: 76px;
    height: 76px;
  }

  .service-card__icon svg {
    width: 50px;
    height: 50px;
  }

  .world-map {
    min-height: 214px;
    background-position: 58% center;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.84), #000 18%, #000 86%, rgba(0,0,0,0.7));
  }

  .timezone-chip {
    right: 7%;
    bottom: 14%;
  }
}

@media (max-width: 380px) {
  .hero__grid {
    background-size: auto 660px !important;
  }
}

/* Stage final visual hardening: full-bleed hero asset + integrated footer map. */
:root {
  --page-black: #020706;
}

html,
body {
  background: var(--page-black) !important;
}

body {
  background:
    radial-gradient(circle at 72% 4%, rgba(32, 240, 182, 0.10), transparent 30rem),
    radial-gradient(circle at 76% 84%, rgba(244, 191, 62, 0.07), transparent 28rem),
    linear-gradient(180deg, #020706 0%, #020706 58%, #03100e 100%) !important;
}

body::before {
  opacity: 0.07 !important;
}

body::after {
  opacity: 0.13 !important;
}

#neural-canvas {
  opacity: 0.045 !important;
  filter: blur(0.15px);
}

.hero {
  isolation: isolate;
  overflow: visible !important;
}

.hero__grid {
  top: -62px !important;
  bottom: -172px !important;
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  max-width: none !important;
  transform: translateX(-50%) !important;
  background: var(--hero-bg-asset) center top / cover no-repeat !important;
  opacity: 1 !important;
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,0.88) 88%, rgba(0,0,0,0) 100%) !important;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,0.88) 88%, rgba(0,0,0,0) 100%) !important;
}

.hero::before {
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 58% 78%, rgba(32, 240, 182, 0.16), transparent 24rem),
    radial-gradient(ellipse at 84% 74%, rgba(244, 191, 62, 0.12), transparent 24rem),
    linear-gradient(90deg, rgba(2, 7, 6, 0.28), transparent 22%, transparent 76%, rgba(2, 7, 6, 0.18)) !important;
  opacity: 1 !important;
}

.hero::after {
  left: 50% !important;
  right: auto !important;
  bottom: -148px !important;
  width: 100vw !important;
  height: 320px !important;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 4%, rgba(32, 240, 182, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(2, 7, 6, 0), rgba(2, 7, 6, 0.72) 54%, #020706 100%) !important;
}

.status-board__items {
  align-items: center;
}

@media (min-width: 960px) {
  .status-board__items {
    flex-wrap: nowrap !important;
  }

  .status-board__items span {
    flex: 0 0 auto !important;
  }
}

/* The footer map should be part of the section, not a pasted rectangle from a tax-office PowerPoint. */
.info-section {
  isolation: isolate;
  overflow: visible !important;
  padding-top: 18px !important;
  padding-bottom: 52px !important;
}

.info-section::before {
  position: absolute;
  top: -20px;
  right: calc(var(--gutter) * -1);
  bottom: 0;
  z-index: -2;
  width: min(760px, 56vw);
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, #020706 0%, rgba(2, 7, 6, 0.72) 12%, rgba(2, 7, 6, 0) 28%, rgba(2, 7, 6, 0) 76%, rgba(2, 7, 6, 0.74) 100%),
    var(--map-bg-asset) center right / cover no-repeat;
  opacity: 0.92;
  filter: saturate(108%) contrast(106%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.74) 17%, #000 34%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.74) 17%, #000 34%, #000 100%);
}

.info-section::after {
  position: absolute;
  top: -34px;
  right: calc(var(--gutter) * -1);
  bottom: -24px;
  z-index: -3;
  width: min(790px, 58vw);
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 59% 42%, rgba(32, 240, 182, 0.14), transparent 14rem),
    linear-gradient(90deg, transparent, rgba(3, 22, 19, 0.46));
}

.world-map {
  min-height: 246px !important;
  margin-left: clamp(-42px, -2.2vw, -18px);
  overflow: visible !important;
  border-radius: 0 !important;
  background: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.world-map::before {
  position: absolute;
  inset: -22px -18px -8px -72px;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: var(--map-bg-asset) center right / cover no-repeat;
  opacity: 0.72;
  filter: saturate(115%) contrast(108%) drop-shadow(0 0 24px rgba(32, 240, 182, 0.14));
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.74) 16%, #000 33%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.74) 16%, #000 33%, #000 92%, transparent 100%);
}

.world-map__glow {
  z-index: 1;
  inset: 18% 20% 18% 22% !important;
  opacity: 0.28 !important;
  background: radial-gradient(circle at 58% 34%, rgba(32, 240, 182, 0.42), transparent 44%) !important;
}

.world-map img {
  position: absolute !important;
  inset: -22px -18px -8px -72px !important;
  z-index: 1 !important;
  width: calc(100% + 90px) !important;
  height: calc(100% + 30px) !important;
  object-fit: cover !important;
  object-position: center right !important;
  opacity: 0 !important;
}

.timezone-chip {
  top: 41% !important;
  right: auto !important;
  bottom: auto !important;
  left: 58% !important;
  z-index: 3 !important;
  transform: translate(-50%, -50%);
  background: rgba(4, 13, 12, 0.74) !important;
  border-color: rgba(156, 255, 228, 0.22) !important;
  box-shadow:
    0 0 30px rgba(32, 240, 182, 0.16),
    inset 0 0 18px rgba(32, 240, 182, 0.06) !important;
}

@media (min-width: 1280px) {
  .info-section {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 0.98fr) minmax(430px, 1.38fr) !important;
    gap: 44px !important;
  }
}

@media (max-width: 1100px) {
  .hero__grid {
    top: -120px !important;
    bottom: -108px !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  .info-section::before,
  .info-section::after {
    right: calc(var(--gutter) * -1);
    width: 100%;
    opacity: 0.56;
  }

  .world-map {
    margin-left: 0;
  }

  .world-map::before,
  .world-map img {
    inset: -14px -18px -10px -18px !important;
    width: calc(100% + 36px) !important;
  }

  .timezone-chip {
    left: 61% !important;
    top: 42% !important;
  }
}

@media (max-width: 720px) {
  body::before,
  body::after {
    opacity: 0.06 !important;
  }

  #neural-canvas {
    opacity: 0.03 !important;
  }

  .hero__grid {
    top: -60px !important;
    bottom: -66px !important;
    background-position: 58% top !important;
    background-size: auto 700px !important;
    opacity: 0.62 !important;
  }

  .hero::after {
    bottom: -96px !important;
    height: 230px !important;
  }

  .info-section::before,
  .info-section::after {
    top: auto;
    bottom: 36px;
    left: -16px;
    right: -16px;
    width: auto;
    height: 250px;
    opacity: 0.48;
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 78%, transparent 100%);
  }

  .world-map {
    min-height: 210px !important;
  }

  .world-map::before {
    inset: -18px -18px -8px -18px !important;
    background-size: cover !important;
    background-position: 62% center !important;
    opacity: 0.74;
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 88%, transparent 100%);
  }

  .world-map img {
    display: none !important;
  }

  .timezone-chip {
    left: 64% !important;
    top: 46% !important;
    transform: translate(-50%, -50%) scale(0.92);
  }
}

@media (max-width: 420px) {
  .timezone-chip {
    left: 67% !important;
    top: 48% !important;
  }
}


/* Final service-page + product-device patch. */
.service-card a {
  width: fit-content;
}

.product-card__visual {
  align-items: center !important;
  min-height: 470px;
  padding-top: 12px;
}

.product-devices {
  position: relative;
  width: min(100%, 820px);
  min-height: 470px;
  margin-left: auto;
  perspective: 1200px;
  animation: floatDevice 6s ease-in-out infinite;
}

.device-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-phone {
  position: absolute;
  right: 1%;
  bottom: 12px;
  width: min(28%, 230px);
  min-width: 168px;
  padding: 9px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(92, 98, 100, 0.96), rgba(9, 10, 12, 1) 42%, rgba(49, 54, 57, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 34px;
  box-shadow:
    0 28px 28px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 0 18px rgba(255, 255, 255, 0.04);
  transform: rotate(1.4deg);
}

.device-phone__screen {
  overflow: hidden;
  aspect-ratio: 254 / 616;
  background: #020507;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.device-phone__island {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 38%;
  height: 18px;
  background: rgba(0, 0, 0, 0.90);
  border-radius: 999px;
  transform: translateX(-50%);
}

/* Single integrated map layer. */
.info-section::before {
  top: -42px !important;
  right: 50% !important;
  bottom: -34px !important;
  width: 100vw !important;
  transform: translateX(50%);
  background:
    linear-gradient(90deg, #020706 0%, rgba(2, 7, 6, 0.90) 15%, rgba(2, 7, 6, 0.36) 34%, rgba(2, 7, 6, 0.12) 55%, rgba(2, 7, 6, 0.72) 100%),
    var(--map-bg-asset) center right / min(1060px, 70vw) auto no-repeat !important;
  opacity: 0.72 !important;
  filter: saturate(112%) contrast(108%) !important;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%) !important;
}

.info-section::after {
  right: 50% !important;
  bottom: -46px !important;
  width: 100vw !important;
  transform: translateX(50%);
  background:
    radial-gradient(circle at 63% 43%, rgba(32, 240, 182, 0.18), transparent 16rem),
    radial-gradient(circle at 72% 61%, rgba(32, 240, 182, 0.10), transparent 18rem) !important;
  opacity: 0.76 !important;
}

.world-map {
  min-height: 238px !important;
  background: none !important;
}

.world-map::before {
  content: none !important;
}

.world-map img {
  display: none !important;
}

/* Service detail pages. */
.service-detail-main {
  position: relative;
  padding-bottom: 64px;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.56fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 560px;
  padding: clamp(56px, 7vw, 94px) 0 clamp(38px, 5vw, 64px);
  overflow: visible;
}

.service-hero::before {
  position: absolute;
  inset: -90px calc(var(--gutter) * -1) -80px;
  z-index: -3;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 7, 6, 0.98), rgba(2, 7, 6, 0.50) 46%, rgba(2, 7, 6, 0.90)),
    var(--hero-bg-asset) center top / cover no-repeat;
  opacity: 0.72;
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.service-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3.2rem, 7.4vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.service-hero h1 span {
  color: transparent;
  background: linear-gradient(95deg, #29efad 0%, #5affdc 50%, #18c98d 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.service-hero__lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(243, 248, 246, 0.78);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.56;
}

.service-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.service-hero__meta li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: rgba(243, 248, 246, 0.80);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(4, 14, 13, 0.72);
  border: 1px solid rgba(136, 255, 225, 0.20);
  border-radius: 999px;
}

.service-console {
  position: relative;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 34%, rgba(32, 240, 182, 0.16), transparent 15rem),
    linear-gradient(145deg, rgba(8, 32, 29, 0.50), rgba(2, 10, 9, 0.32));
  border: 1px solid rgba(136, 255, 225, 0.24);
  border-radius: 22px;
  box-shadow: var(--shadow-neon), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(900px) rotateY(-5deg);
}

.service-console::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(114, 255, 217, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 255, 217, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}

.service-console > * {
  position: relative;
  z-index: 1;
}

.service-console__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  color: rgba(114, 255, 217, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.service-console__metric {
  display: grid;
  place-items: center;
  width: min(200px, 54vw);
  height: min(200px, 54vw);
  margin: 8px auto 26px;
  color: var(--text);
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  font-weight: 650;
  letter-spacing: -0.08em;
  background:
    radial-gradient(circle at center, rgba(2, 7, 6, 0.98) 0 48%, transparent 49%),
    conic-gradient(var(--neon) 0 282deg, rgba(32, 240, 182, 0.15) 282deg 360deg);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(32, 240, 182, 0.20), 0 0 46px rgba(32, 240, 182, 0.20);
}

.service-console__list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  color: rgba(243, 248, 246, 0.72);
  font-size: 0.82rem;
  list-style: none;
}

.service-console__list li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.service-console__list li::before {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--neon);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(32, 240, 182, 0.82);
}

.service-section {
  padding: clamp(42px, 6vw, 72px) 0;
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.service-kicker {
  margin: 0 0 16px;
  color: var(--neon);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-section h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.service-prose {
  display: grid;
  gap: 18px;
  color: rgba(243, 248, 246, 0.74);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.66;
}

.service-prose p {
  margin: 0;
}

.service-prose strong,
.service-email {
  color: var(--neon-2);
  font-weight: 850;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-feature {
  min-height: 210px;
  padding: 26px;
  background: rgba(4, 14, 13, 0.68);
  border: 1px solid rgba(136, 255, 225, 0.18);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-feature span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--neon-2);
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
  font-weight: 900;
  background: rgba(32, 240, 182, 0.08);
  border: 1px solid rgba(136, 255, 225, 0.22);
  border-radius: 14px;
}

.service-feature h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
}

.service-feature p {
  margin: 0;
  color: rgba(243, 248, 246, 0.68);
  line-height: 1.56;
}

.process-timeline {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.process-step {
  position: relative;
  counter-increment: step;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(7, 22, 20, 0.84), rgba(3, 11, 10, 0.82));
  border: 1px solid rgba(136, 255, 225, 0.18);
  border-radius: 18px;
}

.process-step::before {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  content: "0" counter(step);
  color: var(--neon-2);
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
  font-weight: 900;
  background: rgba(32, 240, 182, 0.08);
  border: 1px solid rgba(136, 255, 225, 0.26);
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(32, 240, 182, 0.10);
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 76px;
  left: 49px;
  width: 1px;
  height: calc(100% - 42px);
  content: "";
  background: linear-gradient(180deg, rgba(32, 240, 182, 0.42), transparent);
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  letter-spacing: -0.035em;
}

.process-step p {
  margin: 0;
  color: rgba(243, 248, 246, 0.68);
}

.service-cta {
  position: relative;
  padding: clamp(30px, 5vw, 46px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(32, 240, 182, 0.18), transparent 16rem),
    linear-gradient(135deg, rgba(4, 18, 16, 0.88), rgba(2, 7, 6, 0.86));
  border: 1px solid rgba(136, 255, 225, 0.22);
  border-radius: 22px;
  box-shadow: var(--shadow-neon);
}

.service-cta h2 {
  max-width: 780px;
}

.service-cta p {
  max-width: 790px;
  margin: 22px 0 0;
  color: rgba(243, 248, 246, 0.72);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

@media (max-width: 1100px) {
  .product-devices {
    width: min(100%, 720px);
    min-height: 420px;
    margin-inline: auto;
  }

  .device-phone {
    width: min(30%, 210px);
    min-width: 150px;
  }

  .service-hero,
  .service-split {
    grid-template-columns: 1fr;
  }

  .service-console {
    max-width: 520px;
    transform: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .product-card__visual {
    min-height: 390px;
  }

  .product-devices {
    min-height: 360px;
  }

  .device-phone {
    right: -2%;
    bottom: 28px;
    width: 34%;
    min-width: 118px;
    padding: 6px;
    border-radius: 25px;
  }

  .device-phone__screen {
    border-radius: 20px;
  }

  .device-phone__island {
    top: 12px;
    height: 12px;
  }

  .info-section::before {
    top: auto !important;
    bottom: 34px !important;
    height: 270px !important;
    background:
      linear-gradient(180deg, rgba(2, 7, 6, 0.94), rgba(2, 7, 6, 0.24) 42%, rgba(2, 7, 6, 0.92)),
      var(--map-bg-asset) center center / 820px auto no-repeat !important;
    opacity: 0.54 !important;
  }

  .info-section::after {
    display: none !important;
  }

  .world-map {
    min-height: 198px !important;
  }

  .service-hero {
    min-height: auto;
    padding-top: 44px;
  }

  .service-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .service-hero__meta {
    display: grid;
  }

  .service-console {
    padding: 22px;
    border-radius: 18px;
  }

  .service-split,
  .service-section {
    gap: 24px;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .process-step::after {
    content: none !important;
  }
}

@media (max-width: 420px) {
  .product-card__visual {
    min-height: 330px;
  }

  .product-devices {
    min-height: 315px;
  }

  .device-phone {
    min-width: 104px;
  }
}


/* Final map visibility pass: one integrated layer, stronger but still blended. */
.info-section::before {
  background:
    linear-gradient(90deg, #020706 0%, rgba(2, 7, 6, 0.82) 18%, rgba(2, 7, 6, 0.28) 40%, rgba(2, 7, 6, 0.10) 68%, rgba(2, 7, 6, 0.48) 100%),
    var(--map-bg-asset) center right / min(1180px, 78vw) auto no-repeat !important;
  opacity: 0.95 !important;
  filter: brightness(1.28) saturate(142%) contrast(110%) !important;
}

@media (max-width: 720px) {
  .info-section::before {
    background:
      linear-gradient(180deg, rgba(2, 7, 6, 0.88), rgba(2, 7, 6, 0.18) 44%, rgba(2, 7, 6, 0.88)),
      var(--map-bg-asset) center center / 880px auto no-repeat !important;
    opacity: 0.68 !important;
  }
}

/* Final single-map clarity pass. */
.info-section::before {
  background: var(--map-bg-asset) center right / min(1200px, 82vw) auto no-repeat !important;
  opacity: 0.88 !important;
  filter: brightness(1.55) saturate(150%) contrast(114%) !important;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.14) 22%, rgba(0,0,0,0.72) 38%, #000 56%, #000 100%) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.14) 22%, rgba(0,0,0,0.72) 38%, #000 56%, #000 100%) !important;
}

@media (max-width: 720px) {
  .info-section::before {
    background: var(--map-bg-asset) center center / 900px auto no-repeat !important;
    opacity: 0.76 !important;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.82) 18%, #000 74%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.82) 18%, #000 74%, transparent 100%) !important;
  }
}

:root {
  --map-bg-asset: url("../img/world-network-premium-bright.webp");
}

/* Final map source switch: keep exactly one visible map layer. */
.info-section::before {
  content: none !important;
}

.info-section::after {
  z-index: -1 !important;
  opacity: 0.48 !important;
  background:
    radial-gradient(circle at 66% 44%, rgba(32, 240, 182, 0.14), transparent 18rem),
    linear-gradient(90deg, transparent, rgba(3, 22, 19, 0.24)) !important;
}

.world-map::before {
  position: absolute !important;
  inset: -54px -70px -60px -500px !important;
  z-index: 0 !important;
  display: block !important;
  content: "" !important;
  pointer-events: none;
  background: var(--map-bg-asset) center right / cover no-repeat !important;
  opacity: 0.84 !important;
  filter: brightness(1.18) saturate(128%) contrast(108%) drop-shadow(0 0 22px rgba(32, 240, 182, 0.14)) !important;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.45) 24%, #000 48%, #000 92%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.45) 24%, #000 48%, #000 92%, transparent 100%) !important;
}

.world-map__glow,
.timezone-chip {
  position: absolute;
}

@media (max-width: 1100px) {
  .world-map::before {
    inset: -42px -32px -54px -32px !important;
    background-position: center center !important;
    background-size: cover !important;
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%) !important;
  }
}

@media (max-width: 720px) {
  .world-map::before {
    inset: -34px -18px -42px -18px !important;
    background-position: 58% center !important;
    background-size: 920px auto !important;
    opacity: 0.74 !important;
  }
}


/* FINAL FIX 2026-07-05: user-provided map + user-provided THaiva device asset + file-friendly cards. */
:root {
  --map-bg-asset: url("../img/world-network-premium.webp");
}

.product-card {
  min-height: clamp(560px, 58vw, 670px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  padding-right: clamp(18px, 3.2vw, 42px);
}

.product-card__visual {
  display: flex !important;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: clamp(390px, 40vw, 520px);
  overflow: visible;
}

.product-card__visual::before {
  right: 0;
  bottom: 2%;
  left: 0;
  height: 58%;
  background:
    radial-gradient(ellipse at 66% 76%, rgba(0, 0, 0, 0.86), transparent 68%),
    radial-gradient(circle at 44% 32%, rgba(244, 191, 62, 0.16), transparent 42%);
  filter: blur(16px);
}

.thaiva-device-asset {
  position: relative;
  z-index: 2;
  display: block;
  width: min(112%, 940px);
  margin: 0 -20px -8px auto;
  transform: translateY(10px);
  filter:
    drop-shadow(0 42px 34px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 24px rgba(244, 191, 62, 0.08));
  animation: floatDevice 6s ease-in-out infinite;
}

.thaiva-device-asset img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

.product-devices,
.device-phone {
  display: none !important;
}

/* One map. The actual <img> is the only map layer. No pseudo-background cloning, because apparently maps do not enjoy mitosis. */
.info-section {
  position: relative;
  overflow: hidden;
}

.info-section::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

.info-section::after {
  content: "" !important;
  position: absolute;
  inset: -12% calc(var(--gutter) * -1);
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 66% 48%, rgba(32, 240, 182, 0.12), transparent 18rem),
    linear-gradient(90deg, rgba(2, 7, 6, 0.88), transparent 46%, rgba(2, 7, 6, 0.68));
  opacity: 1 !important;
}

.world-map {
  min-height: clamp(240px, 24vw, 330px) !important;
  overflow: visible !important;
  background: none !important;
}

.world-map::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

.world-map__glow {
  z-index: 1;
  opacity: 0.62;
}

.world-map img {
  position: absolute !important;
  z-index: 0 !important;
  inset: -64px -88px -68px -520px !important;
  display: block !important;
  width: calc(100% + 608px) !important;
  height: calc(100% + 132px) !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center right;
  opacity: 0.82 !important;
  filter: brightness(1.16) saturate(118%) contrast(106%) drop-shadow(0 0 22px rgba(32, 240, 182, 0.13)) !important;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.42) 24%, #000 48%, #000 92%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.42) 24%, #000 48%, #000 92%, transparent 100%) !important;
}

.timezone-chip {
  z-index: 3;
}

.service-card a::after {
  content: "";
  position: absolute;
  inset: -12px -16px;
}

@media (max-width: 1100px) {
  .product-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 76px;
  }

  .product-card__copy {
    max-width: 580px;
  }

  .product-card__visual {
    min-height: clamp(360px, 58vw, 520px);
  }

  .thaiva-device-asset {
    width: min(108%, 900px);
    margin-inline: auto -16px;
  }

  .world-map img {
    inset: -46px -44px -54px -120px !important;
    width: calc(100% + 164px) !important;
    height: calc(100% + 100px) !important;
    object-position: center center;
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%) !important;
  }
}

@media (max-width: 720px) {
  .product-card {
    padding: 34px 22px 70px;
  }

  .product-card__visual {
    min-height: 310px;
  }

  .thaiva-device-asset {
    width: 118%;
    margin: 4px -22px -8px -8px;
  }

  .info-section {
    overflow: hidden;
  }

  .world-map {
    min-height: 210px !important;
  }

  .world-map img {
    inset: -36px -28px -46px -40px !important;
    width: calc(100% + 68px) !important;
    height: calc(100% + 82px) !important;
    opacity: 0.76 !important;
    object-position: 58% center;
  }
}

@media (max-width: 420px) {
  .product-card__visual {
    min-height: 260px;
  }

  .thaiva-device-asset {
    width: 126%;
    margin-left: -18%;
    margin-right: -20%;
  }
}

/* FINAL CORRECTION 2026-07-05-B: requested visual fixes. */
:root {
  --map-bg-asset: url("../img/world-network-premium.webp");
}

/* No glow on the n8.logo. Keep the green mark, drop the haunted-neon aura. */
.brand,
.brand__mark,
.brand__dot,
.brand--footer,
.product-card__footer strong,
.product-card__footer strong span {
  text-shadow: none !important;
  filter: none !important;
}

/* Anchor offset: sticky headers are useful until they eat your section. */
#services,
#product,
#about,
#contact {
  scroll-margin-top: 118px;
}

/* Service pages: the percentage should not fight the border for territory. */
.service-console__metric {
  width: min(180px, 46vw) !important;
  height: min(180px, 46vw) !important;
  font-size: clamp(2.35rem, 4.6vw, 3.45rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.105em !important;
}

.service-console {
  overflow: hidden !important;
}

/* THaiva product visual rebuilt from the actual provided app screenshots. */
.product-card {
  grid-template-columns: minmax(270px, 0.66fr) minmax(0, 1.34fr) !important;
  min-height: clamp(570px, 56vw, 680px) !important;
  padding-right: clamp(22px, 3.5vw, 48px) !important;
}

.product-card__visual {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-height: clamp(405px, 38vw, 520px) !important;
  overflow: visible !important;
}

.product-card__visual::before {
  content: none !important;
  display: none !important;
  background: none !important;
  filter: none !important;
}

.thaiva-device-asset,
.product-devices,
.device-phone {
  display: none !important;
}

.thaiva-showcase {
  position: relative;
  width: min(100%, 880px);
  height: clamp(390px, 36vw, 500px);
  margin: 0 0 0 auto;
  isolation: isolate;
}

.thaiva-showcase::before {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 2%;
  z-index: -2;
  height: 22%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.62), transparent 72%);
  filter: blur(10px);
  opacity: 0.82;
}

.thaiva-tablet,
.thaiva-phone {
  position: absolute;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #2b3132, #0a0e0f 48%, #3d4443);
  border: 1px solid rgba(232, 244, 241, 0.30);
  box-shadow:
    0 34px 34px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.72);
}

.thaiva-tablet {
  left: 0;
  top: 48%;
  width: min(74%, 650px);
  aspect-ratio: 16 / 9.15;
  padding: 12px;
  border-radius: 30px;
  transform: translateY(-48%) rotate(-2.3deg);
}

.thaiva-tablet__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #11171a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.78);
}

.thaiva-tablet__camera {
  position: absolute;
  top: 5px;
  left: 50%;
  z-index: 2;
  width: 7px;
  height: 7px;
  background: #31708a;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.38);
  transform: translateX(-50%);
}

.thaiva-phone {
  right: 0;
  bottom: 4%;
  z-index: 3;
  width: min(25%, 220px);
  min-width: 164px;
  aspect-ratio: 9 / 19.45;
  padding: 8px;
  border-radius: 34px;
}

.thaiva-phone__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #06101a;
  border-radius: 26px;
}

.thaiva-tablet img,
.thaiva-phone img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

.thaiva-tablet img {
  object-position: center top;
}

.thaiva-phone img {
  object-position: center top;
}

@media (max-width: 1100px) {
  #services,
  #product,
  #about,
  #contact {
    scroll-margin-top: 142px;
  }

  .product-card {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding-bottom: 76px !important;
  }

  .product-card__visual {
    min-height: clamp(390px, 56vw, 520px) !important;
  }

  .thaiva-showcase {
    width: min(100%, 820px);
    height: clamp(360px, 52vw, 500px);
    margin-inline: auto;
  }

  .thaiva-tablet {
    width: 76%;
  }

  .thaiva-phone {
    width: min(26%, 210px);
  }
}

@media (max-width: 720px) {
  #services,
  #product,
  #about,
  #contact {
    scroll-margin-top: 170px;
  }

  .service-console__metric {
    width: min(150px, 42vw) !important;
    height: min(150px, 42vw) !important;
    font-size: clamp(2rem, 11vw, 2.8rem) !important;
  }

  .product-card__visual {
    min-height: 330px !important;
  }

  .thaiva-showcase {
    height: 315px;
    width: 112%;
    margin-left: -6%;
    margin-right: -6%;
  }

  .thaiva-tablet {
    left: 0;
    width: 78%;
    padding: 8px;
    border-radius: 22px;
  }

  .thaiva-tablet__screen {
    border-radius: 14px;
    box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.76);
  }

  .thaiva-phone {
    right: 0;
    width: 29%;
    min-width: 118px;
    padding: 6px;
    border-radius: 27px;
  }

  .thaiva-phone__screen {
    border-radius: 21px;
  }
}

@media (max-width: 420px) {
  .product-card__visual {
    min-height: 285px !important;
  }

  .thaiva-showcase {
    height: 272px;
    width: 122%;
    margin-left: -13%;
    margin-right: -12%;
  }

  .thaiva-phone {
    min-width: 106px;
  }
}

/* Micro-adjustment: preserve the provided desktop screenshot ratio inside the landscape tablet. */
.thaiva-tablet {
  aspect-ratio: 2.12 / 1 !important;
}


/* FINAL POLISH 2026-07-05-C: tablet proportions, mobile cleanup, map cleanup, loader animation, better CTA icon. */

.progress-orb::before {
  animation: progressSweep 9s linear infinite;
  transform-origin: 50% 50%;
}

.progress-orb::after {
  animation: spin 16s linear infinite, progressPulse 3.6s ease-in-out infinite;
}

@keyframes progressSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes progressPulse {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

/* Featured product: make the tablet feel like an iPad, not a stretched billboard. */
.product-card__visual {
  min-height: clamp(420px, 40vw, 540px) !important;
}

.thaiva-showcase {
  width: min(100%, 860px);
  height: clamp(390px, 36vw, 510px);
}

.thaiva-tablet {
  left: 4%;
  top: 50%;
  width: min(67%, 560px);
  aspect-ratio: 4 / 3 !important;
  padding: 12px;
  border-radius: 34px;
  transform: translateY(-50%) rotate(-4.5deg);
}

.thaiva-tablet__screen {
  border-radius: 24px;
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.80);
}

.thaiva-tablet__camera {
  top: 8px;
  width: 10px;
  height: 10px;
}

.thaiva-phone {
  right: 6%;
  bottom: 7%;
  z-index: 4;
  width: min(24%, 206px);
  min-width: 154px;
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  box-shadow:
    0 28px 32px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -1px 0 rgba(0, 0, 0, 0.72);
}

.thaiva-tablet img {
  object-fit: cover;
  object-position: center top;
}

.thaiva-phone img {
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 1100px) {
  .product-card__visual {
    min-height: 430px !important;
  }

  .thaiva-showcase {
    width: min(100%, 760px);
    height: 400px;
  }

  .thaiva-tablet {
    left: 3%;
    width: min(69%, 520px);
  }

  .thaiva-phone {
    right: 7%;
    width: min(24%, 190px);
    min-width: 142px;
  }
}

@media (max-width: 720px) {
  .product-card {
    padding-bottom: 86px !important;
  }

  .product-card__visual {
    min-height: 320px !important;
    margin-top: 6px;
  }

  .thaiva-showcase {
    width: 100%;
    height: 270px;
    margin: 0;
  }

  .thaiva-showcase::before {
    left: 8%;
    right: 8%;
    height: 24%;
    opacity: 0.72;
  }

  .thaiva-tablet {
    left: -1%;
    top: 56%;
    width: 78%;
    padding: 7px;
    border-radius: 20px;
    transform: translateY(-50%) rotate(-4deg);
  }

  .thaiva-tablet__screen {
    border-radius: 13px;
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.80);
  }

  .thaiva-tablet__camera {
    top: 5px;
    width: 8px;
    height: 8px;
  }

  .thaiva-phone {
    right: 2%;
    bottom: 0;
    width: 33%;
    min-width: 118px;
    padding: 6px;
    border-radius: 28px;
  }

  .thaiva-phone__screen {
    border-radius: 21px;
  }

  .world-map {
    min-height: 176px !important;
    margin-top: 10px;
  }

  .world-map img {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    opacity: 0.92 !important;
    filter: brightness(1.12) saturate(110%) contrast(104%) !important;
    mix-blend-mode: normal;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, #000 18%, #000 82%, rgba(0,0,0,0.18) 100%) !important;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, #000 18%, #000 82%, rgba(0,0,0,0.18) 100%) !important;
  }

  .timezone-chip {
    right: 12px !important;
    bottom: 16px !important;
    transform: scale(0.92);
    transform-origin: bottom right;
  }
}

@media (max-width: 420px) {
  .product-card__visual {
    min-height: 292px !important;
  }

  .thaiva-showcase {
    height: 238px;
  }

  .thaiva-tablet {
    left: -2%;
    width: 80%;
  }

  .thaiva-phone {
    right: 1%;
    width: 34%;
    min-width: 106px;
  }

  .world-map {
    min-height: 158px !important;
  }

  .timezone-chip {
    right: 10px !important;
    bottom: 12px !important;
    transform: scale(0.82);
  }
}


/* FINAL TUNE 2026-07-05-D: revert mobile map regression and refine THaiva tablet composition. */
.thaiva-showcase {
  width: min(100%, 840px) !important;
  height: clamp(400px, 36vw, 500px) !important;
}

.thaiva-showcase::before {
  left: 6% !important;
  right: 10% !important;
  bottom: 2% !important;
  height: 20% !important;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.58), transparent 74%) !important;
  filter: blur(14px) !important;
  opacity: 0.74 !important;
}

.thaiva-tablet {
  left: 10% !important;
  top: 52% !important;
  width: min(61%, 530px) !important;
  aspect-ratio: 4 / 3 !important;
  padding: 10px !important;
  border-radius: 30px !important;
  background: linear-gradient(145deg, #464d50, #15191c 45%, #2f3639) !important;
  border: 1px solid rgba(239, 247, 244, 0.24) !important;
  box-shadow:
    0 28px 34px rgba(0, 0, 0, 0.48),
    0 8px 18px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.66) !important;
  transform: translateY(-50%) rotate(-3.2deg) !important;
}

.thaiva-tablet::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.06), transparent 18%, transparent 78%, rgba(255,255,255,0.04));
}

.thaiva-tablet__screen {
  border-radius: 20px !important;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.72) !important;
}

.thaiva-tablet__camera {
  top: 6px !important;
  width: 8px !important;
  height: 8px !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.34) !important;
}

.thaiva-phone {
  right: 8% !important;
  bottom: 5% !important;
  width: min(22.5%, 194px) !important;
  min-width: 148px !important;
  border-radius: 34px !important;
}

.thaiva-phone__screen {
  border-radius: 25px !important;
}

@media (max-width: 1100px) {
  .thaiva-showcase {
    width: min(100%, 760px) !important;
    height: 390px !important;
  }

  .thaiva-tablet {
    left: 9% !important;
    width: min(62%, 500px) !important;
  }

  .thaiva-phone {
    right: 8% !important;
    width: min(23%, 184px) !important;
    min-width: 138px !important;
  }
}

@media (max-width: 720px) {
  .product-card__visual {
    min-height: 318px !important;
  }

  .thaiva-showcase {
    width: 100% !important;
    height: 288px !important;
    margin: 0 !important;
  }

  .thaiva-showcase::before {
    left: 10% !important;
    right: 10% !important;
    bottom: 1% !important;
    height: 18% !important;
    opacity: 0.68 !important;
  }

  .thaiva-tablet {
    left: 0 !important;
    top: 56% !important;
    width: 75% !important;
    padding: 7px !important;
    border-radius: 20px !important;
    transform: translateY(-50%) rotate(-3deg) !important;
  }

  .thaiva-tablet::after {
    inset: 7px !important;
    border-radius: 14px !important;
  }

  .thaiva-tablet__screen {
    border-radius: 14px !important;
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.74) !important;
  }

  .thaiva-phone {
    right: 4% !important;
    bottom: -1% !important;
    width: 31% !important;
    min-width: 116px !important;
    padding: 6px !important;
    border-radius: 26px !important;
  }

  .thaiva-phone__screen {
    border-radius: 20px !important;
  }

  /* revert map to the earlier mobile treatment */
  .world-map {
    min-height: 210px !important;
  }

  .world-map img {
    inset: -36px -28px -46px -40px !important;
    width: calc(100% + 68px) !important;
    height: calc(100% + 82px) !important;
    object-fit: cover !important;
    object-position: 58% center !important;
    opacity: 0.76 !important;
    filter: brightness(1.16) saturate(118%) contrast(106%) drop-shadow(0 0 22px rgba(32, 240, 182, 0.13)) !important;
    mix-blend-mode: screen !important;
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%) !important;
  }

  .timezone-chip {
    right: 18px !important;
    bottom: 18px !important;
    transform: scale(0.88) !important;
    transform-origin: bottom right !important;
  }
}

@media (max-width: 420px) {
  .product-card__visual {
    min-height: 286px !important;
  }

  .thaiva-showcase {
    height: 252px !important;
  }

  .thaiva-tablet {
    width: 76% !important;
    left: -1% !important;
  }

  .thaiva-phone {
    right: 3% !important;
    width: 31.5% !important;
    min-width: 104px !important;
  }

  .world-map {
    min-height: 184px !important;
  }

  .world-map img {
    inset: -30px -22px -36px -28px !important;
    width: calc(100% + 50px) !important;
    height: calc(100% + 66px) !important;
  }

  .timezone-chip {
    right: 12px !important;
    bottom: 14px !important;
    transform: scale(0.80) !important;
  }
}

/* RWD navigation + language switcher */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: max-content;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  color: rgba(243, 248, 246, 0.82);
  background: rgba(2, 10, 9, 0.48);
  border: 1px solid rgba(156, 255, 228, 0.18);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.language-switch a {
  display: inline-grid;
  min-width: 36px;
  min-height: 34px;
  padding: 0 10px;
  place-items: center;
  color: rgba(243, 248, 246, 0.76);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a.is-active {
  color: var(--text);
  background: rgba(32, 240, 182, 0.13);
  box-shadow: 0 0 18px rgba(32, 240, 182, 0.13), inset 0 0 0 1px rgba(104, 255, 220, 0.22);
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(32, 240, 182, 0.14), rgba(5, 32, 29, 0.36)),
    rgba(2, 10, 9, 0.64);
  border: 1px solid rgba(104, 255, 220, 0.56);
  border-radius: 13px;
  box-shadow: 0 0 26px rgba(32, 240, 182, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  grid-area: 1 / 1;
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(32, 240, 182, 0.34);
  transition: transform 220ms var(--ease), opacity 180ms ease;
}

.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }

.site-header.is-menu-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
.site-header.is-menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); }

.mobile-menu {
  display: none;
}

@media (min-width: 1000px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .site-nav--desktop {
    display: flex !important;
    grid-column: auto !important;
    grid-row: auto !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 999px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: center;
  }

  .site-nav--desktop,
  .header-actions {
    display: none !important;
  }

  .nav-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
  }

  .mobile-menu {
    display: grid;
    grid-column: 1 / -1;
    grid-template-rows: auto auto;
    gap: 12px;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 280ms var(--ease), opacity 200ms ease, margin-top 200ms ease;
  }

  .site-header.is-menu-open .mobile-menu {
    max-height: 560px;
    margin-top: 6px;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu .site-nav {
    display: grid !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 0 !important;
    font-size: 0.86rem !important;
  }

  .mobile-menu .site-nav a {
    display: grid !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    place-items: center;
    color: rgba(243, 248, 246, 0.88) !important;
    background: rgba(4, 10, 9, 0.72) !important;
    border: 1px solid rgba(156, 255, 228, 0.18) !important;
    border-radius: 11px !important;
  }

  .mobile-menu .site-nav a::after {
    display: none !important;
  }

  .mobile-menu__actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: rgba(2, 10, 9, 0.46);
    border: 1px solid rgba(156, 255, 228, 0.14);
    border-radius: 14px;
  }

  .language-switch--mobile {
    justify-self: start;
  }

  .button--mobile-menu {
    width: 100%;
    min-height: 46px;
    padding-inline: 18px;
    border-radius: 11px;
  }
}

@media (max-width: 520px) {
  .mobile-menu .site-nav {
    grid-template-columns: 1fr !important;
  }

  .mobile-menu__actions {
    grid-template-columns: 1fr;
  }

  .language-switch--mobile,
  .language-switch--mobile a,
  .button--mobile-menu {
    width: 100%;
  }

  .language-switch--mobile {
    justify-content: stretch;
  }

  .language-switch--mobile a {
    min-width: 0;
  }
}


/* Contact dialog */
body.is-contact-modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  width: 100%;
  height: 100%;
  padding: clamp(14px, 4vw, 42px);
  overflow: hidden;
  place-items: center;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(32, 240, 182, 0.18), transparent 34rem),
    rgba(0, 4, 4, 0.78);
  backdrop-filter: blur(16px);
}

.contact-window {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(680px, calc(100vw - 28px));
  max-height: min(760px, calc(100svh - 28px));
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(8, 24, 22, 0.96), rgba(2, 9, 8, 0.98)),
    rgba(4, 14, 13, 0.98);
  border: 1px solid rgba(114, 255, 217, 0.28);
  border-radius: clamp(18px, 4vw, 26px);
  box-shadow:
    0 30px 110px rgba(0, 0, 0, 0.58),
    0 0 72px rgba(32, 240, 182, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.contact-window::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(106, 255, 223, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 255, 223, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 70%);
}

.contact-modal.is-open .contact-window {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-modal.is-minimized {
  align-items: end;
  padding-bottom: clamp(14px, 3vw, 32px);
}

.contact-modal.is-minimized .contact-window {
  width: min(430px, calc(100vw - 28px));
  max-height: 64px;
  cursor: pointer;
  border-radius: 18px;
}

.contact-modal.is-minimized .contact-window__chrome {
  min-height: 56px;
  border-bottom-color: transparent;
}

.contact-modal.is-minimized .contact-window__body {
  display: none;
}

.contact-modal.is-fullscreen {
  padding: clamp(10px, 2vw, 24px);
}

.contact-modal.is-fullscreen .contact-window {
  width: min(1180px, calc(100vw - 20px));
  height: calc(100svh - 20px);
  max-height: calc(100svh - 20px);
  border-radius: clamp(14px, 2vw, 24px);
}

.contact-modal.is-fullscreen .contact-window__body {
  flex: 1;
  align-content: center;
}

.contact-window__chrome {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 56px;
  padding: 14px 16px 13px;
  background: rgba(1, 9, 8, 0.74);
  border-bottom: 1px solid rgba(156, 255, 228, 0.16);
}

.contact-window__chrome p {
  margin: 0;
  overflow: hidden;
  color: rgba(244, 251, 248, 0.68);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-window__controls {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.contact-window__control {
  position: relative;
  display: grid;
  width: 12px;
  height: 12px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.28), 0 0 14px rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.contact-window__control--close { background: #ff5f57; }
.contact-window__control--minimize { background: #ffbd2e; }
.contact-window__control--fullscreen { background: #28c840; }

.contact-window__control span {
  opacity: 0;
  color: rgba(0, 0, 0, 0.7);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  transform: scale(0.72);
  transition: opacity 120ms ease, transform 120ms ease;
}

.contact-window__controls:hover .contact-window__control span,
.contact-window__control:focus-visible span {
  opacity: 1;
  transform: scale(1);
}

.contact-window__control:focus-visible {
  outline: 2px solid rgba(244, 251, 248, 0.86);
  outline-offset: 3px;
}

.contact-window__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 38px);
  overflow: auto;
}

.contact-window__command {
  width: max-content;
  max-width: 100%;
  margin: 0 0 2px;
  padding: 7px 10px;
  overflow: hidden;
  color: var(--neon-2);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(32, 240, 182, 0.08);
  border: 1px solid rgba(114, 255, 217, 0.18);
  border-radius: 999px;
}

.contact-window h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.contact-window p {
  margin: 0;
}

.contact-window #contact-modal-description {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.contact-channel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  background:
    linear-gradient(90deg, rgba(32, 240, 182, 0.09), transparent),
    rgba(2, 10, 9, 0.66);
  border: 1px solid rgba(114, 255, 217, 0.22);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-channel__label {
  padding: 7px 9px;
  color: rgba(2, 7, 6, 0.96);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  background: var(--neon-2);
  border-radius: 10px;
}

.contact-channel strong {
  overflow: hidden;
  font-size: clamp(1rem, 3vw, 1.22rem);
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-copy {
  min-height: 42px;
  padding: 0 14px;
  color: var(--text);
  font-weight: 760;
  background: rgba(244, 251, 248, 0.06);
  border: 1px solid rgba(156, 255, 228, 0.18);
  border-radius: 11px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

.contact-copy:hover,
.contact-copy:focus-visible {
  background: rgba(32, 240, 182, 0.1);
  border-color: rgba(114, 255, 217, 0.38);
  transform: translateY(-1px);
}

.contact-window__hint {
  min-height: 1.4em;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.contact-window__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-window__actions .button {
  min-height: 52px;
}

.contact-linkedin svg {
  width: 1.08em;
  height: 1.08em;
  fill: currentColor;
  stroke: none;
}

.service-cta__button {
  margin-top: 10px;
}

@media (max-width: 640px) {
  .contact-modal {
    place-items: center;
    padding: 12px;
  }

  .contact-window {
    width: 100%;
    max-height: calc(100svh - 24px);
    border-radius: 20px;
  }

  .contact-window__chrome {
    gap: 10px;
    min-height: 52px;
    padding-inline: 12px;
  }

  .contact-window__chrome p {
    font-size: 0.68rem;
  }

  .contact-window__controls {
    gap: 6px;
  }

  .contact-window__control {
    width: 10px;
    height: 10px;
  }

  .contact-window__control span {
    font-size: 8px;
  }

  .contact-modal.is-minimized {
    align-items: end;
    padding-bottom: 12px;
  }

  .contact-modal.is-minimized .contact-window {
    width: calc(100vw - 24px);
    max-height: 58px;
  }

  .contact-modal.is-fullscreen {
    padding: 0;
  }

  .contact-modal.is-fullscreen .contact-window {
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    border-radius: 0;
  }

  .contact-window__body {
    gap: 15px;
    padding: 22px 16px 18px;
  }

  .contact-window h2 {
    max-width: 12ch;
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .contact-channel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-channel strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contact-channel__label {
    width: max-content;
  }

  .contact-copy,
  .contact-window__actions,
  .contact-window__actions .button {
    width: 100%;
  }
}

/* Brand asset footer replacement. */
.brand--footer {
  align-items: center;
  overflow: visible;
  font-size: 0;
  letter-spacing: 0;
  line-height: 0;
}

.brand__footer-logo {
  display: block;
  width: clamp(72px, 7vw, 92px);
  height: auto;
  object-fit: contain;
}

@media (max-width: 620px) {
  .brand__footer-logo {
    width: 74px;
  }
}

