:root {
  --bg: #0a0a0a;
  --fg: #e0e0e0;
  --amber: #f0a020;
  --green: #3a5a3a;
  --terminal: #00ff41;
  --muted: #555;

  /* ── Brand gradient (from makakoo design pack) ─── */
  --mk-gradient: linear-gradient(135deg, #A1387E 0%, #6A50CE 25%, #3581B6 55%, #63C26E 100%);
  --mk-cyan: #00EADD;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ─── Brand top bar ─── */
.brand-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 10px 16px 0;
  pointer-events: none;
}
.brand-top-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--muted);
  pointer-events: auto;
}
.brand-mark {
  height: 22px;
  width: auto;
  border-radius: 4px;
  image-rendering: auto;
}
.brand-wordmark {
  font-family: "Nunito", "SF Mono", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
  font-size: clamp(13px, 1.4vw, 15px);
}
.brand-tag {
  color: var(--muted);
}
@media (max-width: 700px) {
  .brand-tag { display: none; }
}

/* Starfield */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.5;
  animation: twinkle 4s ease-in-out infinite;
  left: var(--x, 50%);
  top: var(--y, 50%);
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

/* Scanline overlay */
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 255, 65, 0.015) 2px,
    rgba(0, 255, 65, 0.015) 4px
  );
  z-index: 1;
}

.scene-counter {
  position: fixed;
  top: 1rem;
  left: 1.5rem;
  color: var(--muted);
  font-size: 11px;
  z-index: 2;
}

/* ─── Hero (above the fold) ─── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 2rem 4rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ─── Hero logo ─── */
.banner-box {
  margin-bottom: 1.5rem;
  text-align: center;
}
.banner-border {
  color: var(--green);
  font-size: clamp(8px, 1.1vw, 12px);
  white-space: pre;
  line-height: 1.15;
  margin: 0 auto;
  display: inline-block;
}
.banner-border .blk-c1 { color: #A1387E; text-shadow: 0 0 6px rgba(161, 56, 126, 0.35); }
.banner-border .blk-c2 { color: #8445AE; text-shadow: 0 0 6px rgba(132, 69, 174, 0.35); }
.banner-border .blk-c3 { color: #6A50CE; text-shadow: 0 0 6px rgba(106, 80, 206, 0.35); }
.banner-border .blk-c4 { color: #3A87B6; text-shadow: 0 0 6px rgba(58, 135, 182, 0.35); }
.banner-border .blk-c5 { color: #3581B6; text-shadow: 0 0 6px rgba(53, 129, 182, 0.35); }
.banner-border .blk-c6 { color: #4EAA5A; text-shadow: 0 0 6px rgba(78, 170, 90, 0.35); }
.banner-border .blk-c7 { color: #63C26E; text-shadow: 0 0 6px rgba(99, 194, 110, 0.35); }
.hero-icon {
  width: clamp(64px, 12vw, 96px);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 0 24px rgba(106, 80, 206, 0.25), 0 4px 16px rgba(0, 0, 0, 0.4);
  image-rendering: auto;
  display: block;
  margin: 0 auto;
}

.banner {
  background: var(--mk-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(10px, 1.3vw, 13px);
  white-space: pre;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.banner.amber-static {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--amber);
  text-shadow: 0 0 8px rgba(240, 160, 32, 0.4);
}
.banner.amber-static {
  animation: none;
  color: var(--amber);
}
@keyframes pulse {
  0%, 100% { text-shadow: 0 0 8px rgba(240, 160, 32, 0.4); }
  50% { text-shadow: 0 0 20px rgba(240, 160, 32, 0.8); }
}

.tagline {
  color: var(--fg);
  font-size: clamp(14px, 1.8vw, 18px);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.tagline .highlight {
  color: var(--amber);
}

.slogan {
  color: var(--muted);
  font-size: clamp(11px, 1.3vw, 14px);
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.prompt {
  display: inline-block;
  text-align: left;
  color: var(--terminal);
  padding: 1rem 1.5rem;
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.5);
  margin: 1rem 0;
  border-radius: 4px;
  font-size: clamp(12px, 1.4vw, 14px);
  max-width: 100%;
  overflow-x: auto;
}
.prompt .cmd { color: var(--terminal); }
.prompt .comment { color: var(--muted); }
.cursor {
  display: inline-block;
  background: var(--terminal);
  width: 8px;
  height: 1em;
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

.links {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.links a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px dashed var(--amber);
  padding-bottom: 2px;
  font-size: clamp(11px, 1.2vw, 13px);
  transition: all 0.2s;
}
.links a:hover {
  color: var(--terminal);
  border-bottom-color: var(--terminal);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
}

/* ─── Scroll hint ─── */
.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  transition: opacity 0.3s;
}
.scroll-arrow {
  display: block;
  color: var(--amber);
  font-size: 1rem;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-text {
  color: var(--muted);
  font-size: 10px;
  display: block;
  margin-top: 0.2rem;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── Sections ─── */
.section {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.section:not(:first-of-type)::before {
  content: "";
  display: block;
  height: 1px;
  width: 120px;
  margin: 0 auto 3rem;
  background: var(--mk-gradient);
  opacity: 0.5;
}

.section-title {
  color: var(--terminal);
  font-size: clamp(14px, 1.6vw, 17px);
  margin-bottom: 2rem;
  font-weight: normal;
  letter-spacing: 0.03em;
}
.section-title .comment {
  color: var(--muted);
}

/* ─── Typewriter ─── */
.typewriter {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  padding: 1.5rem;
  font-size: clamp(12px, 1.3vw, 14px);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.typewriter-output {
  flex: 1;
  color: var(--terminal);
  white-space: pre-wrap;
  line-height: 1.7;
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
}
.typewriter-output .tw-prompt { color: var(--terminal); }
.typewriter-output .tw-output { color: var(--muted); }

.typewriter-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(58, 90, 58, 0.3);
}
.tw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.tw-dot.active {
  background: var(--amber);
  box-shadow: 0 0 6px rgba(240, 160, 32, 0.6);
}
.tw-dot:hover {
  background: var(--terminal);
}

/* ─── Use cases ─── */
.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.use-case {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.use-case:hover {
  border-color: var(--amber);
  box-shadow: 0 0 12px rgba(240, 160, 32, 0.15);
}

.use-case-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.use-case h3 {
  color: var(--amber);
  font-size: clamp(12px, 1.3vw, 14px);
  margin-bottom: 0.5rem;
  font-weight: normal;
  letter-spacing: 0.03em;
}

.use-case p {
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1.55;
}

/* ─── Section intro text ─── */
.section-intro {
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* ─── Memory layers ─── */
.memory-layers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.memory-layer {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.memory-layer:hover {
  border-color: var(--amber);
  box-shadow: 0 0 10px rgba(240, 160, 32, 0.1);
}

.layer-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.layer-info {
  flex: 1;
}

.layer-info h3 {
  color: var(--amber);
  font-size: clamp(12px, 1.3vw, 14px);
  margin-bottom: 0.3rem;
  font-weight: normal;
  letter-spacing: 0.03em;
}

.layer-info p {
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.layer-path {
  display: inline-block;
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid rgba(58, 90, 58, 0.5);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  color: var(--terminal);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: 10px;
}

/* ─── Obsidian callout ─── */
.obsidian-callout {
  border: 1px solid var(--amber);
  background: rgba(240, 160, 32, 0.05);
  border-radius: 4px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--fg);
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1.6;
}

.callout-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.obsidian-callout strong {
  color: var(--amber);
  font-weight: normal;
}

.obsidian-callout code {
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--green);
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
  color: var(--terminal);
  font-size: 11px;
}

.obsidian-callout a {
  color: var(--amber);
  border-bottom: 1px dashed var(--amber);
  text-decoration: none;
}
.obsidian-callout a:hover {
  color: var(--terminal);
  border-bottom-color: var(--terminal);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
}

.callout-cta {
  margin-top: 1.5rem;
}

/* ─── Mascot flavor lines ─── */
.use-case .flavor-line {
  color: var(--terminal);
  font-style: normal;
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: clamp(10px, 1.1vw, 12px);
}

.use-case .species-stats {
  color: var(--muted);
  font-style: italic;
  font-size: clamp(10px, 1.05vw, 11px);
}

/* ─── Cross-CLI demo ─── */
.cross-cli-demo {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 1.5rem 1rem;
  margin-bottom: 2rem;
}

.cli-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cli-col {
  text-align: center;
}

.cli-label {
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.cli-bubble {
  background: rgba(0, 255, 65, 0.06);
  border: 1px solid rgba(58, 90, 58, 0.5);
  border-radius: 6px;
  padding: 0.6rem 0.5rem;
  font-size: 10px;
  color: var(--terminal);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.cli-arrow {
  color: var(--amber);
  font-size: 1.1rem;
  margin: 0.3rem 0;
}

.cli-answer {
  background: rgba(240, 160, 32, 0.05);
  border: 1px solid rgba(240, 160, 32, 0.2);
  border-radius: 6px;
  padding: 0.6rem 0.5rem;
  font-size: 10px;
  color: var(--fg);
  line-height: 1.4;
}

/* ─── Cross-CLI how-it-works ─── */
.cross-cli-how {
  margin-top: 0;
}

.cross-cli-how h3 {
  color: var(--amber);
  font-size: clamp(12px, 1.3vw, 14px);
  margin-bottom: 1rem;
  font-weight: normal;
  letter-spacing: 0.03em;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.how-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: clamp(11px, 1.1vw, 12px);
  line-height: 1.5;
}

.how-step strong {
  color: var(--amber);
  font-weight: normal;
}

.how-num {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.how-step code {
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--green);
  border-radius: 3px;
  padding: 0.05rem 0.3rem;
  color: var(--terminal);
  font-size: 10px;
}

.cross-cli-footer {
  color: var(--muted);
  font-size: clamp(10px, 1.1vw, 12px);
  line-height: 1.6;
  border-top: 1px solid rgba(58, 90, 58, 0.3);
  padding-top: 1rem;
}

/* ─── Installer ─── */
.installer {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  overflow: hidden;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--green);
}

.tab {
  flex: 1;
  padding: 0.7rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: var(--muted);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: clamp(11px, 1.1vw, 13px);
  cursor: pointer;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}
.tab:hover {
  color: var(--terminal);
  background: rgba(0, 0, 0, 0.5);
}
.tab.active {
  color: var(--amber);
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid var(--amber);
  margin-bottom: -1px;
}

.tab-panel {
  display: none;
  padding: 1.25rem;
}
.tab-panel.active {
  display: block;
}

.install-block {
  color: var(--terminal);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 2;
  white-space: pre-wrap;
  margin: 0;
  border: 1px solid var(--green);
  border-image: var(--mk-gradient) 1;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  padding: 1.2rem;
}
.install-block .cmd {
  color: var(--amber);
}

.copy-btn {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: rgba(58, 90, 58, 0.15);
  border: none;
  border-top: 1px solid rgba(58, 90, 58, 0.3);
  color: var(--muted);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: 11px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.copy-btn:hover {
  color: var(--amber);
  background: rgba(58, 90, 58, 0.25);
}
.copy-btn.copied {
  color: var(--terminal);
}

.install-note {
  color: var(--muted);
  font-size: clamp(10px, 1.1vw, 12px);
  text-align: center;
  margin-top: 1.25rem;
  line-height: 1.5;
}

/* ─── Community ─── */
.community-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.community-card {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 1rem;
  color: var(--fg);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.community-card:hover {
  border-color: var(--amber);
  box-shadow: 0 0 10px rgba(240, 160, 32, 0.12);
}

.community-icon {
  font-size: 1.2rem;
}

.community-label {
  color: var(--amber);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.03em;
}

.community-detail {
  color: var(--muted);
  font-size: clamp(10px, 1vw, 11px);
}

/* ─── Owl ─── */
.owl {
  position: fixed;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 1.8rem;
  z-index: 3;
  animation: owl-blink 4s infinite;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.owl.hooting {
  transform: scale(1.5) rotate(10deg);
}
@keyframes owl-blink {
  0%, 45%, 55%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ─── Footer ─── */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--muted);
  font-size: clamp(10px, 1.1vw, 12px);
  padding: 2rem 2rem 3rem;
}
.footer .brand {
  background: var(--mk-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  font-family: "Nunito", "SF Mono", system-ui, sans-serif;
  font-weight: 900;
}
.footer-links {
  margin-top: 0.4rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--muted);
  margin: 0 0.5rem;
  font-size: 11px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-links a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* ─── Responsive ─── */
@media (min-width: 900px) {
  .use-cases {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .banner { font-size: 7px; }
  .hero { padding: 1.5rem 1rem 3rem; }
  .section { padding: 3rem 1.25rem; }
  .links { gap: 0.75rem; }
  .links a { display: block; }
  .use-cases {
    grid-template-columns: 1fr;
  }
  .community-links {
    grid-template-columns: 1fr;
  }
  .prompt {
    padding: 0.75rem 1rem;
    font-size: 11px;
  }
  .typewriter {
    padding: 1rem;
    min-height: 260px;
  }
  .typewriter-output {
    font-size: 11px;
  }
}

@media (max-width: 400px) {
  .banner { font-size: 6px; }
  .tabs { flex-direction: column; }
  .tab { border-bottom: 1px solid var(--green); }
  .tab.active {
    border-bottom: 1px solid var(--amber);
    margin-bottom: 0;
  }
}

/* ─── House map ─── */
.house-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.house-card {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.42);
  border-radius: 4px;
  padding: 1rem;
  min-height: 155px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.house-card:hover {
  border-color: var(--amber);
  box-shadow: 0 0 12px rgba(240, 160, 32, 0.14);
}
.house-card span {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}
.house-card strong {
  display: block;
  color: var(--amber);
  font-weight: normal;
  font-size: clamp(12px, 1.25vw, 14px);
  margin-bottom: 0.35rem;
}
.house-card p {
  color: var(--muted);
  font-size: clamp(10px, 1.1vw, 12px);
  line-height: 1.55;
}
.house-card code {
  color: var(--terminal);
  font-size: 10px;
}

/* ─── Lope plugin spotlight ─── */
.lope-section {
  background: radial-gradient(ellipse at 50% 30%, rgba(240, 160, 32, 0.06) 0%, transparent 55%);
}
.lope-hero {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.25rem;
  align-items: stretch;
  border: 1px solid var(--amber);
  background: rgba(240, 160, 32, 0.045);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.lope-mark {
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 160, 32, 0.35);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  font-size: 3rem;
  text-shadow: 0 0 18px rgba(240, 160, 32, 0.6);
}
.lope-hero h3,
.lope-card h3 {
  color: var(--amber);
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: normal;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.lope-hero p,
.lope-card p {
  color: var(--muted);
  font-size: clamp(11px, 1.15vw, 13px);
  line-height: 1.6;
}
.lope-hero pre {
  margin: 0.9rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(58, 90, 58, 0.8);
  background: rgba(0, 0, 0, 0.45);
  color: var(--terminal);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: clamp(10px, 1.1vw, 12px);
  line-height: 1.8;
  white-space: pre-wrap;
}
.lope-hero pre .cmd {
  color: var(--amber);
}
.lope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.lope-card {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.42);
  border-radius: 4px;
  padding: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lope-card:hover {
  border-color: var(--amber);
  box-shadow: 0 0 12px rgba(240, 160, 32, 0.12);
}
.lope-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.5rem 0 1.5rem;
}
.lope-flags span {
  border: 1px solid rgba(58, 90, 58, 0.75);
  background: rgba(0, 255, 65, 0.04);
  border-radius: 999px;
  color: var(--terminal);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: 10px;
  padding: 0.2rem 0.55rem;
}

@media (max-width: 900px) {
  .house-grid { grid-template-columns: repeat(2, 1fr); }
  .lope-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .house-grid,
  .lope-grid,
  .lope-hero { grid-template-columns: 1fr; }
  .lope-mark { min-height: 88px; }
}

/* ─── Hero conversion CTA ─── */
.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem;
  flex-wrap: wrap;
}
.hero-cta a {
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: clamp(11px, 1.1vw, 13px);
  text-decoration: none;
  border-radius: 4px;
  padding: 0.65rem 1rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.hero-cta-primary {
  color: #0a0a0a;
  background: var(--amber);
  border: 1px solid var(--amber);
  box-shadow: 0 0 18px rgba(240, 160, 32, 0.18);
}
.hero-cta-primary:hover {
  background: var(--terminal);
  border-color: var(--terminal);
  box-shadow: 0 0 22px rgba(0, 255, 65, 0.22);
}
.hero-cta-secondary {
  color: var(--terminal);
  border: 1px solid var(--green);
  background: rgba(0, 255, 65, 0.04);
}
.hero-cta-secondary:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* ─── Natural language chat truth ─── */
.chat-truth {
  max-width: 760px;
  margin: 0.8rem auto 0;
  color: var(--fg);
  background: rgba(0, 255, 65, 0.045);
  border: 1px solid rgba(58, 90, 58, 0.75);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1.6;
}
.chat-examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.chat-card {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.42);
  border-radius: 4px;
  padding: 1rem;
}
.chat-card .speaker {
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}
.chat-card p {
  color: var(--fg);
  font-size: clamp(12px, 1.25vw, 14px);
  line-height: 1.5;
  margin: 0.45rem 0;
}
.chat-card .result {
  display: block;
  color: var(--muted);
  border-top: 1px dashed rgba(58, 90, 58, 0.55);
  padding-top: 0.55rem;
  font-size: clamp(10px, 1.08vw, 12px);
  line-height: 1.45;
}
@media (max-width: 600px) {
  .chat-examples { grid-template-columns: 1fr; }
}

/* ─── More natural-language examples ─── */
.hero-chat-panel {
  max-width: 840px;
  margin: 1rem auto 1rem;
  border: 1px solid rgba(240, 160, 32, 0.45);
  background: rgba(240, 160, 32, 0.045);
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
}
.hero-chat-label {
  color: var(--amber);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-align: center;
}
.hero-chat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.hero-chat-grid div,
.agent-chat-sample,
.lope-chat-grid div {
  border: 1px solid rgba(58, 90, 58, 0.75);
  background: rgba(0, 0, 0, 0.38);
  border-radius: 5px;
  padding: 0.8rem;
}
.hero-chat-grid span,
.agent-chat-sample strong,
.lope-chat-grid span {
  display: block;
  color: var(--amber);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.hero-chat-grid p,
.agent-chat-sample p,
.lope-chat-grid p {
  color: var(--fg);
  font-size: clamp(11px, 1.15vw, 13px);
  line-height: 1.45;
  margin: 0;
}
.prompt-setup {
  margin-top: 1rem;
}
.agent-chat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.agent-chat-sample span {
  display: block;
  color: var(--muted);
  border-top: 1px dashed rgba(58, 90, 58, 0.55);
  padding-top: 0.5rem;
  margin-top: 0.6rem;
  font-size: clamp(10px, 1.05vw, 12px);
  line-height: 1.45;
}
.chat-examples-wide {
  grid-template-columns: repeat(4, 1fr);
}
.lope-chat-panel {
  border: 1px solid rgba(240, 160, 32, 0.5);
  background: rgba(240, 160, 32, 0.04);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.lope-chat-panel h3 {
  color: var(--amber);
  font-size: clamp(12px, 1.25vw, 14px);
  font-weight: normal;
  margin-bottom: 0.75rem;
}
.lope-chat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.lope-chat-grid em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: clamp(10px, 1.05vw, 12px);
  line-height: 1.45;
  margin-top: 0.55rem;
}
.lope-chat-grid code {
  color: var(--terminal);
  font-size: 10px;
}
@media (max-width: 900px) {
  .agent-chat-strip,
  .chat-examples-wide,
  .lope-chat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-chat-grid,
  .agent-chat-strip,
  .chat-examples-wide,
  .lope-chat-grid { grid-template-columns: 1fr; }
}

/* ─── Not just coding use cases ─── */
.life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.life-card {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.42);
  border-radius: 4px;
  padding: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.life-card:hover {
  border-color: var(--amber);
  box-shadow: 0 0 12px rgba(240, 160, 32, 0.12);
}
.life-card span {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.life-card strong {
  display: block;
  color: var(--amber);
  font-weight: normal;
  font-size: clamp(11px, 1.2vw, 13px);
  margin-bottom: 0.35rem;
}
.life-card p {
  color: var(--muted);
  font-size: clamp(10px, 1.08vw, 12px);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .life-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .life-grid { grid-template-columns: 1fr; }
}

/* ─── Mycelium / host-transformation lore ─── */
.mycelium-section {
  background: radial-gradient(ellipse at 50% 35%, rgba(0, 234, 221, 0.055) 0%, transparent 58%);
}
.mycelium-lockup {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid rgba(99, 194, 110, 0.65);
  background: rgba(0, 0, 0, 0.42);
  border-radius: 8px;
  padding: 1.1rem;
  margin-bottom: 1.25rem;
}
.mycelium-lockup img {
  width: 100%;
  max-width: 220px;
  display: block;
  border-radius: 8px;
}
.mycelium-lockup strong,
.symbiosis-note strong {
  color: var(--mk-cyan);
  font-weight: normal;
  letter-spacing: 0.02em;
}
.mycelium-lockup p,
.symbiosis-note p {
  color: var(--muted);
  font-size: clamp(11px, 1.15vw, 13px);
  line-height: 1.6;
  margin-top: 0.45rem;
}
.mycelium-lockup code {
  color: var(--terminal);
  border: 1px solid rgba(58, 90, 58, 0.7);
  background: rgba(0, 255, 65, 0.04);
  border-radius: 3px;
  padding: 0.05rem 0.3rem;
}
.mycelium-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.mycelium-card {
  border: 1px solid var(--green);
  background: rgba(0, 0, 0, 0.42);
  border-radius: 4px;
  padding: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mycelium-card:hover {
  border-color: var(--mk-cyan);
  box-shadow: 0 0 14px rgba(0, 234, 221, 0.14);
}
.mycelium-card span {
  display: block;
  color: var(--amber);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}
.mycelium-card p {
  color: var(--muted);
  font-size: clamp(10px, 1.08vw, 12px);
  line-height: 1.52;
}
.symbiosis-note {
  border: 1px solid rgba(240, 160, 32, 0.55);
  background: rgba(240, 160, 32, 0.05);
  border-radius: 6px;
  padding: 1rem 1.15rem;
}
.lope-brand-mark {
  padding: 0.55rem;
  position: relative;
  overflow: hidden;
}
.lope-brand-mark img {
  width: 100%;
  display: block;
  border-radius: 6px;
}
.lope-brand-mark span {
  position: absolute;
  right: 0.35rem;
  bottom: 0.25rem;
  font-size: 1.4rem;
}
@media (max-width: 900px) {
  .mycelium-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mycelium-lockup,
  .mycelium-grid { grid-template-columns: 1fr; }
  .mycelium-lockup img { max-width: 260px; margin: 0 auto; }
}

/* ─── Mascot creation + Harvey GYM ─── */
.mascot-custom-panel,
.gym-panel {
  border: 1px solid rgba(240, 160, 32, 0.5);
  background: rgba(240, 160, 32, 0.045);
  border-radius: 6px;
  padding: 1rem;
  margin-top: 1.25rem;
}
.mascot-custom-panel h3,
.gym-panel h3 {
  color: var(--amber);
  font-size: clamp(12px, 1.25vw, 14px);
  font-weight: normal;
  margin-bottom: 0.85rem;
}
.mascot-custom-grid,
.gym-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.gym-steps {
  grid-template-columns: repeat(5, 1fr);
}
.mascot-custom-grid div,
.gym-steps div {
  border: 1px solid rgba(58, 90, 58, 0.75);
  background: rgba(0, 0, 0, 0.36);
  border-radius: 4px;
  padding: 0.85rem;
}
.mascot-custom-grid span,
.gym-steps strong {
  display: block;
  color: var(--terminal);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.mascot-custom-grid p,
.gym-steps p,
.mascot-custom-note {
  color: var(--muted);
  font-size: clamp(10px, 1.08vw, 12px);
  line-height: 1.5;
}
.mascot-custom-note {
  margin-top: 0.9rem;
}
.owl {
  text-decoration: none;
}
@media (max-width: 1000px) {
  .gym-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .mascot-custom-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mascot-custom-grid,
  .gym-steps { grid-template-columns: 1fr; }
}


/* ─── Body surfaces / beginner stack ─── */
.body-surface-section {
  background: radial-gradient(ellipse at 50% 20%, rgba(0, 234, 221, 0.045) 0%, transparent 58%);
}

.starter-stack-panel {
  border: 1px solid rgba(240, 160, 32, 0.55);
  background: rgba(240, 160, 32, 0.055);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0 1.25rem;
}
.starter-stack-panel h3 {
  color: var(--terminal);
  font-weight: normal;
  font-size: clamp(13px, 1.35vw, 16px);
  margin-bottom: 0.8rem;
  text-align: center;
}
.starter-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.starter-stack-grid div {
  border: 1px solid rgba(58, 90, 58, 0.8);
  background: rgba(0, 0, 0, 0.36);
  border-radius: 5px;
  padding: 0.85rem;
}
.starter-stack-grid strong {
  display: block;
  color: var(--amber);
  font-weight: normal;
  margin-bottom: 0.35rem;
}
.starter-stack-grid p {
  color: var(--muted);
  font-size: clamp(10px, 1.1vw, 12px);
  line-height: 1.5;
}
@media (max-width: 760px) {
  .starter-stack-grid { grid-template-columns: 1fr; }
}

.body-surface-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.2rem 0 1.5rem;
}
.body-surface-card {
  border: 1px solid rgba(0, 234, 221, 0.38);
  background: linear-gradient(135deg, rgba(0, 234, 221, 0.055), rgba(0, 0, 0, 0.42));
  border-radius: 6px;
  padding: 1rem;
  min-height: 170px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.body-surface-card:hover {
  border-color: var(--amber);
  box-shadow: 0 0 16px rgba(0, 234, 221, 0.13);
  transform: translateY(-1px);
}
.body-surface-card span {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}
.body-surface-card strong {
  display: block;
  color: var(--amber);
  font-weight: normal;
  font-size: clamp(12px, 1.25vw, 14px);
  margin-bottom: 0.35rem;
}
.body-surface-card p {
  color: var(--muted);
  font-size: clamp(10px, 1.1vw, 12px);
  line-height: 1.55;
}
.plain-human-callout {
  border: 1px solid var(--amber);
  background: rgba(240, 160, 32, 0.07);
  border-radius: 6px;
  color: var(--fg);
  padding: 1rem 1.15rem;
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.55;
}
.plain-human-callout strong { color: var(--terminal); font-weight: normal; }
@media (max-width: 900px) {

.starter-stack-panel {
  border: 1px solid rgba(240, 160, 32, 0.55);
  background: rgba(240, 160, 32, 0.055);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0 1.25rem;
}
.starter-stack-panel h3 {
  color: var(--terminal);
  font-weight: normal;
  font-size: clamp(13px, 1.35vw, 16px);
  margin-bottom: 0.8rem;
  text-align: center;
}
.starter-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.starter-stack-grid div {
  border: 1px solid rgba(58, 90, 58, 0.8);
  background: rgba(0, 0, 0, 0.36);
  border-radius: 5px;
  padding: 0.85rem;
}
.starter-stack-grid strong {
  display: block;
  color: var(--amber);
  font-weight: normal;
  margin-bottom: 0.35rem;
}
.starter-stack-grid p {
  color: var(--muted);
  font-size: clamp(10px, 1.1vw, 12px);
  line-height: 1.5;
}
@media (max-width: 760px) {
  .starter-stack-grid { grid-template-columns: 1fr; }
}

.body-surface-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {

.starter-stack-panel {
  border: 1px solid rgba(240, 160, 32, 0.55);
  background: rgba(240, 160, 32, 0.055);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0 1.25rem;
}
.starter-stack-panel h3 {
  color: var(--terminal);
  font-weight: normal;
  font-size: clamp(13px, 1.35vw, 16px);
  margin-bottom: 0.8rem;
  text-align: center;
}
.starter-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.starter-stack-grid div {
  border: 1px solid rgba(58, 90, 58, 0.8);
  background: rgba(0, 0, 0, 0.36);
  border-radius: 5px;
  padding: 0.85rem;
}
.starter-stack-grid strong {
  display: block;
  color: var(--amber);
  font-weight: normal;
  margin-bottom: 0.35rem;
}
.starter-stack-grid p {
  color: var(--muted);
  font-size: clamp(10px, 1.1vw, 12px);
  line-height: 1.5;
}
@media (max-width: 760px) {
  .starter-stack-grid { grid-template-columns: 1fr; }
}

.body-surface-grid { grid-template-columns: 1fr; }
}

/* ─── Above-fold install CTA ─── */
.hero-install-now {
  max-width: 840px;
  margin: 1rem auto 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  text-align: left;
  border: 1px solid var(--amber);
  background: linear-gradient(135deg, rgba(240, 160, 32, 0.11), rgba(0, 255, 65, 0.045));
  border-radius: 8px;
  padding: 1rem 1.1rem;
  box-shadow: 0 0 24px rgba(240, 160, 32, 0.12);
}
.hero-install-kicker {
  display: block;
  color: var(--terminal);
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  margin-bottom: 0.35rem;
}
.hero-install-now strong {
  display: block;
  color: var(--amber);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: normal;
  margin-bottom: 0.25rem;
}
.hero-install-now p {
  color: var(--fg);
  font-size: clamp(11px, 1.15vw, 13px);
  line-height: 1.5;
}
.hero-install-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hero-install-actions a {
  display: inline-block;
  white-space: nowrap;
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: clamp(11px, 1.1vw, 13px);
  text-decoration: none;
  border-radius: 4px;
  padding: 0.7rem 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.hero-install-primary {
  color: #050805;
  background: var(--terminal);
  border: 1px solid var(--terminal);
  box-shadow: 0 0 18px rgba(0, 255, 65, 0.2);
}
.hero-install-primary:hover {
  background: var(--amber);
  border-color: var(--amber);
}
.hero-install-secondary {
  color: var(--amber);
  border: 1px solid var(--amber);
  background: rgba(0, 0, 0, 0.28);
}
.hero-install-secondary:hover {
  color: var(--terminal);
  border-color: var(--terminal);
}
@media (max-width: 760px) {
  .hero-install-now { grid-template-columns: 1fr; text-align: center; }
  .hero-install-actions { justify-content: center; }
}
