:root {
  --canvas: #F8F9FA;
  --panel: #FFFFFF;
  --ink: #1E293B;
  --accent: #0284C7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

button,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.technical-header {
  background: var(--panel);
  border-top: 5px solid var(--accent);
  border-bottom: 1px solid var(--ink);
}

.header-line {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) minmax(180px, 0.8fr) minmax(210px, 0.8fr);
  align-items: stretch;
}

.brand,
.jurisdiction,
.dispatch {
  min-height: 68px;
  padding: 12px 16px;
  border-right: 1px solid var(--ink);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  background: var(--accent);
  color: var(--panel);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.jurisdiction,
.dispatch {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.dispatch {
  border-right: 0;
}

.dispatch a {
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.data-label,
.section-index,
.service-code,
.step-code,
.status-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-label {
  color: var(--accent);
}

.utility-nav {
  display: flex;
  border-top: 1px solid var(--ink);
}

.utility-nav a {
  padding: 8px 16px;
  border-right: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.utility-nav a:first-child {
  border-left: 1px solid var(--ink);
}

section {
  scroll-margin-top: 12px;
}

.scope-boundary,
.hero,
.services,
.specification,
.steps,
.contact {
  padding: 30px 0;
  border-bottom: 1px solid var(--ink);
}

.section-index {
  margin-bottom: 9px;
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Arial, sans-serif;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(31px, 5vw, 58px);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(21px, 3vw, 30px);
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

p:last-child {
  margin-bottom: 0;
}

.boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid var(--ink);
  background: var(--panel);
}

.boundary-cell {
  padding: 16px;
  border-right: 1px solid var(--ink);
}

.boundary-cell:last-child {
  border-right: 0;
}

.boundary-cell h2 {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.boundary-cell p {
  margin-bottom: 0;
  font-size: 13px;
}

.boundary-minimum {
  border-top: 4px solid var(--accent);
}

.hero {
  background: var(--panel);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 44px;
  align-items: end;
}

.hero-copy {
  padding-left: 20px;
  border-left: 4px solid var(--accent);
}

.hero-copy p {
  margin-bottom: 10px;
}

.action-link {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--accent);
  color: var(--panel);
  border: 1px solid var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.action-link:hover,
.action-link:focus-visible {
  background: var(--panel);
  color: var(--accent);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.status-tag {
  padding: 5px 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
  white-space: nowrap;
}

.service-directory {
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--panel);
}

.service-entry {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  border-bottom: 1px solid var(--ink);
}

.service-entry:last-child {
  border-bottom: 0;
}

.service-entry:nth-child(even) {
  background: var(--canvas);
}

.service-entry dt,
.service-entry dd {
  margin: 0;
  padding: 10px 12px;
}

.service-entry dt {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-right: 1px solid var(--ink);
  font-weight: 700;
}

.service-entry dd {
  font-size: 13px;
}

.service-code,
.step-code {
  color: var(--accent);
  white-space: nowrap;
}

.specification {
  background: var(--panel);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--ink);
  background: var(--panel);
}

.spec-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.spec-table th {
  padding: 10px 12px;
  background: var(--accent);
  color: var(--panel);
  border-right: 1px solid var(--panel);
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-table th:last-child {
  border-right: 0;
}

.spec-table td {
  padding: 10px 12px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  vertical-align: top;
  font-size: 13px;
}

.spec-table td:last-child {
  border-right: 0;
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--canvas);
}

.spec-table td:first-child strong {
  display: block;
  margin-top: 3px;
}

.price {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink);
  background: var(--panel);
}

.step {
  min-height: 176px;
  padding: 14px;
  border-right: 1px solid var(--ink);
}

.step:last-child {
  border-right: 0;
}

.step-code {
  display: block;
  margin-bottom: 28px;
}

.step p {
  margin-bottom: 0;
  font-size: 13px;
}

.contact {
  background: var(--panel);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border: 1px solid var(--ink);
}

.contact-primary,
.contact-note {
  padding: 18px;
}

.contact-primary {
  border-right: 1px solid var(--ink);
}

.contact-list {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.contact-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) 1fr;
  border-bottom: 1px solid var(--ink);
}

.contact-list dt,
.contact-list dd {
  margin: 0;
  padding: 9px 10px;
}

.contact-list dt {
  border-right: 1px solid var(--ink);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list dd {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.contact-note {
  background: var(--canvas);
}

.contact-note h2,
.privacy-policy h2 {
  font-size: 18px;
}

.privacy-policy {
  padding: 18px;
  border: 1px solid var(--ink);
  border-top: 0;
}

.privacy-policy p {
  max-width: 980px;
  margin-bottom: 0;
  font-size: 13px;
}

.footer-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .header-line,
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand,
  .jurisdiction,
  .dispatch {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .dispatch {
    border-bottom: 0;
  }

  .utility-nav {
    overflow-x: auto;
  }

  .utility-nav a {
    flex: 0 0 auto;
  }

  .boundary-grid,
  .step-grid {
    grid-template-columns: 1fr 1fr;
  }

  .boundary-cell:nth-child(2) {
    border-right: 0;
  }

  .boundary-cell:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ink);
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-copy {
    padding-left: 14px;
  }

  .step:nth-child(2) {
    border-right: 0;
  }

  .step:nth-child(-n+2) {
    border-bottom: 1px solid var(--ink);
  }

  .contact-primary {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .shell {
    width: min(100% - 20px, 1180px);
  }

  .scope-boundary,
  .hero,
  .services,
  .specification,
  .steps,
  .contact {
    padding: 22px 0;
  }

  .boundary-grid,
  .step-grid,
  .service-entry {
    grid-template-columns: 1fr;
  }

  .boundary-cell {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .boundary-cell:last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  .service-entry dt {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .section-heading {
    display: block;
  }

  .status-tag {
    display: inline-block;
    margin-top: 10px;
  }

  .step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .step:nth-child(2) {
    border-bottom: 1px solid var(--ink);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step-code {
    margin-bottom: 14px;
  }

  .contact-list > div {
    grid-template-columns: 1fr;
  }

  .contact-list dt {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .footer-line {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}