/* Hallmark pre-emit critique: P5 H5 E4 S4 R5 V4.
   Home sequence: neutral customer evidence, white FAQ, soft-grey inquiry.
   Existing Inter and brand yellow; no reveal animation or nested form card. */
@layer base, components, utilities;
@layer components {
body[data-home-page] { --home-inquiry-surface: var(--site-color-inquiry-surface); }
.home-faq-wrap, .home-contact {
  --home-ink: var(--site-color-ink);
  --home-paper: var(--site-color-paper);
  --home-muted: var(--site-color-inquiry-muted);
  --home-surface: var(--home-inquiry-surface, var(--site-color-inquiry-surface));
  --home-seam: var(--site-color-inquiry-line);
  --home-accent: var(--site-color-accent);
  --home-accent-hover: var(--site-color-accent-hover);
  --home-backdrop: var(--site-color-ink-32);
  --home-width: 1200px;
  --home-gutter: 24px;
  --home-space-section: var(--site-space-96);
  box-sizing: border-box;
}
.home-faq-wrap {
  padding: var(--home-space-section) var(--home-gutter);
  background: var(--home-paper);
}
.home-faq-wrap > .home-faq-section { max-width: var(--home-width); margin-inline: auto; }
.home-faq-wrap .home-faq-section {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--site-space-64);
  width: 100%;
  padding: 0;
}
.home-faq-intro .home-faq-title { margin-top: 0; }

.home-contact {
  display: block;
  width: 100%;
  margin: 0;
  padding: var(--home-space-section) var(--home-gutter);
  border-top: 1px solid var(--home-seam);
  background: var(--home-surface);
  color: var(--home-ink);
  font-family: var(--type-font-text);
  scroll-margin-top: 72px;
}
.home-contact *, .home-contact *::before, .home-contact *::after { box-sizing: border-box; }
.home-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--site-space-96);
  align-items: start;
  max-width: var(--home-width);
  margin-inline: auto;
}
.home-contact-intro h2 {
  max-width: 16ch;
  min-width: 0;
  margin: 0;
  color: var(--home-ink);
  font: var(--type-heading-1-weight) var(--type-heading-1-size)/var(--type-heading-1-line) var(--type-font-text);
  font-style: normal;
  letter-spacing: var(--type-heading-1-track);
  overflow-wrap: anywhere;
  text-wrap: balance;
  scroll-margin-top: 112px;
}
.home-contact-intro h2 span { color: inherit; }
.home-contact-intro > p {
  max-width: 36ch;
  margin: var(--site-space-20) 0 0;
  color: var(--home-muted);
  font-size: var(--type-body-size);
  line-height: var(--type-line-body);
  text-wrap: pretty;
}
.home-contact ::selection { background: var(--home-accent); color: var(--home-ink); }
.home-contact-open { display: none; }
/* Paint the CTA's angled edge over the inquiry surface, rather than exposing
   the white page underneath a clipped section. */
body[data-home-page] .sf-band {
  position: relative;
  isolation: isolate;
  clip-path: none;
  background: var(--home-inquiry-surface);
}
body[data-home-page] .sf-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sf-yellow);
  clip-path: polygon(0 var(--sf-tilt), 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.home-contact-dialog {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: 600px;
  max-height: calc(100dvh - 24px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  background: var(--home-surface);
  color: var(--home-ink);
  font-family: var(--type-font-text);
  overflow: hidden;
}
.home-contact-dialog[open] { display: flex; flex-direction: column; }
.home-contact-dialog::backdrop { background: var(--home-backdrop); }
.home-contact-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--site-space-16);
  padding: var(--site-space-20) var(--site-space-20) var(--site-space-16);
}
.home-contact-dialog-head h2 {
  margin: 0;
  color: var(--home-ink);
  font: var(--type-heading-4-weight) var(--type-heading-4-size)/var(--type-heading-4-line) var(--type-font-text);
  letter-spacing: var(--type-heading-4-track);
}
.home-contact-dialog-head h2:focus { outline: none; }
.home-contact-close {
  min-height: 44px;
  padding: 0 var(--site-space-8);
  border: 0;
  background: transparent;
  color: var(--home-ink);
  font: var(--type-weight-semibold) var(--type-body-sm-size)/var(--type-line-body) var(--type-font-text);
  cursor: pointer;
}
.home-contact-close:is(:hover, :active) { text-decoration: underline; text-underline-offset: 4px; }
.home-contact-close:focus-visible { outline: var(--site-focus-ring); outline-offset: var(--site-space-2); }
.home-contact-dialog-body {
  min-height: 0;
  max-height: calc(100dvh - 124px);
  padding: 0 var(--site-space-20) calc(var(--site-space-24) + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
}
body:has(.home-contact-dialog[open]) { overflow: hidden; }
@media (max-width: 899px) {
  .home-faq-wrap, .home-contact { --home-space-section: var(--site-space-64); }
  .home-faq-wrap .home-faq-section, .home-contact-inner { grid-template-columns: minmax(0, 1fr); gap: var(--site-space-40); }
  .home-contact-intro h2 { max-width: 22ch; }
}
@media (max-width: 599px) {
  .home-faq-wrap, .home-contact { --home-gutter: 20px; }
}
@media (max-width: 767px) {
  .home-contact[data-mobile-dialog-ready] .home-contact-body { display: none; }
  .home-contact[data-mobile-dialog-ready] .home-contact-open { display: inline-flex; width: 100%; margin-top: var(--site-space-32); }
}
}
