*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-text); font-size: var(--type-body); line-height: var(--type-body-lh); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
:focus-visible { outline: var(--border-focus) solid var(--focus); outline-offset: var(--border-line); }
.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-4); }
.top { display: flex; align-items: center; justify-content: space-between; min-height: var(--target); }
.top-link { display: inline-flex; align-items: center; min-height: var(--target-min); padding: 0 var(--space-2); font-size: var(--type-body); line-height: var(--type-body-lh); font-weight: 700; color: var(--brand); }
.logo { display: inline-flex; align-items: center; min-height: var(--target-min); font-family: var(--font-display); font-weight: 700; font-size: var(--type-title); line-height: var(--type-title-lh); color: var(--ink); text-decoration: none; }
.hero { padding: var(--space-6) 0 var(--space-5); }
h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--type-hero); line-height: var(--type-hero-lh); margin: 0 0 var(--space-4); }
h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--type-title); line-height: var(--type-title-lh); margin: 0 0 var(--space-3); }
.lead { font-size: var(--type-body-lg); line-height: var(--type-body-lg-lh); color: var(--ink-muted); margin: 0 0 var(--space-5); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); margin: 0 0 var(--space-5); }
.amount { font-family: var(--font-display); font-weight: 700; font-size: var(--type-amount); line-height: var(--type-amount-lh); font-variant-numeric: tabular-nums; }
.cap { font-size: var(--type-caption); line-height: var(--type-caption-lh); color: var(--ink-muted); }
.btn { font-family: var(--font-display); font-weight: 600; font-size: var(--type-label); line-height: var(--type-label-lh); min-height: var(--target); padding: 0 var(--space-5); border-radius: var(--radius-md); border: var(--border-line) solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); cursor: pointer; text-decoration: none; text-align: center; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
[hidden] { display: none !important; }
.btn--block { width: 100%; }
.btn[disabled] { background: var(--surface-sunken); color: var(--ink-muted); border-color: var(--line); cursor: not-allowed; }
.card { background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--elev-1); padding: var(--space-4); }
.points { list-style: none; margin: 0; padding: var(--space-4); display: grid; gap: var(--space-4); }
.points li { display: flex; gap: var(--space-3); align-items: flex-start; }
.points svg { flex: none; width: var(--icon-md); height: var(--icon-md); stroke: var(--brand); fill: none; stroke-width: var(--icon-stroke); stroke-linecap: round; stroke-linejoin: round; margin-top: var(--hairline); }
.points b { display: block; }
section { margin: var(--space-6) 0; }
form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field > label, legend { font-weight: 700; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-2); min-width: 0; }
legend { padding: 0; margin-bottom: var(--space-2); }
.input { font: inherit; font-size: var(--type-body-lg); min-height: var(--target); padding: 0 var(--space-4); border: var(--border-line) solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); width: 100%; }
.choice { display: flex; align-items: center; gap: var(--space-3); min-height: var(--target); padding: var(--space-2) var(--space-4); border: var(--border-line) solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); cursor: pointer; }
.choice input { width: var(--icon-md); height: var(--icon-md); margin: 0; accent-color: var(--brand); flex: none; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; }
.consent input { width: var(--icon-md); height: var(--icon-md); margin: var(--hairline) 0 0; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msg { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); }
.msg--ok { background: var(--success-soft); color: var(--ink); }
.msg--err { background: var(--danger-soft); color: var(--ink); }
.msg b { display: block; }
.msg:empty { display: none; }
.doc .btn { margin: var(--space-4) 0; }
footer { border-top: var(--border-line) solid var(--line); padding: var(--space-5) 0 var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
footer a { min-height: var(--target-min); display: inline-flex; align-items: center; }
.doc h1 { font-size: var(--type-title-lg); line-height: var(--type-title-lg-lh); }
.doc h2 { margin-top: var(--space-5); }
.todo { background: var(--warning-soft); color: var(--ink); padding: 0 var(--space-1); border-radius: var(--radius-sm); }
@media (max-width: 480px) { h1 { font-size: var(--type-hero-sm); line-height: var(--type-hero-sm-lh); } }
