:root { --ink: #16181d; --muted: #5b6270; --line: #d9dce2; --accent: #1f5fbf; --soft: #f4f6f9; --warn: #8a4b00; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
.top { padding: 16px; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 20px; }
.tag { color: var(--muted); font-size: 14px; }
.demo-notice { max-width: 640px; margin: 16px auto 0; padding: 10px 16px; box-sizing: border-box; background: var(--soft); }
.demo-notice a { color: var(--accent); white-space: nowrap; }
main { max-width: 640px; margin: 0 auto; padding: 20px 16px 8px; }
h1 { font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 19px; margin: 22px 0 8px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.big { font-size: 30px; font-weight: 700; margin: 4px 0; }
.card { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 12px 0 16px; }
.note { border-left: 3px solid var(--warn); padding: 4px 0 4px 12px; margin: 12px 0; }
.btns { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
button, .button { appearance: none; border: 1px solid var(--accent); background: var(--accent); color: #fff; font: inherit;
  font-weight: 600; padding: 12px 16px; border-radius: 10px; cursor: pointer; text-align: center; text-decoration: none; display: block; }
button.ghost, .button.ghost { background: #fff; color: var(--accent); }
button.link { background: none; border: none; color: var(--accent); padding: 4px 0; font-weight: 500; text-decoration: underline; text-align: left; }
button:disabled { opacity: 0.5; cursor: default; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px 12px; margin: 0 0 12px; }
legend { font-weight: 600; padding: 0 4px; }
label.opt { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
label.opt input { margin-top: 5px; }
label.field { display: block; margin: 10px 0 4px; font-weight: 600; }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #b9bec8; border-radius: 8px; background: #fff; }
.err { color: #b00020; font-weight: 600; min-height: 1.5em; }
details { margin: 10px 0 14px; }
details summary { cursor: pointer; color: var(--accent); font-weight: 600; }
ol.agree li { margin-bottom: 8px; }
.addr { font-weight: 600; line-height: 1.35; margin: 6px 0 12px; }
.foot { max-width: 640px; margin: 24px auto 32px; padding: 12px 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); }
