:root {
  --hl-orange: #ff5400;
  --hl-orange-dark: #e04800;
  --hl-black: #0d0d0d;
  --hl-ink: #1a1a1a;
  --hl-muted: #555;
  --hl-soft: #f5f4f0;
  --hl-warm: #f9f7f4;
  --hl-line: #e8e6e0;
  --hl-max: 1240px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10000;
  transform: translateY(-140%);
  background: var(--hl-orange);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #111;
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--hl-orange);
  outline-offset: 4px;
}

main:focus {
  outline: none;
}

.hl-container {
  max-width: var(--hl-max);
  margin: 0 auto;
  padding: 0 40px;
}

.hl-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--hl-orange);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hl-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hl-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--hl-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hl-button:hover {
  background: var(--hl-orange-dark);
}

.hl-button.secondary {
  background: transparent;
  color: var(--hl-ink);
  border: 1px solid var(--hl-ink);
}

.hl-button.secondary:hover {
  background: var(--hl-ink);
  color: #fff;
}

.hl-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--hl-line);
}

.hl-card {
  background: #fff;
  padding: 32px;
  border-top: 4px solid var(--hl-orange);
}

.hl-card h2,
.hl-card h3 {
  margin: 0 0 12px;
  color: var(--hl-ink);
  line-height: 1.3;
}

.hl-card p {
  margin: 0;
  color: var(--hl-muted);
  line-height: 1.75;
  font-weight: 300;
}

.hl-page-hero {
  background: var(--hl-black);
  color: #fff;
  padding: 104px 40px 88px;
  position: relative;
  overflow: hidden;
}

.hl-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 84, 0, 0.04) 0, rgba(255, 84, 0, 0.04) 1px, transparent 1px, transparent 52px);
  pointer-events: none;
}

.hl-page-hero > .hl-container {
  position: relative;
}

.hl-page-hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hl-page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 300;
}

.hl-section {
  padding: 88px 40px;
  border-top: 1px solid var(--hl-line);
}

.hl-section.soft {
  background: var(--hl-soft);
}

.hl-section.warm {
  background: var(--hl-warm);
}

.hl-section h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.25;
}

.hl-section-lead {
  max-width: 760px;
  margin: 0 0 44px;
  color: var(--hl-muted);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
}

@media (max-width: 900px) {
  .hl-container,
  .hl-page-hero,
  .hl-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hl-card-grid {
    grid-template-columns: 1fr;
  }

  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  [style*="gap:80px"],
  [style*="gap:64px"],
  [style*="gap:40px"] {
    gap: 28px !important;
  }

  [style*="padding:96px 40px"],
  [style*="padding:100px 40px"],
  [style*="padding:88px 40px"],
  [style*="padding:72px 40px"],
  [style*="padding:64px 40px"] {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 560px) {
  .hl-page-hero {
    padding-top: 84px;
    padding-bottom: 64px;
  }

  .hl-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  [style*="padding:40px 32px"],
  [style*="padding:36px 32px"],
  [style*="padding:32px 28px"] {
    padding: 26px 22px !important;
  }
}

/* Contextual lead forms for geographic and campaign landing pages. */
.hl-lead-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.hl-lead-context { position: sticky; top: 104px; }
.hl-lead-context p { color: var(--hl-muted); line-height: 1.75; }
.hl-lead-points { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hl-lead-points li { padding-left: 24px; position: relative; color: var(--hl-muted); line-height: 1.6; }
.hl-lead-points li::before { content: "✓"; position: absolute; left: 0; color: var(--hl-orange); font-weight: 700; }
.hl-lead-form { background: #fff; color: var(--hl-ink); border: 1px solid var(--hl-line); padding: clamp(24px, 4vw, 40px); text-align: left; }
.hl-lead-form h2 { margin-top: 0; }
.hl-lead-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hl-lead-form .form-field { display: grid; gap: 6px; margin-bottom: 16px; }
.hl-lead-form label { font-weight: 600; font-size: 14.5px; color: var(--hl-ink); }
.hl-lead-form input, .hl-lead-form select, .hl-lead-form textarea { width: 100%; border: 1px solid #b9b0a8; background: #fff; color: var(--hl-ink); font: inherit; font-size: 16px; padding: 11px 14px; min-height: 48px; }
.hl-lead-form textarea { min-height: 128px; resize: vertical; }
.hl-lead-form input:focus, .hl-lead-form select:focus, .hl-lead-form textarea:focus { outline: 3px solid rgba(255,84,0,.25); outline-offset: 1px; border-color: var(--hl-orange); }
.hl-lead-form .required-note, .hl-lead-form .field-hint, .hl-lead-form .confidentiality-note { color: var(--hl-muted); font-size: 13.5px; line-height: 1.65; }
.hl-lead-form .required-text { color: var(--hl-muted); font-weight: 400; }
.hl-lead-form .field-hint { margin: 0; }
.hl-lead-form .checkbox-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 18px 0 24px; }
.hl-lead-form .checkbox-row input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--hl-orange); }
.hl-lead-form .checkbox-row label { font-weight: 400; line-height: 1.6; color: var(--hl-muted); }
.hl-lead-form .form-status { margin: 14px 0; padding: 13px 16px; border: 1px solid var(--hl-line); background: var(--hl-warm); font-size: 14.5px; }
.hl-lead-form .form-status:empty { display: none; }
.hl-lead-form .form-status[data-state="error"] { border-color: #b42318; background: #fff4f2; color: #7a271a; }
.hl-lead-form .form-status[data-state="success"] { border-color: #027a48; background: #ecfdf3; color: #054f31; }
@media (max-width: 860px) {
  .hl-lead-wrap, .hl-lead-form .form-grid { grid-template-columns: 1fr; }
  .hl-lead-context { position: static; }
}
