:root {
  color-scheme: dark;
  --bg: #030205;
  --bg-2: #090305;
  --surface: rgba(28, 7, 10, 0.76);
  --surface-strong: rgba(54, 9, 13, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 70, 84, 0.25);
  --line-strong: rgba(255, 75, 88, 0.56);
  --text: #fff3f3;
  --muted: #c7a8aa;
  --muted-2: #8f686c;
  --red: #ff151f;
  --red-2: #bf000b;
  --red-3: #ff5a60;
  --white-hot: #fff7f0;
  --shadow: 0 30px 90px rgba(255, 0, 20, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 56px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 0, 20, 0.28), transparent 34%),
    radial-gradient(circle at 78% 4%, rgba(255, 70, 80, 0.15), transparent 32%),
    radial-gradient(circle at 50% 86%, rgba(120, 0, 12, 0.28), transparent 42%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 45%, #050102);
  color: var(--text);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 76%);
}

body::after {
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255, 0, 24, 0.12) 39%, transparent 40% 100%),
    linear-gradient(35deg, transparent 0 56%, rgba(255, 46, 58, 0.08) 57%, transparent 58% 100%);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--white-hot); }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 999;
  transform: translateY(-150%);
  background: var(--white-hot);
  color: #120003;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 18px clamp(14px, 2.2vw, 32px) 40px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 2, 4, 0.72);
  box-shadow: 0 18px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 0 28px rgba(255, 0, 22, 0.42);
}
.brand strong { display: block; letter-spacing: 0.02em; }
.brand small { display: block; color: var(--muted); font-size: 0.76rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a,
.nav-toggle {
  border: 1px solid transparent;
  color: #f2cfd1;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.93rem;
  background: transparent;
  transition: 180ms ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: var(--white-hot);
  border-color: rgba(255,255,255,0.13);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
}
.nav-toggle { display: none; font: inherit; cursor: pointer; }

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) 0;
}
.hero { padding-top: clamp(70px, 8vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--red-3);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), transparent);
  box-shadow: 0 0 18px var(--red);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 5.7vw, 5.45rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}
p { color: var(--muted); line-height: 1.72; }
.hero-lead {
  max-width: 660px;
  color: #f2d5d7;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
}
.hero-copy {
  max-width: 640px;
}
.hero-actions,
.center-actions,
.contact-buttons,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-actions { margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 20px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
  border-color: rgba(255,255,255,0.42);
  box-shadow: 0 18px 40px rgba(255,0,22,0.22);
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--red), #8f0008);
  border-color: rgba(255, 120, 124, 0.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 18px 44px rgba(255,0,18,0.23);
}
.btn-ghost { background: rgba(255,255,255,0.03); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 0.92rem; }

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.signal-strip span {
  color: #ffd8d9;
  border: 1px solid rgba(255, 80, 90, 0.23);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 35, 48, 0.08);
  font-size: 0.88rem;
}

.hero-visual {
  min-height: 540px;
  display: grid;
  place-items: center;
}
.phone-stage {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 0.82;
  display: grid;
  place-items: center;
}
.refined-stage {
  isolation: isolate;
}
.energy-ring {
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(255, 45, 59, 0.35);
  border-radius: 46px;
  box-shadow: inset 0 0 48px rgba(255, 0, 18, 0.22), 0 0 80px rgba(255,0,18,0.18);
  transform: rotate(-8deg);
}
.ring-two { inset: 14%; opacity: 0.52; transform: rotate(9deg); }
.glow-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 70, 84, 0.36), rgba(255, 0, 18, 0.02) 70%, transparent 72%);
  filter: blur(6px);
  animation: floatOrb 8s ease-in-out infinite;
}
.orb-one { top: 4%; right: 1%; }
.orb-two { bottom: 6%; left: 2%; animation-delay: -4s; }
.phone-frame {
  position: relative;
  width: 76%;
  height: 84%;
  border: 2px solid rgba(255, 88, 95, 0.68);
  border-radius: 44px;
  padding: 22px 16px;
  background: linear-gradient(145deg, #180306, #060102 46%, #1e0508);
  box-shadow: inset 0 0 0 8px rgba(255, 19, 31, 0.07), var(--shadow), 0 0 110px rgba(255,0,18,0.18);
}
.refined-phone {
  transform: perspective(1000px) rotateY(-10deg) rotateX(4deg);
}
.phone-speaker,
.phone-home {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,0,24,0.85), rgba(255,255,255,0.16));
}
.phone-speaker { top: 18px; }
.phone-home { bottom: 18px; width: 62px; }
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 0, 24, 0.36), transparent 42%),
    linear-gradient(160deg, #100306, #020102 65%);
}
.refined-screen {
  padding: 18px;
}
.phone-screen::before {
  content: "";
  position: absolute;
  inset: -35% -20%;
  background: conic-gradient(from 180deg, transparent, rgba(255, 0, 22, 0.34), transparent 24%, transparent 100%);
  animation: rotateGlow 12s linear infinite;
}
.screen-noise {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 20%, transparent 80%, rgba(255,255,255,0.03));
  pointer-events: none;
}
.screen-topbar,
.screen-copy,
.screen-grid,
.screen-wave {
  position: relative;
  z-index: 2;
}
.screen-topbar {
  display: flex;
  gap: 6px;
}
.screen-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.42);
}
.screen-copy {
  margin-top: 18px;
}
.screen-copy p {
  margin-bottom: 8px;
  color: #ffb6ba;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.screen-copy h3 {
  max-width: 12ch;
  margin-bottom: 0;
  color: #fff3f4;
  font-size: 1.35rem;
  line-height: 1.05;
}
.screen-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 12px;
  margin-top: 18px;
}
.mini-panel {
  border: 1px solid rgba(255, 110, 118, 0.26);
  border-radius: 18px;
  background: rgba(14, 2, 4, 0.76);
  box-shadow: 0 12px 34px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}
.panel-main {
  grid-row: span 2;
  padding: 14px;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.panel-head img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(255,0,18,0.3);
}
.panel-head strong,
.panel-side strong {
  color: #fff6f7;
  font-size: 0.88rem;
}
.power-lines {
  display: grid;
  gap: 10px;
}
.power-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,40,52,0.92), rgba(255,255,255,0.24));
  animation: pulseLine 3s ease-in-out infinite;
}
.power-lines span:nth-child(1) { width: 88%; }
.power-lines span:nth-child(2) { width: 72%; animation-delay: -0.5s; }
.power-lines span:nth-child(3) { width: 94%; animation-delay: -1s; }
.power-lines span:nth-child(4) { width: 65%; animation-delay: -1.5s; }
.panel-side {
  padding: 14px 12px;
  display: grid;
  align-content: center;
  gap: 6px;
}
.panel-side small {
  color: #d9afb2;
  font-size: 0.72rem;
  line-height: 1.4;
}
.panel-side.alt {
  background: linear-gradient(145deg, rgba(255, 31, 48, 0.16), rgba(14, 2, 4, 0.76));
}
.screen-wave {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 56px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    radial-gradient(circle at 10% 60%, rgba(255,0,20,0.45), transparent 14%),
    radial-gradient(circle at 30% 40%, rgba(255,0,20,0.3), transparent 10%),
    radial-gradient(circle at 50% 70%, rgba(255,0,20,0.55), transparent 13%),
    radial-gradient(circle at 70% 35%, rgba(255,0,20,0.35), transparent 10%),
    radial-gradient(circle at 88% 60%, rgba(255,0,20,0.48), transparent 12%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.screen-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  animation: sweep 4s linear infinite;
}
.floating-chip {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255, 110, 118, 0.35);
  border-radius: 999px;
  background: rgba(14, 2, 4, 0.78);
  box-shadow: 0 16px 34px rgba(0,0,0,0.28), 0 0 25px rgba(255,0,20,0.14);
  color: #ffe8e9;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}
.chip-a { top: 18%; left: -1%; animation: chipFloat 5.2s ease-in-out infinite; }
.chip-b { top: 48%; right: -6%; animation: chipFloat 6s ease-in-out infinite -2s; }
.chip-c { bottom: 16%; left: 6%; animation: chipFloat 5.6s ease-in-out infinite -1s; }
.bolt-shadow {
  position: absolute;
  inset: auto auto 6% -2%;
  color: rgba(255, 0, 18, 0.1);
  font-size: clamp(5rem, 11vw, 8rem);
  font-weight: 950;
  letter-spacing: -0.12em;
  transform: rotate(-10deg);
  filter: blur(0.5px);
}
@keyframes rotateGlow { to { transform: rotate(360deg); } }
@keyframes pulseLine {
  0%, 100% { opacity: 0.65; transform: scaleX(0.98); }
  50% { opacity: 1; transform: scaleX(1); }
}
@keyframes sweep {
  to { transform: translateX(100%); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.quick-panel {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.065), rgba(255,0,20,0.055));
  box-shadow: var(--shadow);
}
.quick-panel article {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(3,1,2,0.55);
  border: 1px solid rgba(255,255,255,0.075);
}
.quick-panel strong { color: var(--red-3); }
.quick-panel h2 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.1; }
.quick-panel p { margin-bottom: 0; font-size: 0.95rem; }

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-head p { font-size: 1.04rem; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-card,
.about-card,
.contact-form,
.policy-card,
.policy-toc,
.capability-list,
.timeline {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.062), rgba(255,0,24,0.042));
  box-shadow: 0 24px 70px rgba(0,0,0,0.25);
}
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 22px;
  border-radius: var(--radius-lg);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% 20%;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 0, 26, 0.28), transparent 66%);
}
.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 18px;
  background: rgba(255, 0, 24, 0.13);
  border: 1px solid rgba(255, 86, 92, 0.25);
  color: var(--red-3);
  font-size: 1.3rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 26px rgba(255,0,24,0.16);
}
.service-card p { font-size: 0.96rem; }
.service-card span {
  display: inline-flex;
  margin-top: 10px;
  color: #ffd8da;
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.04);
}
.center-actions { justify-content: center; margin-top: 22px; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
.text-link {
  display: inline-flex;
  color: var(--red-3);
  font-weight: 900;
  margin-top: 8px;
}
.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.capability-list div {
  padding: 24px;
  background: rgba(3, 1, 2, 0.66);
}
.capability-list p { margin-bottom: 0; font-size: 0.95rem; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.timeline article {
  min-height: 275px;
  padding: 28px;
  background: rgba(5,1,3,0.72);
}
.timeline span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--red-3);
  font-weight: 950;
}
.timeline p { margin-bottom: 0; font-size: 0.95rem; }

.about-section { padding-top: 20px; }
.about-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(26px, 5vw, 56px);
}
.about-card::before {
  content: "KX";
  position: absolute;
  right: -20px;
  bottom: -48px;
  color: rgba(255, 0, 24, 0.08);
  font-size: clamp(9rem, 19vw, 20rem);
  font-weight: 950;
  letter-spacing: -0.14em;
}
.about-card > * { position: relative; }
.about-card p { max-width: 840px; }
.company-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}
.company-details div {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 18px;
  background: rgba(0,0,0,0.22);
}
dt { color: var(--muted-2); margin-bottom: 8px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.11em; }
dd { margin: 0; color: #ffe4e5; line-height: 1.55; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(26px, 6vw, 78px);
  align-items: start;
}
.contact-buttons { margin-top: 28px; }
.contact-form {
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 36px);
}
label { display: grid; gap: 8px; margin-bottom: 16px; }
label span { color: #ffe5e7; font-weight: 800; font-size: 0.92rem; }
input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 91, 99, 0.24);
  border-radius: 18px;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(0,0,0,0.24);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
textarea { resize: vertical; min-height: 140px; }
input:focus,
textarea:focus {
  border-color: rgba(255, 108, 116, 0.78);
  box-shadow: 0 0 0 4px rgba(255, 0, 24, 0.14);
  background: rgba(0,0,0,0.35);
}
.form-note { margin: 18px 0 0; font-size: 0.86rem; color: var(--muted-2); }
.form-note a { color: #ffdfe0; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.28); }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  color: var(--muted);
}
.footer-brand {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 950;
}
.site-footer p { margin-bottom: 0; font-size: 0.94rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer a { color: #ffd8da; }
.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  max-width: 320px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  border: 1px solid rgba(255, 118, 124, 0.38);
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(16, 3, 5, 0.92);
  box-shadow: 0 20px 50px rgba(0,0,0,0.42), 0 0 30px rgba(255,0,24,0.18);
  backdrop-filter: blur(14px);
  transition: 180ms ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.policy-main { max-width: var(--max); margin: 0 auto; }
.policy-hero { padding: clamp(70px, 8vw, 110px) 0 36px; max-width: 900px; }
.policy-hero h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); }
.last-updated {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  color: #ffe0e1;
}
.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 80px;
}
.policy-toc {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 10px;
  border-radius: var(--radius-lg);
  padding: 18px;
}
.policy-toc strong { margin-bottom: 4px; }
.policy-toc a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 6px 0;
}
.policy-toc a:hover { color: var(--text); }
.policy-card {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 56px);
}
.policy-card section + section { margin-top: 40px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,0.075); }
.policy-card h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.05; }
.policy-card h3 { margin-top: 22px; color: #ffe3e5; }
.policy-card a { color: #ffd7d9; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.28); }
.policy-card address { color: var(--muted); line-height: 1.75; font-style: normal; }
.policy-nav { margin-left: auto; }

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .contact-section,
  .policy-layout { grid-template-columns: 1fr; }
  .card-grid,
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-panel,
  .company-details { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; }
  .policy-toc { position: static; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-shell { padding-top: 10px; }
  .site-header {
    border-radius: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
    padding-top: 4px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: center; background: rgba(255,255,255,0.04); }
  .policy-nav { display: flex; flex-basis: auto; width: auto; padding: 0; flex-direction: row; }
  .policy-nav a { background: transparent; }
  h1 { font-size: clamp(2.6rem, 12vw, 3.8rem); }
  .hero-copy { max-width: none; }
  .hero-visual { min-height: 390px; }
  .phone-stage { width: min(100%, 330px); }
  .floating-chip { display: none; }
  .screen-copy h3 { font-size: 1.1rem; }
  .screen-grid { grid-template-columns: 1fr; }
  .panel-main { grid-row: auto; }
  .screen-wave { height: 44px; }
  .card-grid,
  .capability-list,
  .timeline { grid-template-columns: 1fr; }
  .timeline article { min-height: auto; }
  .timeline span { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* V3: distinct command-style header and hero treatment */
.command-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(330px, 0.46fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-panel,
.command-header .site-nav {
  border: 1px solid rgba(255, 75, 88, 0.28);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,0,20,0.055)),
    rgba(8, 1, 3, 0.82);
  box-shadow: 0 18px 48px rgba(0,0,0,0.33), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
}

.brand-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 8px 24px 8px 24px;
  overflow: hidden;
}

.brand-panel::before,
.command-header .site-nav::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--red), transparent);
  box-shadow: 0 0 24px rgba(255,0,24,0.8);
}

.command-header .brand img {
  width: 50px;
  height: 50px;
  border-radius: 13px;
}

.command-header .brand small {
  color: #e7b6b9;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  color: #ffdfe1;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.045);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.header-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-3);
  box-shadow: 0 0 14px var(--red);
}

.command-header .site-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border-radius: 24px 8px 24px 8px;
}

.command-header .site-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  color: #f4d0d2;
  background: rgba(255,255,255,0.025);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.command-header .site-nav a + a {
  box-shadow: -1px 0 0 rgba(255,255,255,0.06);
}

.command-header .site-nav a span {
  color: var(--red-3);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  opacity: 0.78;
}

.command-header .site-nav a:hover,
.command-header .site-nav a:focus-visible {
  color: var(--white-hot);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 38, 52, 0.18), transparent 54%),
    rgba(255,255,255,0.06);
  border-color: transparent;
}

.hero {
  padding-top: clamp(42px, 6vw, 82px);
}

.hero-grid {
  position: relative;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(255, 75, 88, 0.16);
  border-radius: 10px 44px 10px 44px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,0,20,0.026)),
    linear-gradient(180deg, rgba(12, 2, 5, 0.45), rgba(5, 1, 3, 0.18));
  box-shadow: 0 26px 90px rgba(0,0,0,0.22);
}

.hero-grid::before {
  content: "KX://MOBILE_PRODUCT_SYSTEM";
  position: absolute;
  top: 14px;
  left: 18px;
  color: rgba(255, 185, 188, 0.32);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero-command-card {
  position: relative;
  padding: clamp(24px, 4vw, 46px);
  border-left: 3px solid rgba(255, 25, 38, 0.78);
  background: linear-gradient(90deg, rgba(255, 0, 24, 0.085), transparent 78%);
  border-radius: 0 28px 28px 0;
}

.hero-command-card::after {
  content: "";
  position: absolute;
  left: -7px;
  top: 26px;
  width: 11px;
  height: 84px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), transparent);
  box-shadow: 0 0 28px rgba(255,0,24,0.65);
}

.hero-microbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 520px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}

.hero-microbar span {
  padding: 12px;
  color: #ffd9db;
  background: rgba(0,0,0,0.22);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-microbar strong {
  margin-right: 8px;
  color: var(--red-3);
}

@media (max-width: 1080px) {
  .command-header {
    grid-template-columns: 1fr;
  }
  .command-header .site-nav a {
    min-height: 58px;
  }
}

@media (max-width: 760px) {
  .command-header {
    top: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
  }
  .brand-panel {
    grid-column: 1 / 2;
    border-radius: 8px 20px 8px 20px;
  }
  .header-status {
    display: none;
  }
  .command-header .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 100%;
    border: 1px solid rgba(255, 75, 88, 0.28);
    border-radius: 20px 8px 20px 8px;
    background: rgba(8, 1, 3, 0.82);
    color: #ffe0e1;
  }
  .command-header .site-nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    border-radius: 8px 20px 8px 20px;
  }
  .command-header .site-nav.open {
    display: grid;
  }
  .command-header .site-nav a {
    justify-content: flex-start;
    min-height: 50px;
  }
  .command-header .site-nav a + a {
    box-shadow: 0 -1px 0 rgba(255,255,255,0.06);
  }
  .hero-grid {
    padding: 18px;
    border-radius: 8px 28px 8px 28px;
  }
  .hero-grid::before {
    position: static;
    display: block;
    margin-bottom: 12px;
  }
  .hero-command-card {
    padding: 20px;
  }
  .hero-microbar {
    grid-template-columns: 1fr;
  }
}

.policy-header .site-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .policy-header {
    grid-template-columns: 1fr;
  }
  .policy-header .policy-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .policy-header .policy-nav a {
    justify-content: center;
  }
}


/* V4: final tuning — calmer header, no protocol label, smaller titles */
.command-header {
  grid-template-columns: minmax(286px, 0.36fr) minmax(0, 1fr);
  gap: 10px;
}

.brand-panel {
  padding: 8px 12px;
  gap: 10px;
}

.command-header .brand {
  gap: 10px;
}

.command-header .brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.command-header .brand strong {
  font-size: 0.95rem;
}

.command-header .brand small {
  font-size: 0.72rem;
}

.header-status {
  padding: 5px 7px;
  gap: 5px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.header-status i {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 10px var(--red);
}

.command-header .site-nav a {
  min-height: 60px;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.command-header .site-nav a span {
  font-size: 0.62rem;
}

.hero {
  padding-top: clamp(34px, 4.5vw, 64px);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.88fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(18px, 2.6vw, 30px);
}

.hero-grid::before {
  content: none;
  display: none;
}

.hero-command-card {
  padding: clamp(24px, 3.2vw, 38px);
  border-left-width: 2px;
  border-radius: 0 24px 24px 0;
}

.hero-command-card::after {
  top: 30px;
  left: -6px;
  width: 9px;
  height: 58px;
  opacity: 0.82;
}

h1 {
  max-width: 17ch;
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 3.25vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -0.042em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.policy-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.hero-lead {
  max-width: 590px;
  font-size: clamp(0.96rem, 1.1vw, 1.07rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 22px;
}

.signal-strip {
  margin-top: 22px;
}

.signal-strip span {
  padding: 7px 10px;
  font-size: 0.78rem;
}

.hero-microbar {
  max-width: 430px;
  margin-top: 14px;
  border-radius: 14px;
}

.hero-microbar span {
  padding: 9px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.045em;
}

.hero-visual {
  min-height: 470px;
}

.phone-stage {
  width: min(100%, 390px);
}

.floating-chip {
  padding: 8px 12px;
  font-size: 0.76rem;
}

.quick-panel h2 {
  font-size: 1.05rem;
}

.section-head {
  max-width: 690px;
}

.section-head p {
  font-size: 0.98rem;
}

@media (max-width: 1080px) {
  .command-header {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .brand-panel {
    flex: 1;
  }

  .header-status {
    display: none;
  }

  .command-header .brand img {
    width: 42px;
    height: 42px;
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(2.05rem, 9vw, 3.15rem);
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.5rem);
  }

  .hero-command-card {
    padding: 22px 18px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .phone-stage {
    width: min(100%, 315px);
  }
}
