/* The beta page: builds on styles.css (tokens, masthead, live band, footer). */

.b-hero { padding-top: 56px; padding-bottom: 40px; max-width: 980px; }
.b-hero h1 { max-width: 20ch; }
.b-hero .lede { max-width: 46ch; }
.b-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.b-note { color: var(--ink-soft); font-size: 0.98rem; }

.b-video { padding-bottom: 88px; }
.b-frame {
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 2px 4px rgba(40, 35, 25, .08), 0 40px 80px -40px rgba(40, 35, 25, .5);
}
.b-frame video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; background: var(--ink); }
.b-caption { margin: 14px 0 0; color: var(--ink-soft); font-size: 0.95rem; }

.b-why { padding-bottom: 96px; }
.b-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.b-quotes figure { margin: 0; border-top: 1.5px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.b-quotes blockquote { margin: 0; font-size: 1.35rem; line-height: 1.35; font-weight: 500; }
.b-quotes figcaption { color: var(--ink-soft); font-size: 1rem; }
.b-quotes figcaption b { color: var(--ink); font-weight: 600; }

.b-yellow { color: var(--yellow); }
.live p + p { margin-top: 12px; }

.b-ask { padding-top: 96px; padding-bottom: 96px; }
.b-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.b-grid article { border-top: 1.5px solid var(--ink); padding-top: 16px; }
.b-grid h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.b-grid p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.b-optional { margin: 28px 0 0; color: var(--ink-soft); }
.b-optional b { color: var(--ink); }
.b-gap { margin-top: 80px; }
.b-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.b-gets li { padding: 14px 0 14px 34px; border-top: 1px solid var(--rule); position: relative; }
.b-gets li::before {
  content: ""; position: absolute; left: 4px; top: 22px;
  width: 14px; height: 8px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(-45deg);
}

.b-apply { background: var(--paper-deep); padding: 88px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.b-apply-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.b-apply-copy h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 500; line-height: 1.2; }
.b-apply-copy p { color: var(--ink-soft); max-width: 42ch; margin: 0 0 12px; }
.b-form { display: grid; gap: 8px; background: #fbf8f0; border: 1px solid var(--rule); border-radius: 10px; padding: 26px; }
.b-form label, .b-form legend { font-weight: 600; font-size: 1rem; margin-top: 10px; }
.b-form input[type="text"], .b-form input[type="email"], .b-form select {
  font: inherit; font-size: 1.02rem; padding: 12px 14px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: 6px; width: 100%; min-width: 0;
}
.b-form input:focus, .b-form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow-soft); }
.b-form input[aria-invalid="true"] { border-color: #a4452c; }
.b-form fieldset { border: 0; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; min-width: 0; }
.b-choice { font-weight: 400 !important; margin-top: 2px !important; display: flex; gap: 10px; align-items: center; }
.b-choice input { accent-color: var(--ink); width: 18px; height: 18px; }
.b-form button { margin-top: 18px; justify-self: start; }
.b-done { max-width: none; }

.b-faq { padding-top: 88px; padding-bottom: 96px; max-width: 820px; }
.b-faq details { border-top: 1px solid var(--rule); padding: 14px 0; }
.b-faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.b-faq summary { cursor: pointer; font-size: 1.2rem; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.b-faq summary::after { content: "+"; color: var(--ink-soft); }
.b-faq details[open] summary::after { content: "\2013"; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq details p { margin: 10px 0 0; color: var(--ink-soft); max-width: 60ch; }

@media (max-width: 960px) {
  .b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .b-hero { padding-top: 16px; }
  .b-quotes, .b-grid, .b-apply-inner { grid-template-columns: minmax(0, 1fr); }
  .b-apply-inner { gap: 28px; }
  .b-form { padding: 18px; }
  .b-ask, .b-why { padding-top: 64px; padding-bottom: 64px; }
}

/* A beta writer's own words (round two, Dec 2026) */
.b-tester { margin: 0 auto 32px; max-width: 720px; padding: 22px 26px; background: var(--yellow-soft, #f7e7a6); border-radius: 14px; }
.b-tester blockquote { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.45; font-style: italic; }
.b-tester figcaption { font-size: .95rem; color: var(--ink-soft, #4a4536); }

/* Beta closed for now (16 Nov 2026) */
.b-apply-closed { max-width: 640px; text-align: center; }
.b-apply-closed .button { display: inline-block; margin-top: 8px; }
