/* Spawn — product-first marketing
   Warm near-black · sharp Inter · dense IDE hero */

:root {
  --bg: #0a0a0b;
  --bg-elev: #111113;
  --bg-panel: #141416;
  --bg-soft: #1a1a1d;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --text: #f2f0eb;
  --muted: #9b968c;
  --dim: #5e5a52;
  --accent: #d4a574;
  --accent-dim: rgba(212, 165, 116, 0.15);
  --accent-ink: #1a1208;
  --ok: #6dce8b;
  --ok-dim: rgba(109, 206, 139, 0.15);
  --danger: #e07a6a;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 10px;
  --r-lg: 14px;
  --shadow-ide:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 40px 80px -20px rgba(0, 0, 0, 0.85),
    0 16px 32px -12px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Soft ambient — single light, not aurora */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(212, 165, 116, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(255, 255, 255, 0.02), transparent 50%);
  z-index: 0;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  top: 0;
  left: 0;
}
.skip:focus,
.skip:focus-visible {
  position: fixed;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.5rem 0.85rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ——— Topbar ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.topbar.is-scrolled { border-bottom-color: var(--line); }

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}
.mark:hover { color: var(--text); }
.mark svg { color: var(--accent); flex-shrink: 0; }
.mark-word { transform: translateY(0.5px); }

.topbar-actions { display: flex; align-items: center; gap: 0.5rem; }

.ghost-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.65rem 0.4rem 0.85rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ghost-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.ghost-btn kbd {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--dim);
}

.btn-solid {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: var(--inset), 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: background 0.15s, transform 0.12s var(--ease);
}
.btn-solid:hover { background: #e0b584; color: var(--accent-ink); }
.btn-solid:active { transform: scale(0.98); }
.btn-solid:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-wide { width: 100%; }
a.btn-solid { text-decoration: none; }
a.btn-solid:hover { color: var(--accent-ink); }

/* ——— Shell / viewport ——— */
.shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

@media (min-width: 900px) {
  .shell { padding: 0 1.5rem 2.5rem; }
}

.viewport {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.25rem;
  min-height: calc(100vh - 4.5rem);
  align-content: start;
}

@media (min-width: 1100px) {
  .viewport {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: stretch;
    padding-top: 1.5rem;
  }
}

.copy-rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 0.25rem 0 0.5rem;
}

@media (min-width: 1100px) {
  .copy-rail {
    position: sticky;
    top: 5rem;
    align-self: start;
    padding-top: 2.5rem;
  }
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.copy-rail h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.8rem, 3.9vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--text);
}

.sub {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 40ch;
}

.copy-rail .btn-solid { align-self: flex-start; }

/* ——— IDE ——— */
.ide {
  position: relative;
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-ide);
  min-height: min(72vh, 640px);
  display: flex;
  flex-direction: column;
  animation: ideIn 0.7s var(--ease) both;
}

@keyframes ideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.995); }
  to { opacity: 1; transform: none; }
}

.ide-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(180deg, #1c1c1f 0%, #161618 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--inset);
  flex-shrink: 0;
}

.traffic { display: flex; gap: 6px; }
.traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.35);
}
.traffic i:nth-child(1) { background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }

.ide-crumbs {
  display: none;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ide-crumbs .sep { margin: 0 0.3rem; opacity: 0.5; }
.ide-crumbs .file { color: var(--muted); }
@media (min-width: 720px) {
  .ide-crumbs { display: block; }
}

.ide-tabs {
  display: flex;
  gap: 2px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px;
  border-radius: 7px;
  border: 1px solid var(--line);
}
.ide-tab {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 5px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.ide-tab:hover { color: var(--muted); }
.ide-tab.is-on {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.ide-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: var(--dim);
  white-space: nowrap;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim);
  transition: background 0.3s, box-shadow 0.3s;
}
.dot.is-live {
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-dim);
}
.dot.is-busy {
  background: var(--accent);
  animation: pulse 1.1s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.ide-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  flex: 1;
  min-height: 0;
}

@media (min-width: 640px) {
  .ide-body { grid-template-columns: 84px 1fr; }
}

.ide-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.55rem 0.35rem;
  background: #0d0d0f;
  border-right: 1px solid var(--line);
}

.rail-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-family: inherit;
  font-size: 0.6rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.rail-btn:hover { color: var(--muted); background: rgba(255, 255, 255, 0.03); }
.rail-btn.is-on {
  color: var(--accent);
  background: var(--accent-dim);
}
.rail-btn svg { display: block; }

.ide-main {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: var(--bg-panel);
}

.surface {
  position: absolute;
  inset: 0;
  display: none;
  opacity: 0;
}
.surface.is-on {
  display: grid;
  opacity: 1;
  animation: fadePane 0.28s var(--ease);
}
.surface[hidden] { display: none !important; }

@keyframes fadePane {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.pane-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0.55rem 0.75rem 0.35rem;
}

.pane-label.mt { margin-top: 0.75rem; }

/* Home: 3-pane */
.surface[data-pane="home"] {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
}

@media (min-width: 860px) {
  .surface[data-pane="home"] {
    grid-template-columns: 168px minmax(0, 1.05fr) minmax(0, 1.15fr);
    grid-template-rows: 1fr;
  }
}

.files {
  border-bottom: 1px solid var(--line);
  background: #121214;
  overflow: auto;
  max-height: 140px;
}
@media (min-width: 860px) {
  .files {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    max-height: none;
  }
}

.tree {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0 0.4rem 0.65rem;
  -webkit-padding-start: 0;
  padding-inline-start: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.35;
}
.tree > li {
  list-style: none;
  list-style-type: none;
}
.tree li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.4rem;
  border-radius: 5px;
  color: var(--muted);
  cursor: default;
}
.tree .folder { color: var(--text); font-weight: 500; }
.tree .nest { padding-left: 0.9rem; }
.tree .nest2 { padding-left: 1.55rem; }
.tree .twisty { color: var(--dim); font-size: 0.55rem; width: 0.7rem; }
.tree .badge {
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.05rem 0.25rem;
  font-family: var(--sans);
}
.tree .is-active {
  background: var(--accent-dim);
  color: var(--accent);
}
.tree .is-active .badge {
  color: var(--accent);
  border-color: rgba(212, 165, 116, 0.3);
}

.editor {
  border-bottom: 1px solid var(--line);
  background: #0e0e10;
  overflow: auto;
  min-height: 120px;
}
@media (min-width: 860px) {
  .editor {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    min-height: 0;
  }
}

.code {
  margin: 0;
  padding: 0 0.75rem 0.85rem 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
  tab-size: 2;
}
.code .ln {
  display: inline-block;
  width: 2.2rem;
  text-align: right;
  margin-right: 0.85rem;
  color: var(--dim);
  user-select: none;
}
.code .k { color: #c792ea; }
.code .fn { color: #82aaff; }
.code .t { color: #f07178; }
.code .a { color: #c3e88d; }
.code .s { color: #c3e88d; }

.preview {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  background: #0c0c0e;
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  border-bottom: 1px solid var(--line);
  background: #151517;
}
.url {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--dim);
  padding: 0.2rem 0.55rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lock {
  width: 7px;
  height: 7px;
  border: 1.2px solid currentColor;
  border-radius: 1px 1px 0 0;
  position: relative;
  display: inline-block;
}
.lock::after {
  content: "";
  position: absolute;
  left: 0.5px;
  top: 5px;
  width: 6px;
  height: 4px;
  background: currentColor;
  border-radius: 0.5px;
}
.run-state {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--dim);
  transition: color 0.25s;
}
.run-state.is-running { color: var(--accent); }
.run-state.is-live { color: var(--ok); }

.preview-frame {
  flex: 1;
  padding: 0.75rem;
  overflow: auto;
}

.app-mock {
  background: #121214;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem;
  min-height: 160px;
}
.am-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.am-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--accent);
  opacity: 0.85;
}
.am-links { display: flex; gap: 0.35rem; flex: 1; }
.am-links i {
  display: block;
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.am-cta {
  width: 42px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent-dim);
  border: 1px solid rgba(212, 165, 116, 0.25);
}
.am-hero { margin-bottom: 0.85rem; }
.am-h1 {
  height: 10px;
  width: 62%;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 0.4rem;
}
.am-h2 {
  height: 7px;
  width: 40%;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
}
.am-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.am-tiers article {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.am-tiers article.feat {
  border-color: rgba(212, 165, 116, 0.35);
  background: var(--accent-dim);
}
.am-tiers b {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
  font-style: normal;
}
.am-tiers em {
  font-size: 0.85rem;
  font-weight: 650;
  font-style: normal;
  letter-spacing: -0.03em;
  color: var(--text);
}
.am-tiers i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
}
.am-tiers i:last-child { width: 60%; }

/* Build surface */
.surface[data-pane="build"] {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .surface[data-pane="build"] {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  }
}

.chat-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .chat-col { border-bottom: 0; border-right: 1px solid var(--line); }
}

.thread {
  flex: 1;
  overflow: auto;
  padding: 0.35rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bubble {
  max-width: 95%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.bubble.you {
  align-self: flex-end;
  background: var(--accent-dim);
  border-color: rgba(212, 165, 116, 0.28);
}
.bubble .who {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.25rem;
}
.bubble p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text);
  min-height: 1.2em;
}

.caret {
  display: inline-block;
  width: 1.5px;
  height: 0.95em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: blink 1s steps(1) infinite;
}
.caret.is-hidden { display: none; }
@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.diff {
  margin-top: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #0a0a0c;
  animation: fadePane 0.35s var(--ease);
}
.diff-h {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  background: #151517;
  border-bottom: 1px solid var(--line);
}
.diff-h .plus { color: var(--ok); font-weight: 500; }
.diff-b {
  margin: 0;
  padding: 0.45rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  line-height: 1.5;
  color: var(--muted);
}
.diff-b .add { display: block; color: #7dcea0; }

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0.75rem 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0e0e10;
  box-shadow: var(--inset);
}
.composer .ph { font-size: 0.75rem; color: var(--dim); }
.composer .send {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.composer kbd {
  font-family: var(--mono);
  font-size: 0.6rem;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--dim);
}

.build-side {
  background: #101012;
  overflow: auto;
  padding-bottom: 0.75rem;
}

.change-list {
  list-style: none;
  margin: 0;
  padding: 0 0.65rem;
  font-family: var(--mono);
  font-size: 0.7rem;
}
.change-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  border-radius: 5px;
  color: var(--muted);
}
.change-list li.on {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.change-list .m, .change-list .a {
  width: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.65rem;
}
.change-list .m { color: var(--accent); }
.change-list .a { color: var(--ok); }

.term {
  margin: 0 0.65rem;
  padding: 0.55rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  line-height: 1.55;
  color: var(--muted);
  background: #0a0a0c;
  border: 1px solid var(--line);
  border-radius: 7px;
}

/* Live */
.surface[data-pane="live"] {
  display: none;
  place-items: center;
  padding: 1.25rem;
}
.surface[data-pane="live"].is-on {
  display: grid;
}

.live-wrap {
  width: 100%;
  max-width: 380px;
}

.url-hero {
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, #1a1a1d 0%, #121214 100%);
  box-shadow: var(--inset), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.85rem;
}
.uh-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.45rem;
}
.uh-badge {
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.uh-badge.is-live {
  color: var(--ok);
  border-color: rgba(109, 206, 139, 0.35);
  background: var(--ok-dim);
}
.uh-url {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.45rem;
}
.uh-meta {
  display: flex;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--dim);
}

.live-rows {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}
.live-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}
.live-rows > div:last-child { border-bottom: 0; }
.live-rows span { color: var(--dim); }
.live-rows strong {
  font-weight: 500;
  color: var(--text);
  font-size: 0.78rem;
  text-align: right;
}

.live-hint {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  color: var(--dim);
  text-align: center;
  line-height: 1.45;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.live-hint.is-done { color: var(--ok); }

/* ——— Primary nav ——— */
.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
@media (min-width: 960px) {
  .nav { display: flex; margin-left: auto; margin-right: 0.75rem; }
}
.nav-link {
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link.is-active { color: var(--text); }
.nav-link.nav-cta {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  margin-left: 0.35rem;
}
.nav-link.nav-cta:hover {
  background: #e0b584;
  color: var(--accent-ink);
}

.nav-toggle {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.15s;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
}

.mobile-nav {
  position: relative;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.85rem 0.85rem;
  background: rgba(10, 10, 11, 0.96);
  border-bottom: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a {
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.04); color: var(--accent); }
@media (min-width: 960px) {
  .mobile-nav { display: none !important; }
}

.mobile-nav-label {
  display: block;
  margin: 0.55rem 0.85rem 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ——— Home proof chips ——— */
.home-proof {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.35rem;
}
.home-proof li {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.home-proof li:first-child {
  color: var(--accent);
  border-color: rgba(212, 165, 116, 0.35);
  background: var(--accent-dim);
}

/* ——— Home bridge: private → public ——— */
.home-bridge {
  position: relative;
  z-index: 1;
  padding: 0.5rem 0 1.75rem;
}
.home-bridge-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 1.15rem;
  align-items: center;
}
@media (min-width: 860px) {
  .home-bridge-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
  }
}
.home-bridge-copy h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--text);
}
.home-bridge-copy p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}
.home-bridge-flow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.hbf-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hbf-card .hbf-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.hbf-card .hbf-tag.public {
  color: var(--accent);
}
.hbf-card strong {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  font-family: var(--mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hbf-card em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--dim);
  line-height: 1.35;
}
.hbf-private {
  border-color: rgba(255, 255, 255, 0.08);
}
.hbf-public {
  border-color: rgba(212, 165, 116, 0.28);
  background: rgba(212, 165, 116, 0.04);
}
.hbf-arrow {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
}

/* ——— Home explore path ——— */
.home-explore {
  position: relative;
  z-index: 1;
  padding: 0 0 2.75rem;
}
.home-explore-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0.15rem;
}
.home-explore-head {
  margin-bottom: 0.95rem;
}
.home-explore-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.home-explore-lead {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}
.home-explore-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .home-explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .home-explore-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 720px) and (max-width: 959px) {
  .home-explore-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.home-explore-card {
  display: block;
  padding: 1.05rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), transform 0.18s var(--ease);
}
.home-explore-card:hover {
  border-color: rgba(212, 165, 116, 0.4);
  background: rgba(212, 165, 116, 0.05);
  color: inherit;
  transform: translateY(-1px);
}
.home-explore-idx {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.home-explore-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.home-explore-card span:not(.home-explore-idx) {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 720px) {
  .home-explore { padding: 0.25rem 0 2rem; }
  .home-bridge { padding: 0.25rem 0 1.35rem; }
  .home-bridge-inner { padding: 1rem 1rem; }
  .hbf-card strong { font-size: 0.72rem; }
}

/* ——— Clarity strip (3 steps) ——— */
.clarity {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.clarity > li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.clarity-n {
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--mono);
}
.clarity strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.1rem;
}
.clarity span:not(.clarity-n) {
  display: block;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--dim);
}

.access-why {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  color: var(--dim);
  line-height: 1.4;
  max-width: 32ch;
}

.ide-stage {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}
.ide-caption {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
  padding: 0 0.5rem;
}
@media (min-width: 1100px) {
  .ide-caption { text-align: left; padding: 0 0.15rem; }
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  justify-content: flex-end;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.privacy-card .ghost-btn {
  text-decoration: none;
}

/* ——— How it works page ——— */
/* ——— How it works ——— */
.page-how {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.15rem 3.5rem;
}
.how-hero {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}
.how-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.how-hero .lead,
.page-access .lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Loop progress rail */
.how-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  margin-top: 1.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  max-width: 34rem;
}
.how-loop-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.how-loop-step span {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--accent-dim);
  color: var(--accent);
}
.how-loop-step:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.how-loop-join {
  width: 1.1rem;
  height: 1px;
  background: var(--line-strong);
  flex-shrink: 0;
}
@media (max-width: 420px) {
  .how-loop-join { width: 0.55rem; }
  .how-loop-step { font-size: 0.72rem; padding: 0.3rem 0.4rem; }
}

.how-steps {
  list-style: none;
  margin: 0 0 3.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 5vw, 3.25rem);
  position: relative;
}
.how-steps::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
  pointer-events: none;
  display: none;
}
@media (min-width: 760px) {
  .how-steps::before { display: none; }
}
.how-card {
  display: grid;
  gap: 1.35rem;
  align-items: center;
  scroll-margin-top: 5.5rem;
}
@media (min-width: 760px) {
  .how-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2rem;
  }
  .how-card-flip .how-visual { order: 2; }
  .how-card-flip .how-copy { order: 1; }
}
.how-n {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.how-copy h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}
.how-copy p {
  margin: 0 0 0.65rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
}
.how-copy p:last-of-type { margin-bottom: 0; }

/* Frame chrome — tour-parity */
.hv-frame {
  background: var(--bg-elev);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-ide);
  border: 1px solid rgba(255,255,255,0.07);
  transition:
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.how-card:hover .hv-frame {
  border-color: rgba(212, 165, 116, 0.22);
  transform: translateY(-1px);
}
.hv-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(180deg, #1c1c1f 0%, #161618 100%);
  border-bottom: 1px solid var(--line);
}
.hv-traffic {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.hv-traffic i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}
.hv-traffic i:nth-child(1) { background: #ff5f57; }
.hv-traffic i:nth-child(2) { background: #febc2e; }
.hv-traffic i:nth-child(3) { background: #28c840; }
.hv-title {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hv-badge {
  flex-shrink: 0;
  padding: 0.18rem 0.45rem;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid var(--line);
}
.hv-badge-ok {
  background: var(--ok-dim);
  color: var(--ok);
  border-color: rgba(109, 206, 139, 0.28);
}
.hv-badge-live {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(212, 165, 116, 0.32);
}
.hv-body {
  background: var(--bg-panel);
  min-height: 200px;
}

/* Create panel */
.hv-create {
  display: grid;
  grid-template-columns: 100px 1fr;
  min-height: 240px;
}
@media (max-width: 520px) {
  .hv-create { grid-template-columns: 1fr; }
  .hv-side { display: none; }
}
.hv-side {
  padding: 0.75rem 0.55rem;
  border-right: 1px solid var(--line);
  background: rgba(0,0,0,0.22);
}
.hv-side-h {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0.35rem 0.55rem;
}
.hv-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hv-side li {
  padding: 0.28rem 0.4rem;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 1px;
}
.hv-side li.on {
  background: var(--accent-dim);
  color: var(--accent);
}
.hv-side li.dim { color: var(--dim); }
.hv-create-main {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hv-prompt-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
.hv-prompt {
  padding: 0.7rem 0.8rem;
  border-radius: 9px;
  border: 1px solid rgba(212,165,116,0.28);
  background: var(--accent-dim);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text);
  min-height: 3.2rem;
}
.hv-caret {
  display: inline-block;
  width: 1.5px;
  height: 0.9em;
  margin-left: 2px;
  vertical-align: -0.1em;
  background: var(--accent);
  animation: blink 1.1s step-end infinite;
}
.hv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.hv-chips span {
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  font-size: 0.68rem;
  color: var(--muted);
}
.hv-chips span.on {
  border-color: rgba(212,165,116,0.35);
  background: var(--accent-dim);
  color: var(--accent);
}
.hv-create-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.25rem;
}
.hv-create-foot em {
  font-style: normal;
  font-size: 0.65rem;
  color: var(--dim);
}
.hv-create-foot strong {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
}

/* Run panel */
.hv-run {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 0;
}
.hv-preview {
  flex: 1;
  padding: 1rem 1.1rem 0.85rem;
}
.hv-pnav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.hv-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(212,165,116,0.55);
  background: var(--accent-dim);
}
.hv-links {
  display: flex;
  gap: 0.45rem;
  flex: 1;
}
.hv-links i {
  display: block;
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
}
.hv-pill {
  width: 52px;
  height: 18px;
  border-radius: 9px;
  background: var(--accent);
  opacity: 0.85;
}
.hv-phero { margin-bottom: 1.15rem; }
.hv-phero-line {
  height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 0.4rem;
}
.hv-phero-line.w70 { width: 70%; height: 14px; }
.hv-phero-line.w45 { width: 45%; background: rgba(255,255,255,0.06); }
.hv-ptiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.hv-tier {
  padding: 0.7rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  text-align: center;
}
.hv-tier em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--dim);
  margin-bottom: 0.3rem;
}
.hv-tier strong {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hv-tier.on {
  border-color: rgba(212,165,116,0.42);
  background: var(--accent-dim);
}
.hv-tier.on strong { color: var(--accent); }
.hv-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--dim);
}
.hv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 2px rgba(109, 206, 139, 0.2);
  animation: pulse 1.1s ease-in-out infinite;
}

/* Build chat panel */
.hv-build {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 260px;
}
.hv-msg {
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  font-size: 0.74rem;
  line-height: 1.45;
  max-width: 96%;
}
.hv-msg .hv-role {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  color: var(--dim);
}
.hv-msg.you {
  margin-left: auto;
  background: var(--accent-dim);
  border: 1px solid rgba(212,165,116,0.28);
  color: var(--text);
}
.hv-msg.bot {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--muted);
}
.hv-msg.bot code {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  background: rgba(212,165,116,0.12);
  padding: 0.05rem 0.28rem;
  border-radius: 3px;
}
.hv-diff {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0e0e10;
  overflow: hidden;
}
.hv-diff-h {
  display: block;
  padding: 0.35rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ok);
  border-bottom: 1px solid var(--line);
  background: rgba(109, 206, 139, 0.06);
}
.hv-diff pre {
  margin: 0;
  padding: 0.5rem 0.6rem;
  overflow-x: auto;
}
.hv-diff code {
  font-family: var(--mono);
  font-size: 0.65rem;
  line-height: 1.55;
  color: var(--muted);
  white-space: pre;
}
.hv-diff .add { color: #8fd4a4; }
.hv-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.15rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
  font-size: 0.72rem;
  color: var(--dim);
}
.hv-compose em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
}

/* Ship / Go Live panel */
.hv-ship {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 240px;
  justify-content: center;
}
.hv-live-card {
  padding: 1.1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, #1a1a1d 0%, #121214 100%);
}
.hv-live-card > em {
  display: block;
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.35rem;
}
.hv-live-card > strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  word-break: break-all;
}
.hv-live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0.85rem 0 1rem;
}
.hv-live-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--muted);
}
.hv-live-meta i.ok {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
}
.hv-live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.hv-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 550;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.hv-btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.hv-domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.hv-mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hv-chip {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ok);
  background: var(--ok-dim);
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  border: 1px solid rgba(109, 206, 139, 0.25);
}

/* Boundary: private vs public */
.how-boundary {
  margin-bottom: 2.75rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}
.how-boundary-head {
  margin-bottom: 1.15rem;
  max-width: 36rem;
}
.how-boundary-head h2 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.how-boundary-head p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}
.how-boundary-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .how-boundary-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
.how-bound {
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.how-bound-private {
  border-color: rgba(255,255,255,0.08);
}
.how-bound-public {
  border-color: rgba(212,165,116,0.22);
  background: rgba(212,165,116,0.035);
}
.how-bound h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.how-bound-tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid var(--line);
}
.how-bound-tag.public {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(212,165,116,0.3);
}
.how-bound ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.how-bound li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}
.how-bound li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dim);
}
.how-bound-public li::before { background: var(--accent); }
.how-mono {
  font-family: var(--mono);
  font-size: 0.78em;
}

.how-ship-honest {
  margin: 2.75rem 0 0;
  padding-top: 0.25rem;
}
.how-ship-honest-grid {
  margin-top: 1.25rem;
}
.how-ship-honest .how-boundary-head {
  margin-bottom: 0;
}

/* Home reuses how-ship-honest between bridge and explore */
.home-ship-honest {
  padding: 0.5rem 1.25rem 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .home-ship-honest { padding: 0.35rem 1rem 1.35rem; }
}


.how-what {
  margin-bottom: 2.75rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.how-what h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.what-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .what-grid { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
}
.what-grid li {
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.what-grid strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.what-grid span {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.how-cta {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(212,165,116,0.06), transparent 70%);
}
.how-cta h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.how-cta p {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 519px) {
  .hv-ptiers { gap: 0.35rem; }
  .hv-tier { padding: 0.55rem 0.35rem; }
  .hv-tier strong { font-size: 0.82rem; }
  .hv-live-card > strong { font-size: 0.78rem; }
}

/* ——— Access page (conversion) ——— */
.page-access {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3.25rem) 1.15rem 3.5rem;
}
.access-hero {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}
.access-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  margin: 1.35rem 0 0;
  padding: 0;
}
.access-rail-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.access-rail-step span {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--dim);
}
.access-rail-step:hover {
  color: var(--text);
  border-color: rgba(212, 165, 116, 0.35);
  background: var(--accent-dim);
}
.access-rail-join {
  width: 0.85rem;
  height: 1px;
  background: var(--line);
  margin: 0 0.1rem;
}
@media (max-width: 520px) {
  .access-rail-join { display: none; }
}

.access-convert {
  display: grid;
  gap: 1.15rem;
  margin: 0 0 2.25rem;
  align-items: start;
}
@media (min-width: 860px) {
  .access-convert {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.35rem;
  }
}
.access-hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.85rem, 5.2vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.page-access .lead,
.access-hero .lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 38rem;
}
.access-proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.4rem;
}
.access-proof li {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.access-proof li:first-child {
  color: var(--accent);
  border-color: rgba(212, 165, 116, 0.35);
  background: var(--accent-dim);
}

.access-card {
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  box-shadow: var(--inset), 0 20px 40px -24px rgba(0, 0, 0, 0.7);
  margin-bottom: 0;
  height: 100%;
}
.access-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.access-card-lead {
  margin: 0 0 1.05rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}
.access-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}
.access-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.access-label {
  font-size: 0.78rem;
  font-weight: 550;
  color: var(--text);
  letter-spacing: -0.01em;
}
.access-hint {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--dim);
}
.access-form input[type="email"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 0.85rem 0.95rem;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: #0e0e10;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.access-form input[type="email"]::placeholder { color: var(--dim); }
.access-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.access-form input[type="email"].is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(224, 122, 106, 0.15);
}
.access-form .btn-solid {
  min-height: 2.85rem;
  font-size: 0.94rem;
}
.access-form .btn-solid.is-loading {
  opacity: 0.7;
  cursor: wait;
}
.page-access .form-note {
  margin-top: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  min-height: 1.35rem;
  font-size: 0.86rem;
  line-height: 1.4;
}
.page-access .form-note.is-visible {
  opacity: 1;
}
.page-access .form-note.is-success,
.page-access .form-note.is-error {
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  opacity: 1;
}
.page-access .form-note.is-success {
  background: var(--ok-dim);
  color: var(--ok);
  border: 1px solid rgba(110, 180, 130, 0.25);
}
.page-access .form-note.is-error {
  background: rgba(224, 122, 106, 0.12);
  color: var(--danger);
  border: 1px solid rgba(224, 122, 106, 0.28);
}
.access-trust {
  margin: 0.95rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--dim);
}
.access-trust a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.access-trust a:hover { color: var(--accent); }

.access-next {
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  height: 100%;
}
.access-next .access-section-title {
  margin-bottom: 0.95rem;
}
.access-next-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.access-next-steps > li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.access-next-n {
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(212, 165, 116, 0.28);
  margin-top: 0.05rem;
}
.access-next-steps strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.access-next-steps span:not(.access-next-n) {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}
.access-next-note {
  margin: 1.1rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--dim);
}

.access-beta {
  margin: 0 0 2.25rem;
}
.access-section-head {
  margin-bottom: 1rem;
}
.access-section-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.access-section-head p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 36rem;
}
.access-beta-grid {
  margin-bottom: 0 !important;
}
@media (min-width: 720px) {
  .access-beta-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 720px) {
  .page-access .access-explore-links {
    grid-template-columns: 1fr 1fr;
  }
}

.access-section-title {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}
.access-perk-grid {
  list-style: none;
  margin: 0 0 2.15rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
@media (min-width: 560px) {
  .access-perk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
.access-perk-grid li {
  padding: 1rem 1.05rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.access-perk-grid strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.access-perk-grid span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.access-explore {
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}
.access-explore-label {
  margin: 1.4rem 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dim);
}
.access-explore-links {
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 520px) {
  .access-explore-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.access-explore-card {
  display: block;
  padding: 1rem 1.05rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
  color: inherit;
  text-decoration: none;
}
.access-explore-card:hover {
  border-color: rgba(212, 165, 116, 0.4);
  background: rgba(212, 165, 116, 0.05);
  color: inherit;
}
.access-explore-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.28rem;
  color: var(--text);
}
.access-explore-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.access-alt {
  margin: 1.3rem 0 0;
  font-size: 0.8rem;
  color: var(--dim);
}
.access-alt a { color: var(--muted); }
.access-alt a:hover { color: var(--accent); }

/* Legacy bullets kept for palette/home reuse if present */
.access-bullets {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.access-bullets li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.access-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ——— Footer ——— */
.foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.5rem;
  font-size: 0.75rem;
  color: var(--dim);
  border-top: 1px solid var(--line);
}
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }

/* ——— Command palette ——— */
.palette {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  padding: 12vh 1rem 1rem;
}
.palette[hidden] { display: none; }

.palette-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.2s ease;
}

.palette-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #161618;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow:
    var(--inset),
    0 24px 64px -16px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  padding: 1.15rem 1.2rem 1.25rem;
  animation: paletteIn 0.28s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes paletteIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.palette-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.palette-x {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.4rem;
  border-radius: 5px;
  cursor: pointer;
}
.palette-x:hover { color: var(--text); border-color: var(--line-strong); }

.palette-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
@media (min-width: 420px) {
  .palette-form {
    flex-direction: row;
    align-items: stretch;
  }
  .palette-form input { flex: 1; }
}

.palette-form input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: #0e0e10;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.palette-form input::placeholder { color: var(--dim); }
.palette-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.palette-form input.is-invalid { border-color: var(--danger); }

.form-note {
  margin-top: 0.75rem;
  min-height: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s;
}
.form-note.is-visible { opacity: 1; }
.form-note.is-success { color: var(--ok); }
.form-note.is-error { color: var(--danger); }

.palette-foot {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  color: var(--dim);
  line-height: 1.45;
}

/* Trust line under palette — shown via ::after on panel? use HTML note */

/* ——— Privacy page (elevated disclosure) ——— */
.page-privacy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.15rem 3.5rem;
}
.privacy-hero {
  margin-bottom: 2.25rem;
}
.privacy-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.privacy-hero .lead {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 38rem;
}
.privacy-proof {
  margin-bottom: 1.15rem;
}
.privacy-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  margin-top: 0.25rem;
}
.privacy-jump a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.privacy-jump a:hover {
  color: var(--text);
  border-color: rgba(212, 165, 116, 0.35);
  background: rgba(212, 165, 116, 0.04);
}

.privacy-section {
  margin-bottom: 1.35rem;
  scroll-margin-top: 5rem;
}
.privacy-section-title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.privacy-card {
  padding: 1.15rem 1.2rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--inset);
}
.privacy-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
}
.privacy-card p:last-child {
  margin-bottom: 0;
}
.privacy-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.privacy-card a:hover { color: #e0b584; }
.privacy-card code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78em;
  padding: 0.12em 0.35em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
}
.privacy-dont-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.privacy-dont-list li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
}
.privacy-dont-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.privacy-dont-list strong {
  color: var(--text);
  font-weight: 600;
}
.privacy-cta {
  margin-top: 2rem;
}
.privacy-actions {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ——— Tablet / laptop: tighten copy beside IDE ——— */
@media (max-width: 1099px) and (min-width: 721px) {
  .copy-rail {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1.25rem;
    padding-bottom: 0;
  }
  .copy-rail h1 {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    margin: 0;
    flex: 1 1 55%;
  }
  .kicker { flex: 1 1 100%; margin-bottom: 0; }
  .sub { max-width: 42ch; margin-bottom: 0; flex: 1 1 100%; }
  .home-proof { flex: 1 1 100%; margin-bottom: 0.15rem; }
  .copy-rail .btn-solid {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }
  .clarity {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .hero-ctas { flex: 1 1 100%; }
  .clarity > li {
    flex: 1 1 30%;
    min-width: 140px;
  }
  .access-why { flex: 1 1 100%; margin-top: 0; }
  .ide-caption { text-align: left; }

  .ide {
    min-height: min(68vh, 560px);
  }
  .ide-chrome {
    grid-template-columns: auto 1fr auto;
  }
  .ide-status { display: none; }
}

/* ——— Phone: ONE framed product card, not a pill dump ——— */
@media (max-width: 720px) {
  .shell {
    padding: 0 0.85rem 1.75rem;
  }

  .viewport {
    gap: 1rem;
    padding-top: 0.85rem;
    min-height: 0;
  }

  .copy-rail {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.15rem 0 0.15rem;
  }
  .kicker {
    margin: 0 0 0.55rem;
    font-size: 0.65rem;
  }
  .copy-rail h1 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.55rem, 7.2vw, 1.9rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
  }
  .sub {
    display: block;
    margin: 0 0 0.85rem;
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted);
  }
  .home-proof {
    margin: 0 0 0.95rem;
  }
  .copy-rail .btn-solid {
    align-self: stretch;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .topbar {
    padding: 0.7rem 0.85rem;
  }
  .ghost-btn {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: transparent;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
  }
  .ghost-btn:hover {
    background: #e0b584;
    color: var(--accent-ink);
    border-color: transparent;
  }
  .ghost-btn kbd { display: none; }

  /* Framed IDE — dense single stage */
  .ide {
    min-height: 0;
    height: min(62vh, 480px);
    border-radius: 12px;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 28px 56px -18px rgba(0, 0, 0, 0.9);
  }

  .ide-chrome {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.65rem;
    grid-template-columns: none;
  }
  .ide-crumbs { display: none !important; }
  .ide-status { display: none !important; }
  .ide-tabs {
    margin-left: auto;
    flex-shrink: 0;
  }
  .ide-tab {
    padding: 0.28rem 0.5rem;
    font-size: 0.68rem;
  }

  /* Kill the rail pill dump — tabs are the nav */
  .ide-body {
    grid-template-columns: 1fr;
  }
  .ide-rail {
    display: none !important;
  }

  .ide-main {
    min-height: 0;
  }

  /* Home on phone: code + preview only (no explorer dump) */
  .surface[data-pane="home"] {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1.15fr);
  }
  .surface[data-pane="home"] .files {
    display: none !important;
  }
  .surface[data-pane="home"] .editor {
    border-bottom: 1px solid var(--line);
    min-height: 0;
    max-height: none;
  }
  .surface[data-pane="home"] .preview {
    min-height: 0;
  }
  .preview-frame { padding: 0.55rem; }
  .app-mock { min-height: 0; padding: 0.5rem; }
  .am-tiers { gap: 0.3rem; }
  .am-tiers article { padding: 0.4rem; }
  .code { font-size: 0.65rem; padding-right: 0.5rem; }
  .code .ln { width: 1.6rem; margin-right: 0.55rem; }

  /* Build: one chat column, hide side dump */
  .surface[data-pane="build"] {
    grid-template-columns: 1fr;
  }
  .surface[data-pane="build"] .build-side {
    display: none !important;
  }
  .chat-col {
    border-bottom: 0;
    min-height: 0;
    height: 100%;
  }
  .thread { padding: 0.35rem 0.7rem 0.55rem; gap: 0.5rem; }
  .bubble { padding: 0.55rem 0.65rem; }
  .bubble p { font-size: 0.78rem; }
  .composer { margin: 0 0.55rem 0.55rem; padding: 0.5rem 0.6rem; }

  /* Live: compact card */
  .surface[data-pane="live"] {
    padding: 0.85rem;
  }
  .live-wrap { max-width: none; }
  .uh-url { font-size: 0.82rem; word-break: break-all; }

  .clarity {
    margin: 0 0 1rem;
    gap: 0.4rem;
  }
  .clarity > li {
    padding: 0.45rem 0.55rem;
  }
  .clarity strong { font-size: 0.76rem; }
  .clarity span:not(.clarity-n) { font-size: 0.68rem; }
  .access-why {
    text-align: center;
    max-width: none;
    margin-top: 0.55rem;
  }
  .ide-caption {
    font-size: 0.72rem;
    color: var(--dim);
  }
  .uh-url {
    font-size: 0.82rem;
    word-break: break-all;
  }
  .foot {
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
  }
  .foot-nav { justify-content: flex-start; }

}

@media (max-width: 390px) {
  .copy-rail h1 { font-size: 1.5rem; }
  .ide { height: min(58vh, 440px); }
}



/* ——— Quiet text link + hero CTAs ——— */
.link-quiet {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.link-quiet:hover { color: var(--accent); }
.link-quiet::after {
  content: " →";
  letter-spacing: -0.04em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}
.hero-ctas .btn-solid { align-self: auto; }

.product-hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin-top: 1.35rem;
}
.product-cta-links {
  margin-top: 0;
  justify-content: center;
}

/* ——— Product page ——— */
.page-product {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.15rem 3.5rem;
}
.product-hero {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}
.product-hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.85rem, 4.6vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.product-hero .lead {
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 40rem;
}

.product-proof {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.4rem;
}
.product-proof li {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.product-proof li:first-child {
  color: var(--accent);
  border-color: rgba(212, 165, 116, 0.35);
  background: var(--accent-dim);
}

.product-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.65rem;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.product-rail-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.6rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.product-rail-step span {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.product-rail-step:hover {
  color: var(--text);
  background: rgba(212, 165, 116, 0.08);
}
.product-rail-join {
  width: 0.75rem;
  height: 1px;
  background: var(--line-strong);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .product-rail-join { width: 0.45rem; }
  .product-rail-step { font-size: 0.72rem; padding: 0.3rem 0.4rem; }
  .product-hero-links .btn-solid { width: 100%; justify-content: center; }
}

.product-section-head {
  margin-bottom: 1.25rem;
}
.product-section-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.product-section-head p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42rem;
}

.product-bridge {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 2.75rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: var(--inset);
}
@media (min-width: 720px) {
  .product-bridge {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 1.4rem 1.45rem;
  }
}
.product-bridge-copy h2 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.product-bridge-copy p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.product-bridge-flow {
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
}
.pbf-card {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.pbf-private {
  border-color: rgba(255, 255, 255, 0.1);
}
.pbf-public {
  border-color: rgba(212, 165, 116, 0.28);
  background: rgba(212, 165, 116, 0.04);
}
.pbf-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.25rem;
  padding: 0.15rem 0.42rem;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.pbf-tag.public {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(212, 165, 116, 0.3);
}
.pbf-card strong {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pbf-card em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--dim);
}
.pbf-arrow {
  align-self: center;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  flex-shrink: 0;
}

.product-included {
  margin-bottom: 2.5rem;
  scroll-margin-top: 5rem;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
}
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

.feature-card {
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  box-shadow: var(--inset);
  overflow: hidden;
  scroll-margin-top: 5rem;
}
.feature-card:hover {
  border-color: rgba(212,165,116,0.28);
  background: rgba(212,165,116,0.03);
}
.feature-card .feature-tag,
.feature-card h3,
.feature-card p {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}
.feature-card .feature-tag { margin-top: 0.95rem; }
.feature-card h3 { margin-bottom: 0.4rem; }
.feature-card p {
  margin-bottom: 1.15rem;
}

.fc-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}
.fc-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.fc-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: block;
}
.fc-dots i:nth-child(1) { background: #e07a6a; opacity: 0.55; }
.fc-dots i:nth-child(2) { background: #d4a574; opacity: 0.55; }
.fc-dots i:nth-child(3) { background: #6dce8b; opacity: 0.55; }
.fc-title {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fc-badge {
  flex-shrink: 0;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(212, 165, 116, 0.22);
}
.fc-badge-ok {
  color: var(--ok);
  background: var(--ok-dim);
  border-color: rgba(109, 206, 139, 0.28);
}
.fc-badge-live {
  color: var(--ok);
  background: var(--ok-dim);
  border-color: rgba(109, 206, 139, 0.28);
}

.feature-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.feature-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.product-ship-kit {
  margin-bottom: 2.5rem;
  scroll-margin-top: 5rem;
}
.product-ship-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .product-ship-grid { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
}
.product-ship-card {
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--inset);
}
.product-ship-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.product-ship-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}
.product-mono {
  font-family: var(--mono);
  font-size: 0.74em;
  color: var(--text);
}

.product-explore {
  margin-bottom: 2.5rem;
}
.product-explore-label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}
.product-explore-links {
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .product-explore-links { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}
.product-explore-card {
  display: block;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--inset);
  transition:
    border-color var(--dur, 0.18s) var(--ease),
    background var(--dur, 0.18s) var(--ease),
    transform var(--dur, 0.18s) var(--ease),
    box-shadow var(--dur, 0.18s) var(--ease);
}
.product-explore-card:hover {
  border-color: rgba(212, 165, 116, 0.28);
  background: rgba(212, 165, 116, 0.04);
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.7);
}
.product-explore-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}
.product-explore-card span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

/* legacy loop-rail kept for any residual markup */
.product-loop {
  margin-bottom: 2.75rem;
  padding-top: 0.25rem;
}
.loop-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .loop-rail {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
}
.loop-rail li {
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.loop-n {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.loop-rail strong {
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}
.loop-rail span:not(.loop-n) {
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--muted);
}

.product-cta {
  margin-top: 0.5rem;
}

@media (max-width: 719px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn-solid {
    width: 100%;
    justify-content: center;
  }
  .hero-ctas .link-quiet {
    justify-content: center;
  }
}

/* Honeypot — visually hidden from humans */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ——— FAQ page ——— */
.page-faq {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.15rem 3.5rem;
}
.faq-hero {
  margin-bottom: 2.25rem;
}
.faq-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.faq-hero .lead {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 38rem;
}
.faq-proof {
  margin-bottom: 1.15rem;
}
.faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  margin-top: 0.25rem;
}
.faq-jump a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq-jump a:hover {
  color: var(--text);
  border-color: rgba(212, 165, 116, 0.35);
  background: rgba(212, 165, 116, 0.04);
}

.faq-group {
  margin-bottom: 1.75rem;
  scroll-margin-top: 5rem;
}
.faq-group-title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.faq-group .faq-list {
  margin-bottom: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--inset);
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.faq-item[open] {
  border-color: rgba(212, 165, 116, 0.28);
  background: rgba(212, 165, 116, 0.035);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease), border-color 0.15s;
  margin-top: -0.2rem;
}
.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.15rem;
  border-color: var(--accent);
}
.faq-item summary:hover { color: var(--text); }
.faq-item summary:hover::after { border-color: var(--accent); }
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: 11px;
}

.faq-body {
  padding: 0 1.15rem 1.15rem;
}
.faq-body p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}
.faq-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.faq-body a:hover { color: #e0b584; }

.faq-cta {
  margin-top: 0.5rem;
}

@media (min-width: 960px) {
  .nav-link { padding: 0.4rem 0.65rem; font-size: 0.8rem; }
}

/* ——— Changelog page ——— */
.page-changelog {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.15rem 3.5rem;
}
.changelog-hero {
  margin-bottom: 2.25rem;
}
.changelog-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.changelog-hero .lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 36rem;
}

.changelog-timeline {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}

.changelog-day {
  position: relative;
  padding-left: 1.35rem;
  border-left: 1px solid var(--line);
}

.changelog-date {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--mono);
}

.changelog-date time {
  position: relative;
}
.changelog-date time::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--bg);
}

.changelog-entries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.changelog-entry {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--inset);
  padding: 1.05rem 1.15rem;
  transition: border-color 0.15s, background 0.15s;
}
.changelog-entry:hover {
  border-color: rgba(212, 165, 116, 0.22);
  background: rgba(212, 165, 116, 0.03);
}
.changelog-entry h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
}
.changelog-entry p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}
.changelog-entry code {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.08em 0.35em;
}
.changelog-entry a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.changelog-entry a:hover { color: #e0b584; }

.changelog-cta {
  margin-top: 0.25rem;
}

/* ——— Tour page ——— */
.page-tour {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.15rem 3.5rem;
}
.tour-hero {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.tour-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.95rem, 5vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.048em;
  line-height: 1.1;
}
.tour-hero .lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}
.tour-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.35rem;
}
.tour-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  max-width: 28rem;
}
.tour-rail-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.tour-rail-step span {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--accent-dim);
  color: var(--accent);
}
.tour-rail-step:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.tour-rail-join {
  width: 1.1rem;
  height: 1px;
  background: var(--line-strong);
  flex-shrink: 0;
}
@media (max-width: 420px) {
  .tour-rail-join { width: 0.55rem; }
  .tour-rail-step { font-size: 0.72rem; padding: 0.3rem 0.4rem; }
  .tour-hero-actions .btn-solid { width: 100%; justify-content: center; }
}

.tour-steps {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tour-step {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  scroll-margin-top: 5.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
}
@media (min-width: 820px) {
  .tour-step {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 2rem;
  }
  .tour-step-flip .tour-copy { order: 2; }
  .tour-step-flip .tour-frame { order: 1; }
}
.tour-n {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.tour-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}
.tour-copy p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}
.tour-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tour-bullets li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}
.tour-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}
.tour-mono {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--text);
}
.tour-inline-cta {
  display: inline-flex;
  margin-top: 1.25rem;
}

.tour-bridge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0 0.25rem;
  list-style: none;
}
.tour-bridge-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.tour-bridge-label {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Tour frame chrome */
.tour-frame {
  background: var(--bg-elev);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow-ide);
}
.tf-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(180deg, #1c1c1f 0%, #161618 100%);
  border-bottom: 1px solid var(--line);
}
.tf-traffic {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.tf-traffic i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}
.tf-traffic i:nth-child(1) { background: #ff5f57; }
.tf-traffic i:nth-child(2) { background: #febc2e; }
.tf-traffic i:nth-child(3) { background: #28c840; }
.tf-title {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.18rem 0.45rem;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid var(--line);
}
.tf-badge-ok {
  background: var(--ok-dim);
  color: var(--ok);
  border-color: rgba(109, 206, 139, 0.28);
}
.tf-badge-live {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(212, 165, 116, 0.32);
}
.tf-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 1.6s ease-in-out infinite;
}

.tf-toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  background: rgba(0,0,0,0.28);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tf-tab {
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  white-space: nowrap;
}
.tf-tab.on {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(212,165,116,0.28);
}
.tf-tab.dim { color: var(--dim); opacity: 0.75; }
.tf-tool-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--dim);
  white-space: nowrap;
}

.tf-addr {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  background: rgba(0,0,0,0.22);
  border-bottom: 1px solid var(--line);
}
.tf-lock {
  width: 8px;
  height: 10px;
  border-radius: 2px 2px 3px 3px;
  border: 1.5px solid var(--ok);
  position: relative;
  flex-shrink: 0;
  opacity: 0.85;
}
.tf-lock::before {
  content: "";
  position: absolute;
  left: 1px;
  top: -4px;
  width: 4px;
  height: 4px;
  border: 1.5px solid var(--ok);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}
.tf-url {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tf-reload {
  font-size: 0.72rem;
  color: var(--dim);
  line-height: 1;
}

.tf-body {
  background: var(--bg-panel);
  min-height: 220px;
}

/* Build panel */
.tf-build {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 280px;
}
@media (max-width: 520px) {
  .tf-build { grid-template-columns: 1fr; }
  .tf-tree { display: none; }
  .tf-tool-meta { display: none; }
}
.tf-tree {
  padding: 0.75rem 0.55rem;
  border-right: 1px solid var(--line);
  background: rgba(0,0,0,0.22);
}
.tf-tree-h {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0.35rem 0.55rem;
}
.tf-tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tf-tree li {
  padding: 0.28rem 0.4rem;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 1px;
}
.tf-tree li.on {
  background: var(--accent-dim);
  color: var(--accent);
}
.tf-tree li.dim { color: var(--dim); }
.tf-tree li.folder {
  color: var(--dim);
  font-size: 0.6rem;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}
.tf-chat {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.tf-msg {
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  font-size: 0.74rem;
  line-height: 1.45;
  max-width: 96%;
}
.tf-msg .tf-role {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  color: var(--dim);
}
.tf-msg.you {
  margin-left: auto;
  background: var(--accent-dim);
  border: 1px solid rgba(212,165,116,0.28);
  color: var(--text);
}
.tf-msg.bot {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--muted);
}
.tf-msg.bot code {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  background: rgba(212,165,116,0.12);
  padding: 0.05rem 0.28rem;
  border-radius: 3px;
}
.tf-diff {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0e0e10;
  overflow: hidden;
}
.tf-diff-h {
  display: block;
  padding: 0.35rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ok);
  border-bottom: 1px solid var(--line);
  background: rgba(109, 206, 139, 0.06);
}
.tf-diff pre {
  margin: 0;
  padding: 0.5rem 0.6rem;
  overflow-x: auto;
}
.tf-diff code {
  font-family: var(--mono);
  font-size: 0.65rem;
  line-height: 1.55;
  color: var(--muted);
  white-space: pre;
}
.tf-diff .add { color: #8fd4a4; }
.tf-diff .ctx { color: var(--dim); }
.tf-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.15rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
  font-size: 0.72rem;
  color: var(--dim);
}
.tf-compose em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
}
.tf-caret {
  display: inline-block;
  width: 1.5px;
  height: 0.9em;
  margin-left: 2px;
  vertical-align: -0.1em;
  background: var(--accent);
  animation: blink 1.1s step-end infinite;
}

/* Run panel */
.tf-run {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.tf-preview {
  flex: 1;
  padding: 1rem 1.1rem 0.85rem;
}
.tf-pnav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.tf-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(212,165,116,0.55);
  background: var(--accent-dim);
}
.tf-links {
  display: flex;
  gap: 0.45rem;
  flex: 1;
}
.tf-links i {
  display: block;
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
}
.tf-cta-pill {
  width: 52px;
  height: 18px;
  border-radius: 9px;
  background: var(--accent);
  opacity: 0.85;
}
.tf-phero {
  margin-bottom: 1.15rem;
}
.tf-phero-line {
  height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 0.4rem;
}
.tf-phero-line.w70 { width: 70%; height: 14px; }
.tf-phero-line.w45 { width: 45%; background: rgba(255,255,255,0.06); }
.tf-ptiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.tf-tier {
  padding: 0.75rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  text-align: center;
}
.tf-tier em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--dim);
  margin-bottom: 0.3rem;
}
.tf-tier strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.tf-tier-f {
  display: block;
  font-size: 0.58rem;
  color: var(--dim);
  letter-spacing: -0.01em;
}
.tf-tier.on {
  border-color: rgba(212,165,116,0.42);
  background: var(--accent-dim);
}
.tf-tier.on strong { color: var(--accent); }
.tf-tier.on .tf-tier-f { color: rgba(212,165,116,0.75); }
.tf-status-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--dim);
  flex-wrap: wrap;
}
.tf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 2px rgba(109, 206, 139, 0.2);
  animation: pulse 1.8s ease-in-out infinite;
}
.tf-status-sep { opacity: 0.45; }
.tf-mono-soft { color: var(--dim); }

/* Ship panel */
.tf-ship {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 260px;
  justify-content: center;
}
.tf-live-card {
  padding: 1.1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, #1a1a1d 0%, #121214 100%);
}
.tf-live-row em {
  display: block;
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.35rem;
}
.tf-live-row strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  word-break: break-all;
}
.tf-live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0.85rem 0 0.85rem;
}
.tf-live-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--muted);
}
.tf-live-meta i.ok {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
}
.tf-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.tf-checklist span {
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--dim);
  background: rgba(255,255,255,0.02);
}
.tf-checklist span.done {
  color: var(--ok);
  background: var(--ok-dim);
  border-color: rgba(109, 206, 139, 0.25);
}
.tf-checklist span.on {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(212, 165, 116, 0.32);
}
.tf-live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tf-btn-mock {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 550;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.tf-btn-mock.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.tf-domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.tf-mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tf-chip {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ok);
  background: var(--ok-dim);
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  border: 1px solid rgba(109, 206, 139, 0.25);
}

/* What you get */
.tour-get {
  margin-bottom: 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.tour-get-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.tour-get-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.tour-get-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .tour-get-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}
.tour-get-grid li {
  padding: 1rem 1.05rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition:
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.tour-get-grid li:hover {
  border-color: rgba(212, 165, 116, 0.22);
  transform: translateY(-1px);
}
.tour-get-grid strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.tour-get-grid span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.tour-next {
  margin-bottom: 2.5rem;
}
.tour-next-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .tour-next-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
}
.tour-next-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.05rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  color: inherit;
  transition:
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.tour-next-card:hover {
  border-color: rgba(212, 165, 116, 0.28);
  background: rgba(212, 165, 116, 0.035);
  transform: translateY(-1px);
  color: inherit;
}
.tour-next-card strong {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tour-next-card span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.tour-cta { margin-top: 0.5rem; }

@media (max-width: 519px) {
  .tf-ptiers { gap: 0.35rem; }
  .tf-tier { padding: 0.55rem 0.35rem; }
  .tf-tier strong { font-size: 0.82rem; }
  .tf-tier-f { font-size: 0.52rem; }
  .tf-live-row strong { font-size: 0.78rem; }
  .tf-checklist { gap: 0.28rem; }
}

/* ——— Showcase page ——— */

/* ——— Showcase ——— */
.page-showcase {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.15rem 3.5rem;
}
.sc-hero {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}
.sc-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.95rem, 5vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.048em;
  line-height: 1.1;
}
.sc-hero .lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}
.sc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.35rem;
}
.sc-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sc-cats a {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.sc-cats a:hover {
  color: var(--accent);
  border-color: rgba(212, 165, 116, 0.35);
  background: var(--accent-dim);
}

.sc-grid {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 720px) {
  .sc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .sc-card-feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 1.35rem 1.75rem;
    align-items: stretch;
  }
  .sc-card-feature .sc-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.35rem 0.15rem 0.35rem 0.25rem;
  }
  .sc-card-feature .sc-preview { margin-top: 0; }
  .sc-card-feature .sc-body { min-height: 220px; }
}

.sc-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
  scroll-margin-top: 5rem;
}
.sc-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}
@media (hover: hover) and (pointer: fine) {
  .sc-card:hover { transform: translateY(-1px); }
}

.sc-meta .sc-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(212, 165, 116, 0.28);
}
.sc-meta h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.sc-card-feature .sc-meta h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}
.sc-meta p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}
.sc-clone {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-decoration: none;
}
.sc-clone:hover { color: #e0b584; }

.sc-preview {
  margin-top: auto;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--bg-elev);
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.7);
}
.sc-chrome {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.7rem;
  background: linear-gradient(180deg, #1c1c1f 0%, #161618 100%);
  border-bottom: 1px solid var(--line);
}
.sc-chrome-t {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-live {
  flex-shrink: 0;
  padding: 0.15rem 0.42rem;
  border-radius: 5px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(212, 165, 116, 0.32);
}
.sc-badge-soft,
.sc-badge-ok {
  flex-shrink: 0;
  padding: 0.15rem 0.42rem;
  border-radius: 5px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}
.sc-badge-ok {
  background: var(--ok-dim);
  color: var(--ok);
  border-color: rgba(109, 206, 139, 0.28);
}

.sc-body {
  padding: 0.85rem 0.9rem 0.95rem;
  background: var(--bg-panel);
  min-height: 188px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.35rem;
}
.sc-chips span {
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

/* Relay — live board */
.sc-relay-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.sc-relay-bar strong {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.sc-presence {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.sc-presence i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 650;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(212, 165, 116, 0.28);
  margin-left: -4px;
}
.sc-presence i:first-child { margin-left: 0; }
.sc-presence em {
  font-style: normal;
  font-size: 0.62rem;
  color: var(--dim);
  margin-left: 0.35rem;
}
.sc-relay-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
.sc-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.sc-col-h {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 0.1rem;
}
.sc-sticky {
  padding: 0.45rem 0.5rem;
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}
.sc-sticky.dim { opacity: 0.65; }
.sc-sticky.on {
  background: var(--accent-dim);
  border-color: rgba(212, 165, 116, 0.32);
}
.sc-sticky.ok {
  background: var(--ok-dim);
  border-color: rgba(109, 206, 139, 0.25);
}
.sc-edit {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--accent);
}

/* Harbor — social */
.sc-harbor-rail {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.sc-harbor-rail span {
  padding: 0.18rem 0.45rem;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 550;
  color: var(--dim);
  border: 1px solid transparent;
}
.sc-harbor-rail span.on {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(212, 165, 116, 0.28);
}
.sc-post {
  display: flex;
  gap: 0.55rem;
  padding: 0.2rem 0;
}
.sc-post.dim { opacity: 0.72; }
.sc-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(212, 165, 116, 0.25);
}
.sc-av-2 {
  background: rgba(120, 150, 220, 0.18);
  color: #9bb0e0;
  border-color: rgba(120, 150, 220, 0.28);
}
.sc-post strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--text);
}
.sc-post p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted);
}
.sc-react {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}
.sc-react span {
  font-size: 0.65rem;
  color: var(--dim);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}
.sc-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.7rem;
  color: var(--dim);
}
.sc-compose em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.65rem;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
}

/* Nightshift — ops */
.sc-ops-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}
.sc-ops-summary > div {
  padding: 0.4rem 0.45rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sc-ops-summary strong {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.sc-ops-summary span {
  font-size: 0.58rem;
  color: var(--dim);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 550;
}
.sc-ops-row {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  font-size: 0.74rem;
}
.sc-ops-row:hover { background: rgba(255, 255, 255, 0.03); }
.sc-ops-row .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
}
.sc-ops-row .dot.ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-dim); }
.sc-ops-row .dot.warn { background: #e0b050; box-shadow: 0 0 0 3px rgba(224, 176, 80, 0.2); }
.sc-ops-row strong {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
}
.sc-ops-row em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}
.sc-ops-row b {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ok);
}
.sc-ops-row.warn b { color: #e0b050; }

/* Tiprail — payments */
.sc-tip {
  align-items: center;
  text-align: center;
}
.sc-tip-creator {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  padding-bottom: 0.15rem;
}
.sc-tip-creator strong {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
}
.sc-tip-creator span {
  font-size: 0.66rem;
  color: var(--dim);
}
.sc-tip-amt {
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.sc-tip-tiers {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}
.sc-tip-tiers button {
  -webkit-appearance: none;
  appearance: none;
  min-width: 3.2rem;
  padding: 0.4rem 0.65rem;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: default;
  pointer-events: none;
}
.sc-tip-tiers button.on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.sc-tip-split {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  font-size: 0.66rem;
  color: var(--dim);
}
.sc-tip-bar {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.sc-tip-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
}
.sc-tip .sc-chips { justify-content: center; width: 100%; }

/* Vaultfall — game */
.sc-game-hud {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--muted);
}
.sc-game-hud b {
  color: var(--text);
  font-weight: 600;
  font-family: var(--mono);
  font-size: 0.76rem;
}
.sc-game-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  max-width: 160px;
  margin: 0.15rem auto;
}
.sc-game-board i {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.sc-game-board i.c1 { background: rgba(212, 165, 116, 0.22); }
.sc-game-board i.c2 { background: rgba(109, 206, 139, 0.18); }
.sc-game-board i.c3 { background: rgba(120, 150, 220, 0.2); }
.sc-game-board i.on {
  border-color: rgba(212, 165, 116, 0.55);
  box-shadow: inset 0 0 0 2px rgba(212, 165, 116, 0.35);
}
.sc-game-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.2rem;
}
.sc-rank {
  font-size: 0.66rem;
  font-weight: 550;
  color: var(--muted);
}
.sc-share-pill {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(212, 165, 116, 0.28);
}

/* Firstlight — launch */
.sc-launch-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.sc-launch-stat strong {
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.sc-launch-stat span {
  font-size: 0.78rem;
  color: var(--muted);
}
.sc-launch-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.sc-launch-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
}
.sc-funnel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}
.sc-funnel-step {
  padding: 0.4rem 0.4rem;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sc-funnel-step.on {
  background: var(--accent-dim);
  border-color: rgba(212, 165, 116, 0.3);
}
.sc-funnel-step em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}
.sc-funnel-step.on em { color: var(--accent); }
.sc-funnel-step b {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.sc-launch-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--muted);
  padding: 0.1rem 0;
}
.sc-launch-row em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text);
  font-weight: 500;
}

/* Why strip */
.sc-why {
  margin: 0 0 1.75rem;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.sc-why-head {
  margin-bottom: 1.1rem;
  max-width: 36rem;
}
.sc-why-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.sc-why-head p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}
.sc-why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .sc-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
.sc-why-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.sc-why-grid strong {
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.sc-why-grid span {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.sc-note {
  margin: 0 0 2.5rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--dim);
  max-width: 40rem;
}
.sc-cta { margin-top: 0.25rem; }

@media (max-width: 519px) {
  .sc-relay-cols { gap: 0.3rem; }
  .sc-sticky { font-size: 0.64rem; padding: 0.38rem 0.4rem; }
  .sc-ops-summary { gap: 0.3rem; }
  .sc-ops-summary strong { font-size: 0.74rem; }
  .sc-game-hud { font-size: 0.64rem; }
  .sc-hero-actions .btn-solid { width: 100%; justify-content: center; }
}


/* ——— Why page ——— */
.access-why a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.access-why a:hover { color: var(--accent); }

.page-why {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.15rem 3.5rem;
}
.why-hero {
  max-width: 42rem;
  margin-bottom: 2.75rem;
}
.why-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.95rem, 4.8vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.why-hero .lead {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 40rem;
}
.why-proof {
  margin-bottom: 1.25rem;
}
.why-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.65rem;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.why-rail-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.6rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.why-rail-step span {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.why-rail-step:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.why-rail-join {
  width: 0.55rem;
  height: 1px;
  background: var(--line-strong);
  flex-shrink: 0;
}

.why-diff {
  margin-bottom: 2.75rem;
  scroll-margin-top: 5rem;
}
.why-diff-head {
  max-width: 40rem;
  margin-bottom: 1.25rem;
}
.why-diff-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.why-diff-head p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}
.why-diff-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .why-diff-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
}
.why-diff-card {
  margin: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--inset);
  transition:
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.why-diff-card:hover {
  border-color: rgba(212, 165, 116, 0.28);
  background: rgba(212, 165, 116, 0.03);
  transform: translateY(-1px);
}
.why-diff-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.why-diff-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.why-diff-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.why-principles-wrap {
  margin-bottom: 2.75rem;
  scroll-margin-top: 5rem;
}
.why-section-head {
  max-width: 40rem;
  margin-bottom: 1.15rem;
}
.why-section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.why-section-head p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.why-principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 760px) {
  .why-principles { grid-template-columns: 1fr 1fr; }
}
.why-card {
  margin: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--inset);
}
.why-card:hover {
  border-color: rgba(212, 165, 116, 0.22);
}
.why-n {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.why-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.why-contrast {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--accent);
}
.why-card p:last-child {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.why-for {
  margin-bottom: 2.5rem;
  scroll-margin-top: 5rem;
}
.why-for h2 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.why-for-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 760px) {
  .why-for-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.why-for-grid li {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-strong);
}
.why-for-grid strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.why-for-grid span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.why-explore {
  scroll-margin-top: 5rem;
}
.why-cta { margin-top: 0.25rem; }

.why-ship-honest {
  margin: 0 auto 2.75rem;
  max-width: 52rem;
  padding: 0 1.25rem;
}


/* ——— Premium feel: restrained motion & interaction ——— */
:root {
  --dur: 180ms;
  --dur-press: 120ms;
  --dur-enter: 220ms;
}

/* Buttons / CTAs — slight lift, clear press */
.btn-solid {
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur-press) var(--ease),
    box-shadow var(--dur) var(--ease),
    filter var(--dur) var(--ease);
}
.btn-solid:hover {
  background: #e0b584;
  color: var(--accent-ink);
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: var(--inset), 0 6px 16px -8px rgba(0, 0, 0, 0.55);
}
.btn-solid:active {
  transform: translateY(0) scale(0.985);
  filter: brightness(0.97);
  box-shadow: var(--inset), 0 1px 2px rgba(0, 0, 0, 0.25);
}
.btn-solid:disabled:hover,
.btn-solid:disabled:active {
  transform: none;
  filter: none;
  box-shadow: var(--inset), 0 1px 2px rgba(0, 0, 0, 0.25);
}

.ghost-btn {
  transition:
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    transform var(--dur-press) var(--ease);
}
.ghost-btn:hover { transform: translateY(-1px); }
.ghost-btn:active { transform: translateY(0) scale(0.985); }

/* Nav — opacity polish + soft underline */
.nav-link {
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-link:not(.nav-cta) {
  position: relative;
}
.nav-link:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.18rem;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: center;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  pointer-events: none;
}
.nav-link:not(.nav-cta):hover {
  color: var(--text);
  background: transparent;
  opacity: 1;
}
.nav-link:not(.nav-cta):hover::after,
.nav-link:not(.nav-cta).is-active::after {
  opacity: 0.55;
  transform: scaleX(1);
}
.nav-link.nav-cta {
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur-press) var(--ease),
    filter var(--dur) var(--ease);
}
.nav-link.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.nav-link.nav-cta:active {
  transform: translateY(0) scale(0.985);
}

/* Cards — Explore / Showcase / Tour frames / Why */
.home-explore-card,
.access-explore-card,
.product-explore-card,
.sc-card,
.feature-card,
.why-card,
.why-diff-card {
  transition:
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.home-explore-card:hover,
.access-explore-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.7);
}
.sc-card:hover {
  border-color: rgba(212, 165, 116, 0.28);
  background: rgba(212, 165, 116, 0.035);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.65);
}
.feature-card:hover,
.why-card:hover {
  transform: translateY(-1px);
}

.tour-frame {
  transition:
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.tour-step:hover .tour-frame {
  border-color: rgba(212, 165, 116, 0.22);
  transform: translateY(-1px);
}

/* ——— 404 / not found ——— */
.page-404 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 5rem) 1.15rem 3.5rem;
  min-height: min(62vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nf-hero {
  margin-bottom: 2.25rem;
}
.nf-hero .kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.nf-code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.nf-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.nf-hero .lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
}
.nf-ctas {
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
.nf-hints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.nf-hint {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--inset);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.nf-hint:hover {
  border-color: rgba(212, 165, 116, 0.35);
  background: rgba(212, 165, 116, 0.04);
  transform: translateY(-1px);
}
.nf-hint-label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nf-hint-desc {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
}
@media (max-width: 640px) {
  .nf-hints {
    grid-template-columns: 1fr;
  }
  .nf-ctas .ghost-btn {
    width: auto;
  }
}

/* Focus-visible — intentional, accessible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-solid:focus-visible,
.nav-link.nav-cta:focus-visible {
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.nav-link:not(.nav-cta):focus-visible {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 7px;
}
.home-explore-card:focus-visible,
.access-explore-card:focus-visible,
.ghost-btn:focus-visible {
  outline-offset: 3px;
}

/* Soft once-enter — opacity/transform only, no scrolljack */
@keyframes feelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.copy-rail,
.ide-stage,
.access-hero,
.tour-hero,
.sc-hero,
.product-hero,
.how-hero,
.faq-hero,
.why-hero,
.privacy-hero,
.changelog-hero,
.nf-hero,
.home-bridge,
.home-explore {
  animation: feelIn var(--dur-enter) var(--ease) both;
}
.ide-stage { animation-delay: 40ms; }
.home-bridge { animation-delay: 70ms; }
.home-explore { animation-delay: 100ms; }

@media (prefers-reduced-motion: reduce) {
  .copy-rail,
  .ide-stage,
  .access-hero,
  .tour-hero,
  .sc-hero,
  .product-hero,
  .how-hero,
  .faq-hero,
  .why-hero,
  .privacy-hero,
  .changelog-hero,
  .nf-hero,
  .home-bridge,
  .home-explore {
    animation: none !important;
  }
  .btn-solid:hover,
  .btn-solid:active,
  .ghost-btn:hover,
  .ghost-btn:active,
  .nav-link.nav-cta:hover,
  .nav-link.nav-cta:active,
  .home-explore-card:hover,
  .access-explore-card:hover,
  .sc-card:hover,
  .feature-card:hover,
  .why-card:hover,
  .why-diff-card:hover,
  .tour-step:hover .tour-frame,
  .how-card:hover .hv-frame,
  .tour-get-grid li:hover,
  .tour-next-card:hover {
    transform: none !important;
    filter: none !important;
  }
  .nav-link:not(.nav-cta)::after {
    transition: none !important;
  }
}

/* —— On-site Build (/build) —— */
.page-build .build-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
  min-height: calc(100vh - 8rem);
}
@media (max-width: 960px) {
  .page-build .build-shell {
    grid-template-columns: 1fr;
    padding-top: 1rem;
  }
}
.build-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.build-side-head h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.build-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.build-limits {
  background: var(--accent-dim);
  border: 1px solid rgba(212, 165, 116, 0.28);
  border-radius: var(--r-lg);
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}
.build-limits strong {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.build-limits p { margin: 0.35rem 0 0; color: var(--muted); }
.build-limits a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.build-limits .mono { font-family: var(--mono); font-size: 0.82em; color: var(--text); }
.build-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: var(--inset);
}
.build-h2 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.build-muted { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.85rem; }
.build-form { display: flex; flex-direction: column; gap: 0.75rem; }
.build-field label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.build-field .dim { color: var(--dim); font-weight: 400; }
.build-field input[type="text"] {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font: inherit;
}
.build-field input:focus {
  outline: 2px solid rgba(212, 165, 116, 0.45);
  outline-offset: 1px;
  border-color: var(--accent);
}
.build-templates {
  border: 0;
  margin: 0;
  padding: 0;
}
.build-templates legend {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 500;
  padding: 0;
}
.build-template-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.build-template {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.build-template:hover { border-color: var(--line-strong); }
.build-template.is-on {
  border-color: rgba(212, 165, 116, 0.55);
  background: rgba(212, 165, 116, 0.08);
}
.build-template input { margin-top: 0.2rem; accent-color: var(--accent); }
.build-template-body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.build-template-body strong { font-size: 0.9rem; }
.build-template-body span { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.build-submit { width: 100%; justify-content: center; margin-top: 0.15rem; }
.build-form-note { min-height: 1.2em; margin: 0; font-size: 0.85rem; color: var(--ok); }
.build-form-note.is-error { color: var(--danger); }
.build-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.build-list-btn {
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font: inherit;
}
.build-list-btn:hover { border-color: var(--line-strong); }
.build-list-item.is-on .build-list-btn {
  border-color: rgba(212, 165, 116, 0.55);
  background: rgba(212, 165, 116, 0.08);
}
.build-list-btn .mono { font-family: var(--mono); font-size: 0.72rem; color: var(--dim); }
.build-empty { margin: 0; color: var(--dim); font-size: 0.85rem; }

.build-stage {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-ide);
}
.build-stage-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}
.build-stage-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  font-size: 0.85rem;
}
.build-stage-title .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dim); flex-shrink: 0;
}
.build-stage-title .dot.is-live { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-dim); }
.build-stage-path { color: var(--dim); font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.build-stage-actions { display: flex; gap: 0.35rem; }
.build-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg);
  color: var(--muted); cursor: pointer; font-size: 0.95rem;
  text-decoration: none;
}
.build-icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.build-preview-wrap {
  flex: 1;
  min-height: 360px;
  background: #07080a;
  position: relative;
}
.build-preview-empty {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; color: var(--muted);
}
.build-preview {
  width: 100%; height: 100%; min-height: 420px;
  border: 0; background: #0b0f14; display: block;
}
.build-chat {
  border-top: 1px solid var(--line);
  background: var(--bg-panel);
  display: flex; flex-direction: column; max-height: 280px;
}
.build-chat-log {
  flex: 1; overflow: auto; padding: 0.75rem 0.9rem;
  display: flex; flex-direction: column; gap: 0.65rem;
  min-height: 100px; max-height: 160px;
}
.build-chat-row { display: flex; flex-direction: column; gap: 0.2rem; }
.build-chat-role {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--dim);
}
.build-chat-row.is-you .build-chat-role { color: var(--accent); }
.build-chat-row p { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--text); }
.build-chat-form {
  display: flex; gap: 0.5rem; padding: 0.65rem 0.85rem;
  border-top: 1px solid var(--line);
}
.build-chat-form input {
  flex: 1; min-width: 0;
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 8px; color: var(--text); padding: 0.6rem 0.75rem; font: inherit;
}
.build-chat-form input:focus {
  outline: 2px solid rgba(212, 165, 116, 0.45);
  outline-offset: 1px; border-color: var(--accent);
}
.build-chat-form .btn-solid { flex-shrink: 0; }
.build-chat-hint {
  margin: 0; padding: 0 0.9rem 0.65rem;
  font-size: 0.75rem; color: var(--dim); line-height: 1.4;
}
@media (max-width: 960px) {
  .build-stage { min-height: 520px; }
  .build-preview { min-height: 320px; }
}

/* Build AI status badge */
.build-ai-badge {
  margin-left: 0.5rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ok, #34d399);
  background: var(--ok-dim, rgba(52, 211, 153, 0.15));
  border: 1px solid currentColor;
  white-space: nowrap;
}
.build-ai-badge[hidden] { display: none; }
.build-ai-badge.is-degraded { color: #e0b050; background: rgba(224, 176, 80, 0.15); }
.build-ai-badge.is-free { color: #7dd3a8; background: rgba(125, 211, 168, 0.14); }

/* —— Build: My builds, saved state, download —— */
.build-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.build-panel-head .build-h2 { margin-bottom: 0.4rem; }
.build-count { font-size: 0.72rem; color: var(--dim); }
.build-list-item {
  position: relative;
  animation: build-rise 0.42s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 35ms);
}
.build-list-btn { padding-right: 2.4rem; transition: border-color 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease); }
.build-list-btn:active { transform: scale(0.99); }
.build-list-btn strong {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.build-list-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: var(--dim);
  min-width: 0;
}
.build-list-meta .mono { color: var(--muted); }
.build-list-when::before { content: "·"; margin-right: 0.5rem; color: var(--dim); }
.build-list-del {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--dim);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.build-list-item:hover .build-list-del,
.build-list-del:focus-visible { opacity: 1; }
.build-list-del:hover { color: var(--danger); border-color: var(--line-strong); }
@media (hover: none) { .build-list-del { opacity: 0.7; } }
.build-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 32px;
  padding: 0 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 165, 116, 0.35);
  background: var(--accent-dim);
  color: var(--accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.build-dl-btn[hidden] { display: none; }
.build-dl-btn:hover { background: rgba(212, 165, 116, 0.22); border-color: rgba(212, 165, 116, 0.6); }
.build-dl-btn:active { transform: translateY(1px); }
.build-dl-btn:disabled { opacity: 0.7; cursor: progress; }
.build-saved {
  align-self: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ok);
  opacity: 0;
}
.build-saved[hidden] { display: none; }
.build-saved.is-flash { animation: build-saved 2.4s var(--ease) both; }
.build-stage-actions { align-items: center; }
@keyframes build-rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes build-saved {
  0% { opacity: 0; transform: translateY(3px); }
  12%, 70% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@media (max-width: 560px) {
  .build-dl-btn span { display: none; }
  .build-dl-btn { padding: 0 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .build-list-item, .build-saved.is-flash { animation: none; }
  .build-saved.is-flash { opacity: 1; }
}
.build-preview-empty[hidden] { display: none; }
