:root {
  --bg: #080909;
  --bg-elev: #0d0f0e;
  --bg-panel: #111413;
  --bg-inset: #050606;
  --line: #1d2320;
  --line-strong: #2c3530;
  --ink: #f1f2ee;
  --ink-2: #a3ada7;
  --ink-3: #68736c;
  --sig: #16e27e;
  --sig-hover: #29f08e;
  --sig-dim: rgba(22, 226, 126, 0.1);
  --sig-line: rgba(22, 226, 126, 0.42);
  --err: #ef4444;
  --font-disp: "Archivo", system-ui, -apple-system, sans-serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 2px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

:is(a, button, input):focus-visible {
  outline: 2px solid var(--sig);
  outline-offset: 2px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--sig);
  background: var(--bg-inset);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: var(--r);
}

.hidden {
  display: none !important;
}

.accent {
  color: var(--sig);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  background: rgba(8, 9, 9, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-in {
  width: 100%;
  height: 60px;
  padding-inline: clamp(16px, 2.5vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-disp);
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #05110b;
  background: var(--sig);
  border-radius: var(--r);
}

.brand-text {
  font-size: 16px;
  white-space: nowrap;
}

.brand-tld {
  color: var(--sig);
  font-family: var(--font-mono);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.14s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a.is-active {
  color: var(--sig);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r);
  white-space: nowrap;
}

.user-chip b {
  color: var(--sig);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.mobile-drawer {
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 16px clamp(16px, 2.5vw, 44px) 20px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.drawer-links a {
  padding: 11px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.drawer-links a:hover {
  color: var(--sig);
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-lg {
  height: 44px;
  padding: 0 20px;
  font-size: 12.5px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--sig);
  color: #05110b;
  border-color: var(--sig);
}

.btn-primary:hover:not([disabled]):not(.is-disabled) {
  background: var(--sig-hover);
  border-color: var(--sig-hover);
}

.btn-ghost {
  background: var(--bg-elev);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover:not([disabled]):not(.is-disabled) {
  background: var(--bg-panel);
  border-color: var(--ink-3);
}

.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sig);
  margin-bottom: 14px;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  background: var(--sig);
  flex-shrink: 0;
}

.hero-split {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(28px, 4vw, 56px) clamp(16px, 2.5vw, 44px);
  border-right: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-family: var(--font-disp);
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-sub {
  margin: 0 0 24px;
  font-size: 15.5px;
  color: var(--ink-2);
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-specs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.hero-specs > div {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.hero-specs > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.hero-specs > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.hero-specs dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.hero-specs dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.workbench-rail {
  min-width: 0;
  background: var(--bg-elev);
  padding: clamp(20px, 2.8vw, 36px) clamp(16px, 2.5vw, 44px);
  display: flex;
  align-items: center;
}

.workbench {
  width: 100%;
  background: var(--bg-inset);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.wb-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

.wb-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: var(--r);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.wb-tab:hover {
  color: var(--ink);
  border-color: var(--line);
}

.wb-tab.is-active {
  background: var(--sig);
  color: #05110b;
}

.wb-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wb-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  background: var(--sig-dim);
  border: 1px solid var(--sig-line);
  color: var(--sig);
  border-radius: var(--r);
  white-space: nowrap;
}

.wb-btn {
  appearance: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.wb-btn:hover {
  border-color: var(--sig);
  color: var(--sig);
}

.wb-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 360px;
}

.wb-pane {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.wb-pane:first-child {
  border-right: 1px solid var(--line);
}

.wb-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}

.wb-pane-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
}

.wb-pane-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  white-space: nowrap;
}

.wb-pane-tag-ok {
  color: var(--sig);
}

.wb-code {
  margin: 0;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink);
  overflow: auto;
  flex: 1;
  white-space: pre;
}

.tok-cmt {
  color: #627068;
}

.tok-str {
  color: #86efac;
}

.tok-num {
  color: #fbbf24;
}

.tok-kw {
  color: #34d399;
  font-weight: 600;
}

.tok-gl {
  color: #7dd3fc;
}

.wb-stage-key {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.wb-loader-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

.wb-loader-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sig);
  flex-shrink: 0;
  white-space: nowrap;
}

.wb-loader-cmd {
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 11.5px;
  padding: 4px 8px;
  color: var(--ink-2);
}

.sp-closed-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-elev);
  border: 1px dashed var(--line-strong);
}

.sp-closed-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

.sp-reopen-btn {
  appearance: none;
  padding: 6px 12px;
  border-radius: var(--r);
  border: 1px solid var(--sig-line);
  background: var(--sig-dim);
  color: var(--sig);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

@keyframes sp-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.split-preview {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  background: #0a0d0c;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
  min-height: 310px;
}

.split-preview.is-shake {
  animation: sp-shake 0.32s ease;
}

.split-preview.is-minimized {
  min-height: 0;
}

.split-preview.is-minimized .sp-stepper-card,
.split-preview.is-minimized .sp-pills,
.split-preview.is-minimized .sp-body {
  display: none;
}

.sp-side {
  background: #070908;
  border-right: 1px solid var(--line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.sp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-emblem {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sp-logo-img,
.sp-target-img {
  object-fit: contain;
  display: block;
}

.sp-brand-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sp-title {
  font-family: var(--font-disp);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.sp-build {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}

.sp-stepper-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 11px 10px;
}

.sp-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sp-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.sp-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 19px;
  bottom: -13px;
  width: 1px;
  background: var(--line-strong);
}

.sp-step.is-done:not(:last-child)::after {
  background: var(--sig-line);
}

.sp-dot {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-strong);
  background: var(--bg-inset);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sp-dot-core {
  display: none;
}

.sp-step.is-done .sp-dot {
  background: var(--sig);
  border-color: var(--sig);
}

.sp-step.is-done .sp-dot-core {
  display: block;
  width: 5px;
  height: 5px;
  background: #05110b;
}

.sp-step.is-active .sp-dot {
  border-color: var(--sig);
  background: var(--sig-dim);
}

.sp-step.is-active .sp-dot-core {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--sig);
}

.sp-step-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--ink-3);
}

.sp-step.is-done .sp-step-label {
  color: #9ae6bd;
}

.sp-step.is-active .sp-step-label {
  color: var(--ink);
  font-weight: 600;
}

.sp-pills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.sp-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-2);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 5px 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.sp-hwid-pill {
  appearance: none;
  cursor: pointer;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-hwid-pill:hover {
  border-color: var(--sig);
  color: var(--sig);
}

.sp-ping-pill {
  color: var(--sig);
  border-color: var(--sig-line);
  background: var(--sig-dim);
}

.sp-ping-dot {
  width: 5px;
  height: 5px;
  background: var(--sig);
}

.sp-main {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.sp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sp-target-pill {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-2);
}

.sp-reticle-ico {
  color: var(--sig);
  flex-shrink: 0;
}

.sp-target-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-win-btns {
  display: inline-flex;
  gap: 3px;
}

.sp-win-btn {
  appearance: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}

.sp-win-btn:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.sp-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  flex: 1;
}

.sp-input-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-inset);
}

.sp-input-box:focus-within {
  border-color: var(--sig);
}

.sp-prompt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--sig);
}

.sp-input {
  flex: 1;
  min-width: 0;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  outline: none;
}

.sp-chip-kbd {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 3px 6px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  color: var(--ink-3);
  cursor: pointer;
  white-space: nowrap;
}

.sp-chip-paste {
  appearance: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  background: var(--sig-dim);
  border: 1px solid var(--sig-line);
  color: var(--sig);
  cursor: pointer;
  white-space: nowrap;
}

.sp-launch-btn {
  appearance: none;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: var(--sig);
  color: #05110b;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.sp-launch-btn:hover:not(:disabled) {
  background: var(--sig-hover);
}

.sp-launch-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.sp-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
}

.sp-status-dot {
  width: 6px;
  height: 6px;
  background: var(--ink-3);
  flex-shrink: 0;
}

.sp-status.is-ok {
  color: var(--sig);
}

.sp-status.is-ok .sp-status-dot {
  background: var(--sig);
}

.sp-status.is-err {
  color: #fca5a5;
}

.sp-status.is-err .sp-status-dot {
  background: var(--err);
}

.sp-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sp-action-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.sp-action-btn:hover {
  border-color: var(--sig);
  color: var(--ink);
}

.sp-action-accent {
  color: var(--sig);
  border-color: var(--sig-line);
}

.wb-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
}

.wb-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

.wb-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--sig);
  white-space: nowrap;
}

.band {
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.band-elev {
  background: var(--bg-elev);
}

.band-head {
  padding: clamp(26px, 3.6vw, 46px) clamp(16px, 2.5vw, 44px) clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.band-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-disp);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.sec-desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 64ch;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cap-cell {
  padding: clamp(22px, 3vw, 34px) clamp(16px, 2.5vw, 44px);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.cap-cell:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.cap-cell:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.cap-cell.is-featured {
  background: linear-gradient(180deg, rgba(22, 226, 126, 0.06) 0%, transparent 100%);
}

.cap-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cap-domain {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sig);
  white-space: nowrap;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 7px;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink-2);
  white-space: nowrap;
}

.tag-accent {
  background: var(--sig-dim);
  border-color: var(--sig-line);
  color: var(--sig);
}

.cap-cell h3 {
  margin: 0 0 6px;
  font-family: var(--font-disp);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cap-cell p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.cap-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.cap-stat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

.pipe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pipe-step {
  padding: clamp(22px, 3vw, 34px) clamp(16px, 2.2vw, 32px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pipe-step:last-child {
  border-right: 0;
}

.pipe-n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sig);
}

.pipe-step h4 {
  margin: 0;
  font-family: var(--font-disp);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pipe-step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.suite-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.suite-info {
  padding: clamp(26px, 3.6vw, 48px) clamp(16px, 2.5vw, 44px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.suite-info h2 {
  margin: 0;
  font-family: var(--font-disp);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.suite-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 54ch;
}

.ext-meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.ext-meta > div {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.ext-meta > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.ext-meta > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.ext-meta dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.ext-meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ext-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-2);
}

.ext-features li::before {
  content: "+ ";
  color: var(--sig);
  font-weight: 700;
}

.ext-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.suite-panel {
  padding: clamp(26px, 3.6vw, 48px) clamp(16px, 2.5vw, 44px);
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ext-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-disp);
  font-size: 18px;
  font-weight: 800;
}

.mono-dim {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
}

.tier-stack {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg);
}

.tier-row {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  align-items: center;
  gap: 16px;
}

.tier-row:last-child {
  border-bottom: 0;
}

.tier-row.is-popular {
  background: linear-gradient(90deg, rgba(22, 226, 126, 0.07) 0%, transparent 100%);
}

.tier-main {
  min-width: 0;
}

.tier-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.plan-name {
  font-family: var(--font-disp);
  font-size: 16px;
  font-weight: 800;
}

.plan-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  background: var(--sig-dim);
  border: 1px solid var(--sig-line);
  color: var(--sig);
  border-radius: var(--r);
  white-space: nowrap;
}

.plan-cap {
  font-size: 13px;
  color: var(--ink-2);
}

.plan-price-col {
  text-align: right;
  white-space: nowrap;
}

.plan-price {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.plan-unit {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

.billing-switch {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid var(--line-strong);
  background: var(--bg-inset);
  border-radius: var(--r);
  padding: 3px;
  gap: 3px;
}

.switch-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--r);
  cursor: pointer;
  white-space: nowrap;
}

.switch-btn.is-active {
  background: var(--sig);
  color: #05110b;
}

.spec-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.spec-cell {
  padding: 13px clamp(16px, 2.5vw, 44px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-cell:last-child {
  border-right: 0;
}

.spec-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.spec-v {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--bg);
}

.plan-card {
  padding: clamp(22px, 3vw, 34px) clamp(16px, 2.5vw, 44px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.plan-card:last-child {
  border-right: 0;
}

.plan-card.is-popular {
  background: linear-gradient(180deg, rgba(22, 226, 126, 0.07) 0%, var(--bg) 58%);
}

.plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.plan-term {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.plan-term-sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--sig);
}

.plan-card-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-card-price .plan-price {
  font-size: 30px;
}

.loading-box {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
}

.footer {
  width: 100%;
  padding: 20px clamp(16px, 2.5vw, 44px);
  background: var(--bg);
}

.footer-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 14px;
}

.footer-sep,
.footer-muted {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.footer-links a:hover {
  color: var(--sig);
}

@media (max-width: 1180px) {
  .hero-split,
  .suite-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .suite-info {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  .cap-grid,
  .pipe-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .cap-cell,
  .pipe-step,
  .plan-card {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .cap-cell:last-child,
  .pipe-step:last-child,
  .plan-card:last-child {
    border-bottom: 0 !important;
  }

  .spec-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-cell:nth-child(2) {
    border-right: 0;
  }

  .spec-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-auth-btn,
  .nav-actions .user-chip,
  .nav-actions [data-auth="in"] {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .wb-stage {
    grid-template-columns: 1fr;
  }

  .wb-pane:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .split-preview {
    grid-template-columns: 1fr;
  }

  .sp-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .hero-specs,
  .ext-meta,
  .ext-features,
  .spec-bar,
  .drawer-actions,
  .sp-actions-row {
    grid-template-columns: 1fr;
  }

  .hero-specs > div,
  .ext-meta > div,
  .spec-cell {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .hero-specs > div:last-child,
  .ext-meta > div:last-child,
  .spec-cell:last-child {
    border-bottom: 0 !important;
  }

  .tier-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .plan-price-col {
    text-align: left;
  }
}
