:root {
  --bg: #F4F4F2; --surface: #FFFFFF; --ink: #17181A; --char: #1E2124; --muted: #4A4F56; --faint: #5A5F66;
  --line: #E1E2DE; --line2: #C9CCD1; --amber: #F2A900; --amber-soft: #FFF6DB; --amber-ink: #7A5200;
  --green: #1F7A3A; --green-soft: #DCE3DD; --blue: #1B5FB0; --blue-soft: #EEF3FA; --red: #A8321E; --red-soft: #F8E2DC;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--body); }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 8px; }
h1 { font: 700 34px/1.05 var(--display); }
h2 { font: 700 24px/1.1 var(--display); margin-top: 24px; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 16px; }
.muted { color: var(--faint); }
.small { font-size: 13px; }
.center { text-align: center; }
.opt { font-weight: 400; color: var(--faint); }

.bar { background: var(--ink); color: #fff; padding: calc(14px + env(safe-area-inset-top)) 20px 14px; }
.bar-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wm { font-weight: 800; font-size: 28px; letter-spacing: -1px; color: #fff; }
.wm span { color: var(--amber); }
.bar .sub { font-size: 12px; color: #C9CCD1; }
.bar .sub .wm { font-size: 13px; letter-spacing: 0; }
.bar .co { font: 700 24px/1.1 var(--display); text-transform: uppercase; letter-spacing: .3px; }
.bar .home { text-decoration: none; }
.call { background: var(--amber); color: var(--ink); text-decoration: none; font-weight: 700; padding: 12px 16px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }

.wrap { max-width: 560px; margin: 0 auto; padding: 20px 16px 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 0 0 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; position: relative; }
.field label, .lbl { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); padding: 12px; border: 1px solid var(--line2); border-radius: 8px; min-height: 46px; background: #fff; width: 100%; }
textarea { min-height: 80px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }
.link { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--blue); align-self: flex-start; min-height: 36px; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 14px; }
.check input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px; }

.btn { display: block; width: 100%; background: var(--amber); color: var(--ink); border: 0; border-radius: 10px; font: inherit; font-weight: 800; font-size: 17px; padding: 15px; min-height: 54px; cursor: pointer; text-align: center; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: #fff; border: 1px solid var(--line2); font-weight: 700; }
.btn.red { background: #fff; border: 1px solid var(--red); color: var(--red); font-weight: 700; }
.btn.sm { font-size: 14px; padding: 10px 12px; min-height: 44px; width: auto; display: inline-block; }
.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 0; }

.quote { background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; padding: 14px; margin: 0 0 16px; }
.quote .total { display: flex; justify-content: space-between; align-items: baseline; }
.price { font: 700 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 3px 0; }
.line b { font-variant-numeric: tabular-nums; }
.err { color: var(--red); background: var(--red-soft); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.note { background: var(--blue-soft); color: #24364D; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 0 0 12px; }
.warn { background: var(--amber-soft); color: var(--amber-ink); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 0 0 12px; }

.ac-list { position: absolute; top: 76px; left: 0; right: 0; z-index: 5; background: #fff; border: 1px solid var(--line2); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); overflow: hidden; }
.ac-item { display: block; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; font: inherit; cursor: pointer; min-height: 44px; }
.ac-item b { display: block; font-size: 15px; }
.ac-item span { font-size: 13px; color: var(--faint); }
.sq { min-height: 90px; }

.how ol { padding-left: 20px; }
.how li { margin: 0 0 8px; }
.foot { text-align: center; font-size: 13px; color: var(--faint); padding: 8px 16px 32px; }
.legal h2 { font-size: 20px; }

/* tracking page */
.status { font: 700 28px/1.1 var(--display); margin: 0 0 6px; }
.steps { list-style: none; padding: 0; margin: 10px 0 0; }
.steps li { display: flex; gap: 10px; align-items: center; padding: 6px 0; color: var(--faint); font-size: 15px; }
.steps li.done { color: var(--green); font-weight: 600; }
.steps li.now { color: var(--ink); font-weight: 700; }
.dot { width: 14px; height: 14px; border-radius: 99px; border: 2px solid currentColor; flex: none; }
.done .dot { background: currentColor; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.thumbs a, .thumbs .ph { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--line2); position: relative; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs .cap { position: absolute; left: 0; right: 0; bottom: 0; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); padding: 2px 6px; }
