:root {
  --ink: #14120b;
  --paper: #f4efe4;
  --yellow: #ffe500;
  --black: #14120b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.45;
}
h1, h2, h3, .num, .kicker, .top nav a, .cta, .ghost, .prompts button, .chat-toggle, #send {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.hero :focus-visible, .ask :focus-visible, .stop :focus-visible, .chat-panel :focus-visible { outline-color: var(--yellow); }
.wrap { max-width: 1120px; margin: 0 auto; }
.top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.2rem 1rem;
  padding: 0.2rem 0.8rem 0.2rem 1rem;
  background: var(--yellow);
  color: var(--black);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--black);
}
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  line-height: 0.95;
}
.brand strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.55rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.brand span { font-family: "IBM Plex Sans", sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; }
.top nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.15rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.7rem;
}
.top .cta { background: var(--black); color: var(--yellow); }
.cta, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 44px;
  padding: 0 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.45rem;
  line-height: 1;
}
.cta { background: var(--yellow); color: var(--black); }
.ghost { background: transparent; color: var(--black); border: 2px solid var(--black); }
.hero .ghost { color: var(--yellow); border-color: var(--yellow); }
.hero {
  background: var(--black);
  color: #fff;
  padding: 2.2rem 1.15rem 2.4rem;
}
.hero h1 {
  font-size: clamp(3.3rem, 8vw, 6.6rem);
  font-weight: 800;
  line-height: 0.86;
  text-transform: uppercase;
  max-width: 14ch;
  margin: 0.25rem 0 1rem;
}
.kicker {
  color: var(--yellow);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}
.lede { font-family: "IBM Plex Sans", sans-serif; font-weight: 400; font-size: 1.12rem; letter-spacing: 0; max-width: 38rem; color: #fff; }
.hero .actions { margin-top: 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
section { scroll-margin-top: 7.5rem; }
.band { background: var(--yellow); color: var(--black); padding: 1.4rem 1.15rem 1.6rem; }
.band h2, #collectors h2, #honesty h2, section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 0.8rem;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--black); margin-top: 0.2rem; }
.steps > div { padding: 1rem 1.1rem 0.2rem 0; }
.steps > div + div { padding-left: 1.1rem; border-left: 2px solid var(--black); }
.num { display: block; font-size: 2.6rem; line-height: 0.9; }
.steps h3 { font-size: 2rem; text-transform: uppercase; line-height: 1; margin: 0.15rem 0 0.35rem; }
.steps p, .split p, section p { font-family: "IBM Plex Sans", sans-serif; font-weight: 400; letter-spacing: 0; }
.fine { margin-top: 0.9rem; font-weight: 600; }
#collectors, #honesty, section { padding: 2rem 1.15rem; }
#collectors, #honesty { background: var(--paper); }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th, td { text-align: left; padding: 0.85rem 0.7rem; vertical-align: top; border-bottom: 1px solid var(--black); }
th {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  border-bottom: 3px solid var(--black);
}
td:first-child { font-weight: 700; width: 38%; }
.split { display: grid; grid-template-columns: 1fr 1fr; border: 3px solid var(--black); }
.split > div { padding: 1.1rem 1.15rem 1.25rem; }
.split h3 { font-size: 2.4rem; text-transform: uppercase; line-height: 0.9; margin-bottom: 0.45rem; }
.stop { background: var(--black); color: #fff; }
.stop h3 { color: var(--yellow); }
.rule {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 3px solid var(--black);
  max-width: 44rem;
  font-weight: 600;
}
.ask { background: var(--black); color: #fff; }
.ask h2 { color: var(--yellow); }
.prompts { display: grid; gap: 0.45rem; max-width: 36rem; }
.prompts button, .chat-toggle, #send, .chat-panel header button { min-height: 48px; min-width: 48px; }
.prompts button {
  background: var(--yellow);
  color: var(--black);
  border: 0;
  text-align: left;
  text-transform: uppercase;
  font-size: 1.7rem;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
}
.apply { background: var(--yellow); color: var(--black); }
.apply .cta { background: var(--black); color: var(--yellow); }
.apply .ghost { color: var(--black); border-color: var(--black); }
.apply .actions { margin-top: 0.9rem; }
footer { background: var(--black); color: #fff; padding: 1.2rem 1.15rem 6rem; }
footer p + p { margin-top: 0.35rem; }
.chat-toggle {
  position: static;
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  padding: 0 0.75rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  cursor: pointer;
}
.chat-panel { z-index: 40; }
.chat-panel {
  position: fixed;
  right: 0.8rem;
  bottom: 4.5rem;
  width: min(420px, calc(100vw - 1.2rem));
  height: min(540px, 72vh);
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--black);
  display: none;
  flex-direction: column;
  z-index: 31;
}
.chat-panel.open { display: flex; }
.chat-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 0.35rem 0 0.85rem;
  background: var(--black);
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.chat-panel header button {
  background: none;
  border: 0;
  color: var(--yellow);
  font-size: 1.8rem;
  cursor: pointer;
}
.msgs { flex: 1; overflow-y: auto; padding: 0.85rem; }
.msg { max-width: 95%; margin-bottom: 0.75rem; }
.msg p { white-space: pre-wrap; }
.user { margin-left: auto; background: var(--yellow); color: var(--black); padding: 0.45rem 0.6rem; }
.bot { border-left: 4px solid var(--black); padding-left: 0.6rem; }
.composer { display: flex; gap: 0.4rem; padding: 0.5rem; border-top: 3px solid var(--black); }
#user-input {
  flex: 1;
  min-height: 48px;
  resize: none;
  border: 2px solid var(--black);
  padding: 0.5rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
#send {
  background: var(--black);
  color: var(--yellow);
  border: 0;
  padding: 0 0.85rem;
  font-size: 1.3rem;
  text-transform: uppercase;
  cursor: pointer;
}
@media (max-width: 800px) {
  .top { align-items: stretch; }
  .top nav { width: 100%; }
  .hero .actions a, .apply .actions a, .actions a { flex: 1 1 100%; }
  .steps, .split { grid-template-columns: 1fr; }
  .steps > div + div { border-left: 0; padding-left: 0; border-top: 2px solid var(--black); margin-top: 0.4rem; }
  table, thead, tbody, tr, td { display: block; width: auto; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { padding: 0.75rem 0; border-bottom: 2px solid var(--black); }
  td { border: 0; padding: 0.1rem 0; }
  td:first-child { background: var(--yellow); display: inline-block; padding: 0.15rem 0.4rem; margin-bottom: 0.3rem; }
  td[data-h]::before {
    content: attr(data-h);
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-top: 0.2rem;
  }
}
