/* ── Home Page Styles ── */

/* Hero */
.hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.35;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero > p {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hero-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.hero-note code {
  font-family: var(--mono);
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

/* Scroll indicator */
.scroll-indicator {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  color: var(--dim);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ═══ Mockup ═══ */
.mockup-wrap {
  margin: 48px auto 0;
  width: 80%;
  max-width: 1200px;
  position: relative;
}

.mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px var(--shadow);
  transition: background 0.3s, border-color 0.3s;
}

.mockup-bar {
  height: 38px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #ed6a5e; }
.mockup-dot:nth-child(2) { background: #f4bf4f; }
.mockup-dot:nth-child(3) { background: #61c554; }

.mockup-body {
  display: flex;
  height: 483px;
}

/* Mockup sidebar */
.m-sidebar {
  width: 180px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background 0.3s;
}

.m-sidebar-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--dim);
  padding: 8px 8px 6px;
}

.m-sidebar-item {
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.12s;
  color: var(--muted);
}

.m-sidebar-item:hover {
  background: var(--fill);
  color: var(--text);
}

.m-sidebar-item.active {
  background: var(--accent-dim);
  color: var(--accent);
}

.m-sidebar-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Mockup chat panel */
.m-chat {
  width: 30%;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.m-chat-header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.m-chat-messages {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  overflow: hidden;
}

.m-msg {
  padding: 7px 11px;
  border-radius: 10px;
  font-size: 12px;
  max-width: 85%;
  line-height: 1.45;
  animation: fadeUp 0.35s ease both;
}

.m-msg-user {
  background: var(--accent);
  color: var(--accent-text);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.m-msg-ai {
  background: var(--surface-2);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  border: 1px solid var(--border);
}

.m-msg-tool {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  background: var(--surface-3);
  padding: 5px 9px;
  border-radius: 6px;
  align-self: flex-start;
}

.m-msg-tool .g { color: var(--sage); }
.m-msg-tool .b { color: var(--sky); }

.m-chat-input {
  padding: 8px;
  border-top: 1px solid var(--border);
}

.m-chat-input-box {
  display: flex;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  transition: background 0.3s;
}

.m-chat-input-box span {
  flex: 1;
  padding: 5px 8px;
  font-size: 12px;
  color: var(--dim);
}

.m-chat-input-box button {
  width: 28px;
  height: 26px;
  border-radius: 6px;
  background: var(--accent);
  border: none;
  color: var(--accent-text);
  font-size: 13px;
  cursor: pointer;
}

/* Mockup preview panel */
.m-preview {
  flex: 1;
  background: var(--code-bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.m-preview-bar {
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dim);
}

.m-preview-body {
  flex: 1;
  padding: 12px;
  overflow: hidden;
}

/* ── Preview mini-apps ── */
.prev-notes { display: flex; height: 100%; gap: 8px; }
.prev-notes-sidebar { width: 110px; display: flex; flex-direction: column; gap: 3px; border-right: 1px solid var(--border); padding-right: 8px; }
.prev-notes-sidebar div { padding: 5px 7px; border-radius: 4px; font-size: 10px; color: var(--muted); }
.prev-notes-sidebar div.pactive { background: var(--accent-dim); color: var(--accent); }
.prev-notes-main { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.prev-notes-main .title { font-size: 16px; font-weight: 600; color: var(--text); padding-bottom: 6px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.prev-notes-main .body { font-size: 11px; color: var(--muted); line-height: 1.7; flex: 1; }
.prev-notes-main .meta { font-size: 9px; color: var(--dim); margin-top: 6px; }

.prev-slack { display: flex; height: 100%; gap: 8px; }
.prev-slack-channels { width: 80px; display: flex; flex-direction: column; gap: 2px; }
.prev-slack-channels div { padding: 4px 6px; border-radius: 4px; font-size: 10px; color: var(--muted); }
.prev-slack-channels div.pactive { color: var(--text); background: var(--fill); }
.prev-slack-feed { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.prev-slack-msg { display: flex; gap: 6px; align-items: flex-start; }
.prev-slack-msg .avatar { width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0; }
.prev-slack-msg .text { font-size: 10px; color: var(--muted); line-height: 1.5; }
.prev-slack-msg .name { font-size: 10px; font-weight: 600; color: var(--text); }

.prev-code { height: 100%; display: flex; flex-direction: column; font-family: var(--mono); font-size: 10px; line-height: 1.7; color: var(--muted); }
.prev-code .tabs { display: flex; gap: 1px; margin-bottom: 6px; }
.prev-code .tab { padding: 3px 8px; border-radius: 4px 4px 0 0; font-size: 9px; }
.prev-code .tab.pactive { background: var(--surface-2); color: var(--text); }
.prev-code .lines { flex: 1; background: var(--surface-2); border-radius: 6px; padding: 8px; overflow: hidden; }
.prev-code .kw { color: var(--lavender); }
.prev-code .str { color: var(--sage); }
.prev-code .fn { color: var(--sky); }
.prev-code .cm { color: var(--dim); }

.prev-dash { height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.prev-dash-card { background: var(--surface-2); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; justify-content: space-between; }
.prev-dash-card .label { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.prev-dash-card .value { font-size: 22px; font-weight: 700; color: var(--text); }
.prev-dash-card .bar { height: 4px; border-radius: 2px; background: var(--surface-3); margin-top: 4px; }
.prev-dash-card .bar-fill { height: 100%; border-radius: 2px; }

.prev-music { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.prev-music .art { width: 120px; height: 120px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--lavender)); box-shadow: 0 8px 24px rgba(212, 132, 90, 0.2); }
.prev-music .track { font-size: 13px; font-weight: 600; color: var(--text); }
.prev-music .artist { font-size: 11px; color: var(--muted); }
.prev-music .controls { display: flex; gap: 16px; font-size: 18px; color: var(--muted); }
.prev-music .progress { width: 140px; height: 3px; background: var(--surface-3); border-radius: 2px; overflow: hidden; }
.prev-music .progress-fill { width: 40%; height: 100%; background: var(--accent); border-radius: 2px; }

.prev-board { height: 100%; display: flex; gap: 6px; }
.prev-board-col { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.prev-board-col-title { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); padding: 0 0 4px; }
.prev-board-card { background: var(--surface-2); border-radius: 4px; padding: 6px; font-size: 10px; color: var(--text); border-left: 2px solid transparent; }

/* ═══ Value Props Strip ═══ */
.value-props {
  padding: 100px 0;
}

.value-props-strip {
  display: flex;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.value-prop-item {
  flex: 1;
  padding: 0 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.value-prop-item:last-child {
  border-right: none;
}

.value-prop-icon {
  font-size: 28px;
  margin: 0 auto 14px;
  position: relative;
  width: 32px;
  height: 32px;
  color: var(--accent);
}

/* ═══ CSS Mini-Icons ═══ */

/* Monitor — value prop */
.icon-monitor::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 14px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.icon-monitor::after {
  content: '';
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* Pencil — value prop */
.icon-pencil::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 3px;
  height: 14px;
  background: currentColor;
  border-radius: 1px 1px 0 0;
}
.icon-pencil::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) translateX(4px) translateY(4px);
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
}

/* Chain link — value prop + product step */
.icon-chain::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-65%, -50%);
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.icon-chain::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-25%, -50%);
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

/* Key — value prop */
.icon-key::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.icon-key::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.value-prop-item h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-prop-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.value-prop-item .value-prop-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.15s;
}

.value-prop-item .value-prop-link:hover {
  color: var(--accent-hover);
}

/* ═══ Showcase Teaser ═══ */
.showcase-teaser {
  padding: 100px 0;
  text-align: center;
}

.showcase-teaser h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 8px;
}

.showcase-teaser > p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 16px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 36px;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.18s var(--ease);
  text-align: left;
}

.showcase-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
}

.showcase-card-preview {
  height: 140px;
  background: var(--code-bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}

.showcase-card-info {
  padding: 16px;
}

.showcase-card-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.showcase-card-info p {
  font-size: 12px;
  color: var(--muted);
}

/* Mini mockup previews for showcase cards */
.mini-voice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mini-voice .orb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: 0 0 20px var(--accent-glow);
}

.mini-voice .label {
  font-size: 10px;
  color: var(--muted);
}

.mini-email {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-email-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  color: var(--muted);
}

.mini-email-row.active {
  background: var(--accent-dim);
  color: var(--accent);
}

.mini-email-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.mini-music {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mini-music .album {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--lavender));
  box-shadow: 0 4px 12px rgba(212, 132, 90, 0.2);
}

.mini-music .bar-wrap {
  width: 80px;
  height: 3px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
}

.mini-music .bar-fill {
  width: 35%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* ═══ Product Teaser ═══ */
.product-teaser {
  padding: 100px 0;
}

.product-teaser-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.product-teaser-text h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 12px;
}

.product-teaser-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: border-color 0.15s;
}

.product-step:hover {
  border-color: var(--border-strong);
}

.product-step-icon {
  font-size: 24px;
  margin-bottom: 6px;
  position: relative;
  width: 28px;
  height: 28px;
  margin-left: auto;
  margin-right: auto;
  color: var(--accent);
}

/* Speech bubble — product step */
.icon-chat::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 12px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}
.icon-chat::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 38%;
  width: 0;
  height: 0;
  border-left: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-top: 4px solid transparent;
  border-bottom: 0;
}

/* Gear — product step */
.icon-gear::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.icon-gear::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 2px;
  background: currentColor;
  border-radius: 50%;
  box-shadow:
    0 -7px 0 0 currentColor,
    0 7px 0 0 currentColor,
    -7px 0 0 0 currentColor,
    7px 0 0 0 currentColor;
}

/* Rocket — product step */
.icon-rocket::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid currentColor;
}
.icon-rocket::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 3px;
  background: currentColor;
  border-radius: 0 0 3px 3px;
  opacity: 0.4;
}

.product-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.product-step-num {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 4px;
}

/* ═══ Orchestrator Teaser ═══ */
.orch-teaser {
  padding: 100px 0;
  text-align: center;
}

.orch-teaser h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 12px;
}

.orch-teaser > p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 15px;
}

.orch-pipeline {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.orch-app {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.15s;
}

.orch-app:hover {
  border-color: var(--border-strong);
}

.orch-app .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.orch-arrow {
  color: var(--accent);
  font-size: 18px;
}

@keyframes orchPulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.orch-arrow {
  animation: orchPulse 2s ease-in-out infinite;
}

/* ═══ Marketplace Teaser ═══ */
.market-teaser {
  padding: 100px 0;
  text-align: center;
}

.market-teaser h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 8px;
}

.market-teaser > p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 16px;
}

.market-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.market-app {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  cursor: default;
  transition: all 0.18s var(--ease);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.market-app:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
}

.market-app-icon {
  font-size: 24px;
  margin-bottom: 8px;
  position: relative;
  width: 24px;
  height: 24px;
  color: var(--accent);
}

/* Notepad — marketplace */
.icon-notepad::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 8px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}
.icon-notepad::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 40%);
  width: 8px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

/* Video / play button — marketplace */
.icon-video::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentColor;
}

/* Email V-fold — marketplace */
.icon-email::before {
  content: '';
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-70%) rotate(-30deg);
  transform-origin: top right;
  width: 7px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}
.icon-email::after {
  content: '';
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-30%) rotate(30deg);
  transform-origin: top left;
  width: 7px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

/* Headphones arc — marketplace */
.icon-headphones::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}
.icon-headphones::after {
  content: '';
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 3px;
  height: 3px;
  background: transparent;
  border-radius: 50%;
  box-shadow: -5px 0 0 0 currentColor, 5px 0 0 0 currentColor;
}
.market-app-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.market-app-author { font-size: 10px; color: var(--dim); margin-bottom: 6px; }
.market-app-desc { font-size: 10.5px; color: var(--muted); line-height: 1.45; margin-bottom: 8px; }
.market-app-footer { display: flex; align-items: center; justify-content: space-between; }
.market-app-stats { font-size: 9px; color: var(--dim); display: flex; gap: 8px; }
.market-app-get {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Stack card on home */
.market-teaser-stack {
  max-width: 500px;
  margin: 20px auto 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  text-align: left;
  transition: all 0.18s var(--ease);
}

.market-teaser-stack:hover {
  border-color: var(--accent);
  box-shadow: 0 0 32px var(--accent-dim);
}

.market-stack-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.market-stack-title { font-size: 15px; font-weight: 600; color: var(--text); }
.market-stack-badge { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gold); background: rgba(201, 169, 98, 0.1); padding: 2px 8px; border-radius: 4px; }
.market-stack-desc { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.market-stack-apps { display: flex; gap: 6px; }
.market-stack-app { padding: 5px 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); font-size: 10px; color: var(--text); display: flex; align-items: center; gap: 4px; }
.market-stack-app .dot { width: 5px; height: 5px; border-radius: 50%; }

/* ═══ Open Source Banner ═══ */
.oss-banner {
  padding: 100px 0;
  position: relative;
  text-align: center;
}

.oss-banner-inner {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}

.oss-banner-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.3;
}

.oss-banner h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 12px;
  position: relative;
}

.oss-banner p {
  color: var(--muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 28px;
  position: relative;
}

.oss-banner-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ═══ CTA Section ═══ */
.cta {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.25;
}

.cta h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 14px;
  position: relative;
}

.cta p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 36px;
  position: relative;
}

/* ═══ Home responsive ═══ */
@media (max-width: 768px) {
  .m-sidebar,
  .m-preview {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .value-props-strip {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .value-prop-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 24px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
  }
  .value-prop-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .value-prop-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .product-teaser-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .orch-pipeline {
    flex-direction: column;
  }

  .orch-arrow {
    transform: rotate(90deg);
  }

  .market-teaser-grid {
    grid-template-columns: 1fr 1fr;
  }

  .oss-banner-inner {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .market-teaser-grid {
    grid-template-columns: 1fr;
  }

  .product-steps {
    grid-template-columns: 1fr;
  }
}
