/* The "Join the beta" box, the blog's "Short answer" box and the header nav, on pages that use site.css
   (free fixes, blog, privacy). Same tokens as site.css. */

.head-nav { display: flex; align-items: center; gap: 14px; }
.head-nav .btn { white-space: nowrap; }
@media (max-width: 520px) { .head-nav .head-link { display: none; } }

.answer-box {
  max-width: calc(var(--measure) - 48px); margin: 28px auto 0; padding: 20px 22px; border-radius: 16px;
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
}
.answer-box p { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.answer-box__label { font-size: .78rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px !important; }

.beta-box {
  margin: 8px 0; padding: 30px 28px; border-radius: 24px; border: 1px solid var(--line);
  background:
    radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
}
.beta-box h2 { margin: 6px 0 8px; }
.beta-box > p { margin: 0 0 14px; color: var(--muted); }
.beta-box__eyebrow { font-size: .8rem !important; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent) !important; margin: 0 !important; }
.beta-box__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.beta-box__form input[type="email"] {
  flex: 1 1 240px; min-width: 0; height: 46px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s;
}
.beta-box__form input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.beta-box__form .btn { height: 46px; }
.beta-box__form .btn[disabled] { opacity: .7; cursor: progress; }
.beta-box__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.beta-box .join__status { flex-basis: 100%; margin: 4px 0 0; min-height: 1.4em; font-weight: 600; }
.beta-box .join__status.is-ok { color: var(--ok); }
.beta-box .join__status.is-error { color: #c0362c; }
.beta-box__small { font-size: .86rem !important; color: var(--muted) !important; margin: 10px 0 0 !important; }
.beta-box__small a { color: inherit; }

/* Tables in blog articles (Markdown tables, wrapped in .table-wrap by scripts/build_site.py). */
.prose .table-wrap { margin: 24px 0; max-width: none; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); -webkit-overflow-scrolling: touch; }
.prose .table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; line-height: 1.45; }
.prose .table-wrap th, .prose .table-wrap td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose .table-wrap thead th { background: var(--surface-2); font-weight: 650; font-size: .86rem; color: var(--fg); white-space: nowrap; }
.prose .table-wrap tbody tr:last-child td { border-bottom: 0; }
.prose .table-wrap tbody td:first-child { font-weight: 600; color: var(--fg); }
