:root {
  --bg: #1B1714;
  --bg-2: #221d19;
  --surface: #221d19;
  --surface-2: #2a2420;
  --fg: #ECE6DC;
  --muted: #847C71;
  --dim: #5A534A;
  --border: rgba(236, 230, 220, 0.07);
  --border-strong: rgba(236, 230, 220, 0.14);
  --accent: #FF4F00;
  --accent-strong: #E54600;
  --accent-soft: rgba(255, 79, 0, 0.08);
  --accent-line: rgba(255, 79, 0, 0.3);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --display: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  line-height: 1.55;
}

a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--accent); }

/* top strip */
.top-strip {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 24px;
  min-height: 46px;
  gap: 18px;
}

.strip-cell {
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.strip-cell.spacer { flex: 1; }

.strip-cell.brand {
  color: var(--fg);
  font-weight: 700;
  letter-spacing: 0.32em;
  font-size: 0.85rem;
}
.strip-cell.brand a { color: inherit; }
.strip-cell.brand a:hover { color: var(--accent); }

.strip-cell.tagline { color: var(--muted); }

.mono-tiny {
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.18em;
}
.mono-big {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--fg);
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.strip-cell.stacked { gap: 8px; }
.strip-cell.stacked .mono-tiny::after { content: '·'; margin-left: 8px; color: var(--dim); }

.strip-cell.status .dot {
  width: 6px;
  height: 6px;
  background: var(--muted);
  flex-shrink: 0;
  border-radius: 50%;
}
.strip-cell.status.live { color: var(--fg); }
.strip-cell.status.live .dot {
  background: var(--accent);
  animation: blink 1.2s step-end infinite;
  box-shadow: 0 0 8px rgba(255, 79, 0, 0.6);
}
.strip-cell.status.err { color: var(--accent); }
.strip-cell.status.err .dot { background: var(--accent); }

@keyframes blink { 50% { opacity: 0.25; } }

.port-btn { color: var(--muted); }
.port-btn:hover { color: var(--accent); text-decoration: none; }
.port-btn .arrow { font-size: 0.9rem; margin-left: 2px; }

/* layout */
.grid {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}
.grid.single { max-width: 640px; }

@media (max-width: 720px) {
  .grid { padding: 0 18px; }
}

/* sectioned blocks */
.block {
  position: relative;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}
.block:last-of-type { border-bottom: none; }

.block h2 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 18px;
  line-height: 1.25;
}

.block-sub {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 22px;
  line-height: 1.6;
  max-width: 64ch;
}
.block-sub.muted { color: var(--muted); }
.block-sub code {
  font-family: var(--mono);
  background: var(--surface-2);
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.85em;
  color: var(--fg);
}

/* hero wordmark (legacy single-page hero) */
.block.hero { padding-top: 88px; padding-bottom: 64px; border-bottom: 1px solid var(--border-strong); }
.block.hero::before { display: none; }

/* key-value list */
.kv {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 24px;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.kv dt {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.kv dd { color: var(--fg); }
.hero-stats { margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--border); }
@media (max-width: 540px) {
  .kv { grid-template-columns: 1fr; gap: 4px 0; }
  .kv dt { margin-top: 8px; }
}

/* steps */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
}
.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}
.steps li:last-child { border-bottom: none; }
.step-n {
  color: var(--accent);
  font-weight: 600;
}
.steps li > span:last-child { color: var(--fg); }
.steps li code {
  background: var(--surface-2);
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 3px;
}

/* tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--mono);
}
.tags span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  background: transparent;
  border-radius: 3px;
}

/* code blocks */
.code-block {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 0.72rem;
  color: var(--fg);
  cursor: pointer;
  word-break: break-all;
  margin-bottom: 8px;
  border-radius: 6px;
  transition: border-color 0.15s;
}
.code-block:last-child { margin-bottom: 0; }
.code-block:hover { border-color: var(--accent-line); }
.code-block code {
  font-family: var(--mono);
  font-size: 0.75rem;
}
.code-block .copied {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 0.55rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  opacity: 0;
  transition: opacity 0.2s;
}
.code-block .copied.show { opacity: 1; }

/* CTA buttons */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cta:hover {
  background: var(--surface-2);
  color: var(--accent);
  border-color: var(--accent-line);
  text-decoration: none;
}
.cta-primary {
  border-color: var(--accent);
  color: var(--bg);
  background: var(--accent);
}
.cta-primary:hover {
  background: var(--accent-strong);
  color: var(--bg);
  border-color: var(--accent-strong);
  filter: brightness(1.05);
}

/* passphrase row (homepage redeem) */
.phrase-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}
.phrase-input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  outline: none;
  border-radius: 6px;
  transition: border-color 0.15s;
}
.phrase-input:focus { border-color: var(--accent); }
.phrase-input::placeholder { color: var(--dim); letter-spacing: 0.1em; }
.phrase-btn { white-space: nowrap; }
.phrase-error {
  font-size: 0.65rem;
  color: var(--accent);
  min-height: 1em;
  letter-spacing: 0.05em;
}

/* drop zone */
.drop-zone {
  border: 2px dashed var(--border-strong);
  padding: 48px 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 200px;
  justify-content: center;
  background: var(--surface);
  border-radius: 10px;
  transition: border-color 0.15s, background 0.15s;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.drop-icon {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
}
.drop-label {
  font-size: 0.92rem;
  color: var(--fg);
}
.drop-label strong {
  color: var(--accent);
  font-weight: 600;
}
.drop-hint {
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
input[type=file] { display: none; }

/* status / progress */
.status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}
.status-label {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.status-val {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.transport {
  font-size: 0.62rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 12px;
  min-height: 0.62rem;
}

.filename {
  font-size: 0.85rem;
  color: var(--fg);
  font-family: var(--mono);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 10px 14px;
  word-break: break-all;
  margin-bottom: 8px;
  border-radius: 6px;
}

.size-info {
  font-size: 0.7rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-family: var(--mono);
}

.progress-wrap { width: 100%; margin: 12px 0; }
.progress-bar {
  background: var(--surface-2);
  border: 1px solid var(--border);
  height: 12px;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.15s linear;
  box-shadow: 0 0 10px rgba(255, 79, 0, 0.5);
}
.progress-text {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  font-family: var(--mono);
}
.speed-info {
  font-size: 0.62rem;
  color: var(--dim);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  font-family: var(--mono);
}

.checkmark {
  font-family: var(--mono);
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: 1;
}

/* Connecting dots */
.dots {
  display: flex;
  gap: 5px;
  margin: 14px 0;
}
.dots span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.2s step-end infinite;
}
.dots span:nth-child(2) { animation-delay: 0.15s; }
.dots span:nth-child(3) { animation-delay: 0.3s; }

.hidden { display: none !important; }

/* phrase display */
.phrase-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  margin-bottom: 12px;
  border-radius: 8px;
}
.phrase-display .phrase-words {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-align: center;
  cursor: pointer;
  user-select: all;
}
.phrase-display .phrase-hint {
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--mono);
}

/* QR canvas — kept light for camera scan reliability */
.qr-wrap {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}
.qr-wrap canvas {
  background: var(--fg);
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}

/* flow animation */
.flow-block .flow-anim {
  background: transparent;
  margin: 8px 0 28px;
}
.flow-anim svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
}

/* SVG nodes — used by hero animation */
.node rect {
  fill: var(--surface);
  stroke: var(--fg);
  stroke-width: 1.2;
}
.relay-node rect {
  fill: var(--surface);
  stroke: var(--fg);
  stroke-width: 1;
}
.node-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  fill: var(--fg);
  text-transform: uppercase;
}
.node-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  fill: var(--muted);
  text-transform: uppercase;
}
.node-tag {
  font-family: var(--mono);
  font-size: 11px;
  fill: var(--accent);
  letter-spacing: 0.18em;
  font-weight: 600;
}

.signaling-line {
  stroke: var(--fg);
  stroke-width: 1;
  stroke-dasharray: 4 3;
  opacity: 0.45;
}
.direct-line {
  stroke: var(--accent);
  stroke-width: 2;
}

.phase-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  fill: var(--accent);
  font-weight: 600;
}

.line-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  fill: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .flow-anim svg animate, .flow-anim svg animateMotion { display: none; }
  .strip-cell.status.live .dot { animation: none; }
  .dots span { animation: none; opacity: 0.6; }
}

/* landing page */
.landing-body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }

/* Section frame: shared container around each section's content */
.section-frame {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) { .section-frame { padding: 0 20px; } }

/* Section head: number, title, hairline rule */
.section-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.section-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--accent);
  font-weight: 600;
}
.section-title {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.section-rule {
  height: 1px;
  background: var(--border-strong);
  margin-left: 8px;
}

/* hero */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 64px 0 80px;
  border-bottom: 1px solid var(--border-strong);
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
}

.hero-text { max-width: 560px; }
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--muted);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--mono);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
  line-height: 0.95;
  margin-bottom: 24px;
}
.hero-title span { color: var(--accent); }
.hero-tag {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--fg);
  margin-bottom: 32px;
  line-height: 1.55;
  max-width: 540px;
}
.hero-tag strong { font-weight: 600; color: var(--fg); }
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
@media (max-width: 540px) { .hero-actions .cta { flex: 1; justify-content: center; } }

.hero-phrase {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 540px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
}
.hero-phrase .phrase-leading {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  border-right: 1px solid var(--border);
  background: var(--surface-2);
  white-space: nowrap;
}
.hero-phrase .phrase-input {
  flex: 1; min-width: 0;
  border: none;
  background: transparent;
  padding: 12px;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--fg);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  outline: none;
  border-radius: 0;
}
.hero-phrase .phrase-input::placeholder { color: var(--dim); }
.hero-phrase .phrase-go {
  border: none;
  border-left: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--fg);
  padding: 0 18px;
  font-family: var(--mono);
  font-weight: 700;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.15s, color 0.15s;
}
.hero-phrase .phrase-go:hover { background: var(--accent); color: var(--bg); }

.hero-anim {
  width: 100%;
  max-width: 720px;
  justify-self: end;
}
.hero-anim svg { display: block; width: 100%; height: auto; }
@media (max-width: 920px) { .hero-anim { justify-self: stretch; } }

/* explain (how it works) */
.explain-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.explain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
@media (max-width: 800px) { .explain-grid { grid-template-columns: 1fr; } }

.explain-col {
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.explain-col:first-child { padding-left: 0; }
.explain-col:last-child { border-right: none; padding-right: 0; }
@media (max-width: 800px) {
  .explain-col { padding: 28px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .explain-col:first-child { padding-top: 0; }
  .explain-col:last-child { border-bottom: none; padding-bottom: 0; }
}

.explain-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 14px;
}
.explain-h {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.2;
  color: var(--fg);
}
.explain-col p {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.65;
}
.explain-col p strong { font-weight: 600; color: var(--accent); }

.explain-emphasis {
  margin-top: 48px;
  padding: 18px 24px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.8rem;
  background: var(--surface);
  border-radius: 8px;
}
.explain-emphasis .emp-label {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.65rem;
}
.explain-emphasis .emp-val { color: var(--fg); letter-spacing: 0.04em; }
.explain-emphasis .emp-val .dim { color: var(--muted); }
.explain-emphasis .emp-val .sep { color: var(--dim); margin: 0 6px; }

/* commands (use it) */
.commands-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.cmd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) { .cmd-grid { grid-template-columns: 1fr; gap: 24px; } }

.cmd-block { display: flex; flex-direction: column; gap: 8px; }
.cmd-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.code-line {
  position: relative;
  background: var(--surface-2);
  color: var(--fg);
  padding: 14px 60px 14px 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.4;
  cursor: pointer;
  word-break: break-all;
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
}
.code-line code { font-family: inherit; color: inherit; }
.code-line .copy-tag {
  position: absolute;
  top: 50%; right: 14px;
  transform: translateY(-50%);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  padding: 3px 7px;
  border-radius: 3px;
}
.code-line:hover .copy-tag { color: var(--accent); border-color: var(--accent-line); }
.code-output {
  background: var(--surface);
  padding: 14px 18px;
  border-left: 3px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--fg);
  white-space: pre;
  overflow-x: auto;
  border-radius: 0 6px 6px 0;
}
.code-output .rd { color: var(--accent); font-weight: 600; }
.cmd-note {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}
.cmd-note code {
  font-family: var(--mono);
  background: var(--surface-2);
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.85em;
  color: var(--fg);
}

/* host (self-host) */
.host-section {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
}
.host-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .host-grid { grid-template-columns: 1fr; gap: 24px; } }

.host-lead {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 14px;
  line-height: 1.55;
}
.host-env {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr;
  gap: 8px 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
  align-content: start;
}
.host-env dt { color: var(--accent); font-weight: 600; letter-spacing: 0.04em; }
.host-env dd { color: var(--fg); }

.stack-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stack-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}
.stack-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-tags span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  border-radius: 3px;
}

@media (max-width: 540px) {
  .hero-phrase { flex-direction: column; }
  .hero-phrase .phrase-leading { border-right: none; border-bottom: 1px solid var(--border); justify-content: center; padding: 8px; }
  .hero-phrase .phrase-go { border-left: none; border-top: 1px solid var(--border); padding: 10px; }
  .section-head { grid-template-columns: auto 1fr; }
  .section-head .section-rule { display: none; }
}

/* bottom strip — quiet, sentence case, low volume */
.bottom-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 64px;
  padding: 18px 32px;
  gap: 24px;
}
.bottom-strip .strip-cell { padding: 0; }
.bottom-strip .spacer { flex: 1; }
.bottom-strip a { color: var(--fg); }
.bottom-strip a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .top-strip { font-size: 0.6rem; padding: 0 16px; gap: 12px; }
  .top-strip .stacked, .top-strip .tagline { display: none; }
  .bottom-strip { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px; }
  .bottom-strip .spacer { display: none; }
}

/* ===== minimal landing ===== */

.hero-clean {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 48px 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.hero-text { max-width: 540px; }

.hero-mark {
  font-family: var(--mono);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fg);
  line-height: 1;
  margin: 0 0 28px;
}

.hero-line {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 44px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-cta .cta {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--sans);
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 999px;
}
.hero-cta .cta .arrow {
  margin-left: 4px;
  transition: transform 0.15s;
  display: inline-block;
}
.hero-cta .cta:hover .arrow { transform: translateX(3px); }

.cta-link {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed var(--dim);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.cta-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero-receive {
  max-width: 460px;
}

.hero-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.hero-diagram svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
}
.hero-diagram .how-line {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin: 18px auto 0;
  max-width: 440px;
  line-height: 1.5;
}
.hero-receive label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 12px;
}

/* override the inherited .hero-phrase styles for the cleaner landing */
.hero-clean .hero-phrase {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.hero-clean .hero-phrase:focus-within { border-color: var(--accent); }
.hero-clean .hero-phrase .phrase-input {
  flex: 1; min-width: 0;
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--fg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
  border-radius: 0;
}
.hero-clean .hero-phrase .phrase-input::placeholder {
  color: var(--dim);
  letter-spacing: 0.08em;
}
.hero-clean .hero-phrase .phrase-go {
  border: none;
  border-left: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--fg);
  padding: 0 22px;
  font-family: var(--mono);
  font-weight: 700;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.15s, color 0.15s;
}
.hero-clean .hero-phrase .phrase-go:hover {
  background: var(--accent);
  color: var(--bg);
}

.host-clean {
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px 48px 80px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.host-clean .host-text { max-width: 480px; }
.host-clean h2 {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 14px;
}
.host-clean p {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.host-clean .host-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 18px 0 0;
}
.host-clean .host-meta a {
  color: var(--fg);
  border-bottom: 1px dashed var(--border-strong);
}
.host-clean .host-meta a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.host-clean .host-cmd .code-line { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero-diagram svg animate { display: none; }
}

@media (max-width: 980px) {
  .hero-clean {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 32px 60px;
    text-align: center;
  }
  .hero-text { max-width: 600px; margin: 0 auto; }
  .hero-line { margin-left: auto; margin-right: auto; }
  .hero-cta { align-items: center; }
  .hero-receive { margin: 0 auto; }
  .host-clean {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 32px 60px;
  }
  .host-clean .host-text { max-width: 600px; }
}

@media (max-width: 640px) {
  .hero-clean { padding: 40px 20px 40px; }
  .host-clean { padding: 32px 20px 48px; }
}

