/* The signing page (task 035): TeamTrash members and outside parties on nda.customdev.co. */
:root { --ink: #16181d; --muted: #646b76; --line: #e2e5e9; --bg: #f4f5f2; --paper: #fff; --accent: #c6f24e; --accent-ink: #14200a; --brand: #0d1b2a; --bad: #c62828; --ok: #2e7d32;
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--ink); }
@media (prefers-color-scheme: dark) { :root { --ink: #eceff4; --muted: #9aa3b2; --line: #2a3446; --bg: #0b1220; --paper: #121b2c; --brand: #c6f24e; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); }
main { max-width: 760px; margin: 0 auto; padding: 20px 16px 60px; }
.top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.top b { font-size: 17px; } .top .muted { margin-left: auto; font-size: 13px; }
.steps { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.steps span { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.steps span.on { border-color: var(--brand); color: var(--ink); font-weight: 700; } .steps span.done { color: var(--ok); border-color: var(--ok); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
h1 { font-size: 22px; margin: 0 0 6px; } h2 { font-size: 16px; margin: 0 0 10px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
ul.notice { margin: 8px 0 12px; padding-left: 20px; } ul.notice li { margin: 3px 0; }
label.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; cursor: pointer; } label.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; } .field span { font-size: 13px; color: var(--muted); }
input[type=text], input[type=email], input[type=tel] { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
input.code { letter-spacing: .3em; font-size: 20px; max-width: 200px; text-align: center; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn { font: inherit; font-weight: 700; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; } .btn:disabled { opacity: .45; cursor: not-allowed; }
.err { color: var(--bad); font-size: 14px; min-height: 1.4em; margin: 6px 0 0; } .ok { color: var(--ok); }
/* The document, as it will print. */
.doc { max-height: 62vh; overflow-y: auto; background: #fff; color: #111; border: 1px solid var(--line); border-radius: 10px; padding: 28px 30px;
  font: 14.5px/1.55 'Times New Roman', Times, 'Liberation Serif', serif; }
.doc p { margin: 0 0 10px; } .doc .center { text-align: center; } .doc .both { text-align: justify; }
.doc .title { font-weight: 700; font-size: 17px; margin-bottom: 2px; } .doc .h { margin-top: 16px; }
.doc ul { margin: 0 0 10px; padding-left: 26px; } .doc li { margin-bottom: 4px; text-align: justify; }
.doc .fill { background: #fff6c2; border-bottom: 1px solid #111; padding: 0 2px; } .doc .fill.empty { background: transparent; }
.doc .u { text-decoration: underline; } .doc .b { font-weight: 700; }
.doc .sig { display: grid; grid-template-columns: 130px 1fr; gap: 10px 12px; margin: 8px 0 18px; max-width: 520px; }
.doc .sig .line { border-bottom: 1px solid #111; min-height: 1.5em; }
.doc .end { text-align: center; color: #777; font: 12px sans-serif; padding-top: 10px; }
.scrollnote { font-size: 13px; color: var(--muted); margin-top: 8px; }
.tabs { display: flex; gap: 6px; margin: 4px 0 10px; } .tabs button { font: inherit; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.tabs button.on { border-color: var(--brand); font-weight: 700; }
.typed { font: italic 34px/1.2 'Brush Script MT', 'Segoe Script', 'Snell Roundhand', cursive; color: #111; background: #fff; border-bottom: 1.5px solid #111; padding: 8px 4px 2px; min-height: 58px; border-radius: 8px 8px 0 0; }
canvas.pad { width: 100%; height: 170px; background: #fff; border: 1px dashed #9aa3b2; border-radius: 10px; touch-action: none; display: block; }
.done-card { text-align: center; } .done-card .big { font-size: 46px; }
@media (max-width: 600px) { .doc .both, .doc li { text-align: left; } .top { flex-wrap: wrap; row-gap: 2px; } .top > span:nth-child(2) { flex-basis: 100%; order: 3; font-size: 13px; color: var(--muted); } .top .muted { display: none; } .card { padding: 16px; } .doc { padding: 18px 16px; } }
