:root {
  --graphite: #2d3136;
  --graphite-2: #4a4f56;
  --milk: #f7f4ee;
  --light: #e9e7e2;
  --white: #ffffff;
  --accent: #1f3d33;
  --accent-soft: #dfe9e4;
  --muted: #6d7178;
  --danger: #a33a2e;
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--milk); color: var(--graphite);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
.wrap { max-width: 480px; margin: 0 auto; padding: 0 18px 120px; }
h1 { font-size: 30px; line-height: 1.15; margin: 8px 0 10px; letter-spacing: -0.3px; }
h2 { font-size: 22px; line-height: 1.2; margin: 6px 0 8px; }
h3 { font-size: 16px; margin: 18px 0 8px; }
p { margin: 0 0 10px; line-height: 1.5; }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 13px; }
.topbar { position: sticky; top: 0; z-index: 5; background: var(--milk); display: flex; align-items: center;
  justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--light); }
.brand { font-weight: 700; font-size: 17px; letter-spacing: 0.2px; }
.link-btn { background: none; border: 0; color: var(--accent); font-size: 15px; font-weight: 600; padding: 8px 0; cursor: pointer; }
.hero { margin: 14px -18px 0; }
.hero img { width: 100%; height: 300px; object-fit: cover; display: block; }
.hero-note { font-size: 12px; color: var(--muted); padding: 6px 0 0; }
.btn { display: block; width: 100%; min-height: 54px; border-radius: 14px; border: 0; font-size: 17px; font-weight: 700;
  cursor: pointer; text-align: center; text-decoration: none; line-height: 54px; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--graphite); border: 1px solid var(--light); line-height: 52px; }
.btn-text { background: none; border: 0; color: var(--accent); font-weight: 600; font-size: 15px; padding: 10px 0; cursor: pointer; }
.btn:disabled { opacity: 0.45; cursor: default; }
.actions { position: fixed; left: 0; right: 0; bottom: 0; background: var(--milk); padding: 12px 18px 18px;
  border-top: 1px solid var(--light); }
.actions-inner { max-width: 480px; margin: 0 auto; display: grid; gap: 8px; }
.actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.benefits { display: grid; gap: 10px; margin: 18px 0 8px; }
.benefit { background: var(--white); border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--light); }
.benefit b { display: block; margin-bottom: 2px; }
.links { display: grid; gap: 8px; margin-top: 18px; }
.link-card { display: flex; justify-content: space-between; align-items: center; background: var(--white);
  border: 1px solid var(--light); border-radius: var(--radius); padding: 16px; color: var(--graphite); text-decoration: none; font-weight: 600; }
.link-card span { color: var(--muted); font-weight: 400; }
.progress { height: 6px; background: var(--light); border-radius: 6px; overflow: hidden; margin: 6px 0 4px; }
.progress > div { height: 100%; background: var(--accent); border-radius: 6px; transition: width .25s ease; }
.step-count { font-size: 13px; color: var(--muted); }
.card { background: var(--white); border: 1px solid var(--light); border-radius: var(--radius); padding: 16px; margin-top: 12px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.option { background: var(--white); border: 1.5px solid var(--light); border-radius: 14px; padding: 14px 12px; min-height: 64px;
  font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 10px; color: var(--graphite); }
.option.full { grid-column: 1 / -1; }
.option[aria-pressed="true"], .option.selected { border-color: var(--accent); background: var(--accent-soft); }
.option .mark { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #b9bcc1; flex: 0 0 22px; display: grid; place-items: center; font-size: 14px; color: transparent; }
.option[aria-pressed="true"] .mark, .option.selected .mark { background: var(--accent); border-color: var(--accent); color: var(--white); }
.option .hint { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.option.radio .mark { border-radius: 50%; }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field .help { font-size: 12px; color: var(--muted); }
input[type=text], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--light); background: var(--white);
  font-size: 17px; padding: 12px 14px; color: var(--graphite); font-family: inherit; -webkit-appearance: none; appearance: none; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13px; margin-top: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-top: 14px; line-height: 1.4; }
.check input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: var(--accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.review-item { background: var(--white); border: 1px solid var(--light); border-radius: var(--radius); padding: 14px 16px; margin-top: 10px; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.review-head b { font-size: 15px; }
.review-body { font-size: 14px; color: var(--graphite-2); margin-top: 6px; line-height: 1.5; }
.files { display: grid; gap: 8px; margin-top: 10px; }
.file-chip { display: flex; justify-content: space-between; align-items: center; background: var(--white); border: 1px solid var(--light); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.file-chip button { background: none; border: 0; color: var(--danger); font-weight: 600; cursor: pointer; padding: 4px 6px; }
.upload { display: block; margin-top: 12px; border: 1.5px dashed #b9bcc1; border-radius: 14px; padding: 18px; text-align: center; background: var(--white); cursor: pointer; font-weight: 600; color: var(--accent); }
.upload input { display: none; }
.notice { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; margin-top: 12px; }
.notice.warn { background: #f6ecd9; color: #5b4516; }
.notice.bad { background: #f5dfdb; color: #6e2119; }
.notice.ok { background: var(--accent-soft); color: var(--accent); }
.gallery { display: grid; gap: 12px; margin-top: 12px; }
.gallery figure { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--light); }
.gallery img { width: 100%; height: 200px; object-fit: cover; display: block; }
.gallery figcaption { padding: 10px 14px; font-size: 14px; }
.steps { display: grid; gap: 10px; margin-top: 12px; counter-reset: s; }
.steps div { background: var(--white); border: 1px solid var(--light); border-radius: var(--radius); padding: 14px 16px 14px 56px; position: relative; }
.steps div::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.success { text-align: center; padding-top: 40px; }
.success .big { font-size: 56px; margin-bottom: 8px; color: var(--accent); }
.number { display: inline-block; background: var(--white); border: 1px solid var(--light); border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: 18px; margin-top: 12px; }
.hidden { display: none !important; }
@media (max-width: 360px) {
  h1 { font-size: 26px; }
  .options { grid-template-columns: 1fr; }
}
