:root {
  --canvas: #F1F5F9;
  --table: #FFFFFF;
  --ink: #0F172A;
  --amber: #B45309;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Arial;
  font-size: 14px;
  line-height: 1.42;
}

a {
  color: var(--ink);
  text-decoration-color: var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 3px;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto;
  border: 1px solid var(--ink);
  background: var(--table);
}

.technical-header {
  display: grid;
  grid-template-columns: 48px minmax(220px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink);
}

.header-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
}

.header-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 2px;
  stroke-linecap: square;
}

.eyebrow,
.hero-code,
.spec-table th,
.step-label,
.header-data dt,
.hero-fields dt,
.contact-data dt {
  margin: 0;
  color: var(--amber);
  font-family: "Helvetica Neue";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.entity h1,
h2,
h3 {
  margin: 0;
  font-family: "Helvetica Neue";
  font-weight: 700;
  letter-spacing: -.02em;
}

.entity h1 {
  font-size: 20px;
  line-height: 1.1;
}

.header-data {
  display: flex;
  gap: 18px;
  margin: 0;
}

.header-data div,
.hero-fields div,
.contact-data div {
  min-width: max-content;
}

.header-data dd,
.hero-fields dd,
.contact-data dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.header-link {
  border-left: 1px solid var(--ink);
  padding-left: 16px;
  font-size: 12px;
}

.directory,
.hero,
.process,
.contact {
  padding: 22px 18px;
  border-bottom: 1px solid var(--ink);
}

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

h2 {
  font-size: 20px;
  line-height: 1.1;
}

.amber-note {
  margin: 0;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

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

.spec-table {
  width: 100%;
  min-width: 670px;
  border-collapse: collapse;
  background: var(--table);
}

.spec-table th {
  padding: 9px 12px;
  border-bottom: 1px solid var(--ink);
  text-align: left;
}

.spec-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--ink);
  vertical-align: top;
}

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

.spec-table th + th,
.spec-table td + td {
  border-left: 1px solid var(--ink);
}

.spec-table td:first-child {
  width: 31%;
}

.spec-table strong,
.spec-table span {
  display: block;
}

.spec-table strong,
.rate {
  font-family: "Helvetica Neue";
  font-weight: 700;
}

.spec-table span {
  margin-top: 2px;
}

.rate {
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 190px;
  gap: 20px;
  align-items: start;
  background: var(--canvas);
}

.hero-code {
  padding-top: 4px;
}

.hero-copy p {
  max-width: 620px;
  margin: 9px 0 0;
  font-size: 16px;
}

.hero-fields {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid var(--ink);
}

.hero-fields div + div {
  margin-top: 12px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ink);
}

.process-grid li {
  min-height: 90px;
  padding: 12px;
  border-right: 1px solid var(--ink);
}

.process-grid li:last-child {
  border-right: 0;
}

.process-grid p {
  margin: 8px 0 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  border-bottom: 0;
}

.contact h2 {
  margin-top: 2px;
}

address {
  margin-top: 9px;
  font-style: normal;
  font-weight: 700;
}

.contact-data {
  display: flex;
  gap: 24px;
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--ink);
}

.privacy {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding: 12px;
  border: 1px solid var(--amber);
}

.privacy h3 {
  font-size: 14px;
}

.privacy p {
  margin: 6px 0 0;
  max-width: 900px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    margin: 10px auto;
  }

  .technical-header {
    grid-template-columns: 42px 1fr;
    gap: 10px;
  }

  .header-data {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 10px;
    border-top: 1px solid var(--ink);
  }

  .header-link {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hero-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 12px 0 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .hero-fields div + div {
    margin-top: 0;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid li:nth-child(2) {
    border-right: 0;
  }

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

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

  .contact-data {
    padding: 12px 0 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .directory,
  .hero,
  .process,
  .contact {
    padding: 18px 13px;
  }

  .technical-header {
    padding: 13px;
  }

  .section-line {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .amber-note {
    text-align: left;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid li,
  .process-grid li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .process-grid li:last-child {
    border-bottom: 0;
  }
}
