/* Document type for the public pages. Bencho components carry
   their own tokens on .sld and .eyt. This sheet does not set those. */
html, body { margin: 0; background: #ffffff; color: #000000; }
body {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #000000;
  color: #ffffff;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 16px 20px;
  padding-top: max(16px, env(safe-area-inset-top));
  border-bottom: 1px solid #000000;
  position: sticky;
  top: 0;
  z-index: 5;
  background: #ffffff;
}
.nav-links {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.brand { margin-right: auto; font-weight: 500; text-decoration: none; letter-spacing: -0.03em; }
.nav a:not(.brand) {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 #000000; }

main { width: min(880px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 80px; animation: page-in 420ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kicker { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 500; letter-spacing: -0.05em; line-height: 0.98; }
h2 { font-weight: 500; letter-spacing: -0.03em; }
.lead { max-width: 38em; margin: 14px 0 0; color: #3a3a3a; }
.quiet { color: #3a3a3a; }

.faces {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  align-items: flex-end;
  margin: 28px 0 8px;
}
.faces figure { margin: 0; }
.faces figcaption { margin-top: 6px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.faces .eyt-slot, .faces .eyt { width: 76px; height: 76px; background: transparent; }
.faces.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 22px 14px; align-items: start; }
.face-btn { display: grid; justify-items: start; gap: 6px; margin: 0; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.face-btn .cap { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.35; }
.face-btn[aria-pressed="true"] .cap { box-shadow: inset 0 -1px 0 #000000; }
.roster .eyt-slot, .roster .eyt { width: 64px; height: 64px; }

.stack { margin-top: 36px; }
.stack article, .plan, .section { padding: 18px 0; border-top: 1px solid #000000; }
.stack h2, .plan h2, .section h2 { margin: 0 0 8px; font-size: 16px; }
.stack p, .plan p, .section p, .section li { margin: 0; color: #3a3a3a; font-size: 14px; }
.section ul { margin: 8px 0 0; padding-left: 18px; }
.section li + li { margin-top: 6px; }
.plan strong, .stat strong { display: block; margin: 8px 0 4px; font-size: 28px; font-weight: 500; letter-spacing: -0.04em; color: #000000; }
.plans, .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin-top: 8px; }
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 28px; margin-top: 8px; }
.models article { padding: 16px 0; border-top: 1px solid #000000; }
.models strong { display: block; font-weight: 500; letter-spacing: -0.03em; }
.models span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #3a3a3a; }
.plans.four { grid-template-columns: repeat(2, 1fr); }

.steps { list-style: none; margin: 28px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid #000000; }
.steps span { font-size: 12px; letter-spacing: 0.08em; }
.steps h2 { margin: 0 0 4px; font-size: 16px; }
.steps p { margin: 0; color: #3a3a3a; }

.close { margin-top: 36px; padding-top: 8px; }
.note { margin: 10px 0 0; font-size: 12px; color: #3a3a3a; }
.links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.links a { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid #000000; }

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 16px 20px 28px;
  border-top: 1px solid #000000;
  font-size: 12px;
}
footer a { text-decoration: none; }

.confirm-slot { margin-top: 22px; max-width: 100%; }
.commit-target {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.status-line {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #000000;
  font: 500 13px/1.4 "JetBrains Mono", ui-monospace, monospace;
  text-align: left;
  pointer-events: none;
}

form { display: grid; gap: 12px; margin-top: 18px; }
label { display: grid; gap: 6px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
input, textarea, select {
  width: 100%;
  font: 400 14px/1.4 "JetBrains Mono", ui-monospace, monospace;
  color: #000000;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #000000;
  padding: 10px 0;
}
textarea { min-height: 140px; resize: vertical; }
.text-btn {
  justify-self: start;
  font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  color: #000000;
  border: 0;
  border-bottom: 1px solid #000000;
  padding: 0 0 4px;
  cursor: pointer;
}
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.row, .career-job, .receipt-row { border-top: 1px solid #000000; padding: 16px 0; }
.career-job h3, .row h3 { margin: 0 0 6px; font-size: 15px; font-weight: 500; }
.career-job p { margin: 0 0 6px; color: #3a3a3a; font-size: 13px; }
button.button {
  font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  color: #000000;
  border: 0;
  border-bottom: 1px solid #000000;
  padding: 0 0 4px;
  cursor: pointer;
}
.row p, .row span { display: block; margin: 0; color: #3a3a3a; font-size: 13px; }
dialog {
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  max-width: min(440px, calc(100vw - 32px));
  padding: 20px;
}
dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
progress { width: 100%; height: 8px; accent-color: #000000; }
#trialBanner { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid #000000; font-size: 13px; }
#trialBanner.on { display: flex; }
#trialBanner a, #trialBanner button { font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid #000000; cursor: pointer; }
#stayPanel { display: none; }
#stayPanel.on { display: block; }
#trouble { display: none; }
#trouble.on { display: block; }
.avatar { width: 56px; height: 56px; object-fit: cover; filter: grayscale(1); }
.avatar-initial { display: none; width: 56px; height: 56px; place-items: center; border: 1px solid #000000; }
.avatar-initial.on { display: grid; }
.err { min-height: 1.2em; margin: 8px 0 0; color: #000000; font-size: 13px; }

.founder {
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  gap: 36px;
  align-items: end;
}
.founder figure { margin: 0; }
.founder img { width: 100%; display: block; filter: grayscale(1) contrast(1.05); background: #111111; }
.founder figcaption { margin-top: 10px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.auth-card { max-width: 460px; }
.auth-card h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
#stayPanel[hidden], #signInPanel[hidden], [hidden] { display: none !important; }

@media (max-width: 720px) {
  .founder, .plans, .plans.four, .stats, .models { grid-template-columns: 1fr; }
  main { padding-top: 28px; }
  .banner { flex-wrap: wrap; }
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 28px 0 8px;
  padding: 0;
  list-style: none;
  position: sticky;
  top: 72px;
  z-index: 2;
  background: #ffffff;
  border-bottom: 1px solid #000000;
  padding: 10px 0;
}
.toc a {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #3a3a3a;
}
.toc a.on { color: #000000; box-shadow: inset 0 -1px 0 #000000; }

.chapter { margin-top: 48px; scroll-margin-top: 120px; }
.chapter h2 { margin: 0 0 10px; font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: -0.04em; }
.prose { max-width: 42em; }
.prose p { margin: 0 0 12px; color: #3a3a3a; }
.prose p strong { color: #000000; font-weight: 500; }

.picker { margin-top: 18px; }
.pick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-row button {
  font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  padding: 10px 12px;
  cursor: pointer;
}
.pick-row button[aria-pressed="true"] { background: #000000; color: #ffffff; }
.panel {
  border-top: 1px solid #000000;
  margin-top: 14px;
  padding-top: 14px;
}
.panel h3 { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.panel p { margin: 0 0 8px; color: #3a3a3a; font-size: 14px; }
.panel ul { margin: 8px 0 0; padding-left: 18px; color: #3a3a3a; font-size: 14px; }
.panel li + li { margin-top: 6px; }

.brief {
  margin: 14px 0;
  padding: 14px 0;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  color: #000000;
  font-size: 14px;
}
.copy {
  font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: 0;
  border-bottom: 1px solid #000000;
  padding: 0 0 4px;
  cursor: pointer;
}

.faq { margin-top: 8px; }
.faq details { border-top: 1px solid #000000; padding: 14px 0; }
.faq summary {
  cursor: pointer;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.faq details p { margin: 10px 0 0; color: #3a3a3a; font-size: 14px; }

@media (max-width: 720px) {
  .toc { top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .sld-done { transition-duration: 1ms; }
  main { animation: none; }
}
