/* CallJake sign-up site. DoShitNow look: black, deep red, yellow on white, condensed caps. */
:root {
  --ink: #111111;
  --ink-soft: #55585e;
  --paper: #ffffff;
  --paper-dim: #f4f4f2;
  --line: #dadad6;
  --red: #c00000;
  --red-bright: #e10600;
  --yellow: #ffd600;
  --yellow-soft: #fff7cc;
  --green: #1e8e3e;
  --radius: 12px;
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
}

a { color: var(--red); }

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 16px; }
.wrap-wide { max-width: 980px; }

/* ---------- Header / footer ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 22px; letter-spacing: 0.3px;
  color: var(--ink); text-decoration: none; text-transform: uppercase;
}
.logo-mark {
  width: 26px; height: 26px; background: var(--yellow); display: grid; place-items: center;
  font-family: var(--body); font-weight: 900; font-size: 18px; line-height: 1;
}
.site-header nav a { color: var(--ink); font-weight: 700; text-decoration: none; margin-left: 16px; font-size: 15px; }
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 24px 0 40px; color: var(--ink-soft); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer a { color: var(--ink-soft); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.2px; line-height: 1.14; margin: 0;
}
.display-xl { font-size: clamp(44px, 11vw, 84px); }
.display-lg { font-size: clamp(34px, 8vw, 56px); }
.display-md { font-size: 28px; }
.display-sm { font-size: 20px; }
.red { color: var(--red); }
.highlight { background: var(--yellow); padding: 0 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lede { font-size: 19px; color: var(--ink-soft); margin: 16px 0 0; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 24px; overflow: hidden; }
.burst { position: absolute; right: 18px; top: 22px; width: 64px; height: 64px; pointer-events: none; }
.burst span { position: absolute; display: block; height: 7px; border-radius: 4px; background: var(--red); }
.burst span:nth-child(1) { width: 34px; top: 10px; right: 10px; transform: rotate(-55deg); }
.burst span:nth-child(2) { width: 30px; top: 34px; right: 0; transform: rotate(-20deg); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 14px; letter-spacing: 0.2px;
}
.pill-live { background: var(--green); }
.pill-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); }
.pill-muted { background: var(--paper-dim); color: var(--ink-soft); border: 1px solid var(--line); }
.hero .pill { margin-top: 20px; }

/* ---------- Role cards (home) ---------- */
.cards { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  display: block; text-decoration: none; color: var(--ink);
  border: 3px solid var(--ink); border-radius: 18px; padding: 24px;
  background: var(--paper); transition: transform 0.12s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-2px); }
.card-head { background: var(--red); color: var(--paper); margin: -24px -24px 20px; padding: 18px 24px; border-radius: 14px 14px 0 0; }
.card-yellow .card-head { background: var(--yellow); color: var(--ink); }
.card p { margin: 0 0 16px; }
.card .go { font-family: var(--display); text-transform: uppercase; font-size: 20px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-weight: 800;
}

/* ---------- Price card ---------- */
.price {
  margin-top: 24px; border-radius: 18px; background: var(--ink); color: var(--paper);
  padding: 20px 22px; display: grid; gap: 6px;
}
.price-big { font-family: var(--display); font-size: 34px; line-height: 1; text-transform: uppercase; }
.price-big .yellow { color: var(--yellow); }
.price p { margin: 0; color: #d9d9d4; font-size: 15px; }

/* ---------- Forms ---------- */
form { margin-top: 32px; }
fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
legend { padding: 0; margin-bottom: 4px; }
.section-note { margin: 4px 0 16px; color: var(--ink-soft); font-size: 15px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field > label, .label { font-weight: 700; font-size: 15px; }
.optional { font-weight: 500; color: var(--ink-soft); }
input[type='text'], input[type='email'], input[type='tel'], select {
  width: 100%; min-height: 52px; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 0 14px; font: inherit; font-size: 17px; color: var(--ink); background: var(--paper);
  appearance: none; -webkit-appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
input:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.invalid input, .invalid select, input.invalid { border-color: var(--red); }
.error { color: var(--red); font-weight: 600; font-size: 14px; min-height: 0; }
.error:empty { display: none; }
.hint { color: var(--ink-soft); font-size: 14px; }
.row-2 { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }

/* Chips (checkbox / radio pills) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 10px 14px; border-radius: 999px; border: 2px solid var(--line);
  font-weight: 600; font-size: 15px; background: var(--paper); user-select: none;
}
.chip input:checked + span { background: var(--yellow); border-color: var(--ink); font-weight: 800; }
.chip input:checked + span::before { content: '✓ '; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--ink); }

/* Checkbox rows */
.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; margin-bottom: 14px; font-size: 15px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); }

/* School combobox */
.combo { position: relative; }
.combo-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px);
  max-height: 320px; overflow-y: auto; margin: 0; padding: 4px 0; list-style: none;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.combo-list[hidden] { display: none; }
.combo-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; }
.combo-option[aria-selected='true'], .combo-option:hover { background: var(--yellow-soft); }
.combo-option .name { font-weight: 700; }
.combo-option .sub { color: var(--ink-soft); font-size: 13px; }
.combo-option .grow { flex: 1; min-width: 0; }
.combo-empty { padding: 12px 14px; color: var(--ink-soft); font-size: 15px; }
.picked { display: grid; gap: 8px; margin-top: 10px; }
.picked:empty { display: none; }
.picked-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: var(--radius);
}
.picked-item .grow { flex: 1; min-width: 0; }
.picked-item .name { font-weight: 800; }
.picked-item .sub { color: var(--ink-soft); font-size: 13px; }
.picked-item .pill { padding: 5px 10px; font-size: 12px; }
.remove { border: 0; background: none; font-size: 20px; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 4px; }

/* FOMO callout */
.callout { margin: 14px 0 18px; border-radius: var(--radius); padding: 14px 16px; font-size: 15px; }
.callout[hidden] { display: none; }
.callout-live { background: #e8f5ec; border: 2px solid var(--green); }
.callout-soon { background: var(--yellow-soft); border: 2px solid var(--yellow); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  min-height: 60px; padding: 0 24px; border: 3px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper); cursor: pointer;
  font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.4px; text-decoration: none;
}
.btn-red { background: var(--red); border-color: var(--red); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn:disabled { opacity: 0.5; cursor: progress; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.form-error { margin-top: 12px; color: var(--red); font-weight: 700; }
.form-error:empty { display: none; }
.fine { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }

/* Honeypot: hidden from people, visible to naive bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Success */
.success { margin-top: 32px; border: 3px solid var(--ink); border-radius: 18px; padding: 28px 24px; }
.success[hidden] { display: none; }
.success .check-mark {
  width: 56px; height: 56px; background: var(--yellow); display: grid; place-items: center;
  font-size: 34px; font-weight: 900; margin-bottom: 16px;
}
.success p { margin: 12px 0 0; }
.success .btn { margin-top: 20px; }

/* Legal pages */
.legal h1 { margin-top: 32px; }
.legal h2 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 24px; margin: 32px 0 8px; }
mark { background: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
}
