/* 123Reunion — site.css — 11JUL26.A1
   MOBILE-FIRST (Andy's lock: the phone layout IS the design; desktop just
   gets breathing room). One sheet, no framework — the future app screens
   mirror these blocks 1:1. */

:root {
  --ink: #1d2733;
  --muted: #5c6b7a;
  --paper: #f7f9fb;
  --card: #ffffff;
  --line: #dbe3ea;
  --brand: #1f6fb2;        /* letter-jacket blue */
  --brand-press: #175a92;
  --accent: #c9a227;       /* class-ring gold */
  --ok: #2e8b57;
  --err: #c0392b;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.5 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--brand); color: #fff;
}
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.brand span { color: var(--accent); }
.navlink {
  color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 8px; padding: 7px 14px;
}

/* layout */
.wrap { max-width: 640px; margin: 0 auto; padding: 16px; }
.foot { text-align: center; color: var(--muted); font-size: 12.5px; padding: 24px 16px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; margin-bottom: 14px;
}
h1 { font-size: 24px; margin: 10px 0 6px; }
h2 { font-size: 18px; margin: 0 0 8px; }
.lede { color: var(--muted); margin: 0 0 12px; }
.pill {
  display: inline-block; background: #eaf3fb; color: var(--brand);
  border-radius: 999px; padding: 3px 12px; font-size: 12.5px; font-weight: 700;
}

/* forms — thumb-sized targets throughout */
label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin: 12px 0 4px; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 12px; font-size: 16px;   /* 16px stops iOS zoom */
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1fr; } }

.checkline { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; }
.checkline input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.checkline span { font-size: 14.5px; }

.btn {
  display: block; width: 100%; padding: 15px; margin-top: 16px;
  background: var(--brand); color: #fff; border: 0; border-radius: 12px;
  font-size: 17px; font-weight: 800; cursor: pointer;
}
.btn:active { background: var(--brand-press); }
.btn[disabled] { opacity: .5; }

.note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.err { color: var(--err); font-size: 14px; margin-top: 10px; }
.ok  { color: var(--ok); font-weight: 700; }

.pricebox {
  background: #fdf8e7; border: 1px solid #eadfae; border-radius: 10px;
  padding: 12px; font-size: 14.5px; margin-top: 12px;
}
.pricebox strong { font-size: 17px; }

/* admin table (web-only surface — allowed to scroll on phones) */
.tablewrap { overflow-x: auto; }
table.admin { border-collapse: collapse; width: 100%; font-size: 13.5px; }
table.admin th, table.admin td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; white-space: nowrap; }
table.admin th { background: #eef3f7; }
tr.unpaid td { background: #fdf1ef; }
