:root {
  --ink: #0f1b2a;
  --muted: #4a5a6c;
  --brand: #1f4e79;
  --accent: #f26b1d;
  --bg: #f6f8fa;
  --card: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
header { padding-top: 28px; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.mark { width: 22px; height: 22px; background: linear-gradient(135deg, var(--brand) 50%, var(--accent) 50%); border-radius: 4px; }
.hero { padding: 72px 0 56px; max-width: 720px; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 12px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; }
.lede { color: var(--muted); font-size: 1.15rem; margin: 0 0 28px; }
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: 8px; }
.btn:hover { background: #163a5a; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.grid article { background: var(--card); border-radius: 12px; padding: 22px; box-shadow: 0 1px 3px rgba(15,27,42,.08); }
h2 { font-size: 1.15rem; margin: 0 0 8px; }
.grid p { margin: 0; color: var(--muted); }
.how { padding: 56px 0; }
.how ol { padding-left: 1.2em; margin: 0; }
.how li { margin-bottom: 10px; }
footer { border-top: 1px solid #dde3ea; padding: 22px 24px 40px; color: var(--muted); font-size: .9rem; }

/* Quote form */
.quote { padding: 0 0 64px; max-width: 720px; scroll-margin-top: 24px; }
.quote h2 { font-size: 1.6rem; margin-bottom: 8px; }
#quote-form { background: var(--card); border-radius: 12px; padding: 24px; box-shadow: 0 1px 3px rgba(15,27,42,.08); display: grid; gap: 16px; }
#quote-form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
#quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
#quote-form .opt { color: var(--muted); font-weight: 400; }
#quote-form input, #quote-form select, #quote-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff;
  border: 1px solid #c9d2dc; border-radius: 8px; padding: 10px 12px; width: 100%;
}
#quote-form textarea { resize: vertical; }
#quote-form input:focus, #quote-form select:focus, #quote-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
#quote-form button { border: 0; cursor: pointer; font: inherit; font-weight: 700; justify-self: start; }
#quote-form button:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.6em; }
.form-status.ok { color: #1d7a3d; font-weight: 600; }
.form-status.error { color: #b3261e; font-weight: 600; }
.form-status.pending { color: var(--muted); }
#quote-form input[type="file"] { padding: 8px; background: var(--bg); cursor: pointer; }
#quote-form .hint { color: var(--muted); font-weight: 400; font-size: .85rem; }
.file-list { list-style: none; margin: -6px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-size: .9rem; background: var(--bg); border-radius: 6px; padding: 8px 10px; }
.file-list .fname { overflow-wrap: anywhere; }
.file-list .fsize { color: var(--muted); }
.file-list progress { grid-column: 1 / -1; width: 100%; height: 6px; accent-color: var(--brand); }
