/* ==========================================================================
   DSH SuperAgent — dshsactl.mocampus.cn
   Static, dependency-free product site
   ========================================================================== */

:root {
  --bg: #070a12;
  --bg-2: #0a0f1d;
  --surface: #0d1424;
  --surface-2: #111a2e;
  --ink: #eef2fb;
  --ink-soft: #c8d0e4;
  --muted: #98a4c0;
  --muted-2: #6f7b98;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --blue: #5b7bff;
  --blue-bright: #7d95ff;
  --cyan: #28d3c4;
  --violet: #a78bfa;
  --amber: #f5b14c;
  --green: #3ddc97;
  --red: #ff6b81;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Code", ui-monospace, Menlo, Consolas,
    "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  --header-h: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(91, 123, 255, 0.14), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(40, 211, 196, 0.07), transparent 62%),
    linear-gradient(180deg, #070a12 0%, #080c16 40%, #070a12 100%);
  pointer-events: none;
}

::selection {
  background: rgba(91, 123, 255, 0.35);
  color: #fff;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
code, pre { font-family: var(--mono); }
h1, h2, h3, h4, p, ul, ol, blockquote { margin: 0; }

h1, h2, h3 { text-wrap: balance; }
.section-lead, .hero-sub, .principle p, .flow-card p, .bento-card p,
.faq-body p, .safety-item p, .side-card p, .final-inner > p { text-wrap: pretty; }
.faq-item summary span { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

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

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 18, 0.78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.nav-shell {
  width: min(var(--container), calc(100% - 48px));
  height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-mark { width: 30px; height: 30px; display: block; flex: none; }
.brand-mark svg { border-radius: 9px; box-shadow: 0 6px 20px -6px rgba(91, 123, 255, 0.7); }
.brand-name { color: var(--ink-soft); font-weight: 500; }
.brand-name b { color: var(--ink); font-weight: 700; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.site-nav a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.site-nav a.is-current { color: var(--ink); background: rgba(255, 255, 255, 0.055); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-gh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav-gh:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav-gh .icon { font-size: 17px; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle .icon { font-size: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s,
    border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn .icon { font-size: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, #6c88ff 0%, #4d6bfe 100%);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(77, 107, 254, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 16px 40px -12px rgba(77, 107, 254, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-strong);
  color: var(--ink-soft);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
  transition: gap 0.2s var(--ease), color 0.2s;
}
.text-link .icon { font-size: 15px; }
.text-link:hover { gap: 11px; color: #a9b8ff; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 74px) 0 0;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.hero-grid {
  position: absolute;
  inset: -10% -10% 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 55% 24%, #000 12%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 62% at 55% 24%, #000 12%, transparent 72%);
  opacity: 0.55;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.glow-a { width: 520px; height: 520px; top: -140px; right: 4%; background: rgba(77, 107, 254, 0.35); }
.glow-b { width: 360px; height: 360px; top: 260px; left: -120px; background: rgba(40, 211, 196, 0.16); }
.glow-c { width: 300px; height: 300px; top: 520px; right: 22%; background: rgba(167, 139, 250, 0.12); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.eyebrow-short { display: none; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.12);
  animation: pulse 2.6s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(40px, 4.7vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero-copy { min-width: 0; }

.grad-text {
  background: linear-gradient(100deg, #8fa3ff 0%, #5b7bff 38%, #28d3c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 560px;
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.78;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-install { margin-top: 34px; max-width: 570px; }

.install-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.install-line:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.05); }
.install-icon { color: var(--cyan); font-size: 15px; }
.install-line code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 11.5px;
  color: var(--ink-soft);
  scrollbar-width: none;
  padding-block: 3px;
}
.install-line code::-webkit-scrollbar { display: none; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.copy-btn:hover { color: var(--ink); background: rgba(255, 255, 255, 0.1); }
.copy-btn .icon { font-size: 13px; }
.copy-btn .icon-done { display: none; }
.copy-btn.is-copied { color: var(--green); border-color: rgba(61, 220, 151, 0.35); background: rgba(61, 220, 151, 0.1); }
.copy-btn.is-copied .icon-copy { display: none; }
.copy-btn.is-copied .icon-done { display: block; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.dot-sep { color: rgba(255, 255, 255, 0.2); }
.meta-badge {
  margin-left: 6px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
}

/* Hero visual — terminal + floating cards */

.hero-visual { position: relative; min-width: 0; }

.terminal {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, #0c1222 0%, #080d18 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 180px at 80% 0%, rgba(91, 123, 255, 0.13), transparent 70%);
  pointer-events: none;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}
.t-dots { display: inline-flex; gap: 6px; }
.t-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.t-dots i:nth-child(1) { background: #ff6b81; }
.t-dots i:nth-child(2) { background: #f5b14c; }
.t-dots i:nth-child(3) { background: #3ddc97; }
.t-title { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.04em; }
.t-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: uppercase;
}
.t-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.terminal-body { position: relative; z-index: 1; padding: 22px 22px 26px; }
.t-line {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-gap { margin-top: 16px; }
.t-prompt { color: var(--cyan); margin-right: 6px; }
.t-cmd { color: #eef2fb; font-weight: 600; }
.t-out { padding-left: 17px; font-size: 12px; color: var(--muted); }
.t-ok { color: var(--green); margin-right: 5px; }
.t-run { color: var(--blue-bright); margin-right: 5px; }
.t-dim { color: var(--muted-2); }
.t-accent { color: #a9b8ff; }
.t-note { padding-left: 17px; font-size: 12px; color: var(--muted); }
.t-sep { height: 1px; margin: 16px 0; background: linear-gradient(90deg, var(--line-strong), transparent); }
.t-caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--cyan);
  animation: blink 1.15s steps(2, start) infinite;
}

.float-card {
  position: absolute;
  z-index: 2;
  background: linear-gradient(180deg, rgba(20, 29, 50, 0.96), rgba(13, 20, 36, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.85);
  padding: 13px 15px;
}
.float-ticket {
  top: -26px;
  right: -14px;
  width: 238px;
  animation: float 7s ease-in-out infinite;
}
.float-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border-radius: 4px;
}
.tag-ding { color: #7fb6ff; background: rgba(0, 136, 255, 0.14); }
.float-time { font-size: 10px; color: var(--muted-2); }
.float-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.float-title.sm { font-size: 12px; }
.float-progress {
  height: 3px;
  margin: 10px 0 9px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.float-progress span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: progress 5s ease-in-out infinite alternate;
}
.float-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--muted);
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; display: inline-block; }
.status-dot.working { background: var(--blue-bright); box-shadow: 0 0 8px rgba(125, 149, 255, 0.8); }
.status-dot.done { background: var(--green); }
.status-dot.warn { background: var(--amber); }

.float-pr {
  bottom: -46px;
  left: -26px;
  display: flex;
  align-items: center;
  gap: 11px;
  animation: float 8s ease-in-out -2.5s infinite;
}
.pr-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(61, 220, 151, 0.1);
  color: var(--green);
  border: 1px solid rgba(61, 220, 151, 0.22);
}
.pr-icon .icon { font-size: 17px; }
.float-pr .float-foot { margin-top: 3px; }

/* Source strip */

.source-strip {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 92px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.source-label {
  flex: none;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.source-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 30px;
}
.source-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}
.src-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.src-mark .icon { font-size: 14px; }
.src-github { background: #24292f; border: 1px solid rgba(255, 255, 255, 0.14); }
.src-ding { background: linear-gradient(180deg, #2b8cff, #0b6fee); }
.src-cnb { background: linear-gradient(180deg, #7c5cff, #5b3ed6); }
.src-feishu { background: linear-gradient(180deg, #33b7ff, #1f7ff0); }
.src-more { background: rgba(255, 255, 255, 0.06); border: 1px dashed var(--line-strong); color: var(--muted); }
.source-plus { color: var(--muted-2) !important; }

/* --------------------------------------------------------------------------
   Sections & shared type
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: 118px 0;
  border-top: 1px solid var(--line);
}
.section-head { max-width: 760px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.centered .eyebrow { justify-content: center; }
.section-head.centered .eyebrow::before { display: none; }

.section h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.section-lead {
  max-width: 680px;
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--muted);
}
.centered .section-lead { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Principles
   -------------------------------------------------------------------------- */

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.principle {
  position: relative;
  padding: 30px 28px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
  overflow: hidden;
}
.principle::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 123, 255, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.principle:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.principle:hover::before { opacity: 1; }
.principle-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.principle-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(91, 123, 255, 0.1);
  border: 1px solid rgba(91, 123, 255, 0.22);
  color: var(--blue-bright);
  margin-bottom: 22px;
}
.principle-icon .icon { font-size: 20px; }
.principle h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 10px; }
.principle p { font-size: 14.5px; line-height: 1.8; color: var(--muted); }

/* --------------------------------------------------------------------------
   Flow
   -------------------------------------------------------------------------- */

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.flow::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 123, 255, 0.55) 12%, rgba(40, 211, 196, 0.45) 88%, transparent);
}
.flow-step { position: relative; display: flex; flex-direction: column; }
.flow-node {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: #0b1120;
  border: 1px solid rgba(91, 123, 255, 0.5);
  box-shadow: 0 0 0 7px var(--bg), 0 0 26px -4px rgba(91, 123, 255, 0.55);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue-bright);
}
.flow-card {
  flex: 1;
  padding: 24px 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}
.flow-card:hover { background: rgba(255, 255, 255, 0.045); border-color: var(--line-strong); }
.flow-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.flow-card h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 9px; }
.flow-card p { font-size: 14px; line-height: 1.75; color: var(--muted); }

.flow-note {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 40px auto 0;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  color: var(--muted);
}
.flow-note .icon { color: var(--cyan); font-size: 16px; }

/* --------------------------------------------------------------------------
   Panel mock
   -------------------------------------------------------------------------- */

.panel-section {
  background:
    radial-gradient(900px 500px at 78% 50%, rgba(91, 123, 255, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 40%);
}
.panel-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: center;
}
.check-list { margin-top: 30px; display: grid; gap: 13px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.check-list .icon {
  margin-top: 3px;
  font-size: 15px;
  color: var(--green);
  background: rgba(61, 220, 151, 0.1);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

.panel-visual { position: relative; min-width: 0; }
.panel-glow {
  position: absolute;
  inset: 12% 6% -8%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(91, 123, 255, 0.28), transparent);
  filter: blur(50px);
}

.app-window {
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a101d;
  box-shadow: 0 44px 100px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  font-size: 13px;
}
.app-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  background: #0d1424;
  border-bottom: 1px solid var(--line);
}
.app-url {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
}
.app-badge {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--green);
  border: 1px solid rgba(61, 220, 151, 0.25);
  background: rgba(61, 220, 151, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.app-body { display: flex; min-height: 388px; }

.app-side {
  flex: none;
  width: 176px;
  padding: 16px 12px;
  background: #080d18;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mini-mark {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #5b7bff, #28d3c4);
  color: #fff;
  font-size: 10px;
}
.app-nav { display: grid; gap: 2px; }
.app-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 12px;
  color: var(--muted);
}
.app-nav-item.active { background: rgba(91, 123, 255, 0.13); color: #dfe6ff; }
.app-nav-item b {
  font-family: var(--mono);
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(91, 123, 255, 0.25);
  color: #b9c6ff;
}
.app-health {
  margin-top: auto;
  padding: 13px 9px 2px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 7px;
}
.app-health-title {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.app-health p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
}

.app-main { flex: 1; min-width: 0; padding: 20px 20px 22px; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.app-kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--muted-2); text-transform: uppercase; }
.app-title { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; margin-top: 3px; }
.app-title span { color: var(--blue-bright); }
.app-filter {
  font-size: 10.5px;
  color: var(--muted);
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  white-space: nowrap;
}
.ticket-list { display: grid; gap: 8px; }
.ticket {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.ticket:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--line); }
.ticket-done { opacity: 0.62; }
.ticket-src {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.ticket-src .icon { font-size: 14px; }
.ticket-body { flex: 1; min-width: 0; }
.ticket-title { font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-meta { font-size: 10.5px; color: var(--muted-2); margin-top: 3px; }
.pill {
  flex: none;
  font-size: 9.5px;
  padding: 3px 7px;
  border-radius: 5px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.pill-amber { color: #ffd18a; background: rgba(245, 177, 76, 0.13); border: 1px solid rgba(245, 177, 76, 0.25); }
.pill-violet { color: #c9b8ff; background: rgba(167, 139, 250, 0.13); border: 1px solid rgba(167, 139, 250, 0.25); }
.pill-blue { color: #a9bbff; background: rgba(91, 123, 255, 0.14); border: 1px solid rgba(91, 123, 255, 0.28); }
.pill-green { color: #8bf0c1; background: rgba(61, 220, 151, 0.1); border: 1px solid rgba(61, 220, 151, 0.22); }
.mini-progress {
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.mini-progress span {
  display: block;
  width: 44%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: progress 6s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   Bento capabilities
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 54px;
}
.bento-card {
  grid-column: span 4;
  padding: 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(400px 200px at 90% 0%, rgba(91, 123, 255, 0.07), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014));
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease);
  min-width: 0;
}
.bento-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.bento-wide { grid-column: span 7; }
.bento-card:nth-child(2) { grid-column: span 5; }

.bento-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.bento-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(40, 211, 196, 0.08);
  border: 1px solid rgba(40, 211, 196, 0.2);
  color: var(--cyan);
}
.bento-icon .icon { font-size: 18px; }
.bento-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.bento-card h3 { font-size: 20px; letter-spacing: -0.025em; margin-bottom: 10px; }
.bento-card p { font-size: 14px; line-height: 1.75; color: var(--muted); }

.channel-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.channel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--ink-soft);
}
.channel .icon { font-size: 13px; }

.rule-mock {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.rule-mock p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 11.5px;
  color: var(--muted);
}
.rule-mock p + p { border-top: 1px solid var(--line); }
.rule-mock b { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--ink-soft); }
.rule-mock b.ok { color: var(--green); }

.path-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 8px 11px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted) !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.path-chip .icon { color: var(--cyan); font-size: 13px; }

.triple-stat { display: flex; gap: 22px; margin-top: 22px; }
.triple-stat div { display: grid; }
.triple-stat b { font-family: var(--mono); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.triple-stat span { font-size: 10.5px; color: var(--muted-2); margin-top: 1px; }

.cmd-stack { display: grid; gap: 6px; margin-top: 20px; }
.cmd-stack code {
  padding: 8px 11px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Deploy
   -------------------------------------------------------------------------- */

.deploy { background: linear-gradient(180deg, transparent, rgba(91, 123, 255, 0.035) 50%, transparent); }

.deploy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: 22px;
  align-items: start;
  margin-top: 50px;
}
.deploy-main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 2px;
  padding: 8px 10px 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  flex: none;
  padding: 12px 14px 13px;
  background: none;
  border: 0;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}
.tab:hover { color: var(--ink-soft); }
.tab.is-active { color: var(--ink); font-weight: 600; }
.tab::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.tab.is-active::after { opacity: 1; }

.tab-pane { display: none; }
.tab-pane.is-active { display: block; }

.code-block { background: rgba(0, 0, 0, 0.24); }
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.code-head > span { display: inline-flex; align-items: center; gap: 7px; }
.code-head .icon { font-size: 13px; color: var(--cyan); }
.code-copy { font-size: 10.5px; text-transform: none; letter-spacing: 0; }

.code-block pre {
  margin: 0;
  padding: 20px 20px 24px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.85;
  color: #d5ddf0;
  tab-size: 2;
}
.code-block code { font-family: var(--mono); }
.c-comment { color: #5f6d8d; }
.code-block pre::-webkit-scrollbar { height: 8px; }
.code-block pre::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 8px; }

.deploy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.deploy-note .icon { color: var(--amber); font-size: 15px; margin-top: 1px; }
.deploy-note code {
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
}

.deploy-side { display: grid; gap: 12px; }
.side-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}
.side-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 13px;
  color: var(--ink-soft);
}
.side-card h3 .icon { font-size: 15px; color: var(--blue-bright); }
.side-card ul { display: grid; gap: 8px; }
.side-card li {
  position: relative;
  padding-left: 13px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.side-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-2);
}
.side-card li b { color: var(--ink-soft); font-weight: 500; }
.side-card p { font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.side-card code {
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
}

.cli-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}
.cli-strip-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cli-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.cli-chips code {
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-soft);
}
.cli-strip .text-link { margin-top: 0; margin-left: auto; }

/* --------------------------------------------------------------------------
   Safety
   -------------------------------------------------------------------------- */

.safety-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 70px;
  align-items: center;
}
.safety-quote blockquote {
  font-size: clamp(22px, 2.5vw, 29px);
  line-height: 1.55;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink-soft);
}
.quote-src {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
}
.safety-list { display: grid; gap: 10px; }
.safety-item {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.3s, background 0.3s;
}
.safety-item:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.safety-num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--blue-bright);
  padding-top: 3px;
}
.safety-item h3 { font-size: 15.5px; margin-bottom: 5px; }
.safety-item p { font-size: 13px; line-height: 1.7; color: var(--muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: start;
}
.faq .section-head { position: sticky; top: 110px; }
.faq .section-head .btn { margin-top: 26px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.3s, background 0.3s;
}
.faq-item[open] { border-color: rgba(91, 123, 255, 0.3); background: rgba(91, 123, 255, 0.045); }
.faq-item:hover { border-color: var(--line-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { font-size: 17px; color: var(--muted-2); transition: transform 0.25s var(--ease), color 0.2s; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--blue-bright); }
.faq-body { padding: 0 22px 20px; }
.faq-body p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.faq-body code {
  font-size: 11.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.final-cta { padding: 50px 0 110px; }
.final-inner {
  position: relative;
  overflow: hidden;
  padding: 72px 48px;
  border: 1px solid rgba(91, 123, 255, 0.28);
  border-radius: 26px;
  background:
    radial-gradient(700px 340px at 50% -10%, rgba(91, 123, 255, 0.24), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  text-align: center;
}
.final-glow {
  position: absolute;
  width: 480px;
  height: 240px;
  left: 50%;
  bottom: -180px;
  transform: translateX(-50%);
  background: rgba(40, 211, 196, 0.2);
  filter: blur(80px);
  pointer-events: none;
}
.final-inner .eyebrow { justify-content: center; }
.final-inner .eyebrow::before { display: none; }
.final-inner h2 {
  font-size: clamp(28px, 4.3vw, 50px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.final-inner > p:not(.eyebrow):not(.final-hint) {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.final-hint {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
}
.final-hint code { color: var(--muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: rgba(0, 0, 0, 0.18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 0.8fr;
  gap: 40px;
}
.footer-brand p { margin-top: 16px; font-size: 13px; line-height: 1.75; color: var(--muted); }
.footer-domain {
  margin-top: 14px !important;
  font-family: var(--mono);
  font-size: 10.5px !important;
  letter-spacing: 0.06em;
  color: var(--muted-2) !important;
}
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h3 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.footer-col a {
  width: fit-content;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
}
.footer-build { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.has-js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease) var(--d, 0ms), transform 0.7s var(--ease) var(--d, 0ms);
}
.has-js .reveal.is-in { opacity: 1; transform: none; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.12); }
  50% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0.03); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes progress {
  0% { width: 38%; }
  100% { width: 76%; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-inner { gap: 42px; }
  .panel-grid { gap: 42px; }
  .safety-inner { gap: 42px; }
  .faq-grid { gap: 42px; }
  .deploy-grid { grid-template-columns: minmax(0, 1fr); }
  .deploy-side { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .container, .nav-shell { width: calc(100% - 40px); }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 20px;
    right: 20px;
    z-index: 55;
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 10px;
    background: rgba(10, 15, 29, 0.97);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 12px 14px; font-size: 15px; }
  .menu-toggle { display: inline-flex; }
  .nav-gh span { display: none; }
  .nav-gh { padding: 9px; }
  .nav-actions { margin-left: auto; }

  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero-copy { max-width: 680px; min-width: 0; }
  .hero-sub { max-width: 100%; }
  .hero-visual { max-width: 620px; width: 100%; }
  .source-strip { margin-top: 72px; flex-direction: column; align-items: flex-start; gap: 18px; }

  .section { padding: 92px 0; }
  .principle-grid { grid-template-columns: 1fr; max-width: 620px; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .flow::before { display: none; }

  .panel-grid { grid-template-columns: 1fr; gap: 40px; }
  .panel-copy { max-width: 620px; }
  .panel-visual { max-width: 660px; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-wide, .bento-card:nth-child(2) { grid-column: span 1; }
  .bento-card:nth-child(5) { grid-column: span 2; }

  .safety-inner { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 680px) {
  .container, .nav-shell { width: calc(100% - 32px); }
  .hero { padding-top: calc(var(--header-h) + 42px); }
  .hero h1 { font-size: clamp(38px, 10.5vw, 50px); }
  .hero-sub { font-size: 15.5px; }
  .hero-cta .btn { flex: 1; min-width: 150px; }
  .hero-install { max-width: 100%; }
  .install-line { align-items: flex-start; }
  .install-line code {
    font-size: 10.5px;
    white-space: normal;
    overflow-x: hidden;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1.65;
  }
  .install-icon { margin-top: 5px; }
  .copy-btn { margin-top: 2px; min-width: 36px; min-height: 36px; justify-content: center; }
  .copy-label { display: none; }
  .copy-btn { padding: 8px; }

  .float-card { display: none; }
  .nav-shell { gap: 16px; }
  .terminal-body { padding: 18px 16px 22px; }
  .t-line, .t-out, .t-note { font-size: 10.5px; }
  .source-list { gap: 10px 18px; }
  .source-list li { font-size: 12.5px; }

  .section { padding: 76px 0; }
  .section h2 { font-size: clamp(28px, 8vw, 36px); }
  .section-lead { font-size: 15px; }
  .principle { padding: 26px 22px; }
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow-step { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; }
  .flow-node { width: 38px; height: 38px; margin: 14px 0 0; }
  .flow-card { padding: 18px; }
  .flow-card h3 { font-size: 16.5px; }
  .flow-note { width: auto; border-radius: 14px; font-size: 12px; }

  .app-side { display: none; }
  .app-body { min-height: 0; }
  .app-main { padding: 16px; }
  .app-window { font-size: 12px; }
  .ticket { padding: 10px; gap: 9px; }
  .pill { display: none; }
  .ticket-title { font-size: 12px; }

  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-wide, .bento-card:nth-child(2), .bento-card:nth-child(5) { grid-column: span 1; }
  .bento-card { padding: 24px 22px; }

  .deploy-side { grid-template-columns: 1fr; }
  .code-block pre { font-size: 10.5px; padding: 16px 14px 20px; }
  .cli-strip { align-items: flex-start; }
  .cli-strip .text-link { margin-left: 0; }
  .safety-item { padding: 18px; gap: 14px; }

  .final-cta { padding: 24px 0 76px; }
  .final-inner { padding: 48px 22px; border-radius: 20px; }
  .final-actions .btn { flex: 1; min-width: 150px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: span 2; }
  .site-footer { padding-top: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .nav-actions > .btn { display: none; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.09em; line-height: 1.7; }
  .eyebrow-full { display: none; }
  .eyebrow-short { display: inline; }
}

@media (max-width: 420px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .final-actions { flex-direction: column; }
  .float-pr { display: none; }
  .triple-stat { gap: 16px; }
  .footer-col h3 { font-size: 10px; }
}

@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;
  }
  .has-js .reveal { opacity: 1; transform: none; }
}
