:root {
  color-scheme: light;
  --blue: #1588df;
  --deep: #0968b4;
  --ink: #152b40;
  --muted: #536a7e;
  --line: #d2e0eb;
  --paper: #f8fbfd;
  --pale: #eaf4fc;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --error: #9b302c;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; min-height: 100dvh; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
::selection { background: #bbdfff; color: #143c61; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--deep); outline-offset: 5px; }
p { margin-top: 0; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: .5rem; z-index: 10; padding: .75rem 1rem; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.masthead { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 16px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 115px; height: auto; filter: brightness(0); }
.masthead-note { border-left: 1px solid var(--line); padding-left: 20px; font-size: 10px; line-height: 1.6; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--deep); font-family: var(--mono); font-size: 10px; font-weight: 500; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 19px; height: 2px; flex-shrink: 0; background: currentColor; }
.hero-band { background: var(--pale); border-block: 1px solid var(--line); }
.hero { display: grid; gap: 26px; padding-block: 44px; }
.hero h1 { max-width: 1000px; margin: 0; font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; line-height: 1.1; letter-spacing: -.052em; text-wrap: balance; }
.hero h1 span { color: var(--deep); }
.hero-intro { max-width: 740px; margin: 0 0 24px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.cta { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 51px; padding: 14px 22px; border: 1px solid transparent; border-radius: 7px; background: var(--deep); color: var(--paper); text-decoration: none; font-size: 16px; font-weight: 800; line-height: 1.5; transition: transform .2s; }
.cta:hover { background: var(--ink); transform: translateY(-2px); }
.cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.section { padding-block: 58px; }
.section-heading { margin-bottom: 30px; }
h2 { max-width: 660px; margin: 0; font-size: clamp(30px, 3.4vw, 43px); font-weight: 800; line-height: 1.17; letter-spacing: -.045em; text-wrap: balance; }
h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.4; letter-spacing: -.025em; }
.section-intro { max-width: 540px; margin: 20px 0 0; color: var(--muted); line-height: 1.85; }
.business-areas { display: grid; }
.business-area { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding-block: 24px; border-top: 1px solid var(--line); }
.number { padding-top: 4px; color: var(--deep); font-family: var(--mono); font-size: 11px; }
.business-area h3 { font-size: clamp(20px, 2vw, 24px); }
.business-area p { margin: 10px 0 0; color: var(--muted); }
.definition { background: #edf4f9; border-block: 1px solid var(--line); }
.help-grid { display: grid; gap: 28px; }
.help-grid .section-heading { margin: 0; }
.help-list { list-style: none; padding: 0; margin: 0; }
.help-list li { padding-block: 20px; border-top: 1px solid var(--line); }
.help-list p { margin: 8px 0 0; color: var(--muted); }
.contact { padding-block: 58px; background: #e5f2fc; border-top: 1px solid #c7deef; }
.contact h2 { max-width: 540px; }
.contact-text { max-width: 490px; margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.closing-note { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid #bbd5e8; color: var(--muted); font-size: 12px; }
.contact-action { min-width: 0; margin-top: 30px; padding: 24px; border: 1px solid #c9dfef; border-radius: 11px; background: var(--paper); box-shadow: 0 12px 36px #244c7208; }
.contact .cta { width: 100%; gap: 12px; font-size: 12px; }
.contact-detail { margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.85; overflow-wrap: anywhere; }
.contact-detail + .contact-detail { padding-top: 18px; border-top: 1px solid var(--line); }
.contact-detail strong { color: var(--ink); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 26px; color: var(--muted); font-size: 10px; }
.footer p { margin: 0; }
.footer p:first-child { color: var(--ink); font-weight: 800; }

/* The existing IMPLAN editorial layout, extended with a readable local form. */
.contact-grid { align-items: start; }
.form-heading { margin-bottom: 8px; font-size: 23px; }
.form-note { margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.form-fields { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 750; }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #a8bdce; border-radius: 5px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; line-height: 1.5; }
.field textarea { min-height: 142px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, button:focus-visible, .consent input:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-hint { color: var(--muted); font-size: 11px; }
.consent { display: flex; align-items: start; gap: 10px; margin: 22px 0; font-size: 12px; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--deep); }
.consent a, .footer a { text-underline-offset: 3px; }
.contact button.cta { font-family: inherit; font-size: 14px; cursor: pointer; }
.cta:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-status { margin: 16px 0; padding: 12px 14px; border-left: 3px solid var(--error); background: #f9ece9; color: var(--error); font-size: 13px; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status:focus { outline: 2px solid var(--error); outline-offset: 3px; }
.honeypot { display: none !important; }
.receipt-band { border-block: 1px solid var(--line); background: var(--pale); }
.receipt { max-width: 820px; padding-block: clamp(56px, 10vw, 120px); }
.receipt h1 { margin: 0 0 26px; font-size: clamp(36px, 6vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -.045em; }
.receipt-copy { max-width: 610px; color: var(--muted); font-size: 17px; }
.receipt-next { margin: 32px 0; padding: 24px; border-left: 3px solid var(--blue); background: var(--paper); }
.receipt-next p { margin: 0; }
[hidden] { display: none !important; }
@media (min-width: 768px) {
  .form-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field-wide { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .wrap { width: min(1180px, calc(100% - 64px)); }
  .masthead { justify-content: flex-start; }
  .hero { gap: 30px; padding-block: 64px; }
  .section { padding-block: 64px; }
  .section-heading { margin-bottom: 32px; }
  .business-areas { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .business-area { padding-block: 26px; }
  .help-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .contact { padding-block: 64px; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .contact-action { margin-top: 0; padding: 30px; }
}
@media (min-width: 1101px) {
  .wrap { width: min(1180px, calc(100% - 96px)); }
  .hero { padding-block: 72px; }
  .help-grid { gap: 92px; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 92px; }
}
@media (max-width: 767px) {
  .masthead { min-height: 72px; }
  .brand img { width: 102px; }
  .masthead-note { padding-left: 14px; font-size: 9px; }
  .hero .cta { width: 100%; }
  .contact-action { padding: 23px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; }
  .cta:hover { transform: none; }
}
@media (forced-colors: active) {
  .cta { border: 2px solid ButtonText; }
  .brand { background: #f8fbfd; forced-color-adjust: none; }
}
