@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --paper: #eee9df;
  --paper-deep: #e2dbd0;
  --ink: #28221f;
  --muted: #756d64;
  --red: #bd3e32;
  --red-dark: #913027;
  --line: #c9c0b5;
  --card: #f5f1e9;
  --shadow: rgba(42, 31, 24, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
button,
a {
  font: inherit;
}
a {
  color: inherit;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 252px;
  padding: 28px;
  background: var(--paper-deep);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 4;
}
.wordmark {
  text-decoration: none;
}
.wordmark-main {
  display: block;
  font:
    2rem/1 "Instrument Serif",
    serif;
}
.wordmark-sub {
  display: block;
  margin-top: 10px;
  color: var(--red-dark);
  font:
    500 0.62rem/1.2 "DM Mono",
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rail-rule {
  height: 1px;
  background: var(--line);
  margin: 30px 0 20px;
}
.nav-kicker,
.eyebrow,
.breadcrumb,
.footer-note,
.rail-foot,
.tag,
.result-top,
.signal-label,
.idea-index {
  font:
    500 0.66rem/1.4 "DM Mono",
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-kicker {
  color: var(--muted);
  margin: 0 0 8px;
}
.rail-nav {
  display: grid;
  gap: 3px;
}
.rail-link {
  padding: 11px 9px;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 2px solid transparent;
  font-size: 0.88rem;
  transition: 0.2s;
}
.rail-link:hover,
.rail-link.active {
  color: var(--ink);
  background: #d7cdbd;
  border-left-color: var(--red);
}
.nav-icon {
  width: 16px;
  text-align: center;
  font-size: 1.15rem;
}
.rail-link small {
  margin-left: auto;
  color: var(--red-dark);
  font:
    500 0.6rem "DM Mono",
    monospace;
}
.rail-foot {
  margin-top: auto;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.6rem;
}
.rail-foot strong {
  color: var(--ink);
}
.main-stage {
  width: calc(100% - 252px);
  margin-left: 252px;
}
.topline {
  height: 68px;
  padding: 0 4.1%;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  color: var(--muted);
}
.breadcrumb strong {
  color: var(--ink);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--muted);
  font:
    500 0.65rem "DM Mono",
    monospace;
}
.status-dot:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: #6b7a5a;
}
.help-button,
.mobile-menu {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  color: var(--muted);
  text-decoration: none;
  background: none;
}
.mobile-menu {
  display: none;
  border-radius: 0;
  font-size: 1.2rem;
}
.content-wrap {
  max-width: 1120px;
  margin: auto;
  padding: 66px 4.1% 90px;
}
.home-hero {
  min-height: 560px;
  padding: 100px 48px 48px;
  position: relative;
  display: flex;
  align-items: flex-start;
  background: #aaa url("cherry-blossom.jfif") center/cover no-repeat;
  overflow: hidden;
}
.home-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(238, 233, 223, 0.92),
    rgba(238, 233, 223, 0.5) 52%,
    rgba(45, 26, 19, 0.05)
  );
}
.hero-copy,
.hero-index {
  position: relative;
  z-index: 1;
}
.hero-copy {
  max-width: 630px;
}
.eyebrow {
  color: var(--red-dark);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font:
    4.8rem/0.84 "Instrument Serif",
    serif;
  letter-spacing: -0.03em;
}
h1 {
  margin: 22px 0 30px;
  font-size: clamp(4rem, 7vw, 7rem);
}
h1 em,
h2 em {
  color: var(--red);
  font-weight: 400;
}
.lede {
  max-width: 480px;
  color: #514a43;
  font-size: 1rem;
  line-height: 1.65;
}
.button-primary {
  border: 0;
  padding: 14px 18px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: 0.2s;
}
.button-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}
.button-primary span {
  margin-left: 18px;
}
.hero-index {
  align-self: flex-end;
  margin-left: auto;
  max-width: 240px;
  padding: 18px;
  background: rgba(31, 25, 22, 0.75);
  color: #efe6d9;
  font:
    500 0.62rem/1.7 "DM Mono",
    monospace;
}
.hero-index strong {
  display: block;
  color: #f0b2a8;
  font-size: 0.58rem;
  margin-bottom: 8px;
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin: 55px 0 35px;
}
.page-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
}
.heading-meta {
  max-width: 280px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}
.search-strip {
  display: flex;
  margin-bottom: 30px;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
}
.search-input-wrap span {
  padding-left: 14px;
  color: var(--muted);
}
.search-input {
  width: 100%;
  padding: 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.search-submit {
  padding: 0 28px;
  border: 0;
  background: var(--red);
  color: #fff;
  text-transform: uppercase;
  font:
    500 0.7rem "DM Mono",
    monospace;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.sync-line {
  margin: -18px 0 20px;
  color: var(--muted);
  font: 500 0.62rem "Courier New", monospace;
  text-align: right;
}
.result-grid,
.board-grid,
.repo-grid,
.market-grid,
.support-grid {
  display: grid;
  gap: 12px;
}
.result-grid {
  grid-template-columns: repeat(3, 1fr);
}
.result-card,
.board-card,
.repo-card,
.support-card,
.market-card,
.idea-card,
.chart-block {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
  transition: 0.2s;
}
.result-card:hover,
.board-card:hover,
.repo-card:hover,
.support-card:hover,
.market-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--shadow);
}
.result-top {
  display: flex;
  justify-content: space-between;
  color: var(--red-dark);
}
.result-card h3,
.board-card h3,
.repo-card h3,
.support-card h3,
.idea-card h3 {
  font:
    1.65rem/1 "Instrument Serif",
    serif;
  margin: 26px 0 12px;
}
.result-card p,
.board-card p,
.repo-card p,
.support-card p,
.idea-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}
.result-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  color: var(--muted);
  font:
    500 0.6rem "DM Mono",
    monospace;
}
.board-grid,
.repo-grid {
  grid-template-columns: repeat(2, 1fr);
}
.board-card {
  display: flex;
  gap: 20px;
  text-decoration: none;
}
.board-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  background: #d9cfc1;
  color: var(--red-dark);
  font:
    1.4rem "Instrument Serif",
    serif;
}
.board-card h3,
.repo-card h3 {
  margin-top: 3px;
}
.tag,
.filter-chip {
  display: inline-block;
  margin: 8px 6px 0 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.58rem;
}
.filters {
  margin: -10px 0 25px;
}
.filter-chip {
  cursor: pointer;
}
.filter-chip.selected {
  border-color: var(--red);
  color: var(--red-dark);
}
.repo-meta {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font:
    500 0.66rem "DM Mono",
    monospace;
}
.repo-meta a {
  margin-left: auto;
  color: var(--red-dark);
}
.market-grid {
  grid-template-columns: repeat(4, 1fr);
}
.market-card {
  text-align: left;
  cursor: pointer;
}
.market-name {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font:
    500 0.62rem "DM Mono",
    monospace;
}
.market-name span:first-child {
  color: var(--ink);
}
.market-price {
  margin: 25px 0 7px;
  font:
    2rem "Instrument Serif",
    serif;
}
.market-change,
.up {
  color: #567052;
}
.market-change:not(.up) {
  color: var(--red);
}
.chart-block {
  margin-top: 18px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
}
.chart-head h3 {
  margin: 10px 0 5px;
  font:
    2rem "Instrument Serif",
    serif;
}
.chart-head p {
  color: var(--muted);
  font-size: 0.8rem;
}
.chart-svg {
  width: 100%;
  height: 190px;
  margin-top: 25px;
  color: var(--line);
}
.chart-svg polyline {
  stroke: var(--red);
}
.support-grid {
  grid-template-columns: repeat(2, 1fr);
}
.support-card svg {
  color: var(--red);
}
.button-quiet {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--red);
  background: none;
  color: var(--red-dark);
  cursor: pointer;
  font:
    500 0.7rem "DM Mono",
    monospace;
}
.forge-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}
.forge-prompt {
  padding: 42px;
  background: #d9cfc1;
}
.forge-prompt h3 {
  font:
    3rem/1 "Instrument Serif",
    serif;
  margin: 18px 0;
}
.forge-prompt p {
  max-width: 500px;
  color: var(--muted);
  line-height: 1.7;
}
.forge-controls {
  display: flex;
  gap: 20px;
  align-items: center;
}
.idea-stack {
  display: grid;
  gap: 12px;
}
.idea-card h3 {
  margin-top: 16px;
}
.state-box {
  padding: 45px 30px;
  text-align: center;
  border: 1px dashed var(--line);
  color: var(--muted);
}
.state-box h3 {
  font:
    2rem "Instrument Serif",
    serif;
  color: var(--ink);
}
.footer-note {
  padding: 18px 4.1%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.6rem;
}
.reveal {
  animation: rise 0.45s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 850px) {
  .side-rail {
    transform: translateX(-100%);
    transition: 0.25s;
    box-shadow: 5px 0 20px var(--shadow);
  }
  .side-rail.open {
    transform: none;
  }
  .main-stage {
    width: 100%;
    margin-left: 0;
  }
  .mobile-menu {
    display: grid;
    margin-right: 12px;
  }
  .topline {
    justify-content: flex-start;
  }
  .top-actions {
    margin-left: auto;
  }
  .status-dot {
    display: none;
  }
  .content-wrap {
    padding-top: 35px;
  }
  .home-hero {
    min-height: 590px;
    padding: 58px 25px 25px;
  }
  .hero-index {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    max-width: none;
    margin: 0;
  }
  .result-grid,
  .market-grid,
  .support-grid,
  .forge-layout {
    grid-template-columns: 1fr;
  }
  .board-grid,
  .repo-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    display: block;
  }
  .heading-meta {
    margin-top: 22px;
  }
  .search-strip {
    display: flex;
  }
  .search-submit {
    padding: 0 16px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 4.2rem;
  }
  .home-hero {
    min-height: 630px;
  }
  .search-strip {
    display: block;
  }
  .search-input-wrap {
    height: 50px;
  }
  .search-submit {
    width: 100%;
    height: 48px;
    margin-top: 8px;
  }
  .topline {
    padding: 0 18px;
  }
  .breadcrumb {
    font-size: 0.58rem;
  }
}

:root {
  --paper: #fff7c7;
  --paper-deep: #c6d8ff;
  --ink: #111;
  --muted: #555;
  --red: #ff3b30;
  --red-dark: #a00000;
  --line: #111;
  --card: #fff;
  --shadow: #111;
}

body {
  background: var(--paper);
  font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
}

.side-rail {
  width: 220px;
  padding: 14px;
  background: var(--paper-deep);
  border-right: 4px solid #111;
}

.main-stage {
  width: calc(100% - 220px);
  margin-left: 220px;
}

.wordmark {
  color: #00e;
  text-decoration: underline;
}

.wordmark-main {
  font: bold 1.7rem "Comic Sans MS", sans-serif;
}

.wordmark-sub,
.nav-kicker,
.eyebrow,
.breadcrumb,
.footer-note,
.rail-foot,
.tag,
.result-top,
.signal-label,
.idea-index,
.top-actions,
.result-foot,
.repo-meta,
.market-name,
.button-quiet {
  font-family: "Courier New", monospace;
  letter-spacing: 0;
}

.wordmark-sub {
  margin-top: 4px;
  color: var(--red-dark);
}

.rail-rule {
  height: 4px;
  margin: 18px 0 12px;
  background: #111;
}

.rail-link {
  padding: 8px 6px;
  color: #00e;
  border: 2px solid transparent;
  text-decoration: underline;
}

.rail-link:hover,
.rail-link.active {
  color: #000;
  background: #ff0;
  border: 2px dotted var(--red);
}

.topline {
  min-height: 58px;
  height: auto;
  padding: 8px 3%;
  border-bottom: 3px solid #111;
  background: #fff;
}

.help-button,
.mobile-menu {
  border: 2px solid #111;
  border-radius: 0;
  color: #00e;
  background: #fff;
}

.content-wrap {
  padding: 30px 3% 55px;
}

.home-hero {
  min-height: 440px;
  padding: 35px 25px 25px;
  background: #ffb6c1 !important;
  border: 4px solid #111;
}

.home-hero:after {
  right: 15%;
  bottom: -45px;
  width: 180px;
  height: 180px;
  background: #0ff;
  border: 5px dashed var(--red-dark);
  transform: rotate(17deg);
}

h1,
h2,
h3,
.chart-head h3,
.forge-prompt h3,
.state-box h3,
.market-price,
.board-mark {
  font-family: Georgia, serif;
  letter-spacing: 0;
}

h1 {
  line-height: 0.95;
}

.button-primary,
.search-submit {
  border: 3px solid #000;
  background: var(--red);
  box-shadow: 5px 5px 0 #000;
}

.button-primary:hover,
.search-submit:hover {
  background: #0a0;
  transform: none;
}

.hero-index {
  padding: 12px;
  background: #ff0;
  color: #000;
  border: 3px solid #000;
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
}

.page-heading {
  margin: 35px 0 20px;
}

.page-heading h2 {
  line-height: 0.95;
}

.search-input-wrap,
.result-card,
.board-card,
.repo-card,
.support-card,
.market-card,
.idea-card,
.chart-block {
  background: #fff;
  border: 3px solid #111;
}

.search-input-wrap {
  border-radius: 0;
}

.search-submit {
  box-shadow: none;
}

.result-card:hover,
.board-card:hover,
.repo-card:hover,
.support-card:hover,
.market-card:hover {
  transform: none;
  box-shadow: 6px 6px 0 #111;
}

.board-card {
  text-decoration: underline;
}

.board-mark {
  background: #0ff;
  border: 2px solid #000;
}

.tag,
.filter-chip {
  border: 2px dashed #111;
  background: #ff0;
}

.filter-chip.selected {
  background: #ffb6c1;
  border-color: var(--red);
}

.repo-meta a,
.button-quiet {
  color: #00e;
}

.forge-prompt {
  background: #0ff;
  border: 3px solid #000;
}

.state-box {
  background: #fff;
  border: 3px dashed #111;
}

.footer-note {
  border-top: 3px solid #111;
  background: #fff;
}

.reveal {
  animation: none;
}

@media (max-width: 850px) {
  .side-rail {
    box-shadow: 5px 0 0 #000;
  }
}

:root {
  --paper: #ffffff;
  --paper-deep: #ffff00;
  --ink: #000000;
  --muted: #000000;
  --red: #ff0000;
  --red-dark: #ff0000;
  --line: #000000;
  --card: #ffffff;
  --shadow: transparent;
}

body {
  background: white;
  color: black;
  font-family: "Comic Sans MS", cursive;
}

.side-rail {
  width: 180px;
  padding: 8px;
  background: yellow;
  border-right: 2px solid black;
}

.main-stage {
  width: calc(100% - 180px);
  margin-left: 180px;
}

.wordmark-main {
  font-size: 1.4rem;
}

.wordmark-sub {
  font-size: 0.55rem;
}

.rail-rule {
  height: 2px;
  margin: 10px 0;
}

.rail-nav {
  gap: 1px;
}

.rail-link {
  padding: 5px 2px;
  color: blue;
  font-size: 0.8rem;
}

.rail-link:hover,
.rail-link.active {
  background: white;
  border: 2px solid red;
}

.topline {
  min-height: 45px;
  padding: 5px 10px;
  border-bottom: 2px solid black;
}

.top-actions {
  gap: 5px;
  font-size: 0.55rem;
}

.content-wrap {
  max-width: 850px;
  padding: 15px 10px 25px;
}

.home-hero {
  min-height: 360px;
  padding: 15px 10px 10px;
  background: #ff99cc !important;
  border: 2px solid black;
}

.home-hero:after {
  right: 5%;
  bottom: -60px;
  width: 120px;
  height: 120px;
  background: lime;
  border: 2px solid blue;
  transform: rotate(5deg);
}

h1,
h2,
h3,
.chart-head h3,
.forge-prompt h3,
.state-box h3,
.market-price,
.board-mark {
  font-family: "Comic Sans MS", cursive;
  letter-spacing: 0;
}

h1 {
  margin: 10px 0 14px;
  font-size: 3.5rem;
  line-height: 1;
}

.lede {
  line-height: 1.2;
}

.button-primary,
.search-submit {
  border: 2px solid black;
  padding: 8px;
  background: red;
  color: white;
  box-shadow: none;
  border-radius: 0;
}

.hero-index {
  padding: 7px;
  background: white;
  border: 2px solid black;
  font-family: "Comic Sans MS", cursive;
}

.page-heading {
  display: block;
  margin: 20px 0 12px;
}

.page-heading h2 {
  margin: 4px 0 8px;
  font-size: 3rem;
}

.heading-meta {
  max-width: none;
  line-height: 1.2;
}

.search-strip {
  display: block;
  margin-bottom: 15px;
}

.search-input-wrap {
  height: 38px;
  border: 2px solid black;
}

.search-input {
  padding: 7px;
}

.search-submit {
  width: auto;
  height: 36px;
  margin-top: 4px;
  border-left: 2px solid black;
  background: blue;
}

.result-grid,
.board-grid,
.repo-grid,
.market-grid,
.support-grid,
.forge-layout {
  grid-template-columns: 1fr;
  gap: 8px;
}

.result-card,
.board-card,
.repo-card,
.support-card,
.market-card,
.idea-card,
.chart-block,
.forge-prompt,
.state-box {
  padding: 9px;
  border: 2px solid black;
  box-shadow: none;
}

.result-card:hover,
.board-card:hover,
.repo-card:hover,
.support-card:hover,
.market-card:hover {
  box-shadow: none;
}

.result-card h3,
.board-card h3,
.repo-card h3,
.support-card h3,
.idea-card h3 {
  font-size: 1.3rem;
  margin: 10px 0 5px;
}

.result-card p,
.board-card p,
.repo-card p,
.support-card p,
.idea-card p {
  line-height: 1.2;
}

.board-card {
  gap: 8px;
}

.board-mark {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  background: lime;
  border: 2px solid black;
}

.tag,
.filter-chip {
  padding: 3px;
  border: 2px solid black;
  background: yellow;
}

.chart-svg {
  height: 100px;
  margin-top: 8px;
}

.forge-prompt {
  background: #00ffff;
}

.footer-note {
  padding: 8px 10px;
  border-top: 2px solid black;
}

@media (max-width: 850px) {
  .side-rail {
    width: 180px;
  }

  .main-stage {
    width: 100%;
    margin-left: 0;
  }
}
