/* ==========================================================================
   XDT Labs — site styles
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #05060b;
  --bg-2: #08090f;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --ink: #eef0f7;
  --ink-dim: #b6b9c9;
  --muted: #8c90a4;
  --violet: #a78bfa;
  --violet-deep: #7c4dff;
  --violet-soft: #cdbcff;
  --blue: #7aa2ff;
  --peach: #ffb59c;
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
  --pad: clamp(20px, 4.4vw, 56px);
  --radius: 22px;
  --max: 1280px;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(167, 139, 250, 0.35); color: #fff; }

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

section[id], article[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #07080e;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- atmosphere ---------- */
.page-grain {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.16), rgba(90, 120, 255, 0.07) 42%, transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 0.6s ease;
  will-change: transform;
}
.cursor-glow.is-live { opacity: 1; }

/* ---------- typography ---------- */
.grad {
  background: linear-gradient(96deg, #e7dcff 0%, #b49bff 28%, #8b5cf6 58%, #c9b8ff 88%, #efe9ff 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 14s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.grad-soft {
  background: linear-gradient(100deg, #f4f0ff, #b9a4ff 55%, #8b6cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow-line {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), rgba(167, 139, 250, 0));
}
.eyebrow--center { justify-content: center; }

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: #f6f4ff;
}
.section-title--sm { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.section-title .grad-soft { font-weight: 500; }

.section-lede {
  margin-top: 26px;
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  color: var(--muted);
}

.section { position: relative; padding: clamp(84px, 10.5vw, 148px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }

.section-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lede { margin-inline: auto; }

.split-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.split-lede {
  font-size: clamp(0.97rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 52ch;
  padding-bottom: 6px;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.35s var(--ease), color 0.3s var(--ease);
}
.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-play { width: 14px; height: 14px; }

.btn-light {
  background: linear-gradient(180deg, #ffffff 0%, #e9e5f7 100%);
  color: #0a0b12;
  box-shadow: 0 12px 34px -16px rgba(255, 255, 255, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -18px rgba(198, 180, 255, 0.7), inset 0 0 0 1px #fff;
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f2f0fb;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.65);
  background: rgba(124, 92, 255, 0.14);
}
.btn-sm { height: 42px; padding: 0 20px; font-size: 13px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--violet-soft);
  border-bottom: 1px solid rgba(167, 139, 250, 0.35);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s;
}
.text-link svg { width: 15px; height: 15px; }
.text-link:hover { gap: 14px; border-color: var(--violet); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 7, 13, 0.68);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.nav-shell {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(18px, 3.2vw, 48px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2.4vw, 34px);
}
.nav-progress {
  height: 1px;
  width: 0%;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0), #a78bfa 60%, #d9c9ff);
  opacity: 0.75;
  transition: opacity 0.4s;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 27px; height: 27px; }
.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-word strong { font-weight: 700; }
.brand-word span { font-weight: 300; color: rgba(238, 240, 247, 0.78); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.3vw, 16px);
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 450;
  color: rgba(238, 240, 247, 0.68);
  border-radius: 8px;
  transition: color 0.25s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible { color: #fff; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 1.5px;
  background: #f3efff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after { width: 22px; }
.chev { width: 11px; height: 11px; opacity: 0.7; transition: transform 0.3s var(--ease); }

.nav-item { position: relative; }
.nav-item.is-open > .nav-trigger .chev { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, -8px);
  min-width: 268px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(11, 12, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), transform 0.3s var(--ease), visibility 0.24s;
}
.nav-menu--wide { width: 560px; max-width: calc(100vw - 40px); }
.nav-item.is-open > .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.nav-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  transition: background 0.2s, color 0.2s;
}
.nav-menu a:hover, .nav-menu a:focus-visible { background: rgba(255, 255, 255, 0.06); }
.nav-menu--list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.menu-name { color: #f0edfb; font-weight: 450; }
.menu-desc { font-size: 11.5px; color: var(--muted); letter-spacing: 0; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.menu-grid a { display: flex; flex-direction: column; gap: 2px; }
.menu-all {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 12px 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 11px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-soft) !important;
}
.menu-all span { letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.4); }

.nav-actions { display: flex; align-items: center; gap: clamp(6px, 1vw, 14px); }
.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: rgba(238, 240, 247, 0.75);
  transition: color 0.25s, background 0.25s;
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  place-items: center;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1.4px;
  background: currentColor;
  margin: 2.5px 0;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-btn[aria-expanded='true'] span:first-child { transform: translateY(3.2px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 26px) var(--pad) 40px;
  background: rgba(5, 6, 11, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.mobile-nav > a, .mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: clamp(1.45rem, 6vw, 1.9rem);
  font-weight: 450;
  letter-spacing: -0.03em;
  color: #f2effb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .chev { transform: rotate(180deg); }
.mobile-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px 0 16px; }
.mobile-sub a {
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.mobile-sub a:hover { color: #fff; }
.mobile-menu-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mobile-mail { font-size: 14px; color: var(--violet-soft); }

/* ---------- search ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: clamp(70px, 12vh, 130px) 18px 18px;
}
.search-overlay[hidden] { display: none; }
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s var(--ease);
}
.search-panel {
  position: relative;
  width: min(660px, 100%);
  border-radius: 20px;
  background: linear-gradient(180deg, #101120, #090a12);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  animation: panelIn 0.35s var(--ease-out);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.search-field > svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  outline: none;
}
.search-field input::placeholder { color: rgba(255, 255, 255, 0.32); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-esc {
  flex: none;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.search-results { max-height: min(52vh, 420px); overflow-y: auto; padding: 8px; }
.search-group-label {
  padding: 10px 12px 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}
.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  text-align: left;
  font-size: 14px;
  color: var(--ink-dim);
  transition: background 0.15s, color 0.15s;
}
.search-result .sr-meta { font-size: 11px; color: rgba(255, 255, 255, 0.34); }
.search-result:hover, .search-result.is-active { background: rgba(255, 255, 255, 0.07); color: #fff; }
.search-result mark { background: none; color: var(--violet); }
.search-empty { padding: 26px 14px 30px; text-align: center; color: var(--muted); font-size: 13.5px; }
.search-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}
.search-hint kbd {
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-family: inherit;
  font-size: 10px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + clamp(38px, 8vh, 92px));
  overflow: hidden;
  isolation: isolate;
}
.hero-visual { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#heroCanvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 1.6s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 52%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 52%);
}
#heroCanvas.is-ready { opacity: 0.95; }
.hero-fallback {
  position: absolute;
  inset: -10% -20% 0 20%;
  background:
    radial-gradient(48% 40% at 62% 34%, rgba(126, 96, 255, 0.4), transparent 70%),
    radial-gradient(40% 34% at 82% 62%, rgba(84, 124, 255, 0.26), transparent 72%),
    radial-gradient(32% 26% at 48% 66%, rgba(255, 160, 130, 0.16), transparent 70%);
  filter: blur(40px);
  opacity: 0.85;
}
.hero-aura {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 80vw;
  height: 60vh;
  transform: translate(-50%, -30%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(90, 70, 200, 0.16), transparent 70%);
  filter: blur(30px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: clamp(24px, 4vh, 48px);
}
.hero-copy { max-width: 820px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.34);
  background: rgba(124, 92, 255, 0.07);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 450;
  letter-spacing: -0.005em;
  color: #e4dcff;
  margin-bottom: clamp(20px, 3vh, 30px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 40px -14px rgba(139, 92, 246, 0.7);
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.18), 0 0 12px 2px rgba(167, 139, 250, 0.65);
  animation: pulseDot 3.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.16), 0 0 12px 2px rgba(167, 139, 250, 0.55); }
  50% { box-shadow: 0 0 0 5px rgba(167, 139, 250, 0.08), 0 0 18px 4px rgba(167, 139, 250, 0.8); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.042em;
  font-weight: 500;
  color: #fbf9ff;
  max-width: 15ch;
}
.hero-title .line { display: inline; }
.hero-title .grad { font-weight: 500; }

.hero-sub {
  margin-top: clamp(20px, 3vh, 30px);
  max-width: 42ch;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  color: rgba(214, 214, 228, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 4vh, 38px);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.42);
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 10px rgba(110, 231, 183, 0.8);
  flex: none;
}

.hero-features {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(22px, 3vh, 32px);
  padding-bottom: clamp(56px, 8vh, 92px);
}
.feature { padding: 0 clamp(12px, 1.8vw, 26px); border-left: 1px solid rgba(255, 255, 255, 0.08); }
.feature:first-child { border-left: 0; padding-left: 0; }
.feature-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  color: #b9a3ff;
  filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.4));
}
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 {
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #f0edfa;
  margin-bottom: 6px;
}
.feature p { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.44); }

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.3s;
}
.scroll-cue:hover { color: #fff; }
.scroll-cue svg { width: 16px; height: 16px; animation: bob 2.6s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(4px); opacity: 1; }
}

.hero-horizon {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -38vh;
  width: 210vw;
  height: 44vh;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(122, 100, 250, 0.34), rgba(54, 38, 122, 0.10) 34%, transparent 56%);
  box-shadow: inset 0 1px 0 rgba(196, 186, 255, 0.22), inset 0 24px 80px -40px rgba(150, 130, 255, 0.55);
  pointer-events: none;
  opacity: 0.9;
}
.hero-horizon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 2%, rgba(255, 255, 255, 0.34), transparent 16%);
  filter: blur(10px);
  opacity: 0.45;
}

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 44s linear infinite;
}
.marquee span {
  font-size: 11.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}
.marquee i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.55);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- trust ---------- */
.trust { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
}
.stat {
  background: var(--bg);
  padding: clamp(24px, 3vw, 34px) clamp(16px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff, #a99bf0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 12px; color: var(--muted); letter-spacing: 0.01em; }

/* ---------- products ---------- */
.products {
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(90, 70, 190, 0.1), transparent 70%),
    radial-gradient(50% 40% at 90% 30%, rgba(70, 90, 200, 0.08), transparent 70%);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.085);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
  will-change: transform;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.13) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 1.1s var(--ease);
}
.product-card:hover, .product-card:focus-within {
  border-color: rgba(167, 139, 250, 0.42);
  box-shadow: 0 30px 70px -40px rgba(124, 92, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.product-card:hover::after { transform: translateX(120%); }

.pc-visual {
  position: relative;
  height: 168px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 18% 0%, hsla(var(--hue), 80%, 62%, 0.24), transparent 62%),
    radial-gradient(90% 90% at 96% 96%, hsla(var(--hue2), 85%, 58%, 0.2), transparent 60%),
    linear-gradient(160deg, #12131f, #090a12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.pc-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(90% 90% at 55% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(90% 90% at 55% 40%, #000 10%, transparent 75%);
  opacity: 0.7;
}
.pc-orb {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 130px;
  height: 130px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, hsla(var(--hue), 100%, 84%, 0.85), hsla(var(--hue), 90%, 55%, 0.35) 42%, transparent 68%);
  filter: blur(16px);
  opacity: 0.6;
  transition: opacity 0.6s, transform 0.8s var(--ease);
}
.product-card:hover .pc-orb { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
.pc-bevel {
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%);
  transition: border-color 0.5s;
}
.product-card:hover .pc-bevel { border-color: rgba(255, 255, 255, 0.14); }
.pc-glyph {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.86);
  filter: drop-shadow(0 0 18px hsla(var(--hue), 90%, 70%, 0.55));
  transition: transform 0.7s var(--ease);
}
.product-card:hover .pc-glyph { transform: translate(-50%, -50%) scale(1.06); }
.pc-index {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.28);
  font-variant-numeric: tabular-nums;
}

.pc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 20px 20px 22px;
}
.pc-cat {
  font-size: 9.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.85);
  font-weight: 500;
}
.pc-body h3 {
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #f5f2ff;
  line-height: 1.2;
}
.pc-desc { font-size: 13px; line-height: 1.6; color: var(--muted); }
.pc-award {
  font-size: 10.5px;
  line-height: 1.45;
  color: rgba(255, 214, 170, 0.72);
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid rgba(255, 190, 140, 0.16);
  background: rgba(255, 170, 110, 0.055);
  align-self: flex-start;
}
.pc-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 16px 0 0;
  font-size: 12.5px;
  font-weight: 450;
  color: rgba(238, 235, 250, 0.72);
  text-align: left;
  transition: color 0.25s, gap 0.3s var(--ease);
}
.pc-more svg { width: 14px; height: 14px; }
.pc-more:hover { color: #fff; gap: 11px; }
.pc-detail { display: none; }

/* ---------- solutions ---------- */
.solutions { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pillar-card {
  position: relative;
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.085);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(124, 92, 255, 0.1), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s;
}
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 155, 255, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.32);
  box-shadow: 0 30px 60px -40px rgba(124, 92, 255, 0.7);
}
.pillar-card:hover::before { opacity: 1; }
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(26px, 3vw, 44px); }
.pillar-num { font-size: 11px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.3); }
.pillar-icon { width: 30px; height: 30px; color: var(--violet-soft); }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-card h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  margin-bottom: 12px;
}
.pillar-card p { font-size: 13.5px; line-height: 1.68; color: var(--muted); }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tag-row li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 10.5px;
  letter-spacing: 0.015em;
  color: rgba(238, 237, 250, 0.62);
  background: rgba(255, 255, 255, 0.025);
}
.tag-row--dim li { border-color: rgba(255, 255, 255, 0.075); color: rgba(238, 237, 250, 0.45); }

/* ---------- capabilities ---------- */
.capabilities {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: radial-gradient(70% 60% at 100% 50%, rgba(80, 60, 170, 0.09), transparent 70%);
}
.cap-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 96px);
  align-items: start;
}
.cap-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.cap-note { margin-top: 24px; max-width: 34ch; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.cap-list { display: flex; flex-direction: column; }
.cap-row {
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.085);
  transition: padding-left 0.4s var(--ease);
}
.cap-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.085); }
.cap-row:hover { padding-left: 10px; }
.cap-row-head { display: flex; align-items: baseline; gap: 14px; }
.cap-num {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(167, 139, 250, 0.6);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.cap-row h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 450;
  letter-spacing: -0.03em;
  color: #f4f1ff;
}
.cap-row p { margin-top: 10px; font-size: 13.5px; line-height: 1.68; color: var(--muted); max-width: 52ch; }
.cap-row .tag-row { margin-top: 16px; }

/* ---------- process ---------- */
.process { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(28px, 4vw, 48px);
}
.steps::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.05), rgba(167, 139, 250, 0.45), rgba(167, 139, 250, 0.05));
}
.step { position: relative; padding-top: 30px; }
.step-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0a0b13;
  border: 1px solid rgba(167, 139, 250, 0.7);
  box-shadow: 0 0 0 4px rgba(10, 11, 19, 1), 0 0 18px rgba(139, 92, 246, 0.5);
}
.step:hover .step-dot { background: var(--violet); }
.step-num { font-size: 10px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.3); }
.step h3 { font-size: 1.02rem; font-weight: 500; margin: 6px 0 8px; letter-spacing: -0.02em; }
.step p { font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* ---------- R&D ---------- */
.rnd {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.rnd-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(circle, rgba(96, 70, 210, 0.16), transparent 65%);
  pointer-events: none;
  filter: blur(20px);
}
.rnd-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 16px;
  align-items: stretch;
}
.rnd-lab {
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(100% 80% at 0% 0%, rgba(124, 92, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  display: flex;
  flex-direction: column;
}
.rnd-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.9);
  margin-bottom: 18px;
}
.rnd-lab h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 450; letter-spacing: -0.03em; margin-bottom: 14px; }
.rnd-lab p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.rnd-small { margin-top: 14px; font-size: 12.5px !important; color: rgba(255, 255, 255, 0.4) !important; }
.rnd-areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 28px; }
.rnd-areas span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10.5px;
  color: rgba(238, 236, 250, 0.6);
  background: rgba(255, 255, 255, 0.03);
}

.rnd-showcase { display: grid; gap: 16px; }
.show-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.01));
  transition: border-color 0.35s, background 0.35s, transform 0.45s var(--ease);
}
.show-card:hover {
  border-color: rgba(167, 139, 250, 0.32);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.09), rgba(255, 255, 255, 0.012));
  transform: translateX(3px);
}
.show-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.show-award {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 200, 150, 0.24);
  background: rgba(255, 175, 110, 0.08);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 214, 175, 0.92);
}
.show-org { font-size: 11px; color: rgba(255, 255, 255, 0.36); }
.show-card h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.028em; margin-bottom: 8px; }
.show-card p { font-size: 13px; line-height: 1.62; color: var(--muted); max-width: 56ch; }
.show-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--violet-soft);
  transition: gap 0.3s var(--ease), color 0.25s;
}
.show-link:hover { gap: 10px; color: #fff; }

.rnd-quote {
  margin: clamp(44px, 6vw, 76px) 0 0;
  padding: clamp(24px, 3vw, 36px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rnd-quote p {
  font-size: clamp(1.15rem, 2.1vw, 1.7rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
  color: rgba(244, 241, 255, 0.9);
  max-width: 44ch;
  font-weight: 350;
}
.rnd-quote cite { font-style: normal; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.32); }

/* ---------- company ---------- */
.company { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.company-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}
.company-copy p { margin-top: 20px; font-size: 14px; line-height: 1.75; color: var(--muted); max-width: 52ch; }
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.value h3 { font-size: 12.5px; font-weight: 500; letter-spacing: -0.01em; color: #f0edfa; margin-bottom: 7px; }
.value p { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 0; }

.timeline-wrap {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
}
.timeline-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  margin-bottom: 8px;
}
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 22px;
  left: 3px;
  width: 1px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.55), rgba(167, 139, 250, 0.06));
}
.tl-item { position: relative; padding: 18px 0 18px 26px; }
.tl-item + .tl-item { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.tl-dot {
  position: absolute;
  left: 0;
  top: 23px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(10, 11, 18, 1), 0 0 14px rgba(167, 139, 250, 0.8);
}
.tl-year {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.8);
}
.tl-item h4 { font-size: 14px; font-weight: 500; letter-spacing: -0.02em; margin: 6px 0 6px; color: #f4f1ff; }
.tl-item p { font-size: 12.5px; line-height: 1.62; color: var(--muted); }

.company-strip {
  margin-top: clamp(48px, 7vw, 84px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(80% 160% at 0% 0%, rgba(124, 92, 255, 0.22), transparent 62%),
    radial-gradient(70% 140% at 100% 100%, rgba(80, 110, 220, 0.14), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008));
  text-align: center;
}
.company-strip p {
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  line-height: 1.5;
  letter-spacing: -0.025em;
  font-weight: 350;
  color: rgba(246, 243, 255, 0.92);
  max-width: 44ch;
  margin-inline: auto;
}

/* ---------- contact ---------- */
.contact {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: 120vw;
  height: 70vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(110, 85, 240, 0.18), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.contact-lede { margin-top: 24px; font-size: 14px; line-height: 1.72; color: var(--muted); max-width: 40ch; }
.contact-meta { display: flex; flex-direction: column; gap: 22px; margin-top: clamp(30px, 4vw, 46px); }
.meta-item { display: flex; flex-direction: column; gap: 6px; }
.meta-label { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.32); }
.meta-value { font-size: 14px; color: rgba(244, 241, 255, 0.86); }
a.meta-value:hover { color: var(--violet-soft); }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 2px;
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.copy-btn svg { width: 12px; height: 12px; }
.copy-btn:hover { color: #fff; border-color: rgba(167, 139, 250, 0.4); }
.copy-btn.is-done { color: #8ef0c0; border-color: rgba(110, 231, 183, 0.4); }

.contact-form {
  padding: clamp(22px, 3vw, 36px);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(124, 92, 255, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.field label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
  color: #f4f1ff;
  font-family: inherit;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.26); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.65);
  background: rgba(124, 92, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.14);
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.6; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 38px; cursor: pointer; }
.select-wrap select option { background: #0d0e18; color: #f4f1ff; }
.select-chev {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255, 255, 255, 0.45);
}
.form-error {
  margin-bottom: 14px;
  font-size: 12px;
  color: #ffb4ae;
}
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.btn-submit { flex: none; }
.form-note { font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, 0.35); max-width: 24ch; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: clamp(44px, 6vw, 72px) 0 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 60%);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr;
  gap: clamp(30px, 6vw, 80px);
  padding-bottom: clamp(34px, 4vw, 52px);
}
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: 13px; line-height: 1.7; color: var(--muted); }
.footer-mail { display: inline-block; margin-top: 18px; font-size: 13.5px; color: var(--violet-soft); }
.footer-mail:hover { color: #fff; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  font-weight: 500;
  margin-bottom: 6px;
}
.footer-col a { font-size: 12.5px; color: rgba(238, 236, 248, 0.6); transition: color 0.22s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- dialogs ---------- */
.dialog {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  max-width: none;
  max-height: none;
  overflow: visible;
}
.dialog::backdrop {
  background: rgba(3, 4, 9, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dialog-inner {
  position: relative;
  width: min(720px, calc(100vw - 28px));
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(124, 92, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #101120, #08080f);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.dialog[open] .dialog-inner { animation: dialogIn 0.42s var(--ease-out); }
@keyframes dialogIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(10, 10, 18, 0.6);
  transition: color 0.2s, background 0.2s;
  z-index: 2;
}
.dialog-close svg { width: 13px; height: 13px; }
.dialog-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.pd-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-right: 34px; }
.pd-visual {
  position: relative;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(120% 120% at 20% 0%, hsla(var(--hue, 266), 80%, 65%, 0.35), transparent 65%),
    linear-gradient(160deg, #161726, #0a0b13);
}
.pd-visual .pc-grid { background-size: 16px 16px; opacity: 0.5; }
.pd-visual .pc-orb { width: 52px; height: 52px; opacity: 0.9; filter: blur(8px); }
.pd-head h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; margin-top: 5px; }
.pd-body { font-size: 13.5px; line-height: 1.72; color: var(--ink-dim); }
.pd-body > p + p { margin-top: 14px; }
.pd-body ul { display: grid; gap: 8px; margin: 18px 0; }
.pd-body li { position: relative; padding-left: 18px; font-size: 13px; color: var(--muted); }
.pd-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.8);
}
.pd-body .pc-meta {
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.34);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.pd-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pd-hint { font-size: 10.5px; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.28); }

.dialog--story .dialog-inner { width: min(680px, calc(100vw - 28px)); }
.dialog--story h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 450;
  margin-bottom: 20px;
}
.story-body p { font-size: 13.5px; line-height: 1.75; color: var(--ink-dim); }
.story-body p + p { margin-top: 13px; }
.story-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.story-facts div { display: flex; flex-direction: column; gap: 4px; }
.story-facts strong {
  font-size: 1.35rem;
  font-weight: 450;
  letter-spacing: -0.03em;
  color: #f1ecff;
}
.story-facts span { font-size: 10.5px; line-height: 1.4; color: var(--muted); }

/* ---------- reveal ---------- */
html:not(.no-js) [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
html:not(.no-js) [data-reveal].is-visible { opacity: 1; transform: none; }
html:not(.no-js) [data-reveal='fade'] { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-visual { height: 190px; }
  .cap-layout { grid-template-columns: 1fr; gap: 34px; }
  .cap-intro { position: static; }
  .cap-note { max-width: 52ch; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .hero-title { max-width: 18ch; }
  .hero-features { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .feature:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature:nth-child(-n + 2) { padding-bottom: 0; }
  .split-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .split-lede { max-width: 62ch; }
  .rnd-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-cta { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 4px; }
  .steps::before { top: 0; bottom: 30px; left: 5px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(167, 139, 250, 0.4), rgba(167, 139, 250, 0.04)); }
  .step { padding: 0 0 30px 30px; }
  .step-dot { top: 4px; left: 0; }
  .step:last-child { padding-bottom: 0; }
  .values { grid-template-columns: 1fr; gap: 20px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { align-items: flex-end; padding-bottom: 20px; }
  .hero-title { font-size: clamp(2.5rem, 8.6vw, 3.6rem); }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 26px); }
  .hero-visual { opacity: 0.6; }
  #heroCanvas { opacity: 0; }
  #heroCanvas.is-ready { opacity: 0.62; }
  .hero-fallback { inset: -20% -40% 0 0; opacity: 0.45; }
  .hero-horizon { bottom: -44vh; height: 48vh; opacity: 0.75; }
  .hero-features { padding-bottom: 44px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { backdrop-filter: none; }
}

@media (max-width: 640px) {
  .hero-title { max-width: none; letter-spacing: -0.035em; }
  .hero-title .line { display: inline; }
  .hero-sub { max-width: 36ch; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-meta { font-size: 10.5px; }
  .hero-features { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .feature { padding: 0 0 0 14px; }
  .feature h3 { font-size: 0.9rem; }
  .feature p { font-size: 11.5px; }
  .product-grid { grid-template-columns: 1fr; }
  .pc-visual { height: 160px; }
  .stat { padding: 20px 16px; }
  .stat-num { font-size: 1.9rem; }
  .stat-label { font-size: 11px; line-height: 1.4; }
  .section-title { font-size: clamp(1.95rem, 8vw, 2.6rem); }
  .search-hint { display: none; }
  .story-facts { grid-template-columns: 1fr; gap: 14px; }
  .contact-meta { gap: 18px; }
  .footer-bottom { font-size: 10.5px; }
  .dialog-inner { max-height: 90vh; }
}

@media (max-width: 400px) {
  .brand-word { font-size: 15px; }
  .hero-features { grid-template-columns: 1fr; }
  .feature { border-left: 0 !important; padding-left: 0 !important; padding-bottom: 18px; }
}

@media (hover: none) {
  .cursor-glow { display: none; }
  .product-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .grad { animation: none; }
  .scroll-cue svg, .pill-dot { animation: none; }
  #heroCanvas { transition: none; }
}
