/* Extra layouts for the Bot Shop landing. Sits on top of system.css. */

.learn-board-page .board.board-fv.board-stack {
  grid-template-rows: auto 1fr auto;
  min-height: auto;
  margin-top: 18px;
}

.hero-wrap {
  height: auto;
  min-height: 280px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.launch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 18px 22px;
}

.launch-bar p {
  font-size: 15px;
  color: var(--white);
  line-height: 1.4;
  max-width: 58ch;
  margin: 0;
}

.launch-bar p span {
  color: var(--muted);
}

.code-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 197, 66, 0.55);
  background: rgba(245, 197, 66, 0.12);
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.story {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.story .when {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.story.cyan .when { color: var(--cyan); }
.story.purple .when { color: var(--purple); }
.story.gold .when { color: var(--gold); }

.story h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.story p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.how {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
}

.how .n {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.how.cyan .n {
  background: rgba(0, 210, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 210, 255, 0.4);
}

.how.purple .n {
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.how.gold .n {
  background: rgba(245, 197, 66, 0.12);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 66, 0.5);
}

.how h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.how p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.letter {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.letter h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.letter p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 48ch;
}

.letter p.plain {
  color: var(--white);
}

.signoff {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.signoff strong {
  color: var(--cyan);
  font-size: 16px;
}

.signoff span {
  font-size: 13px;
  color: var(--muted);
}

.fit {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fit h3 {
  font-size: 18px;
  font-weight: 800;
}

.fit.cyan h3 { color: var(--cyan); }
.fit.purple h3 { color: var(--purple); }

.fit ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fit li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.35;
}

.fit li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 7px;
  flex: 0 0 auto;
}

.fit.cyan li::before {
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.fit.purple li::before {
  background: var(--purple);
  box-shadow: 0 0 6px var(--purple);
}

.tier a.cta {
  margin-top: auto;
}

.stack.stack-list {
  grid-template-columns: 1fr;
  grid-template-rows: none;
}

.cell p {
  font-size: 13px;
}

@media (max-width: 1100px) {
  .story-grid,
  .how-grid,
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

a.card {
  text-decoration: none;
  color: inherit;
}
a.card .more,
.card .more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
}
.story.cyan .more { color: var(--cyan); }
.story.purple .more { color: var(--purple); }
.story.gold .more { color: var(--gold); }
a.card.cyan .more { color: var(--cyan); }
a.card.purple .more { color: var(--purple); }
a.card.gold .more,
a.card.gold-seat .more { color: var(--gold); }

.more-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 4px;
}
.more-row a {
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
}

#chief, #inbox, #calendar, #voice, #follow-up, #brief {
  scroll-margin-top: 24px;
}

.bot-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.bot-btn {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-align: center;
}
.bot-btn.cyan {
  color: var(--cyan);
  border: 1px solid rgba(0, 210, 255, 0.45);
  background: rgba(0, 210, 255, 0.08);
  box-shadow: var(--glow-cyan);
}
.bot-btn.purple {
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.1);
  box-shadow: var(--glow-purple);
}
.bot-btn.gold {
  color: var(--gold);
  border: 1px solid rgba(245, 197, 66, 0.5);
  background: rgba(245, 197, 66, 0.1);
  box-shadow: var(--glow-gold);
}
.bot-bar-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 1100px) {
  .bot-bar,
  .examples {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .story-grid,
  .how-grid,
  .split,
  .bot-bar,
  .examples {
    grid-template-columns: 1fr;
  }
  .launch-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
