:root {
  color-scheme: light;
  --ink: #302a31;
  --soft: #6d6368;
  --paper: #f6f0e9;
  --card: #fffdf9;
  --line: #e0d5cc;
  --brand: #9e365a;
  --brand-dark: #70223e;
  --green: #28735b;
  --amber: #9a631d;
  --red: #9d3636;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: radial-gradient(circle at 80% 0, #efdde3 0, transparent 28rem), var(--paper); }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid rgb(158 54 90 / 30%); outline-offset: 3px; }
.installer-shell { width: min(980px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 5vw, 5rem) 0; }
.installer-head { margin-bottom: 2rem; display: flex; align-items: center; gap: 1.1rem; }
.brand-mark { width: 58px; aspect-ratio: 1; border: 1px solid #b8a9b0; border-radius: 50%; display: grid; place-items: center; color: white; background: linear-gradient(135deg, #a94366, #6e263f); font: 700 1.65rem Georgia, serif; box-shadow: 0 14px 32px rgb(89 40 57 / 18%); }
.eyebrow { color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { margin: .25rem 0; font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -.04em; }
h2 { margin: .25rem 0 .45rem; font-size: clamp(1.45rem, 3vw, 2rem); }
p { margin: 0; color: var(--soft); line-height: 1.6; }
.card { margin-bottom: 1rem; border: 1px solid var(--line); border-radius: 24px; background: rgb(255 253 249 / 94%); box-shadow: 0 20px 55px rgb(70 50 55 / 8%); }
.requirements-card, .form-card { padding: clamp(1.2rem, 3vw, 2rem); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.status-chip { padding: .45rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 750; white-space: nowrap; }
.status-chip--ok { color: var(--green); background: #ddf1e8; }
.status-chip--error { color: var(--red); background: #f7dfdc; }
.requirement-grid { margin-top: 1.3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.requirement { padding: .75rem; border: 1px solid #e8dfd8; border-radius: 13px; display: flex; align-items: center; gap: .65rem; background: #fffefa; font-size: .82rem; }
.requirement > span:last-child { display: grid; gap: .1rem; }
.requirement small { color: var(--soft); font-size: .66rem; }
.requirement-icon { width: 26px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.requirement-icon.is-ok { color: var(--green); background: #ddf1e8; }
.requirement-icon.is-warning { color: var(--amber); background: #faebd2; }
.requirement-icon.is-error { color: var(--red); background: #f7dfdc; }
.alert { margin: 1rem 0; padding: 1rem 1.1rem; border: 1px solid #e8b5b1; border-radius: 14px; display: grid; gap: .25rem; color: #7f2c2c; background: #fff0ee; }
.alert span { font-size: .82rem; line-height: 1.5; }
.form-card { position: relative; padding-left: clamp(1.2rem, 7vw, 5rem); }
.step-number { position: absolute; left: 1.3rem; top: 1.7rem; width: 38px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 13px; color: white; background: var(--brand); font-weight: 800; }
.fields { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
label { display: grid; gap: .38rem; color: #5f555a; font-size: .76rem; font-weight: 700; }
label.wide { grid-column: 1 / -1; }
input, select { width: 100%; min-height: 48px; border: 1px solid #d9cec6; border-radius: 12px; padding: .72rem .8rem; color: var(--ink); background: #fffefa; }
input:focus, select:focus { border-color: var(--brand); outline: 0; box-shadow: 0 0 0 3px rgb(158 54 90 / 10%); }
.notice { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; color: #755e43; background: #fff5e5; font-size: .78rem; }
.finish-panel { margin-top: 1.2rem; padding: 1.1rem; border-radius: 18px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: white; background: #312a31; box-shadow: 0 18px 40px rgb(48 42 49 / 15%); }
.finish-panel > div { display: grid; gap: .25rem; }
.finish-panel span { color: #d6cbd1; font-size: .75rem; }
.button { min-height: 48px; border: 0; border-radius: 13px; padding: .8rem 1.1rem; display: inline-flex; align-items: center; justify-content: center; color: white; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); text-decoration: none; font-weight: 750; cursor: pointer; box-shadow: 0 10px 26px rgb(158 54 90 / 22%); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.complete-card { padding: clamp(1.5rem, 5vw, 3rem); display: flex; align-items: center; gap: 1.25rem; }
.complete-card .button { margin-top: 1.2rem; }
.success-icon { width: 64px; aspect-ratio: 1; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--green); font-size: 1.8rem; }
@media (max-width: 680px) {
  .installer-shell { width: min(100% - 1rem, 980px); padding: 1rem 0 2rem; }
  .installer-head { align-items: flex-start; }
  .brand-mark { width: 48px; }
  .requirement-grid, .fields { grid-template-columns: 1fr; }
  label.wide { grid-column: auto; }
  .form-card { padding-left: 1rem; padding-top: 4.8rem; }
  .step-number { left: 1rem; top: 1rem; }
  .finish-panel { align-items: stretch; flex-direction: column; }
  .finish-panel .button { width: 100%; }
  .complete-card { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

