/* ============================================================
   SINGULARITY · Luminous Dark AX Console
   Design system — engineered for trust
   ============================================================ */

/* ---------- Fonts ---------- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

/* ---------- Tokens ---------- */
:root {
  --bg: #05060a;
  --surface: #0c0f18;
  --surface-2: #141927;
  --primary: #6e56f7;
  --secondary: #22d3ee;
  --accent: #c084fc;
  --text: #edeff7;
  --text-muted: #8a91a6;
  --border: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.08);
  --glass: rgba(12, 15, 24, 0.55);
  --glass-2: rgba(20, 25, 39, 0.5);

  --grad-brand: linear-gradient(135deg, #6e56f7 0%, #22d3ee 100%);
  --grad-brand-soft: linear-gradient(135deg, #8b78ff 0%, #5fe3f7 100%);
  --grad-core: radial-gradient(60% 60% at 50% 30%, rgba(110, 86, 247, 0.42) 0%, rgba(34, 211, 238, 0.16) 45%, rgba(5, 6, 10, 0) 75%);
  --grad-scanline: linear-gradient(90deg, rgba(34, 211, 238, 0) 0%, rgba(34, 211, 238, 0.55) 50%, rgba(34, 211, 238, 0) 100%);
  --grad-glasstop: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);

  --font-display: "Space Grotesk", "Pretendard Variable", sans-serif;
  --font-body: "Pretendard Variable", "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 26px;

  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul {
  list-style: none;
}
::selection {
  background: rgba(110, 86, 247, 0.35);
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

/* ---------- Global background field ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(110, 86, 247, 0.12) 0%, rgba(5, 6, 10, 0) 50%),
    radial-gradient(100% 70% at 0% 110%, rgba(34, 211, 238, 0.08) 0%, rgba(5, 6, 10, 0) 55%),
    var(--bg);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 0%, transparent 75%);
}
/* Noise grain to kill banding */
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section {
  position: relative;
  padding-block: clamp(80px, 11vw, 160px);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--secondary);
  opacity: 0.8;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  word-break: keep-all;
}
h2 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.025em;
}
h2 .ko {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lede {
  color: var(--text-muted);
  font-size: clamp(16px, 1.5vw, 19px);
  margin-top: 20px;
  max-width: 60ch;
  word-break: keep-all;
}
.text-grad {
  background: var(--grad-brand-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nowrap {
  white-space: nowrap;
}

/* ---------- Glass primitives ---------- */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-glasstop);
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Scanline divider */
.divider {
  position: relative;
  height: 1px;
  width: 100%;
  background: var(--grad-scanline);
  opacity: 0.08;
  transform: scaleX(1);
}
.divider[data-scanline] {
  transform: scaleX(0);
  transform-origin: center;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 15px;
}
.brand .mark {
  width: 32px;
  height: 32px;
  flex: none;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--secondary);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.locale {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.locale b {
  color: var(--text);
  font-weight: 500;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  margin: 4px auto;
  transition: 0.3s;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: box-shadow 0.3s, background 0.3s;
  will-change: transform;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 30px -8px rgba(110, 86, 247, 0.6);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 44px -10px rgba(110, 86, 247, 0.8);
}
.btn-primary:hover::after {
  opacity: 1;
}
.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-lg {
  padding: 16px 30px;
  font-size: 15.5px;
  border-radius: 14px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
#core-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: var(--grad-core);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-inner {
  max-width: 1000px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 14px 7px 12px;
  border-radius: 100px;
  border: 1px solid var(--hairline);
  background: rgba(12, 15, 24, 0.5);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 90px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.hero h1 .ko {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hero h1 .ax {
  background: var(--grad-brand-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  filter: drop-shadow(0 0 24px rgba(110, 86, 247, 0.45));
}
.hero-sub {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 34px);
  color: var(--text-muted);
  font-weight: 400;
}
.verb-roll {
  position: relative;
  display: inline-flex;
  justify-content: center;
  height: 1.3em;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 4.4em;
  padding-inline: 2px;
}
.verb-roll span {
  display: block;
  color: var(--secondary);
  font-weight: 600;
  font-family: var(--font-body);
  white-space: nowrap;
}
.hero-lede {
  margin-top: 30px;
  max-width: 56ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}
.hero-tags .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
}
.hero-tags .tag::before {
  content: "/ ";
  color: var(--primary);
}
.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.scroll-cue .line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--secondary), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--text);
  animation: scrollLine 2s var(--ease-out) infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ============================================================
   TRUST MARQUEE
   ============================================================ */
.trust {
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(12, 15, 24, 0.3);
}
.trust-label {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.logo-item {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
}
.logo-item:hover {
  opacity: 1;
  color: var(--text);
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.pain {
  padding: 30px;
  border-radius: var(--radius);
}
.pain .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 18px;
}
.pain h3 {
  font-size: 21px;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.pain p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ============================================================
   SOLUTION INTRO (statement)
   ============================================================ */
.statement {
  text-align: center;
}
.statement .big {
  font-family: var(--font-body);
  font-size: clamp(28px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 17ch;
  margin-inline: auto;
  word-break: keep-all;
}
.statement .lede {
  margin-inline: auto;
  margin-top: 30px;
  text-align: center;
}

/* ============================================================
   CAPABILITIES (bento)
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cap {
  --mx: 50%;
  --my: 50%;
  position: relative;
  grid-column: span 2;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.cap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(110, 86, 247, 0.18), transparent 60%);
  pointer-events: none;
}
.cap:hover {
  border-color: rgba(255, 255, 255, 0.18);
}
.cap:hover::after {
  opacity: 1;
}
.cap.wide {
  grid-column: span 3;
}
.cap-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(110, 86, 247, 0.14), rgba(34, 211, 238, 0.05));
  margin-bottom: 24px;
}
.cap-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--secondary);
}
.cap .tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.cap h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 12px;
}
.cap p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ============================================================
   PROCESS (pinned horizontal)
   ============================================================ */
.process {
  overflow: hidden;
}
.process-viewport {
  position: relative;
}
.process-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding-block: 20px;
  will-change: transform;
}
.process-progress {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
}
.process-progress .fill {
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 16px rgba(110, 86, 247, 0.6);
}
.step {
  position: relative;
  width: min(78vw, 440px);
  flex: none;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
}
.step .no {
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  background: var(--grad-brand-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
  margin-bottom: 28px;
}
.step h3 {
  font-size: 26px;
  font-family: var(--font-body);
  margin-bottom: 14px;
}
.step p {
  color: var(--text-muted);
  font-size: 15.5px;
}
.step .node {
  position: absolute;
  top: -7px;
  left: 40px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--secondary);
  transition: background 0.4s, box-shadow 0.4s;
}
.step.on .node {
  background: var(--secondary);
  box-shadow: 0 0 16px var(--secondary);
}
.process-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   OUTCOMES (KPI)
   ============================================================ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.kpi {
  padding: 38px 30px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.kpi .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: var(--text);
  display: flex;
  align-items: baseline;
}
.kpi .num .suffix {
  font-size: 0.42em;
  margin-left: 4px;
  background: var(--grad-brand-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.kpi .num .sign {
  font-size: 0.5em;
  color: var(--text-muted);
  margin-right: 2px;
}
.kpi .label {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 16px;
}
.kpi-ring {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 130px;
  height: 130px;
  opacity: 0.5;
}
.kpi-ring circle {
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 40px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.case-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}
.case-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}
.case-card-tag::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--secondary);
  opacity: 0.8;
}
.case-card h4 {
  font-family: var(--font-body);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  word-break: keep-all;
}
.case-card > p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.72;
  word-break: keep-all;
  margin-bottom: 28px;
}
.case-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 16px;
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
}
.case-card-metrics li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-card-metrics b {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--grad-brand-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-card-metrics span {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-muted);
  word-break: keep-all;
}

/* ============================================================
   SECURITY (calm band)
   ============================================================ */
.security {
  background: linear-gradient(180deg, rgba(12, 15, 24, 0.4), rgba(5, 6, 10, 0.4));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.sec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sec-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.015);
  font-size: 14px;
  color: var(--text);
}
.badge svg {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testi {
  text-align: center;
}
.testi blockquote {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: -0.015em;
  word-break: keep-all;
  max-width: min(92%, 760px);
  margin: 0 auto 40px;
  color: var(--text);
}
.testi blockquote .text-grad {
  font-weight: 700;
}
.testi-by {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.testi-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}
.testi-meta {
  text-align: left;
}
.testi-meta b {
  font-weight: 600;
}
.testi-meta span {
  display: block;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-panel {
  position: relative;
  text-align: center;
  padding: clamp(50px, 8vw, 110px) clamp(24px, 5vw, 80px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(125% 90% at 50% -15%, rgba(110, 86, 247, 0.20) 0%, rgba(110, 86, 247, 0) 55%),
    linear-gradient(180deg, rgba(28, 33, 54, 0.85) 0%, rgba(14, 18, 30, 0.78) 100%);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(95% 115% at 50% 112%, rgba(110, 86, 247, 0.42) 0%, rgba(34, 211, 238, 0.16) 42%, rgba(5, 6, 10, 0) 76%);
  opacity: 0.95;
  pointer-events: none;
}
.cta-edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-brand);
  opacity: 0.5;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cta-panel h2 {
  position: relative;
  font-family: var(--font-body);
  margin-bottom: 18px;
}
.cta-panel p {
  position: relative;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto 36px;
}
.cta-actions {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--hairline);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  text-align: left;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 500;
  transition: color 0.25s;
}
.faq-q:hover {
  color: var(--secondary);
}
.faq-toggle {
  flex: none;
  width: 30px;
  height: 30px;
  position: relative;
  font-family: var(--font-mono);
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--secondary);
  top: 50%;
  left: 50%;
  transition: transform 0.4s var(--ease-settle);
}
.faq-toggle::before {
  width: 13px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-toggle::after {
  width: 1.5px;
  height: 13px;
  transform: translate(-50%, -50%);
}
.faq-item.open .faq-toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
}
.faq-a {
  overflow: hidden;
  height: 0;
}
.faq-a-inner {
  padding: 0 4px 28px;
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 70ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: 40px;
  border-top: 1px solid var(--hairline);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  align-items: start;
}
.footer-brand .brand {
  margin-bottom: 20px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 34ch;
}
.footer-biz {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 18px;
  align-items: baseline;
  margin: 0;
}
.footer-biz dt {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.footer-biz dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.footer-biz a {
  color: var(--text);
  transition: color 0.25s;
}
.footer-biz a:hover {
  color: var(--secondary);
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   REVEAL ANIMATION BASE STATES
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  will-change: transform, opacity;
}
.line-mask {
  display: block;
  overflow: hidden;
}
.split-line {
  display: block;
}
[data-split] {
  opacity: 0;
}
[data-card] {
  opacity: 0;
  transform: translateY(40px);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--secondary);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.25s, border-color 0.25s;
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 44px;
  height: 44px;
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.5);
}

/* ============================================================
   QUOTE MODAL
   ============================================================ */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 4, 8, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}
.quote-modal.open {
  opacity: 1;
  visibility: visible;
}
.qm-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  transform: translateY(16px) scale(0.985);
  transition: transform 0.45s var(--ease-settle);
}
.quote-modal.open .qm-panel {
  transform: none;
}
.qm-panel .eyebrow {
  margin-bottom: 14px;
}
.qm-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  margin-bottom: 10px;
}
.qm-sub {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 26px;
  word-break: keep-all;
}
.qm-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.qm-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}
.qm-close svg {
  width: 18px;
  height: 18px;
}
.qm-field {
  margin-bottom: 16px;
}
.qm-field label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.qm-field label span {
  color: var(--secondary);
}
.qm-field input,
.qm-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.25s, background 0.25s;
}
.qm-field textarea {
  resize: vertical;
  min-height: 100px;
}
.qm-field input::placeholder,
.qm-field textarea::placeholder {
  color: rgba(138, 145, 166, 0.55);
}
.qm-field input:focus,
.qm-field textarea:focus {
  outline: none;
  border-color: rgba(110, 86, 247, 0.65);
  background: rgba(255, 255, 255, 0.05);
}
.qm-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.qm-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.qm-submit[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.qm-status {
  margin-top: 14px;
  min-height: 1.2em;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  word-break: keep-all;
}
.qm-status.ok {
  color: #38e8a0;
}
.qm-status.err {
  color: #ff6b6b;
}
body.modal-open {
  overflow: hidden;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sec-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .cap,
  .cap.wide {
    grid-column: span 3;
  }
}
@media (max-width: 760px) {
  .locale {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(5, 6, 10, 0.96);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out);
  }
  .nav.menu-open .nav-links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 16px 4px;
    font-size: 17px;
    color: var(--text);
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links a::after {
    display: none;
  }
  .nav.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }
  .nav.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }
  .problem-grid,
  .kpi-grid,
  .sec-badges {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .cap,
  .cap.wide {
    grid-column: span 1;
  }
  .cursor {
    display: none;
  }
  .hero-sub {
    flex-direction: column;
    gap: 4px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal],
  [data-card] {
    opacity: 1 !important;
    transform: none !important;
  }
  .line-mask > * {
    transform: none !important;
  }
  .marquee-track {
    animation: none !important;
  }
}
