/* Public pages: the welcome page at the bare domain (landing.html) and
   sign-up (signup.html, signup_confirm.html). Same tokens as brand.css:
   warm paper, white cards, ink, and the palette's mustard, turquoise,
   coral and green. Label tags look like the annotators' labels. */

body.pub { background: var(--paper-light); }
body.pub main { display: block; }

.pub-head { display: flex; align-items: center; gap: 16px; max-width: 1120px;
  margin: 0 auto; padding: 14px 20px 6px; }
.pub-links { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.pub-signin { color: var(--ink); font-weight: 500; font-size: 14px; }
.pub-cta { font-size: 14px; }

.btn.big { font-size: 15px; padding: 11px 20px; border-radius: 8px; }
a.btn { display: inline-block; text-decoration: none; color: var(--ink); }
a.btn:hover { text-decoration: none; }
.fine { font-size: 12.5px; color: var(--faint); margin: 10px 0 0; }

/* ── the welcome page ─────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 36px 20px 26px; }
.hero:has(.showcase.empty) { grid-template-columns: 1fr; max-width: 760px; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ochre-ink); }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--mustard); }
.hero h1 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.02em;
  font-weight: 600; margin: 0 0 16px; }
.lede { font-size: 17px; line-height: 1.55; color: var(--muted); margin: 0 0 22px; max-width: 34em; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-show { height: 400px; margin: 0; border-radius: 12px; background: var(--ink);
  box-shadow: 0 1px 0 rgba(28, 28, 26, .06), 0 14px 40px -18px rgba(28, 28, 26, .45); }
.hero-show .showcase-cap { border-radius: 0 0 12px 12px; }

.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  max-width: 1120px; margin: 0 auto; padding: 8px 20px 34px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px;
  background: var(--ink); color: var(--cream); border-radius: 4px; font-size: 13px;
  border-left: 4px solid var(--c); }
.tag b { font-family: var(--mono); font-weight: 600; color: #fff; }

body.pub section > h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 18px; }
.steps, .who, .learn, .pricing { max-width: 1120px; margin: 0 auto; padding: 34px 20px; }
.steps ol { list-style: none; padding: 0; margin: 0; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--c);
  border-radius: 10px; padding: 18px 20px 20px; }
.steps .num { display: block; font-size: 40px; font-weight: 700; line-height: 1;
  color: var(--ink); margin-bottom: 10px; }
.steps .num::after { content: ""; display: block; width: 22px; height: 4px; margin-top: 8px;
  background: var(--c); border-radius: 2px; }
.steps h3, .who h3, .plan h3 { font-size: 17px; margin: 0 0 6px; }
.steps p, .who p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14.5px; }

.prose { max-width: 40em; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.who-item { padding: 4px 0 4px 16px; border-left: 4px solid var(--c); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 22px; }
.plan-mid { border: 2px solid var(--ink); }
.plan .price { font-size: 34px; font-weight: 700; margin: 4px 0 10px; letter-spacing: -0.02em; }
.plan .price span { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.closing { background: var(--ink); color: var(--cream); border-top: 3px solid var(--mustard);
  text-align: center; padding: 46px 20px 50px; margin-top: 26px; }
body.pub .closing h2 { color: var(--cream); margin-bottom: 20px; }
.closing .hero-actions { justify-content: center; }
.btn.ghost { background: transparent; color: var(--cream); border-color: #5A574E; }
.btn.ghost:hover { border-color: var(--cream); }

.pub-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  padding: 22px 16px 30px; font-size: 13px; color: var(--faint); }
.pub-foot a { color: var(--muted); }
body.pub:has(.closing) .pub-foot { background: var(--ink); color: #9C9585; }
body.pub:has(.closing) .pub-foot a { color: var(--cream); }

/* ── sign-up ─────────────────────────────────────────────────────────── */
.pub-narrow { max-width: 470px; margin: 5vh auto 8vh; padding: 0 16px; }
.pub-card { padding: 24px 26px; }
.pub-card h1 { font-size: 24px; }
.pub-card input:not([type=radio]) { width: 100%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset.human { border: 1px solid var(--line); border-radius: 8px; margin: 16px 0 0;
  padding: 8px 14px 10px; }
fieldset.human legend { font-size: 13px; color: var(--muted); padding: 0 4px; }
label.choice { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 14px;
  color: var(--text); cursor: pointer; }

/* ── phones ───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .hero-show { height: 250px; }
  .steps ol, .plan-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pub-head { padding: 10px 14px 4px; gap: 10px; }
  .pub-head .lockup .lk-mark { width: 42px; height: 42px; }
  .pub-head .lockup .lk-word { height: 23px; }
  .pub-links { gap: 10px; }
  .pub-cta { padding: 7px 11px; font-size: 13px; }
  .hero, .steps, .who, .learn, .pricing, .tags { padding-left: 16px; padding-right: 16px; }
  .lede { font-size: 16px; }
  .who-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; text-align: center; }
}
