/* The sign-up, sign-in and "almost ready" pages (cmapp/signup.py, cmapp/signin_page.py), in arkrooms.com's look
   (#717) and the app's (#768), light like the app's default: a top bar with the logo, a header with a teal eyebrow, cards, pill buttons. */
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("fonts/quicksand-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #17304f; --teal: #1f7a86; --teal-dark: #155e68; --teal-soft: #e3f1f1; --gold: #ffc845;
  --cream: #fbf7f0; --paper: #ffffff; --muted: #55657c; --line: #e4e0d6; --bad: #b3261e;
  --radius: 22px; --shadow: 0 18px 50px -20px rgba(23, 48, 79, 0.35);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--cream); min-height: 100vh; }
/* The top bar: the logo and the two-tone wordmark, as in the app */
.top { display: flex; align-items: center; padding: 12px 18px; background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line); }
.top .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.top img { width: 34px; height: 34px; border-radius: 9px; }
.word { font-family: "Quicksand", "Nunito", sans-serif; font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em;
  color: var(--ink); -webkit-text-stroke: 0.045em currentColor; }
.word b { color: var(--teal); font-weight: 700; margin-left: 0.04em; }
.word sup { font-size: 0.45em; font-weight: 600; -webkit-text-stroke: 0; margin-left: 0.08em; }
main { max-width: 34rem; margin: 0 auto; padding: 26px 16px 48px; }
main.card { margin: 28px max(16px, calc(50% - 16rem)) 48px; max-width: 32rem; padding: 28px 26px; }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(23, 48, 79, 0.06),
  0 14px 34px -22px rgba(23, 48, 79, 0.45); }
form.card { padding: 6px 22px 24px; margin: 18px 0 14px; }
/* The header: what this is (eyebrow), the title, a line under it */
.head { padding: 4px 4px 8px; }
.eyebrow { margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.76rem; font-weight: 800;
  color: var(--teal); }
h1 { margin: 0 0 0.35em; font-family: "Quicksand", "Nunito", sans-serif; font-weight: 700;
  font-size: clamp(1.9rem, 7vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; }
.lede { margin: 0; color: var(--muted); font-size: 1.05rem; }
/* What happens next, as numbered cards */
.steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: 0 1px 2px rgba(23, 48, 79, 0.06), 0 14px 34px -22px rgba(23, 48, 79, 0.45); }
.steps .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #17304f;
  display: grid; place-items: center; font-weight: 900; }
.steps p { margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--teal); font-weight: 700; }
strong { font-weight: 800; }
label { display: block; margin: 18px 0 6px; font-weight: 800; }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=date], select { width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 45%, transparent); outline-offset: 2px; }
.address { display: flex; align-items: center; gap: 8px; } .address span { white-space: nowrap; color: var(--muted); font-weight: 700; }
.terms { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.terms input { margin-top: 0.35em; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
button, a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 24px;
  padding: 0 26px; border-radius: 999px; background: var(--teal); color: #fff; border: 2px solid var(--teal);
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
form.card button { width: 100%; }
/* The tools without an account (#1069, #1072): the family form's groups, ticks and second button */
fieldset { margin: 22px 0 0; padding: 4px 18px 20px; border: 1.5px solid var(--line); border-radius: 16px; }
legend { padding: 0 8px; font-weight: 800; }
label > input, label > select { display: block; margin-top: 6px; font-weight: 400; }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 600; }
label.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); flex: none; }
.button.ghost { background: transparent; color: var(--teal); }
button:hover, a.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.errors { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, var(--paper)); border-radius: 14px;
  padding: 12px 16px 12px 34px; margin: 16px 0 0; font-weight: 700; }
.hint { color: var(--muted); font-size: 0.95rem; }
main:not(.card) > .hint { text-align: center; margin: 0 0 6px; }
.next { color: var(--ink); }
.optional { font-weight: 600; color: var(--muted); }
/* Sign-in problems (cmapp/signin_page.py) */
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 20px; }
.actions .button { margin-top: 0; }
.gift { margin-top: 18px; } .gift summary { cursor: pointer; color: var(--teal); font-weight: 800; }
/* Before you start (#438): what to have in Planning Center, folded under the steps */
.before { margin: 14px 0 0; padding: 14px 18px; } .before summary { cursor: pointer; color: var(--teal); font-weight: 800; }
.checklist { margin: 12px 0 10px; padding-left: 1.2em; } .checklist li { margin: 0 0 8px; }
.checklist .tag { font-size: 0.8rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
