@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  --acc: #2eff6b;
  --acc-deep: #0c8f44;
  --acc-soft: rgba(46, 255, 107, 0.16);
  --acc-line: rgba(46, 255, 107, 0.42);
  --acc-tx: #88ffb1;
  --on-acc: #04210f;
  --acc-ring: rgba(46, 255, 107, 0.35);
  --acc-grad: #16c95f;
  --bg: #15151e;
  --card: #16161f;
  --card-2: #1c1d29;
  --card-3: #1b1c28;
  --sheet: #191a26;
  --inset: #20212e;
  --input: #1e1f2c;
  --chip: #23243a;
  --code-bg: #14151d;
  --tx-0: #f2f2f8;
  --tx-1: #ececf4;
  --tx-2: #cfcfe0;
  --tx-bright: #dcdce8;
  --tx-secondary: #a2a2ba;
  --tx-muted: #9a9ab0;
  --tx-faint: #7a7a96;
  --tx-faint-2: #6c6c87;
  --tx-faint-3: #5f5f78;
  --tx-disabled: #56566e;
  --ok: #54d49b;
  --run: #2eff6b;
  --danger: #ef626c;
  --warn: #efb454;
  --line: 255, 255, 255;
  --hairline: rgba(255, 255, 255, 0.07);
  --hairline-strong: rgba(255, 255, 255, 0.12);
  --font-sans: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;
  --glass-bg: rgba(24, 25, 35, 0.62);
  --glass-border: rgba(255, 255, 255, 0.1);
  --maxw: 1080px;
}
[data-theme='light'] {
  --acc: #4f46e5;
  --acc-deep: #4338ca;
  --acc-soft: rgba(79, 70, 229, 0.13);
  --acc-line: rgba(79, 70, 229, 0.4);
  --acc-tx: #4338ca;
  --on-acc: #ffffff;
  --acc-ring: rgba(79, 70, 229, 0.35);
  --acc-grad: #4338ca;
  --run: #0f9d58;
  --bg: #eef0f5;
  --card: #fff;
  --card-2: #fff;
  --card-3: #fff;
  --sheet: #fff;
  --inset: #e8eaf1;
  --input: #e8eaf1;
  --chip: #e4e6ef;
  --tx-0: #15151d;
  --tx-1: #22232e;
  --tx-2: #3b3c4a;
  --tx-bright: #2b2c38;
  --tx-secondary: #5a5b6e;
  --tx-muted: #6b6c80;
  --tx-faint: #7c7d8c;
  --tx-faint-2: #8c8d9c;
  --tx-faint-3: #9b9caa;
  --tx-disabled: #bcbdc9;
  --line: 18, 20, 34;
  --hairline: rgba(18, 20, 34, 0.07);
  --hairline-strong: rgba(18, 20, 34, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(18, 20, 34, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--tx-2);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono {
  font-family: var(--font-mono);
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc-tx);
}
[data-theme='light'] .eyebrow {
  color: var(--acc-tx);
}
h1,
h2,
h3 {
  color: var(--tx-0);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* ---------- background glow ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(720px 480px at 78% -6%, rgba(46, 255, 107, 0.1), transparent 60%),
    radial-gradient(680px 520px at 8% 8%, rgba(46, 255, 107, 0.05), transparent 55%);
}
[data-theme='light'] .backdrop {
  background:
    radial-gradient(720px 480px at 78% -6%, rgba(79, 70, 229, 0.1), transparent 60%),
    radial-gradient(680px 520px at 8% 8%, rgba(79, 70, 229, 0.06), transparent 55%);
}

/* ---------- nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--hairline);
}
nav .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--tx-0);
  font-size: 18px;
}
.brand svg {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: block;
}
.brand .wm {
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 22px;
}
.nav-links a {
  font-size: 14px;
  color: var(--tx-secondary);
}
.nav-links a:hover {
  color: var(--tx-0);
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--chip);
  border: 1px solid var(--hairline);
  color: var(--tx-secondary);
  cursor: pointer;
}
.theme-btn:hover {
  color: var(--tx-0);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--acc);
  color: var(--on-acc);
  box-shadow: 0 8px 26px -8px var(--acc-ring);
}
.btn-primary:hover {
  box-shadow: 0 12px 34px -8px var(--acc-ring);
}
.btn-ghost {
  background: var(--chip);
  color: var(--tx-1);
  border-color: var(--hairline);
}
.btn-ghost:hover {
  background: var(--inset);
}
.btn-sm {
  padding: 9px 15px;
  font-size: 14px;
  border-radius: 12px;
}

/* ---------- hero ---------- */
.hero {
  padding: 76px 0 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--acc-soft);
  border: 1px solid var(--acc-line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--acc-tx);
  margin-bottom: 22px;
}
.hero-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--run);
  box-shadow: 0 0 10px var(--run);
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 58px);
  margin-bottom: 20px;
}
.hero h1 .g {
  background: linear-gradient(120deg, var(--acc), var(--acc-grad));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: 19px;
  color: var(--tx-secondary);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-sub {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--tx-faint);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-sub .sep {
  color: var(--tx-disabled);
}

/* ---------- phone ---------- */
.phone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone {
  width: 290px;
  height: 600px;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #26283a, #111119);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #05060a;
  border-radius: 16px;
  z-index: 5;
}
.statusbar {
  height: 46px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 22px 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--tx-1);
  font-weight: 500;
}
.statusbar .r {
  display: flex;
  gap: 5px;
  align-items: center;
}
.p-head {
  padding: 6px 18px 10px;
}
.p-head .t {
  font-size: 20px;
  color: var(--tx-0);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.p-head .s {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--tx-faint);
  margin-top: 2px;
}
.p-list {
  flex: 1;
  overflow: hidden;
  padding: 2px 12px;
}
.srow {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 8px;
  border-bottom: 1px solid var(--hairline);
}
.srow .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--card-2);
  border: 1px solid var(--hairline);
  position: relative;
}
.srow .ic svg {
  width: 18px;
  height: 18px;
  color: var(--tx-secondary);
}
.srow .ic .live {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--run);
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px var(--run);
}
.srow .m {
  min-width: 0;
  flex: 1;
}
.srow .m .n {
  color: var(--tx-1);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srow .m .b {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--tx-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.srow .r {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-align: right;
  flex: 0 0 auto;
}
.srow .r .st {
  color: var(--acc-tx);
}
.srow .r .st.idle {
  color: var(--tx-faint);
}
.srow .r .tk {
  color: var(--tx-faint-2);
  margin-top: 3px;
}
.tabbar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 60px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 18px 40px -18px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--tx-faint);
}
.tab svg {
  width: 21px;
  height: 21px;
}
.tab.on {
  color: var(--acc-tx);
}
.tab.on svg {
  color: var(--acc-tx);
}
.home-ind {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
}

/* ---------- logos strip ---------- */
.trust {
  padding: 8px 0 20px;
  text-align: center;
}
.trust .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-faint-2);
  margin-bottom: 16px;
}
.trust .chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.chip-t {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--tx-secondary);
  background: var(--card-2);
  border: 1px solid var(--hairline);
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- section ---------- */
section.blk {
  padding: 66px 0;
}
.sec-head {
  max-width: 620px;
  margin-bottom: 40px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  margin: 12px 0 12px;
}
.sec-head p {
  font-size: 17px;
  color: var(--tx-secondary);
}
.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fcard {
  background: var(--card-2);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 22px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.fcard:hover {
  border-color: var(--acc-line);
  transform: translateY(-2px);
}
.fcard .fi {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--acc-soft);
  border: 1px solid var(--acc-line);
  margin-bottom: 16px;
}
.fcard .fi svg {
  width: 22px;
  height: 22px;
  color: var(--acc-tx);
}
.fcard h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.fcard p {
  font-size: 14.5px;
  color: var(--tx-secondary);
  line-height: 1.55;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  padding: 24px;
  background: var(--card-2);
  border: 1px solid var(--hairline);
  border-radius: 16px;
}
.step .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--on-acc);
  background: var(--acc);
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
.step p {
  font-size: 14px;
  color: var(--tx-secondary);
}
.step code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--acc-tx);
  background: var(--code-bg);
  border: 1px solid var(--hairline);
  padding: 2px 7px;
  border-radius: 7px;
}

/* ---------- deploy split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.dcard {
  background: var(--card-2);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px;
  /* Column layout so the feature list absorbs the height difference between the
     two cards and their CTAs land on the same baseline. */
  display: flex;
  flex-direction: column;
}
.dcard.pri {
  border-color: var(--acc-line);
}
.dcard .dtag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-faint-2);
  margin-bottom: 12px;
}
.dcard h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.dcard > p {
  font-size: 14.5px;
  color: var(--tx-secondary);
  margin-bottom: 18px;
}
.dcard ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  flex: 1;
}
.dcard li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--tx-2);
}
.dcard li svg {
  width: 18px;
  height: 18px;
  color: var(--acc-tx);
  flex: 0 0 auto;
  margin-top: 1px;
}
.term {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--code-bg);
  border: 1px solid var(--hairline);
  border-radius: 11px;
  padding: 13px 15px;
  color: var(--tx-bright);
  margin-bottom: 20px;
  overflow-x: auto;
}
.term .pr {
  color: var(--acc-tx);
}
.term .cm {
  color: var(--tx-faint);
}

/* ---------- faq ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
details {
  background: var(--card-2);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 4px 20px;
}
details summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 16px;
  color: var(--tx-0);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary .chev {
  transition: transform 0.2s;
  color: var(--tx-faint);
}
details[open] summary .chev {
  transform: rotate(180deg);
}
details p {
  padding: 0 0 18px;
  color: var(--tx-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}
details p a {
  color: var(--acc-tx);
  border-bottom: 1px solid var(--acc-line);
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0;
  margin-top: 30px;
}
footer .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
footer .brand {
  font-size: 16px;
}
footer .fnote {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--tx-faint);
  margin-left: auto;
}
footer .fnote a {
  color: var(--tx-secondary);
}
footer .fnote a:hover {
  color: var(--tx-0);
}

/* ---------- continuity band ---------- */
.continuity {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.handoff {
  background: var(--card-2);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}
.dev {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.dev .glyph {
  width: 88px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--code-bg);
  border: 1px solid var(--hairline);
}
.dev.phone .glyph {
  width: 44px;
  height: 70px;
}
.dev .glyph svg {
  color: var(--tx-secondary);
}
.dev.done .glyph {
  border-color: var(--acc-line);
}
.dev.done .glyph svg {
  color: var(--acc-tx);
}
.dev .lab {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--tx-faint);
  line-height: 1.35;
}
.dev .lab b {
  color: var(--tx-1);
  font-weight: 600;
  display: block;
  font-size: 12.5px;
}
.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 4px;
}
.flow .line {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: linear-gradient(var(--acc-line), transparent);
}
.flow .live-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--acc-tx);
  background: var(--acc-soft);
  border: 1px solid var(--acc-line);
  padding: 5px 10px;
  border-radius: 999px;
}
.flow .live-pill .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--run);
  box-shadow: 0 0 8px var(--run);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* ---------- voice callout ---------- */
.voice-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}
.wave i {
  width: 3px;
  border-radius: 2px;
  background: var(--acc);
  animation: eq 1.1s ease-in-out infinite;
}
.wave i:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}
.wave i:nth-child(2) {
  height: 18px;
  animation-delay: 0.15s;
}
.wave i:nth-child(3) {
  height: 24px;
  animation-delay: 0.3s;
}
.wave i:nth-child(4) {
  height: 14px;
  animation-delay: 0.45s;
}
.wave i:nth-child(5) {
  height: 20px;
  animation-delay: 0.2s;
}
.wave i:nth-child(6) {
  height: 9px;
  animation-delay: 0.35s;
}
@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}
.voice-cap {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--tx-secondary);
}

/* ---------- orchestrator pipeline ---------- */
.pipe {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}
.pstage {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  padding: 0 0 22px;
}
.pstage:last-child {
  padding-bottom: 0;
}
.pstage .rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}
.pstage .node {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--card-2);
  border: 1px solid var(--acc-line);
  color: var(--acc-tx);
  z-index: 2;
}
.pstage .node svg {
  width: 20px;
  height: 20px;
}
.pstage .conn {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: var(--acc-line);
  opacity: 0.5;
  margin: 2px 0;
}
.pstage:last-child .conn {
  display: none;
}
.pstage .body {
  padding-top: 8px;
}
.pstage .sname {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--tx-0);
  font-weight: 500;
}
.pstage .sname .tag {
  color: var(--acc-tx);
}
.pstage .sdesc {
  font-size: 14px;
  color: var(--tx-secondary);
  margin-top: 4px;
  max-width: 520px;
}
.pstage .loop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tx-faint-2);
  background: var(--code-bg);
  border: 1px solid var(--hairline);
  padding: 4px 9px;
  border-radius: 999px;
}
.orch-head-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 44px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 48px;
  }
  .phone-stage {
    order: -1;
  }
  .continuity,
  .orch-head-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
@media (max-width: 560px) {
  .grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .wrap {
    padding: 0 18px;
  }
}

/* =========================================================================
   Sub-page layer — /download and /docs. Everything above is the landing
   page's system; these are additions, not overrides.
   ========================================================================= */

/* ---------- page header (sub-pages have no phone mock) ---------- */
.page-head {
  padding: 62px 0 10px;
  max-width: 720px;
}
.page-head h1 {
  font-size: clamp(34px, 4.6vw, 50px);
  margin: 14px 0 18px;
}
.page-head h1 .g {
  background: linear-gradient(120deg, var(--acc), var(--acc-grad));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-head p.lead {
  font-size: 19px;
  color: var(--tx-secondary);
}
.nav-links a.on {
  color: var(--tx-0);
}

/* ---------- two-column doc shell ---------- */
.doc {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  padding: 34px 0 20px;
}
.toc {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--hairline);
}
.toc a {
  font-size: 13.5px;
  color: var(--tx-faint);
  padding: 7px 0 7px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  line-height: 1.35;
}
.toc a:hover {
  color: var(--tx-1);
}
.toc a.on {
  color: var(--acc-tx);
  border-left-color: var(--acc);
}
.toc .toc-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-faint-3);
  padding: 0 0 10px 14px;
}

/* ---------- prose ---------- */
.prose {
  min-width: 0;
}
.prose section {
  scroll-margin-top: 84px;
  padding-bottom: 46px;
}
.prose h2 {
  font-size: clamp(24px, 2.8vw, 30px);
  margin: 6px 0 16px;
}
.prose h3 {
  font-size: 17.5px;
  margin: 26px 0 9px;
  color: var(--tx-1);
}
.prose p {
  font-size: 16px;
  color: var(--tx-secondary);
  margin-bottom: 14px;
  max-width: 68ch;
}
.prose p b,
.prose li b {
  color: var(--tx-1);
  font-weight: 600;
}
.prose ul,
.prose ol {
  margin: 0 0 16px 0;
  padding-left: 20px;
  max-width: 68ch;
}
.prose li {
  font-size: 16px;
  color: var(--tx-secondary);
  margin-bottom: 8px;
}
.prose li::marker {
  color: var(--tx-faint-3);
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--chip);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 1.5px 6px;
  color: var(--tx-1);
}
.prose a.lnk {
  color: var(--acc-tx);
  border-bottom: 1px solid var(--acc-line);
}
.prose a.lnk:hover {
  border-bottom-color: var(--acc);
}
.rule {
  height: 1px;
  background: var(--hairline);
  border: 0;
  margin: 0 0 40px;
}

/* ---------- command block with copy affordance ---------- */
.cmd {
  position: relative;
  background: var(--code-bg);
  border: 1px solid var(--hairline);
  border-radius: 13px;
  margin: 0 0 10px;
}
.cmd pre {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--tx-bright);
  padding: 15px 74px 15px 16px;
  overflow-x: auto;
  white-space: pre;
}
.cmd .pr {
  color: var(--acc-tx);
  user-select: none;
}
.cmd .cm {
  color: var(--tx-faint-3);
}
.copy {
  position: absolute;
  top: 9px;
  right: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 9px;
  background: var(--chip);
  border: 1px solid var(--hairline);
  color: var(--tx-secondary);
  cursor: pointer;
  transition: color 0.15s ease;
}
.copy:hover {
  color: var(--tx-0);
}
.copy.copied {
  color: var(--acc-tx);
  border-color: var(--acc-line);
}
.cmd-note {
  font-size: 14px;
  color: var(--tx-faint);
  margin: 0 0 22px;
  max-width: 68ch;
}

/* ---------- callout ---------- */
.note {
  display: flex;
  gap: 13px;
  border: 1px solid var(--hairline);
  background: var(--card-2);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 22px;
  max-width: 68ch;
}
.note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--tx-faint);
}
.note p {
  margin: 0;
  font-size: 15px;
}
.note .nt {
  display: block;
  color: var(--tx-1);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 3px;
}
.note.warn {
  border-color: rgba(239, 180, 84, 0.32);
  background: rgba(239, 180, 84, 0.07);
}
.note.warn svg {
  color: var(--warn);
}
.note.acc {
  border-color: var(--acc-line);
  background: var(--acc-soft);
}
.note.acc svg {
  color: var(--acc-tx);
}

/* ---------- support matrix ---------- */
.tbl-wrap {
  overflow-x: auto;
  margin: 0 0 22px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
}
table.tbl {
  border-collapse: collapse;
  width: 100%;
  min-width: 440px;
}
table.tbl th,
table.tbl td {
  text-align: left;
  padding: 12px 16px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--hairline);
}
table.tbl th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-faint-2);
  font-weight: 500;
  background: var(--card-2);
}
table.tbl tr:last-child td {
  border-bottom: 0;
}
table.tbl td:first-child {
  font-family: var(--font-mono);
  color: var(--tx-1);
  white-space: nowrap;
}
table.tbl td {
  color: var(--tx-secondary);
}
.yes {
  color: var(--acc-tx);
  font-weight: 600;
}
.no {
  color: var(--danger);
  font-weight: 600;
}

/* ---------- route cards (chatbot vs terminal) ---------- */
.routes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}
.route {
  background: var(--card-2);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
}
.route.pri {
  border-color: var(--acc-line);
  box-shadow: 0 18px 50px -30px var(--acc-ring);
}
.route .rtag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-faint-2);
  margin-bottom: 12px;
}
.route.pri .rtag {
  color: var(--acc-tx);
}
.route h3 {
  font-size: 20px;
  margin: 0 0 8px;
}
.route p {
  font-size: 15px;
  color: var(--tx-secondary);
  margin-bottom: 16px;
  flex: 1;
}

/* ---------- copyable install prompt ---------- */
.promptbox {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
  margin-bottom: 22px;
}
.promptbox .pb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--hairline);
  background: var(--card-2);
}
.promptbox .pb-head .t {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--tx-secondary);
}
.promptbox .pb-head .copy {
  position: static;
  margin-left: auto;
}
.promptbox .pb-body {
  max-height: 300px;
  overflow: auto;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--tx-secondary);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ---------- numbered walkthrough ---------- */
.walk {
  counter-reset: walk;
  border-left: 1px solid var(--hairline);
  margin-left: 15px;
  padding-left: 30px;
}
.walk > li {
  list-style: none;
  position: relative;
  padding-bottom: 26px;
}
.walk > li::before {
  counter-increment: walk;
  content: counter(walk);
  position: absolute;
  left: -46px;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--acc-tx);
  background: var(--acc-soft);
  border: 1px solid var(--acc-line);
}
.walk > li h3 {
  margin-top: 0;
}
.prose .walk {
  padding-left: 30px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .doc {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    border-left: 0;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 14px;
  }
  .toc .toc-lbl {
    display: none;
  }
  .toc a {
    padding: 6px 12px;
    margin: 0;
    border-left: 0;
    border-radius: 999px;
    background: var(--chip);
    border: 1px solid var(--hairline);
    font-size: 12.5px;
  }
  .toc a.on {
    border-color: var(--acc-line);
    background: var(--acc-soft);
  }
  .routes {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .page-head {
    padding-top: 40px;
  }
  .walk {
    margin-left: 13px;
    padding-left: 22px;
  }
  .walk > li::before {
    left: -37px;
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}

.dcard .btn {
  align-self: flex-start;
}
