/* Contractor website design page. Loads after index.css and uses the homepage header, hero, section headers,
   deliverables, dark steps band, plain question rows, closing section and shared footer as they are. Only what
   the homepage does not have is defined here, all scoped to .design-page. */
.design-page .nav a:focus-visible, .design-page .hero a:focus-visible, .design-page .how-it-works a:focus-visible { outline-color: #f5f1e7; }

/* Hero: the homepage hero. Headings keep their source text and use the homepage's uppercase style. The heading is
   longer than "CONTRACTOR WEBSITES", so the copy column is wider and the heading a step smaller (as on the cost guide). */
.design-page .hero h1 { text-transform: uppercase; }
@media (min-width: 801px) {
    .design-page .hero-content { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); }
    .design-page .hero h1 { font-size: clamp(40px, 3.4vw, 48px); }
}
@media (max-width: 1099px) { .design-page .hero h1 br { display: none; } }

/* Hero packages: the three prices as short divider rows, each name linking to the request form with that package chosen. */
.design-packages { list-style: none; max-width: 560px; margin: 0 0 14px; padding: 0; }
.design-packages li { padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #c4c4b9; font-size: var(--fs-fine); line-height: 1.5; }
.design-packages li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.design-packages a { display: inline-block; margin-right: .4rem;    }
@media (max-width: 600px) { .design-packages a { display: block; margin: 0 0 2px; } }

/* Cream band between white sections (homepage rhythm). */
.design-page .design-cream { padding: var(--space-section-phone) 1.5rem; background: var(--bg-cream); }
@media (min-width: 768px) { .design-page .design-cream { padding: var(--space-section) var(--gutter); } }
.design-page .design-cream .deliverable-item { background: #fff; }

/* "A sales tool, not a brochure": copy beside plain divider rows. */
.design-split { display: grid; gap: 2.5rem; max-width: 1100px; margin: 0 auto; }
.design-split h2 { color: var(--text-headline); margin-bottom: 1.25rem; }
.design-split-copy p { font-size: var(--fs-body); line-height: 1.65; margin-bottom: 1rem; }
.design-rows { list-style: none; margin: 0; padding: 0; }
.design-rows li { padding: 1.1rem 0; border-top: 1px solid var(--card-border); color: var(--text-body); line-height: 1.6; }
.design-rows li:last-child { border-bottom: 1px solid var(--card-border); }
.design-rows strong { display: block; color: var(--text-headline); font-size: var(--fs-lead); margin-bottom: .25rem; }
@media (min-width: 801px) { .design-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }

/* How customers decide: three check rows on the homepage dark band, light text on dark. */
.design-decide { list-style: none; display: grid; gap: 1.5rem; margin: 0 0 3rem; padding: 0; }
.design-decide li { position: relative; padding: 1.25rem 0 0 2.75rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.design-decide li::before { content: '\2713'; position: absolute; left: 0; top: 1.15rem; width: 30px; height: 30px; border-radius: 50%; background: var(--action-orange); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: var(--fs-body); }
.design-decide strong { display: block; color: #fff; font-size: var(--fs-lead); line-height: 1.35; margin-bottom: .4rem; }
.design-decide p { color: var(--on-dark-muted); font-size: var(--fs-body); line-height: 1.6; }
@media (min-width: 900px) { .design-decide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.design-center { text-align: center; }
.how-it-works .design-center { text-align: left; }

/* What proof means: two plain lists (include with the homepage check, avoid with a muted dash). */
.design-compare { display: grid; gap: 2.5rem; max-width: 1000px; margin: 0 auto; }
.design-compare h3 { font-size: var(--fs-lead); font-weight: 700; color: var(--text-headline); margin-bottom: .75rem; }
.design-compare-list { list-style: none; margin: 0; padding: 0; }
.design-compare-list li { display: flex; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--card-border); color: var(--text-body); line-height: 1.55; }
.design-compare-list li::before { flex: 0 0 auto; font-weight: 800; }
.design-include li::before { content: '\2713'; color: var(--action-orange-deep); }
.design-avoid li::before { content: '\2013'; color: var(--muted); }
@media (min-width: 801px) { .design-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; } }

/* Related pages under the questions: plain divider rows, no pills. */
.design-links { list-style: none; max-width: 760px; margin: 3rem auto 0; padding: 0; display: grid; column-gap: 2rem; }
.design-links li { border-bottom: 1px solid var(--card-border); }
.design-links a { display: flex; align-items: center; min-height: 48px; color: var(--action-orange-deep); font-weight: 700; text-decoration: none; }
.design-links a::after { content: '\2192'; margin-left: auto; padding-left: .75rem; }
.design-links a:hover, .design-links a:focus-visible { text-decoration: underline; }
@media (min-width: 640px) { .design-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Fine print before the closing section. */
.design-page .design-note { padding-top: 3rem; padding-bottom: 3rem; }
.design-note p { max-width: 760px; margin: 0 auto; font-size: var(--fs-fine); line-height: 1.6; color: var(--muted); text-align: center; }


