/* DFW Quote Desk: consumer-product look (cream, one bold action color, rounded cards, color-blocked bands). Light only. */
:root {
  --bg: #f7f3ec;
  --card: #fffdf9;
  --muted: #e8eef5;
  --line: #d7e2ec;
  --ink: #0a1122;
  --ink-soft: #525f73;
  --brand: #2f4bd7;
  --brand-deep: #0a1122;
  --brand-soft: #e3eafb;
  --brand-ink: #ffffff;
  --amber: #ffb81c;
  --amber-soft: #fff2dd;
  --dark: #0a1122;
  --dark-ink: #f7f3ec;
  --dark-soft: #bcd2e6;
  --green: #2f6b4f;
  --green-soft: #e3eadf;
  --brass: #b07d10;
  --error: #b42318;
  --r-card: 28px;
  --r-inner: 18px;
  --r-btn: 10px;
  --shadow: 0 1px 2px rgba(10, 17, 34, 0.05), 0 20px 44px -28px rgba(10, 17, 34, 0.35);
  --shadow-sm: 0 1px 2px rgba(10, 17, 34, 0.05), 0 8px 20px -14px rgba(10, 17, 34, 0.22);
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-deep); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-feature-settings: "kern" 1; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}


/* Header */
.site-header { padding: 14px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 12px; background: var(--dark); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; gap: 18px; font-size: 0.95rem; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--ink); }
.nav .nav-hide { display: none; }
@media (min-width: 768px) { .nav .nav-hide { display: inline; } }

/* Sticky pill header (homepage) */
.site-header.is-sticky { position: sticky; top: 0; z-index: 30; padding: 10px 0; background: linear-gradient(var(--bg) calc(100% - 6px), rgba(247, 243, 236, 0)); }
.site-header.is-sticky .container { display: block; }
.nav-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(10, 17, 34, 0.08); border-radius: 14px; padding: 8px 8px 8px 14px; box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-btn); border: 0;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--amber); color: #0a1122; }
.btn-primary:hover { background: #ffc94d; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-soft); padding: 0 14px; }
.btn-ghost:hover { color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.nav-cta { display: none; }
@media (min-width: 960px) { .nav-cta { display: inline-flex; color: #0a1122 !important; } }

/* Eyebrow and chips (contractor page) */
.eyebrow {
  display: block; font-size: 0.98rem; font-weight: 700;
  color: var(--brand-deep); margin-bottom: 10px;
}
.eyebrow.on-dark { background: none; color: var(--amber); }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check-list svg { flex: none; color: var(--green); margin-top: 3px; }
.icon-chip {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 12px;
}
.icon-chip.green { background: var(--green-soft); color: var(--green); }
.tag { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.step-num {
  width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 16px;
}

/* Cards */
.card {
  background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow);
  border: 1px solid rgba(10, 17, 34, 0.06); padding: 24px;
}
@media (min-width: 768px) { .card { padding: 32px; } }

/* Hero (shared) */
.hero { padding: 8px 0 24px; }
.hero-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 24px; } }
.hero-grid > *, .lux-hero > * { min-width: 0; }
.hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; }
.hero-cta { margin: 4px 0 24px; }
@media (min-width: 960px) { .hero-cta { display: none; } }

/* Sections */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.section-tight { padding: 40px 0; }
@media (min-width: 768px) { .section-tight { padding: 56px 0; } }
.section-head { max-width: 40em; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.center-title { text-align: center; margin-bottom: 28px; }

/* Color blocks */
.band-dark { background: var(--dark); color: var(--dark-ink); border-radius: 36px; padding: 36px 20px; }
@media (min-width: 768px) { .band-dark { padding: 64px 56px; } }
.band-dark p { color: var(--dark-soft); font-size: 1.08rem; max-width: 40em; }
.band-dark .points { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 768px) { .band-dark .points { grid-template-columns: repeat(3, 1fr); } }
.band-dark .point { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px; padding: 20px; }
.band-dark .point strong { display: block; color: #fff; margin-bottom: 6px; font-size: 1.05rem; }
.band-dark .point span { color: var(--dark-soft); font-size: 0.96rem; }

.two-col { display: grid; gap: 16px; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border-radius: 20px; box-shadow: var(--shadow-sm); border: 1px solid rgba(10, 17, 34, 0.06); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; display: grid; place-items: center;
  font-weight: 500; font-size: 1.4rem; color: var(--ink-soft); line-height: 20px; text-align: center;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }

/* Final CTA */
.cta-panel { background: var(--dark); color: #fff; border-radius: 36px; padding: 36px 20px; text-align: center; }
@media (min-width: 768px) { .cta-panel { padding: 56px; } }

/* Footer: brand card */
.site-footer { padding: 0 0 112px; color: var(--ink-soft); font-size: 0.92rem; }
@media (min-width: 960px) { .site-footer { padding-bottom: 32px; } }
.footer-grid { display: grid; gap: 20px; background: var(--brand-deep); color: var(--dark-soft); border-radius: 28px; padding: 28px 24px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }
.footer-grid strong { color: #fff !important; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--dark-soft); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* Form card */
.form-card { scroll-margin-top: 16px; }
.form-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.form-top h2 { font-size: 1.35rem; margin: 0; }
.step-count { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.progress { height: 6px; background: var(--muted); border-radius: 3px; overflow: hidden; margin-bottom: 22px; }
.progress span { display: block; height: 100%; width: 33.33%; background: var(--brand); border-radius: 3px; transition: width 0.25s ease; }
.form-step[hidden] { display: none; }
.field { margin-bottom: 20px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.field .hint { font-weight: 500; color: var(--ink-soft); font-size: 0.9rem; }
.input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; font: inherit; color: var(--ink);
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.input[aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-size: 0.9rem; font-weight: 600; margin-top: 6px; display: none; }
.error.show { display: block; }
.zip-ok { color: var(--green); font-size: 0.9rem; font-weight: 600; margin-top: 6px; display: none; }
.zip-ok.show { display: block; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid.one { grid-template-columns: minmax(0, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 0.95rem; line-height: 1.25;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice span svg { flex: none; color: var(--brand-deep); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand) inset; }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 16px; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--brand); }
.disclosure { font-size: 0.88rem; color: var(--ink-soft); background: var(--muted); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.form-nav .btn-primary { flex: 1; }
@media (min-width: 480px) { .form-nav .btn-primary { flex: 0 1 auto; min-width: 200px; } }
.small-print { font-size: 0.82rem; color: var(--ink-soft); margin: 14px 0 0; text-align: center; }

/* Mobile sticky CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: none;
}
.sticky-cta.show { display: block; }
@media (min-width: 960px) { .sticky-cta, .sticky-cta.show { display: none; } }

/* Contractor page */
.fee-calc { display: grid; gap: 16px; }
@media (min-width: 768px) { .fee-calc { grid-template-columns: 1fr 1fr; align-items: center; } }
.fee-result { background: var(--brand-soft); border-radius: 22px; padding: 22px; text-align: center; }
.fee-result .amount { font-size: 2.6rem; font-weight: 800; color: var(--brand-deep); line-height: 1.1; }
.fee-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.fee-table th, .fee-table td { text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.fee-table th { font-size: 0.9rem; color: var(--ink-soft); }
.rules { display: grid; gap: 14px; }
@media (min-width: 768px) { .rules { grid-template-columns: repeat(2, 1fr); } }
.rule { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-radius: 22px; padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid rgba(10, 17, 34, 0.06); }
.rule p { margin: 0; color: var(--ink-soft); }
.rule strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* Legal pages */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal li { margin-bottom: 0.4em; }

/* Thanks page */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: t; }
.timeline li { display: flex; gap: 14px; align-items: flex-start; }
.timeline li::before {
  counter-increment: t; content: counter(t); flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 0.95rem;
}
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
pre.payload { background: var(--dark); color: #dfe6f3; border-radius: 16px; padding: 16px; overflow-x: auto; font-size: 0.8rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}


/* ===== Homepage ===== */

/* Hero: one photo card; headline on the photo, the form floating on the right */
.lux-hero { position: relative; border-radius: 28px; overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; }
.lux-hero-bg { position: absolute; inset: 0; z-index: -2; }
.lux-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 55%; display: block; }
.lux-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 17, 34, 0.88) 0%, rgba(10, 17, 34, 0.62) 36%, rgba(10, 17, 34, 0.16) 64%, rgba(10, 17, 34, 0.05) 100%),
    linear-gradient(0deg, rgba(10, 17, 34, 0.5) 0%, rgba(10, 17, 34, 0) 42%);
}
.hero-kicker { font-weight: 600; color: var(--amber); margin: 0 0 14px; font-size: 1rem; }
.lux-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; margin-bottom: 18px; }
.lux-hero .lead { color: rgba(255, 255, 255, 0.86); font-size: 1.14rem; max-width: 30em; margin: 0; }
.lux-hero .form-card { color: var(--ink); }
.hero-cta { display: none; }
@media (min-width: 960px) {
  .lux-hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: end; min-height: 660px; padding: 56px; }
  .lux-hero .form-card { align-self: center; }
}
@media (max-width: 959px) {
  .lux-hero { display: flex; flex-direction: column; padding: 0 12px 12px; }
  .lux-hero-bg, .lux-shade { bottom: auto; height: 470px; }
  .lux-shade { background: linear-gradient(180deg, rgba(10, 17, 34, 0.1) 0%, rgba(10, 17, 34, 0.32) 34%, rgba(10, 17, 34, 0.93) 74%, var(--dark) 100%); }
  .lux-hero-copy { padding: 220px 8px 22px; }
}

.photo-tag { position: absolute; top: 12px; left: 12px; background: rgba(10, 17, 34, 0.72); color: #fff; font-size: 0.75rem; font-weight: 600; border-radius: 4px; padding: 2px 7px; }

.quote-card { background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--shadow); max-width: 520px; }
.qc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 2px 4px 12px; border-bottom: 1px solid var(--line); }
.qc-head strong { display: block; font-size: 1rem; }
.qc-head span { color: var(--ink-soft); font-size: 0.85rem; }
.qc-tag { font-size: 0.78rem !important; font-weight: 600; background: var(--muted); color: var(--ink-soft) !important; border-radius: 4px; padding: 1px 7px; white-space: nowrap; }
.qc-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "bar start"; gap: 4px 12px;
  align-items: center; padding: 11px 10px; border-radius: 14px; margin-top: 6px;
}
.qc-row.is-picked { background: var(--amber-soft); box-shadow: inset 0 0 0 1.5px var(--amber); }
.qc-name { grid-area: name; font-weight: 700; font-size: 0.95rem; }
.qc-name em { font-style: normal; font-size: 0.8rem; font-weight: 700; color: #8a5a00; margin-left: 8px; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.qc-name em svg { flex: none; }
.qc-price { grid-area: price; font-weight: 800; font-variant-numeric: tabular-nums; }
.qc-bar { grid-area: bar; height: 6px; background: var(--muted); border-radius: 2px; overflow: hidden; }
.qc-bar i { display: block; height: 100%; background: #c9d4f3; border-radius: 2px; }
.qc-row.is-picked .qc-bar i { background: var(--amber); }
.qc-start { grid-area: start; color: var(--ink-soft); font-size: 0.82rem; white-space: nowrap; }
.quote-card figcaption { color: var(--ink-soft); font-size: 0.78rem; padding: 10px 4px 0; }
@media (min-width: 560px) {
  .qc-row { grid-template-columns: minmax(0, 1.3fr) minmax(60px, 1fr) auto auto; grid-template-areas: "name bar price start"; gap: 14px; padding: 10px; }
  .qc-start { min-width: 92px; text-align: right; }
}

.hero-strip {
  margin-top: 12px; background: var(--green-soft); color: var(--brand-deep); border-radius: 22px; padding: 14px 18px;
  text-align: center; font-size: 0.98rem;
}
.hero-strip a { color: var(--brand-deep); font-weight: 700; margin-left: 4px; }

@media (max-width: 480px) {
  .lux-hero .form-card { padding: 20px 16px; }
  .choice span { padding: 10px; gap: 8px; font-size: 0.92rem; }
  .quote-card { padding: 12px; }
}

/* How it works timeline */
.timeline-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; gap: 28px; }
.tl-step { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; }
.tl-num { font-weight: 800; font-size: 1.05rem; color: var(--brand-deep); background: var(--brand-soft); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.tl-copy h3 { font-size: 1.35rem; margin-bottom: 6px; }
.tl-copy p { color: var(--ink-soft); margin: 0; }
.tl-art { grid-column: 2; }
@media (min-width: 860px) {
  .tl-step { grid-template-columns: 56px 1fr 340px; gap: 24px; align-items: start; }
  .tl-num { width: 56px; height: 56px; font-size: 1.15rem; }
  .tl-art { grid-column: 3; }
  .tl-copy { padding-top: 10px; }
}
.mini-card { background: #fff; border: 1px solid rgba(10, 17, 34, 0.06); border-radius: 20px; padding: 16px; box-shadow: var(--shadow-sm); font-size: 0.86rem; }
.mini-label { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); margin: 2px 0 6px; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.mini-chips span { border: 1.5px solid var(--line); border-radius: 6px; padding: 4px 10px; font-weight: 600; }
.mini-chips span.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
.mini-input { border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px; font-weight: 600; }
.mini-title { font-weight: 800; margin-bottom: 8px; }
.mini-status { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--muted); }
.mini-status b { margin-left: auto; font-weight: 700; color: var(--green); }
.mini-status.muted b { color: var(--ink-soft); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; flex: none; }
.dot.done { background: var(--green); }
.mini-line { padding: 6px 0; border-top: 1px solid var(--muted); font-weight: 600; }
.mini-line.soft { color: var(--ink-soft); font-weight: 500; }

/* Split layouts */
.split { display: grid; gap: 24px; align-items: center; }
.split-top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.split-copy h2 { margin-bottom: 12px; }
.split-copy p { color: var(--ink-soft); font-size: 1.06rem; max-width: 30em; }

/* Privacy: what quoting companies see */
.scope-sheet { background: #fff; border-radius: 26px; box-shadow: var(--shadow); border: 1px solid rgba(10, 17, 34, 0.06); padding: 20px; }
.ss-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 10px; }
.scope-sheet dl { margin: 0; }
.scope-sheet dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--muted); font-size: 0.95rem; }
.scope-sheet dt { color: var(--ink-soft); font-weight: 600; }
.scope-sheet dd { margin: 0; font-weight: 600; }
.hidden-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--dark); color: #fff; font-size: 0.78rem; font-weight: 700; border-radius: 8px; padding: 3px 10px; }
.hidden-chip::before { content: ""; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 3px; }

/* Payment band */
.pay-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .pay-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.pay-note { color: #fff !important; font-weight: 700; margin: 0; }
.pick-notice { background: #fff; color: var(--ink); border-radius: 22px; padding: 18px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7); }
.pick-notice p { color: var(--ink) !important; font-size: 0.98rem !important; margin: 10px 0 14px; }
.pn-top { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.9rem; }
.pn-dot { width: 22px; height: 22px; border-radius: 7px; background: var(--brand); }
.pn-time { margin-left: auto; color: var(--ink-soft); font-weight: 500; }
.pn-btn { display: inline-flex; background: var(--brand); color: #fff; font-weight: 700; border-radius: 8px; padding: 8px 16px; font-size: 0.92rem; }

/* What we check: one green block with a photo anchor */
.check-panel { background: var(--green-soft); border-radius: 32px; padding: 28px 20px; }
@media (min-width: 768px) { .check-panel { padding: 48px; } }
.panel-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; margin-top: 20px; display: block; }
@media (min-width: 900px) { .panel-photo img { max-width: 420px; } }
.plain-lists { display: grid; gap: 28px; }
.plain-lists ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.plain-lists li { display: flex; gap: 12px; font-size: 1.02rem; }
.plain-lists svg { flex: none; margin-top: 5px; }
.plain-lists .do-list svg { color: var(--green); }
.plain-lists .dont-list svg { color: var(--ink-soft); }

/* Closing CTA over the street photo */
.photo-cta { position: relative; overflow: hidden; min-height: 320px; display: grid; place-items: center; align-content: center; }
.photo-cta .cta-bg { position: absolute; inset: 0; }
.photo-cta .cta-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 17, 34, 0.5), rgba(10, 17, 34, 0.82)); }
.photo-cta > *:not(.cta-bg) { position: relative; z-index: 1; }
.photo-cta h2 { color: #fff; margin-bottom: 24px; }
.photo-note { font-size: 0.82rem; opacity: 0.85; }
/* Footer card lines up with the other cards (shared by all pages) */
.container.footer-grid { width: calc(100% - 32px); max-width: 1072px; }
@media (min-width: 768px) { .container.footer-grid { width: calc(100% - 48px); } }

/* ===== Post-verdict polish (Robi, 10-24) ===== */
/* Footer back in the navy palette */
.footer-grid { background: var(--dark); color: var(--dark-soft); }
.footer-links a { color: var(--dark-soft); }

/* Mobile menu */
.nav-pill { position: relative; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: 0.95rem; color: var(--ink); cursor: pointer;
}
.menu-btn svg { transition: transform 0.15s ease; }
.nav-pill.open .menu-btn svg { transform: rotate(180deg); }
@media (min-width: 768px) { .menu-btn { display: none; } }
@media (max-width: 767px) {
  .nav-pill .nav { display: none; }
  .nav-pill.open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow); border: 1px solid rgba(10, 17, 34, 0.07);
  }
  .nav-pill.open .nav a { display: block; padding: 12px 14px; border-radius: 12px; font-size: 1rem; color: var(--ink); }
  .nav-pill.open .nav a:hover { background: var(--muted); }
  .nav-pill.open .nav .nav-cta { display: flex; margin-top: 6px; color: #0a1122 !important; }
  /* Dim the page under the open menu so it reads as a layer, not text on text */
  body.menu-open::after { content: ""; position: fixed; inset: 0; z-index: 25; background: rgba(10, 17, 34, 0.55); }
  body.menu-open .site-header { position: sticky; top: 0; z-index: 40; }
}

/* Sticky CTA sits on a bar, so page text doesn't show around it */
.sticky-cta {
  left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 243, 236, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}

/* Pay band: caption sits right above its card */
.pay-example .pay-note { margin: 0 0 10px; color: #fff; font-weight: 700; }

/* ===== Type: Archivo (picked by Robi 10-24); headings use its wider cut ===== */
h1, h2, h3 { font-stretch: 108%; font-weight: 600; letter-spacing: -0.022em; }
h3 { font-stretch: 100%; font-weight: 650; letter-spacing: -0.01em; }

/* Example card: names never wrap; "You picked" sits under the name */
.qc-name { white-space: nowrap; }
.qc-name em { display: flex; margin: 2px 0 0; }
@media (min-width: 560px) {
  .qc-row { grid-template-columns: auto minmax(40px, 1fr) auto auto; }
}

/* ===== Luxe pass (Robi 10-24: "more luxurious, like Realm") ===== */
body { line-height: 1.65; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
.section { padding: 64px 0; }
.section-tight { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } .section-tight { padding: 80px 0; } }
.center-title { margin-bottom: 40px; }
.split-copy p { font-size: 1.08rem; }
.eyebrow { color: #865f0a; font-weight: 600; } /* darker gold: small text needs 4.5:1 contrast */

/* Buttons and form */
.btn { font-weight: 650; }
.card { box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-top h2 { font-weight: 650; font-stretch: 100%; letter-spacing: -0.01em; }
.choice span { border-width: 1px; }
.choice input:checked + span { box-shadow: inset 0 0 0 1px var(--brand); }
.input { border-width: 1px; }

/* Header bar */
.nav-pill { background: rgba(255, 253, 249, 0.94); border-color: var(--line); box-shadow: none; }

/* Example card */
.quote-card { border: 1px solid var(--line); box-shadow: var(--shadow); }
.qc-price { font-weight: 700; }

/* Hero strip */
.hero-strip { background: var(--green-soft); border-radius: 18px; }

/* How it works: big thin numerals and hairlines, no boxes */
.timeline-steps { max-width: 1040px; gap: 0; }
.tl-step { padding: 32px 0; border-top: 1px solid var(--line); }
.tl-step:last-child { border-bottom: 1px solid var(--line); }
.tl-num { width: auto; height: auto; background: none; border-radius: 0; color: var(--brass); font-size: 2.6rem; font-weight: 300; font-stretch: 100%; line-height: 1; display: block; place-items: initial; }
@media (min-width: 860px) {
  .tl-step { grid-template-columns: 120px 1fr 340px; gap: 32px; }
  .tl-num { width: auto; height: auto; font-size: 3.4rem; }
}
.mini-card { box-shadow: none; border: 1px solid var(--line); }

/* Scope sheet and pay band */
.scope-sheet { box-shadow: none; border: 1px solid var(--line); }
.band-dark { border-radius: 28px; }
.pick-notice { background: var(--card); }

/* FAQ: lines, not boxes */
.faq { gap: 0; }
.faq details { background: none; box-shadow: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::after { right: 4px; }
.faq details p { padding: 0 0 22px; }

/* Footer */
.footer-grid { border-radius: 24px; }
@media (max-width: 480px) {
  .lux-hero h1 { font-size: 2.05rem; }
  .lux-hero-copy { padding-top: 200px; }
}
h1, h2 { text-wrap: balance; }

/* How it works: heading beside the roofer photo */
.how-head { display: grid; gap: 24px; margin-bottom: 40px; align-items: end; }
.how-head h2 { margin-bottom: 10px; }
.how-head p { margin: 0; }
.how-photo { position: relative; margin: 0; }
.how-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; border-radius: 24px; display: block; }
@media (min-width: 860px) { .how-head { grid-template-columns: 0.8fr 1.2fr; gap: 56px; margin-bottom: 56px; } }

/* Logo B (Roof quotes), picked by Robi 10-24 */
.logo { gap: 10px; }
.logo-mark { width: 34px; height: 34px; background: none; border-radius: 0; box-shadow: none; display: block; flex: none; }
.logo .word { font-stretch: 108%; font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.logo .word i { font-style: normal; font-weight: 500; color: var(--brass); margin-right: 5px; }
.logo .word b { font-weight: 650; color: var(--ink); }
.footer-logo { display: inline-flex; align-items: center; margin-bottom: 10px; }
.footer-logo .logo-mark { width: 30px; height: 30px; }
.footer-logo .word b { color: #f7f3ec; }
.footer-logo .word i { color: var(--amber); }

/* ===== Launch pass (navy/amber brand, open project scope, quote check path) ===== */
/* Logo colors follow the tokens */
.logo-mark .lm-roof { stroke: var(--dark); }
.logo-mark .lm-q { fill: var(--amber); }
.logo-mark .lm-t { stroke: var(--amber); }
.footer-logo .logo-mark .lm-roof { stroke: var(--dark-ink); }

/* Green stays for success states only; tinted panels use the blue tint */
.hero-strip { background: var(--brand-soft); }
.check-panel { background: var(--brand-soft); }

/* Project examples under the free-text project field */
.example-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ex-chip { font: inherit; font-size: 0.86rem; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.ex-chip:hover, .ex-chip:focus-visible { border-color: var(--brand); color: var(--brand); }
.path-link { font-size: 0.9rem; margin: -8px 0 18px; color: var(--ink-soft); }
.path-link a { font-weight: 650; }

/* Sample comparison: bars only, no prices */
.quote-card.sample .qc-row { grid-template-columns: max-content minmax(60px, 1fr); grid-template-areas: "name bar"; gap: 18px; padding: 12px 10px; }
.quote-card.sample .qc-bar { height: 10px; }
.quote-card.sample .qc-name em { display: flex; margin: 3px 0 0; }
@media (max-width: 480px) {
  .quote-card.sample .qc-row { grid-template-columns: 1fr; grid-template-areas: "name" "bar"; gap: 8px; }
}

/* Quote upload field */
.file-field { display: grid; gap: 8px; }
.file-btn { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-weight: 650; border: 1px dashed var(--brand); color: var(--brand); background: var(--brand-soft); border-radius: 10px; padding: 10px 14px; cursor: pointer; }
.file-name { font-size: 0.9rem; color: var(--ink-soft); }
.or-line { text-align: center; color: var(--ink-soft); font-size: 0.85rem; margin: 2px 0 10px; }
.input-money { position: relative; }
.input-money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); font-weight: 600; }
.input-money .input { padding-left: 30px; }
.upload-done { color: var(--green); font-weight: 600; margin-top: 10px; }
/* Legal pages: the footer carries every link, so the header links hide on small phones */
@media (max-width: 520px) { .nav-legal { display: none; } }

/* Keyboard focus shows on the buttons that open the hidden file pickers */
.file-field:focus-within .file-btn, #photo-card:focus-within label[for="photos"] { outline: 3px solid var(--brand); outline-offset: 3px; }

/* Illustration tags on the AC panel photo and the closing photo band */
.panel-photo { position: relative; }
.panel-photo .photo-tag { top: 32px; }
.photo-cta > .photo-tag { position: absolute; top: 12px; left: 12px; z-index: 1; }
