:root {
  --brand-ink: #171717;
  --brand-yellow: #ffc928;
  --brand-white: #fff;
  --brand-gray: #f2f2f2;
  --brand-muted: #666;
  --brand-line: #d9d9d9;
  --brand-yellow-hover: #ffda67;
  --brand-yellow-soft: #fff5d2;
}

body { background: var(--brand-white); color: var(--brand-ink); }
.nav { background: #fffffff2; border-color: #e9e9e9; box-shadow: 0 8px 28px #17171714; }
.nav nav a, .nav-phone, .logo, .text-link, .catalog-link, .footer-grid a, .service-areas-grid a { color: var(--brand-ink); }
.nav nav a:hover, .nav-phone:hover, .text-link:hover, .footer-grid a:hover,
.catalog-card h3 a:hover, .catalog-link:hover, .service-areas-grid a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
  text-decoration-color: var(--brand-yellow);
  text-underline-offset: 4px;
}
.text-link { border-bottom-color: var(--brand-yellow); }
.text-link span, .home-paths a > span:last-child, .service-areas-grid a span,
.request-phone span, .faq summary::after, .product-copy li::before { color: inherit; }
.eyebrow, .kicker, .person-role, .blog-grid article > .blog-meta, .footer-label {
  color: var(--brand-ink);
}
.footer-grid .footer-label { color: var(--brand-ink) !important; }
h1 em, h2 em, blockquote em { color: inherit; }
.quote-mark { color: var(--brand-ink); }
.quote-line, .process-steps > div { border-color: var(--brand-yellow); }
.quote-line { background: var(--brand-yellow); }
.process-steps span { color: var(--brand-muted); }

.button, .nav-measure,
.home-hero .hero-actions .button,
.estimate-actions [data-estimate-next] {
  background: var(--brand-yellow);
  color: var(--brand-ink);
}
.button:hover, .nav-measure:hover,
.home-hero .hero-actions .button:hover,
.estimate-actions [data-estimate-next]:hover {
  background: var(--brand-yellow-hover);
  color: var(--brand-ink);
}
.nav-measure, .nav-measure:hover, .lead-submit { box-shadow: none; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--brand-ink);
  outline-offset: 4px;
}
:where(.home-hero, .request, .lead-dialog) :focus-visible { outline-color: var(--brand-yellow); }

.home-hero { background: var(--brand-ink); }
.home-hero .hero-visual::after {
  background: linear-gradient(90deg, #171717eb 0%, #171717db 29%, #171717b8 45%, #17171742 70%, #17171712 100%);
}
.home-hero .eyebrow, .home-hero h1 em, .home-hero .text-link span { color: var(--brand-yellow); }
.home-hero .text-link { color: var(--brand-white); border-color: #ffffff80; }
.home-hero .text-link:hover { color: var(--brand-white); }

.home-problems { padding: clamp(25px, 4vw, 52px) 0 0; }
.home-problems h2 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 20px; }
.home-problems .home-paths {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--brand-line);
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  overflow: hidden;
}
.home-problems .home-paths a,
.home-problems .home-paths a + a {
  min-height: 78px;
  background: var(--brand-white);
  color: var(--brand-ink);
  border: 0;
  padding: 14px 16px;
}
.home-problems .home-paths a:hover { background: var(--brand-yellow-soft); }
.home-problems .home-paths a:focus-visible { outline-offset: -4px; }

.catalog, .estimate, .window-demo { background-color: var(--brand-gray); }
.window-demo { background-image: none; }
.catalog-card, .blog-grid article, .estimate-form, .person-lead {
  background: var(--brand-white);
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  overflow: hidden;
}
.catalog-price, .catalog-detail .catalog-price,
.price-row strong, .price-row strong small { color: var(--brand-ink); }
.catalog-credit, .section-intro > p, .catalog-card p, .catalog-lead, .catalog-price-note,
.catalog-information p, .blog-heading > p:not(.kicker), .blog-grid article > p:not(.blog-meta),
.person-intro, .home-paths small, .service-areas-intro { color: var(--brand-muted); }
.catalog-link, .catalog-breadcrumb, .blog-footer, .service-areas-grid a,
.faq details, .faq-list, .footer-grid, .footer-bottom { border-color: var(--brand-line); }
.product-panel { border: 1px solid var(--brand-line); border-radius: 12px; }
.product-tabs button { color: var(--brand-ink); border-color: var(--brand-line); }
.product-tabs button.is-active, .product-tabs button:hover {
  color: var(--brand-ink);
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
}
.blog-contents, .blog-table thead th { background: var(--brand-gray); }
.blog-grid a { border-color: var(--brand-yellow); }
.blog-grid a:hover { color: var(--brand-ink); }

.estimate {
  background-image:
    linear-gradient(90deg, #1717170b 1px, transparent 1px),
    linear-gradient(#1717170b 1px, transparent 1px);
}
.estimate-form { color: var(--brand-ink); }
.estimate-form progress { background: var(--brand-gray); color: var(--brand-yellow); }
.estimate-form progress::-webkit-progress-bar { background: var(--brand-gray); }
.estimate-form progress::-webkit-progress-value { background: var(--brand-yellow); }
.estimate-form progress::-moz-progress-bar { background: var(--brand-yellow); }
.estimate-options label, .estimate-fields :is(input, select, textarea) { border-color: var(--brand-line); }
.estimate-options label:has(input:checked), .estimate-options label:hover { border-color: #8c6800; }
.estimate-options label:has(input:checked) { background: var(--brand-yellow-soft); }
.estimate-options input, .lead-consent input { accent-color: #8c6800; }
.window-panel, .window-steps button { background: var(--brand-white); border-color: var(--brand-line); color: var(--brand-ink); }
.window-steps button[aria-pressed="true"], .window-steps button:hover {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--brand-ink);
}
.window-status strong, .window-repair { color: var(--brand-ink); }

.request, .lead-dialog { background: var(--brand-ink); color: var(--brand-white); }
.request { border-radius: 12px; }
.request .kicker, .request h2 em, .lead-dialog .kicker, .lead-dialog h2 em { color: var(--brand-yellow); }
.request-copy > p:not(.kicker), .request label, .request .form-note { color: #d6d6d6; }
.request-phone, .request input, .request textarea { color: var(--brand-white); border-color: #a0a0a0; }
.request input::placeholder, .request textarea::placeholder { color: #aaa; }
.request input:focus, .request textarea:focus,
.lead-modal-form input:focus, .lead-modal-form textarea:focus { border-color: var(--brand-yellow); }
.request .form-success { color: #b1e5b1; }
.lead-modal-form input:not([type="checkbox"]), .lead-modal-form textarea { background: #303030; }
.lead-messengers a:hover { background: var(--brand-yellow); color: var(--brand-ink); }
.request .request-consent, .estimate-fields .estimate-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}
.request .request-consent input, .estimate-fields .estimate-consent input {
  width: auto;
  min-height: 0;
  padding: 0;
  margin-top: 3px;
  accent-color: #8c6800;
}
.request-consent a, .estimate-consent a, .lead-consent a { color: inherit; }
.form-success[data-error], .lead-form-success[data-error] { color: #ffc5b9; }

@media (max-width: 800px) {
  .home-hero .hero-visual::after {
    background: linear-gradient(180deg, #17171718, #171717a6 34%, #171717e8 90%),
      linear-gradient(90deg, #17171761, transparent 85%);
  }
  .home-problems .home-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .home-problems .home-paths { grid-template-columns: 1fr; }
  .home-problems .home-paths a, .home-problems .home-paths a + a { min-height: 60px; }
  .process-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .process-steps > div { padding-top: 15px; }
  .process-steps h3 { margin-top: 8px; }
}
