/* Cohorlo Phase 0 static demo */
:root {
  --mango: #ffb627;
  --mango-deep: #d98a00;
  --pink: #ff7aa2;
  --pink-deep: #c8425c;
  --blue: #557fd8;
  --blue-deep: #244caa;
  --cream: #fff7e6;
  --cream-deep: #f2e3bd;
  --ink: #1a1a2e;
  --ink-soft: #3d3d5c;
  --muted: #74748f;
  --line: rgba(26, 26, 46, 0.12);
  --line-soft: rgba(26, 26, 46, 0.06);
  --shadow-sm: 0 2px 10px rgba(26, 26, 46, 0.07);
  --shadow-md: 0 10px 30px rgba(26, 26, 46, 0.12);
  --shadow-lg: 0 24px 70px rgba(26, 26, 46, 0.16);
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 32px;
  background: rgba(255, 247, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mango), var(--pink));
  box-shadow: 0 0 0 4px rgba(255, 182, 39, 0.18);
}
.brand-stack { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word { font-family: "Caprasimo", serif; font-size: 22px; }
.brand-tag { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream) !important;
}

.block-mango { background: var(--mango); }
.block-pink { background: var(--pink); }
.block-blue { background: var(--blue); color: var(--cream); }
.block-cream { background: var(--cream); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 24px 88px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 0.7fr);
  gap: 36px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}
.hero-copy { max-width: 720px; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(62px);
  opacity: 0.48;
  pointer-events: none;
}
.blob-pink { background: var(--pink); }
.blob-blue { background: var(--blue); }
.hero-blob-1 { width: 340px; height: 340px; top: -90px; left: -80px; }
.hero-blob-2 { width: 420px; height: 420px; right: -120px; bottom: -130px; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow-light { color: rgba(255, 247, 230, 0.82); }
.hero-title, .section-title {
  font-family: "Caprasimo", serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero-title {
  margin: 0 0 24px;
  font-size: clamp(44px, 7vw, 80px);
}
.title-crossout {
  position: relative;
  display: inline-block;
  color: var(--pink-deep);
}
.title-crossout::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  top: 54%;
  height: 0.14em;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(-4deg);
  transform-origin: center;
}
.hero-sub {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 19px;
}
.hero-ctas, .lab-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas { margin-bottom: 14px; }
.hero-tag { color: rgba(26, 26, 46, 0.72); font-size: 13px; }
.hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hub-actions-secondary .btn {
  min-height: 38px;
  padding: 10px 16px;
  font-size: 13px;
}
.hub-actions-secondary .btn-primary { background: rgba(26, 26, 46, 0.88); }
.signal-banner {
  overflow: hidden;
  border-block: 1px solid rgba(26, 26, 46, 0.15);
  background: var(--ink);
  color: var(--cream);
}
.signal-track {
  display: flex;
  width: max-content;
  animation: signal-scroll 30s linear infinite;
}
.signal-track span {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 28px;
  color: rgba(255, 247, 230, 0.88);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.signal-track span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 16px;
  border-radius: 50%;
  background: var(--mango);
  box-shadow: 0 0 0 5px rgba(255, 182, 39, 0.15);
}
@keyframes signal-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .signal-track { animation: none; }
}
.join-card {
  padding: 24px;
  border: 1px solid rgba(26, 26, 46, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 247, 230, 0.94);
  box-shadow: var(--shadow-lg);
}
.join-card h2 {
  margin-bottom: 8px;
  font-family: "Caprasimo", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.08;
}
.join-card p { color: var(--ink-soft); }
.join-card .join-form { margin-top: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-sm { min-height: 36px; padding: 9px 16px; font-size: 13px; }

.feature-section, .about-section, .join { padding: 88px 0; }
.page-first { min-height: calc(100vh - 74px); }
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head-light .lede { color: rgba(255, 247, 230, 0.9); }
.section-title { margin-bottom: 16px; font-size: clamp(34px, 5vw, 56px); }
.section-title-light { color: var(--cream); }
.lede { color: var(--ink-soft); font-size: 18px; }
.lede-light { color: rgba(255, 247, 230, 0.9); }

.mvp-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.mvp-tile {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid rgba(26, 26, 46, 0.13);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mvp-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mvp-tile span {
  color: var(--muted);
  font: 700 13px/1 "JetBrains Mono", monospace;
}
.mvp-tile h3 {
  margin-top: auto;
  font-family: "Caprasimo", serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1;
}
.mvp-tile p { color: var(--ink-soft); }
.mvp-tile-blue { background: #dfe9ff; }
.mvp-tile-pink { background: #ffe7ef; }

.question-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items: start;
}
.question-list, .question-detail, .designer-panel, .designer-preview, .room-sidebar, .room-main, .room-chat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}
.question-list {
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding: 16px;
}
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
}
.chip:hover { background: var(--cream-deep); }
.chip-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.question-item {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  text-align: left;
}
.question-item:hover, .question-item.active { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--mango); }
.question-item strong { display: block; margin-bottom: 3px; font-size: 14px; }
.question-item span { color: var(--muted); font-size: 12px; }
.question-detail { padding: 24px; }
.question-detail h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}
.detail-topline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
}
.pill-light { background: rgba(26, 26, 46, 0.08); color: var(--ink-soft); }
.pill-dark { background: var(--ink); color: var(--cream); }
.score-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fff1cc;
  color: var(--ink-soft);
  font-size: 13px;
}
.score-strip strong { color: var(--ink); font: 700 16px/1 "JetBrains Mono", monospace; }
.score-line {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 800;
}
.question-detail h3, .designer-preview h3, .room-header h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.2;
}
.data-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}
.mini-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
pre {
  overflow-x: auto;
  border-radius: var(--radius);
  background: #202033;
  color: #d9e3ff;
  font: 12px/1.55 "JetBrains Mono", monospace;
  padding: 14px;
  white-space: pre-wrap;
}
.sql-editor {
  width: 100%;
  min-height: 176px;
  margin: 4px 0 14px;
  padding: 16px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #202033;
  color: #d9e3ff;
  font: 13px/1.55 "JetBrains Mono", monospace;
  tab-size: 2;
}
.sql-editor:focus, input:focus, textarea:focus, select:focus { outline: 3px solid rgba(255, 182, 39, 0.55); }
.judge-card, .answer-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink-soft);
}
.judge-card strong { color: var(--ink); }
.answer-card {
  background: #fff1cc;
}
.answer-card pre {
  margin-top: 8px;
  background: #1a1a2e;
}
.question-more {
  width: 100%;
  margin-top: 8px;
}

.designer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) 1.05fr;
  gap: 18px;
}
.designer-panel, .designer-preview { padding: 22px; color: var(--ink); }
.designer-panel label {
  display: block;
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}
.designer-panel input, .designer-panel textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
}
.rubric-controls {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}
.rubric-controls label { margin: 0; font-weight: 700; }
.rubric-list { display: grid; gap: 8px; margin-top: 14px; }
.rubric-list span {
  display: block;
  padding: 9px 11px;
  border-radius: var(--radius);
  background: #fff1cc;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.lobby-section-head {
  max-width: 820px;
  margin-bottom: 34px;
  text-align: left;
}
.lobby-section-head .lede { margin: 0; }
.mock-lobby-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 22px;
  align-items: stretch;
  min-height: 760px;
}
.lobby-board {
  display: grid;
  gap: 28px;
  align-content: start;
  height: 100%;
}
.lobby-group {
  padding: 22px;
  border: 1px solid rgba(26, 26, 46, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.74);
  box-shadow: var(--shadow-sm);
}
.lobby-group-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.lobby-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.lobby-group-head h2 {
  font-family: "Caprasimo", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1;
}
.lobby-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink-soft);
  font: 800 12px/1 "JetBrains Mono", monospace;
  white-space: nowrap;
}
.lobby-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink-soft);
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}
.lobby-filter select {
  min-height: 28px;
  max-width: 126px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 800 12px/1 "DM Sans", sans-serif;
}
.lobby-filter select:focus {
  outline: 2px solid rgba(85, 127, 216, 0.28);
  outline-offset: 2px;
}
.lobby-room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(178px, 1fr));
  gap: 22px;
}
.lobby-room-tile {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 19px 20px 21px;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 46, 0.2);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  box-shadow:
    inset 9px 9px 18px rgba(255, 255, 255, 0.46),
    inset -10px -12px 0 rgba(26, 26, 46, 0.14),
    9px 11px 0 rgba(26, 26, 46, 0.2),
    0 18px 30px rgba(26, 26, 46, 0.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.lobby-room-tile::before {
  content: "";
  position: absolute;
  inset: 7px 7px auto;
  height: 42%;
  border-radius: 10px 10px 40% 40%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.18) 54%, rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}
.lobby-room-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0) 31%),
    linear-gradient(315deg, rgba(26, 26, 46, 0.2), rgba(26, 26, 46, 0) 44%);
  pointer-events: none;
  z-index: 0;
}
.lobby-room-tile > * {
  position: relative;
  z-index: 1;
}
.lobby-room-tile:hover,
.lobby-room-tile:focus-visible {
  border-color: var(--ink);
  box-shadow:
    inset 10px 10px 20px rgba(255, 255, 255, 0.52),
    inset -11px -13px 0 rgba(26, 26, 46, 0.18),
    11px 13px 0 rgba(26, 26, 46, 0.28),
    0 22px 36px rgba(26, 26, 46, 0.18);
  transform: translate(-2px, -3px);
  outline: none;
}
.lobby-room-tile.is-live { background: linear-gradient(145deg, #90f8b5 0%, #4ee08a 58%, #25aa63 100%); }
.lobby-room-tile.is-waiting { background: linear-gradient(145deg, #ffeaa0 0%, #ffd052 58%, #d9961f 100%); }
.lobby-room-tile.room-type-data { background: linear-gradient(145deg, #b7f0ff 0%, #52d9ff 55%, #1793d6 100%); }
.lobby-room-tile.room-type-product { background: linear-gradient(145deg, #ffc5da 0%, #ff86b7 55%, #db3b7a 100%); }
.lobby-room-tile.room-type-strategy { background: linear-gradient(145deg, #ffe1a3 0%, #ffc247 55%, #d77f22 100%); }
.lobby-room-tile.room-type-software { background: linear-gradient(145deg, #d2ffb9 0%, #9cff6f 55%, #45bf44 100%); }
.lobby-room-tile.is-live.room-type-data { background: linear-gradient(145deg, #a2fff6 0%, #24d7c8 52%, #118b9e 100%); }
.lobby-room-tile.is-live.room-type-product { background: linear-gradient(145deg, #ffbfd8 0%, #ff5f9f 52%, #c51f68 100%); }
.lobby-room-tile.is-live.room-type-strategy { background: linear-gradient(145deg, #ffd49a 0%, #ff9c38 52%, #bd581b 100%); }
.lobby-room-tile.is-live.room-type-software { background: linear-gradient(145deg, #caffaa 0%, #69e86a 52%, #28a747 100%); }
.tile-topline,
.tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.tile-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(26, 26, 46, 0.72);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.tile-role {
  color: rgba(26, 26, 46, 0.68);
  font: 800 9px/1 "JetBrains Mono", monospace;
  overflow-wrap: anywhere;
}
.lobby-room-tile h3 {
  align-self: end;
  margin: 10px 8px 0;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
}
.tile-purpose {
  display: block;
  margin-top: 5px;
  color: rgba(26, 26, 46, 0.74);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.tile-room-meta {
  display: grid;
  align-content: center;
  gap: 5px;
  margin: 8px 0 6px;
  color: rgba(26, 26, 46, 0.74);
  font-size: 10px;
  font-weight: 800;
  min-width: 0;
}
.tile-room-meta span {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(26, 26, 46, 0.15);
}
.tile-room-meta strong {
  color: var(--ink);
  font: 800 10px/1 "JetBrains Mono", monospace;
  white-space: nowrap;
}
.tile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  max-width: 96px;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}
.schedule-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 100%;
  max-height: min(760px, calc(100vh - 116px));
  padding: 20px;
  border: 1px solid rgba(26, 26, 46, 0.14);
  border-radius: var(--radius);
  background: #fffaf0;
  box-shadow: var(--shadow-md);
}
.schedule-panel-head h2 {
  margin-bottom: 8px;
  font-family: "Caprasimo", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}
.schedule-panel-head p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 14px;
}
.schedule-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 18px 0;
}
.schedule-filters label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.schedule-filters select {
  min-height: 40px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font-weight: 800;
}
.schedule-filters select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(85, 127, 216, 0.22);
}
.schedule-pair-list {
  display: grid;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-color: rgba(26, 26, 46, 0.28) transparent;
}
.schedule-pair-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}
.schedule-pair-card h3 {
  margin: 10px 0 2px;
  font-size: 18px;
  line-height: 1.1;
}
.schedule-pair-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}
.schedule-pair-card strong {
  display: block;
  margin: 12px 0;
  color: var(--ink-soft);
  font-size: 13px;
}
.schedule-pair-card .btn { width: 100%; }
.pair-card-top,
.pair-detail-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pair-kind,
.pair-price,
.pair-detail-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 8px;
  border-radius: var(--radius);
  background: #fff1cc;
  color: var(--ink-soft);
  font: 800 11px/1 "JetBrains Mono", monospace;
}
.pair-kind {
  background: var(--ink);
  color: var(--cream);
}
.pair-kind.is-free {
  background: #ffe9f0;
  color: var(--pink-deep);
}
.pair-price {
  background: var(--mango);
  color: var(--ink);
}
.schedule-empty {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink-soft);
  font-size: 13px;
}
.schedule-empty strong { color: var(--ink); }

.room-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: end;
  margin: 36px 0 18px;
}
.room-hub .section-title { font-size: clamp(34px, 5vw, 58px); }
.room-hub .lede { max-width: 760px; }
.host-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}
.host-panel p {
  margin: 8px 0 14px;
  color: rgba(255, 247, 230, 0.74);
  font-size: 13px;
}
.host-score {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 247, 230, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 247, 230, 0.1);
  color: var(--mango);
  font: 700 12px/1 "JetBrains Mono", monospace;
}
.host-panel .btn { width: 100%; }
.room-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(360px, 1fr) 280px;
  gap: 18px;
  align-items: stretch;
}
.room-sidebar, .room-main, .room-chat { padding: 18px; }
.room-sidebar { grid-row: span 1; }
.room-chat { grid-column: auto; }
.room-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a8b5f;
  box-shadow: 0 0 0 6px rgba(42, 139, 95, 0.14);
}
.peer-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.peer-card small { display: block; color: var(--muted); font-size: 12px; }
.peer-card > div { flex: 1; min-width: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; }
.avatar-a { background: linear-gradient(135deg, var(--mango), var(--pink)); }
.avatar-b { background: linear-gradient(135deg, var(--blue), var(--mango)); }
.avatar-c { background: linear-gradient(135deg, #2a8b5f, var(--blue)); }
.room-sidebar .btn { width: 100%; margin-top: 8px; }
.seat-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.topic-grid .chip { min-width: 64px; }
.room-locked { display: none; }
.room-question-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}
.room-tile-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.room-question-chip {
  position: relative;
  width: 100%;
  min-height: 128px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.room-question-chip:hover,
.room-question-chip.active {
  border-color: var(--ink);
  box-shadow: inset 0 -4px 0 var(--blue), var(--shadow-sm);
  transform: translateY(-2px);
}
.room-question-chip strong {
  display: block;
  min-height: 32px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
}
.room-question-chip span { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.room-question-chip .tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.room-question-chip .tile-meta i {
  display: inline-block;
  padding: 5px 7px;
  border-radius: var(--radius);
  background: white;
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 800;
}
.room-question-chip .tile-seats {
  position: absolute;
  right: 10px;
  bottom: 9px;
  color: var(--pink-deep);
  font: 700 11px/1 "JetBrains Mono", monospace;
}
.readiness {
  margin-bottom: 14px;
  padding: 10px;
  border-radius: var(--radius);
  background: #fff1cc;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}
.room-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.timer {
  min-width: 84px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  font: 700 18px/1 "JetBrains Mono", monospace;
  text-align: center;
}
.room-meta { color: var(--muted); font-size: 13px; font-weight: 800; }
.room-answer-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.room-answer-strip span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff1cc;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}
.room-editor { min-height: 250px; margin-top: 18px; }
.friend-panel { margin-bottom: 12px; }
.friend-action {
  flex: 0 0 auto;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff1cc;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.friend-action:hover { border-color: var(--ink); background: var(--mango); }
.messenger-label { margin-top: 18px; }
.chat-log {
  display: grid;
  gap: 10px;
  min-height: 128px;
  margin-bottom: 12px;
}
.chat-message {
  border-radius: var(--radius);
  background: #fff1cc;
  padding: 10px;
  color: var(--ink-soft);
  font-size: 13px;
}
.chat-message strong { display: block; color: var(--ink); font-size: 12px; }
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.lobby-callout {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4a 100%);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}
.lobby-callout::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 182, 39, 0.25), transparent 70%);
  pointer-events: none;
}
.lobby-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.lobby-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.lobby-title {
  flex: 1;
  color: var(--cream);
  font-family: "Caprasimo", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
}
.lobby-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mango);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}
.lobby-sub {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 22px;
  color: rgba(255, 247, 230, 0.85);
  font-size: 15px;
}
.lobby-queues {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.lobby-queue {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 247, 230, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 247, 230, 0.08);
  color: var(--cream);
  cursor: pointer;
  text-align: left;
}
.lobby-queue:hover {
  border-color: var(--mango);
  background: rgba(255, 182, 39, 0.18);
  transform: translateY(-2px);
}
.lobby-q-role { font-weight: 800; font-size: 14px; }
.lobby-q-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 247, 230, 0.7);
  font-size: 12px;
}
.lobby-foot {
  position: relative;
  z-index: 1;
  color: rgba(255, 247, 230, 0.62);
  font-size: 12px;
  text-align: center;
}
.mentor-market { margin-bottom: 30px; }
.mentor-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mentor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mentor-buddy { background: #ffe9f0; }
.mentor-avatar {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
}
.mentor-avatar-1 { background: linear-gradient(135deg, var(--mango), var(--pink)); }
.mentor-avatar-2 { background: linear-gradient(135deg, var(--blue), var(--mango)); }
.mentor-avatar-3 { background: linear-gradient(135deg, var(--pink), var(--blue)); }
.mentor-name { margin-bottom: 4px; font-size: 18px; font-weight: 800; }
.verified {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--mango);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.mentor-role { margin-bottom: 4px; color: var(--ink-soft); font-size: 13px; }
.mentor-specs { margin-bottom: 16px; color: var(--muted); font-size: 12px; }
.mentor-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}
.mentor-score {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  white-space: nowrap;
}
.mentor-price { margin-bottom: 14px; font-size: 17px; font-weight: 800; }
.mentor-price.free { color: var(--pink-deep); }
.pair-explainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0 0 32px;
}
.explainer-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.explainer-num {
  color: var(--mango-deep);
  font-family: "Caprasimo", serif;
  font-size: 32px;
  line-height: 1;
}
.explainer-item p { color: var(--ink-soft); font-size: 14px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: 28px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}
.card-pink { background: #ffe7ef; border: 1px solid rgba(200, 66, 92, 0.2); }
.card-mango { background: #fff1cc; border: 1px solid rgba(217, 138, 0, 0.22); }
.card-eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card ul { list-style: none; }
.card li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.card li:last-child { border-bottom: 0; }
.bad li::before, .good li::before { position: absolute; left: 2px; font-weight: 900; }
.bad li::before { content: "x"; color: var(--pink-deep); }
.good li::before { content: "+"; color: var(--mango-deep); }
.rating-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.rating-tile {
  padding: 20px;
  border: 1px solid rgba(26, 26, 46, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 247, 230, 0.68);
}
.rating-pillar { margin-bottom: 8px; font-weight: 800; }
.rating-weight {
  margin-bottom: 8px;
  font-family: "Caprasimo", serif;
  font-size: 40px;
  line-height: 1;
}
.rating-detail { color: var(--ink-soft); font-size: 13px; }

.join-inner { max-width: 760px; text-align: center; }
.join .lede { margin: 0 auto 30px; }
.join-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-md);
  text-align: left;
}
.bot-field { display: none; }
.join-form input, .join-form select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
  color: var(--ink);
  padding: 13px 17px;
}
.join-form button { grid-column: 1 / -1; }
.join-form button:disabled { cursor: progress; opacity: 0.7; transform: none; }
.join-meta { color: var(--ink-soft); font-size: 13px; }

.footer { padding: 38px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand { font-family: "Caprasimo", serif; font-size: 20px; }
.footer-small, .footer-links a { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero-inner, .question-shell, .designer-grid, .room-shell, .mvp-grid { grid-template-columns: 1fr; }
  .room-hub { grid-template-columns: 1fr; }
  .mock-lobby-layout { grid-template-columns: 1fr; }
  .schedule-panel { position: static; }
  .schedule-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-pair-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-sidebar, .room-chat { grid-column: auto; grid-row: auto; }
  .question-list { position: static; }
  .grid-3, .pair-explainer { grid-template-columns: 1fr; }
  .lobby-room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lobby-queues { grid-template-columns: repeat(2, 1fr); }
  .rating-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav { align-items: flex-start; padding: 12px 18px; }
  .nav-links { justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
  .nav-links a { font-size: 12px; }
  .hero { padding: 58px 18px 70px; }
  .feature-section, .about-section, .join { padding: 64px 0; }
  .data-preview, .grid-2, .rating-grid, .join-form, .lobby-queues { grid-template-columns: 1fr; }
  .join-form { border-radius: var(--radius); }
  .lobby-group { padding: 16px; }
  .lobby-group-head { align-items: flex-start; flex-direction: column; }
  .lobby-room-grid { grid-template-columns: 1fr; }
  .schedule-filters, .schedule-pair-list { grid-template-columns: 1fr; }
  .lobby-header { align-items: flex-start; flex-direction: column; }
  .room-header { flex-direction: column; }
  .room-tile-board { grid-template-columns: 1fr; }
}
