:root {
  --bg: #070b11;
  --bg-soft: #0b1119;
  --panel: rgba(15, 23, 33, 0.78);
  --panel-solid: #0f1721;
  --line: rgba(129, 165, 209, 0.16);
  --line-strong: rgba(129, 165, 209, 0.3);
  --text: #e9eff7;
  --muted: #94a6bb;
  --muted-2: #6f8299;
  --blue: #4f9dff;
  --blue-strong: #2f7ff0;
  --teal: #2fd6bf;
  --violet: #8b7bff;
  --amber: #ffb65c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(63, 111, 255, 0.18), transparent 62%),
    radial-gradient(760px 480px at 92% 2%, rgba(47, 214, 191, 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  touch-action: pan-x pan-y;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

::selection { background: rgba(79, 157, 255, 0.35); }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
}

.section {
  position: relative;
  padding: 104px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head h2 {
  margin: 14px 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.gradient-text {
  background: linear-gradient(100deg, #ffffff 10%, #9ec7ff 45%, #5be4cd 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── nav ── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 11, 17, 0.78);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand small {
  display: block;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a {
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(160, 195, 235, 0.5); }
.btn.primary {
  border-color: transparent;
  background: linear-gradient(120deg, #4f9dff, #2f7ff0);
  box-shadow: 0 12px 34px rgba(54, 126, 240, 0.32);
}
.btn.primary:hover { box-shadow: 0 16px 42px rgba(54, 126, 240, 0.42); }
.btn.ghost { background: transparent; }
.btn.small { height: 36px; padding: 0 14px; font-size: 13px; }

/* ── hero ── */

.hero {
  position: relative;
  padding: 156px 0 84px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 820px;
  background-image:
    linear-gradient(rgba(120, 160, 210, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 210, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(closest-side at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(47, 214, 191, 0.16), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 680;
}
.hero-lead {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.75;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
}
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(47, 214, 191, 0.8);
}

.hero-visual {
  position: relative;
  min-height: 590px;
  z-index: 1;
  transform: translate3d(calc(var(--px, 0) * 7px), calc(var(--py, 0) * 7px), 0);
  transition: transform 0.25s ease-out;
}
.hero-glow {
  position: absolute;
  inset: 12% 4% 8% 10%;
  background: radial-gradient(circle at 50% 45%, rgba(63, 123, 255, 0.26), transparent 62%);
  filter: blur(30px);
}
.browser {
  border-radius: 15px;
  border: 1px solid rgba(129, 165, 209, 0.24);
  background: #0b1119;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(20, 30, 44, 0.95), rgba(13, 20, 30, 0.95));
  border-bottom: 1px solid rgba(129, 165, 209, 0.14);
}
.browser-bar i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2b3a4d;
}
.browser-bar i:nth-child(1) { background: #ff6b6b; }
.browser-bar i:nth-child(2) { background: #ffc861; }
.browser-bar i:nth-child(3) { background: #4fd88a; }
.browser-url {
  flex: 1;
  height: 18px;
  margin-left: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #7d91a9;
  font-size: 9.5px;
  line-height: 18px;
  padding: 0 10px;
  letter-spacing: 0.02em;
  overflow: hidden;
  white-space: nowrap;
}
.browser img { width: 100%; height: auto; }

.hero-stage { position: relative; min-height: 590px; }
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 2% -8% -4% -6%;
  background: radial-gradient(circle at 55% 45%, rgba(63, 123, 255, 0.24), transparent 64%);
  filter: blur(34px);
  pointer-events: none;
}
.hero-screen {
  position: absolute;
  border-radius: 15px;
  border: 1px solid rgba(129, 165, 209, 0.24);
  background: #0b1119;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-screen img { width: 100%; height: auto; }
.hero-screen.back {
  z-index: 1;
  width: 56%;
  right: -5%;
  top: -2%;
  opacity: 0.72;
  transform: rotate(3.2deg);
  animation: float-card 8s ease-in-out infinite;
}
.hero-screen.main {
  z-index: 2;
  width: 94%;
  left: 0;
  top: 44px;
  transform: perspective(1300px) rotateY(-5deg) rotateX(1.5deg);
  transform-origin: right center;
  animation: float-main 9s ease-in-out infinite;
}

.fde-panel {
  position: absolute;
  z-index: 4;
  left: -5%;
  bottom: 2%;
  width: 272px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(129, 165, 209, 0.28);
  background: rgba(10, 17, 26, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: float-chip 7s ease-in-out infinite;
}
.fde-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.fde-panel-head .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 214, 191, 0.12), 0 0 14px rgba(47, 214, 191, 0.7);
}
.fde-panel-head span:nth-child(2) {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.fde-panel-head small {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.fde-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fde-timeline li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted-2);
}
.fde-timeline b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
}
.fde-timeline li span { color: var(--muted); font-size: 12px; }
.fde-timeline em { font-style: normal; font-size: 10.5px; color: var(--muted-2); }
.fde-timeline li.done b { border-color: rgba(47, 214, 191, 0.3); background: rgba(47, 214, 191, 0.1); color: #7de8d2; }
.fde-timeline li.done span { color: #c9d8e8; }
.fde-timeline li.done em { color: #7de8d2; }
.fde-timeline li.active b {
  border-color: rgba(79, 157, 255, 0.45);
  background: rgba(79, 157, 255, 0.16);
  color: #8fc0ff;
  box-shadow: 0 0 0 3px rgba(79, 157, 255, 0.08);
}
.fde-timeline li.active span { color: #fff; font-weight: 600; }
.fde-timeline li.active em { color: #8fc0ff; }

.hero-result {
  position: absolute;
  z-index: 4;
  right: -3%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 14px;
  border: 1px solid rgba(47, 214, 191, 0.28);
  background: rgba(10, 17, 26, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  animation: float-chip 8s ease-in-out infinite reverse;
}
.hero-result-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: rgba(47, 214, 191, 0.12);
  color: #7de8d2;
  font-size: 14px;
  font-weight: 700;
}
.hero-result small { display: block; color: var(--muted-2); font-size: 10px; letter-spacing: 0.08em; }
.hero-result strong { display: block; color: var(--text); font-size: 12.5px; font-weight: 600; }

@keyframes float-main {
  0%, 100% { transform: perspective(1300px) rotateY(-5deg) rotateX(1.5deg) translateY(0); }
  50% { transform: perspective(1300px) rotateY(-3deg) rotateX(0.5deg) translateY(-10px); }
}
@keyframes float-card {
  0%, 100% { transform: rotate(2.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-12px); }
}
@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-index {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 16, 24, 0.82);
  overflow: hidden;
}
.hero-index-item {
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  transition: background 0.2s ease;
}
.hero-index-item:last-child { border-right: none; }
.hero-index-item:hover { background: rgba(79, 157, 255, 0.06); }
.idx-no {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.hero-index-item strong { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.hero-index-item small { color: var(--muted-2); font-size: 11.5px; line-height: 1.45; }

/* ── features ── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(19, 29, 42, 0.9), rgba(11, 17, 25, 0.86));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature::after {
  content: "";
  position: absolute;
  inset: -60% 40% 40% -60%;
  background: radial-gradient(circle, rgba(79, 157, 255, 0.13), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(129, 165, 209, 0.32); }
.feature:hover::after { opacity: 1; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(79, 157, 255, 0.24);
  background: rgba(79, 157, 255, 0.09);
  color: #8fc0ff;
  margin-bottom: 20px;
}
.feature:nth-child(2n) .feature-icon { color: #7de8d2; border-color: rgba(47, 214, 191, 0.24); background: rgba(47, 214, 191, 0.08); }
.feature:nth-child(3n) .feature-icon { color: #b7a9ff; border-color: rgba(139, 123, 255, 0.24); background: rgba(139, 123, 255, 0.08); }
.feature h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ── scenarios ── */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.scenario {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(19, 29, 42, 0.9), rgba(11, 17, 25, 0.86));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.scenario::after {
  content: "";
  position: absolute;
  inset: -60% 40% 40% -60%;
  background: radial-gradient(circle, rgba(79, 157, 255, 0.13), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.scenario:hover { transform: translateY(-4px); border-color: rgba(129, 165, 209, 0.32); }
.scenario:hover::after { opacity: 1; }
.scenario-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.scenario-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  border: 1px solid rgba(79, 157, 255, 0.24);
  background: rgba(79, 157, 255, 0.09);
  color: #8fc0ff;
}
.scenario:nth-child(2n) .scenario-icon { color: #7de8d2; border-color: rgba(47, 214, 191, 0.24); background: rgba(47, 214, 191, 0.08); }
.scenario:nth-child(3n) .scenario-icon { color: #b7a9ff; border-color: rgba(139, 123, 255, 0.24); background: rgba(139, 123, 255, 0.08); }
.scenario-tag {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.scenario h3 {
  position: relative;
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 620;
  letter-spacing: -0.02em;
}
.scenario > p {
  position: relative;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.scenario-example {
  position: relative;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(129, 165, 209, 0.14);
  background: rgba(7, 11, 17, 0.55);
  color: #c7d5e6;
  font-size: 13.5px;
  line-height: 1.7;
}
.scenario-example b {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.scenario-flow {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: auto;
  color: #a9bdd3;
  font-size: 12px;
}
.scenario-flow span:not(:last-child)::after {
  content: "→";
  margin-left: 10px;
  color: var(--muted-2);
}
.scenario-note {
  position: relative;
  display: block;
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.7;
}
.scenario-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 0 12px rgba(79, 157, 255, 0.55);
}

/* ── tour ── */

.tour { display: grid; gap: 96px; }
.tour-row {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 60px;
  align-items: center;
}
.tour-row.reverse { grid-template-columns: 1.14fr 0.86fr; }
.tour-row.reverse .tour-copy { order: 2; }
.tour-row.reverse .tour-visual { order: 1; }
.tour-copy h3 {
  margin: 14px 0 14px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 640;
}
.tour-copy p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.tour-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.tour-list li {
  position: relative;
  padding-left: 22px;
  color: #c3d1e2;
  font-size: 14px;
}
.tour-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 0 12px rgba(79, 157, 255, 0.55);
}
.tour-visual { position: relative; }
.tour-visual .browser { transition: transform 0.4s ease; }
.tour-visual:hover .browser { transform: translateY(-4px); }
.tour-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6% -6% 6%;
  background: radial-gradient(circle at 50% 60%, rgba(63, 123, 255, 0.2), transparent 65%);
  filter: blur(28px);
  z-index: -1;
}
.tour-visual .browser img { width: 100%; height: auto; }
.crop-tight img { aspect-ratio: 2.25 / 1; object-fit: cover; object-position: top center; }
.crop-wide img { aspect-ratio: 1.42 / 1; object-fit: cover; object-position: top center; }
.badge-float {
  position: absolute;
  z-index: 3;
  right: -18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 19, 28, 0.9);
  backdrop-filter: blur(12px);
  color: var(--muted);
  font-size: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.badge-float strong { color: var(--text); font-weight: 600; }

/* ── video ── */

.video-section {
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(79, 157, 255, 0.13), transparent 65%),
    linear-gradient(180deg, transparent, rgba(10, 16, 24, 0.72) 20%, transparent);
}
.video-wrap {
  position: relative;
  border-radius: 22px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(24, 37, 54, 0.72), rgba(10, 16, 24, 0.82));
  box-shadow: var(--shadow);
}
.video-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #060a0f;
}
.video-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 12px;
}
.video-note span:last-child { color: var(--muted); }

/* ── workflow ── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(11, 17, 25, 0.72);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(79, 157, 255, 0.1);
  border: 1px solid rgba(79, 157, 255, 0.22);
  color: #95c2ff;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 18px;
}
.step h3 { margin: 0 0 8px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px; top: 50%;
  width: 18px; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* ── deploy ── */

.deploy {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: stretch;
}
.deploy h2 {
  margin: 14px 0 16px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.deploy p { color: var(--muted); margin: 0 0 24px; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.spec {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(12, 19, 28, 0.68);
}
.spec strong { display: block; font-size: 13.5px; margin-bottom: 3px; }
.spec span { color: var(--muted-2); font-size: 12.5px; }

.contact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(19, 29, 42, 0.95), rgba(9, 14, 21, 0.92));
  box-shadow: var(--shadow);
  padding: 30px;
}
.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.contact-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 214, 191, 0.12), 0 0 14px rgba(47, 214, 191, 0.7);
}
.contact-card h3 {
  margin: 14px 0 10px;
  font-size: 26px;
  font-weight: 640;
  letter-spacing: -0.02em;
}
.contact-card > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(9, 15, 22, 0.6);
}
a.contact-item { transition: border-color 0.2s ease, background 0.2s ease; }
a.contact-item:hover { border-color: var(--line-strong); background: rgba(79, 157, 255, 0.06); }
.contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  border: 1px solid rgba(79, 157, 255, 0.24);
  background: rgba(79, 157, 255, 0.09);
  color: #8fc0ff;
}
.contact-item small {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-item strong { display: block; font-size: 15px; font-weight: 560; }
.qr-card { margin: 0; align-items: flex-start; }
.qr-card.is-missing { display: none; }
.qr-card img {
  width: 116px;
  height: 116px;
  flex: none;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}
.qr-card figcaption { padding-top: 2px; }
.qr-card figcaption strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}
.contact-steps {
  display: grid;
  gap: 8px;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12.5px;
}
.contact-steps b {
  margin-right: 8px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── security band ── */

.band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 260px at 10% 0%, rgba(79, 157, 255, 0.14), transparent 65%),
    linear-gradient(150deg, rgba(17, 27, 39, 0.9), rgba(9, 14, 20, 0.9));
}
.band h2 { margin: 12px 0 12px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; }
.band p { margin: 0; color: var(--muted); }
.security-list { display: grid; gap: 12px; }
.security-list div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(9, 15, 22, 0.62);
  font-size: 13.5px;
  color: #c7d5e6;
}
.security-list b { color: var(--teal); font-weight: 600; }

/* ── cta / footer ── */

.cta {
  position: relative;
  text-align: center;
  padding: 96px 0 110px;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 50% 30%, rgba(79, 157, 255, 0.18), transparent 65%),
    radial-gradient(500px 260px at 70% 80%, rgba(47, 214, 191, 0.1), transparent 65%);
  pointer-events: none;
}
.cta h2 {
  position: relative;
  margin: 18px auto 16px;
  max-width: 760px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.cta p { position: relative; margin: 0 auto 30px; max-width: 560px; color: var(--muted); }
.cta-actions { position: relative; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: var(--muted-2);
  font-size: 13px;
}

/* ── reveal ── */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ── lightbox ── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 32px;
  background: rgba(4, 7, 11, 0.88);
  backdrop-filter: blur(14px);
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(1400px, 96vw);
  max-height: 88vh;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.lightbox button {
  position: fixed;
  top: 22px; right: 26px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(15, 23, 33, 0.9);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}
[data-zoom] { cursor: zoom-in; }

/* ── scenario map ── */

.scenario-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.map-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(19, 29, 42, 0.9), rgba(11, 17, 25, 0.86));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.map-card:hover { transform: translateY(-4px); border-color: rgba(129, 165, 209, 0.32); }
.map-card.blue { border-color: rgba(79, 157, 255, 0.22); background: linear-gradient(160deg, rgba(79, 157, 255, 0.09), rgba(11, 17, 25, 0.9)); }
.map-card.teal { border-color: rgba(47, 214, 191, 0.2); background: linear-gradient(160deg, rgba(47, 214, 191, 0.07), rgba(11, 17, 25, 0.9)); }
.map-card.violet { border-color: rgba(139, 123, 255, 0.2); background: linear-gradient(160deg, rgba(139, 123, 255, 0.08), rgba(11, 17, 25, 0.9)); }
.map-card.amber { border-color: rgba(255, 182, 92, 0.2); background: linear-gradient(160deg, rgba(255, 182, 92, 0.07), rgba(11, 17, 25, 0.9)); }
.map-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.map-letter {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  background: rgba(79, 157, 255, 0.14);
  color: #8fc0ff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
.map-card.teal .map-letter { background: rgba(47, 214, 191, 0.12); color: #7de8d2; }
.map-card.violet .map-letter { background: rgba(139, 123, 255, 0.14); color: #b7a9ff; }
.map-card.amber .map-letter { background: rgba(255, 182, 92, 0.14); color: #ffcf8a; }
.map-head h3 { flex: 1; margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.map-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.map-tags span {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: #c3d1e2;
  font-size: 12px;
}
.map-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: rgba(148, 166, 187, 0.12);
  color: var(--muted);
}
.pill.blue { background: rgba(79, 157, 255, 0.14); color: #8fc0ff; }
.pill.teal { background: rgba(47, 214, 191, 0.12); color: #7de8d2; }
.pill.violet { background: rgba(139, 123, 255, 0.14); color: #b7a9ff; }
.pill.amber { background: rgba(255, 182, 92, 0.14); color: #ffcf8a; }

.dept-hint {
  display: none;
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 12px;
}
.dept-table {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 17, 25, 0.72);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.dept-table table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}
.dept-table th {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
}
.dept-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(129, 165, 209, 0.1);
  color: var(--muted);
  line-height: 1.5;
  vertical-align: middle;
}
.dept-table tr:last-child td { border-bottom: none; }
.dept-table td:first-child { width: 12%; color: var(--text); font-weight: 600; white-space: nowrap; }
.dept-table td:last-child { width: 15%; }

/* ── callout ── */

.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(79, 157, 255, 0.1), rgba(47, 214, 191, 0.05));
}
.callout.compact { margin-top: 0; }
.callout-mark {
  flex: none;
  padding-top: 2px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.callout p { margin: 0; color: #cfdcea; font-size: 14px; line-height: 1.65; }
.callout b { color: #fff; }
#pilot .callout { margin-top: 24px; }

/* ── stories ── */

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.story-rows {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}
.story-rows > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
}
.story-rows b { color: #ff9b9b; font-weight: 600; }
.story-rows > div:nth-child(2) b { color: #8fc0ff; }
.story-rows > div:nth-child(3) b { color: var(--teal); }
.story-rows span { color: var(--muted); }

/* ── fit / scorecard ── */

.fit-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: start;
}
.scorecard {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(19, 29, 42, 0.95), rgba(9, 14, 21, 0.92));
  box-shadow: var(--shadow);
}
.score-row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(129, 165, 209, 0.12);
}
.score-row:first-child { padding-top: 0; }
.score-row:last-of-type { border-bottom: none; padding-bottom: 4px; }
.score-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.score-label strong { font-size: 15px; }
.score-label span { color: var(--muted-2); font-size: 12.5px; }
.score-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.score-options label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.score-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.score-options label:hover { border-color: var(--line-strong); color: var(--text); }
.score-options label.selected,
.score-options label:has(input:checked) {
  border-color: rgba(79, 157, 255, 0.55);
  background: rgba(79, 157, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(79, 157, 255, 0.2);
}
.score-options label:focus-within { outline: 2px solid rgba(79, 157, 255, 0.6); outline-offset: 2px; }
.score-result {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 17, 0.55);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.score-total { display: flex; align-items: baseline; gap: 4px; flex: none; }
.score-total strong {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.score-total span { color: var(--muted-2); font-size: 13px; }
.score-result p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.score-result.high { border-color: rgba(47, 214, 191, 0.35); background: rgba(47, 214, 191, 0.08); }
.score-result.mid { border-color: rgba(255, 182, 92, 0.3); background: rgba(255, 182, 92, 0.06); }
.score-result.low { border-color: rgba(255, 107, 107, 0.3); background: rgba(255, 107, 107, 0.06); }

.fit-side { display: grid; gap: 14px; }
.fit-col {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11, 17, 25, 0.72);
}
.fit-col h3 { margin: 0 0 12px; font-size: 15px; }
.fit-col.good h3 { color: #7de8d2; }
.fit-col.bad h3 { color: #ff9b9b; }
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fit-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(47, 214, 191, 0.5);
}
.fit-list.negative li::before { background: #ff6b6b; box-shadow: 0 0 10px rgba(255, 107, 107, 0.45); }
.fit-list b { margin-right: 4px; color: var(--text); font-weight: 600; }
.hint { margin: 0; color: var(--muted-2); font-size: 12.5px; line-height: 1.6; }

/* ── FDE flow ── */

.fde-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fde-step {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(19, 29, 42, 0.88), rgba(11, 17, 25, 0.86));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.fde-step:hover { transform: translateY(-4px); border-color: rgba(129, 165, 209, 0.32); }
.fde-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.fde-step-head h3 { margin: 0; font-size: 17px; letter-spacing: -0.01em; }
.fde-step-meta { display: grid; gap: 10px; }
.fde-step-meta > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.55;
}
.fde-step-meta b {
  padding-top: 1px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.fde-step-meta > div:nth-child(2) b { color: #8fc0ff; }
.fde-step-meta > div:nth-child(3) b { color: #b7a9ff; }
.fde-step-meta span { color: var(--muted); }

/* ── pilot ── */

.weekline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.week {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(11, 17, 25, 0.72);
}
.week-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.week h3 { margin: 0 0 8px; font-size: 16px; }
.week p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.week-out {
  display: block;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.metric-card {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 19, 28, 0.68);
}
.metric-card strong { display: block; margin-bottom: 4px; font-size: 14px; }
.metric-card span { color: var(--muted-2); font-size: 12.5px; }
.gate {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(47, 214, 191, 0.24);
  background: rgba(47, 214, 191, 0.06);
}
.gate-label {
  flex: none;
  padding-top: 2px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.gate p { margin: 0; color: #cfdcea; font-size: 13.5px; line-height: 1.65; }
.gate b { color: #fff; }

/* ── value accounts ── */

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.value-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(11, 17, 25, 0.72);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(129, 165, 209, 0.32); }
.value-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.value-card h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.4; }
.value-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ── roles ── */

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.role {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(11, 17, 25, 0.72);
}
.role-time {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.role h3 { margin: 0 0 8px; font-size: 16px; }
.role p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ── boundaries ── */

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.boundary-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(11, 17, 25, 0.72);
}
.boundary-card.review {
  border-color: rgba(255, 182, 92, 0.22);
  background: linear-gradient(160deg, rgba(255, 182, 92, 0.06), rgba(11, 17, 25, 0.85));
}
.boundary-card.avoid {
  border-color: rgba(255, 107, 107, 0.2);
  background: linear-gradient(160deg, rgba(255, 107, 107, 0.05), rgba(11, 17, 25, 0.85));
}
.boundary-card h3 { margin: 0 0 16px; font-size: 16px; }
.boundary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.boundary-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.boundary-list b {
  padding-top: 2px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.boundary-list span strong { display: block; color: var(--text); font-weight: 600; }
.boundary-list.negative b { color: #ff9b9b; }

/* ── mini cards ── */

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.mini-grid.four { grid-template-columns: repeat(4, 1fr); }
.mini-card {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 19, 28, 0.62);
}
.mini-card h3 { margin: 0 0 6px; font-size: 14.5px; }
.mini-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ── narrative sub-sections ── */

.sub-head {
  max-width: 760px;
  margin: 58px 0 24px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.sub-head h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 640;
}
.sub-head p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ── contact extras ── */

.contact-flow { grid-template-columns: repeat(3, 1fr); }
.it-confirm {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.it-confirm span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11.5px;
}

/* ── responsive ── */

@media (max-width: 1040px) {
  .nav-links { gap: 20px; font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 0; max-width: 720px; margin: 0 auto; }
  .hero-stage { min-height: 0; }
  .hero-screen.main { position: relative; inset: auto; width: 100%; transform: none; animation: none; }
  .hero-screen.back, .fde-panel, .hero-result { display: none; }
  .tour-row, .tour-row.reverse { grid-template-columns: 1fr; gap: 34px; }
  .tour-row.reverse .tour-copy, .tour-row.reverse .tour-visual { order: initial; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid.four { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .dept-hint { display: block; }
  .fit-layout { grid-template-columns: 1fr; gap: 26px; }
  .fde-flow { grid-template-columns: repeat(2, 1fr); }
  .weekline { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-flow { grid-template-columns: repeat(3, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .deploy { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 52px 0; }
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    cursor: pointer;
  }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 84px;
    right: 16px;
    left: auto;
    width: min(240px, calc(100vw - 32px));
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(9, 14, 21, 0.97);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  }
  .nav.open .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--muted);
    transition: background 0.18s ease, color 0.18s ease;
    -webkit-tap-highlight-color: rgba(79, 157, 255, 0.15);
  }
  .nav.open .nav-links a:hover,
  .nav.open .nav-links a:active,
  .nav.open .nav-links a:focus-visible {
    background: rgba(79, 157, 255, 0.12);
    color: var(--text);
  }
  .nav-actions .btn.ghost { display: none; }
  .hero { padding: 116px 0 56px; }
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 15.5px; }
  .hero-visual { min-height: 0; max-width: none; }
  .hero-index {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 1 / 1;
    margin-top: 34px;
    padding: 0;
    gap: 8px;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  .hero-index-item {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0b131d;
    align-content: start;
    gap: 2px;
  }
  .hero-index-item:nth-child(1) { grid-area: 1 / 1; }
  .hero-index-item:nth-child(2) {
    grid-area: 1 / 2;
    justify-items: end;
    text-align: right;
  }
  .hero-index-item:nth-child(3) {
    grid-area: 2 / 1;
    align-content: end;
  }
  .hero-index-item:nth-child(4) {
    grid-area: 2 / 2;
    align-content: end;
    justify-items: end;
    text-align: right;
  }
  .hero-index-item:nth-child(5) {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 52%;
    height: 34%;
    min-height: 92px;
    padding: 12px;
    transform: translate(-50%, -50%);
    align-content: center;
    justify-items: center;
    text-align: center;
    border: 1px solid rgba(47, 214, 191, 0.35);
    border-radius: 16px;
    background: #0d151f;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  }
  .hero-index-item strong { font-size: 14px; }
  .hero-index-item small { font-size: 10px; line-height: 1.35; }
  .idx-no { font-size: 9.5px; }
  .hero-index-item.is-pending {
    border-color: rgba(79, 157, 255, 0.85);
    box-shadow: 0 0 0 3px rgba(79, 157, 255, 0.28);
  }
  .feature-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-map { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .map-card { padding: 22px; }
  .dept-table table { min-width: 640px; }
  .fit-layout { gap: 22px; }
  .score-options { grid-template-columns: 1fr; }
  .score-result { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fde-flow { grid-template-columns: 1fr; }
  .weekline { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .boundary-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .mini-grid.four { grid-template-columns: 1fr; }
  .sub-head { margin: 42px 0 20px; padding-top: 26px; }
  .contact-flow { grid-template-columns: 1fr; }
  .callout { flex-direction: column; gap: 8px; }
  .gate { flex-direction: column; gap: 8px; }
  .detail-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-card { padding: 24px; }
  .qr-card img { width: 96px; height: 96px; }
  .section-head { margin-bottom: 28px; }
  .tour { gap: 46px; }
  .deploy { gap: 36px; }
  .video-note { flex-direction: column; gap: 4px; }
  .cta { padding: 68px 0 76px; }
  .footer { padding: 28px 0 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .badge-float { right: 8px; bottom: 8px; }
  .band { padding: 26px; gap: 26px; }
}

@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; transform: none; }
}

@media (max-width: 380px) {
  .hero-index-item { padding: 10px; }
  .hero-index-item small { font-size: 9.5px; }
}
