:root {
  --background: #EEEEEC;
  --ink: #141414;
  --accent: #1D4ED8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  border-radius: 0;
}

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

::selection {
  background: var(--accent);
  color: var(--background);
}

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

h1,
h2,
h3,
.brand,
.status-item,
.status-badge,
.section-code,
.stamp,
.process-number,
.process-grid strong,
th,
label,
.button,
.text-link,
.back-link,
dt,
.form-status {
  font-family: "JetBrains Mono", monospace;
}

h1 {
  max-width: 15ch;
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.status-strip {
  border-bottom: 3px solid var(--ink);
}

.status-strip__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: stretch;
  min-height: 68px;
}

.brand,
.status-item,
.status-badge {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand {
  padding-left: 0;
}

.status-item,
.status-badge {
  border-left: 2px solid var(--ink);
}

.status-badge {
  color: var(--accent);
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
  border-bottom: 2px solid var(--ink);
}

.section-first {
  padding-top: 32px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) 1fr;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--ink);
}

.section-code {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

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

.process-grid li {
  min-height: 250px;
  padding: 22px;
  border-right: 2px solid var(--ink);
}

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

.process-number {
  display: block;
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.process-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1rem;
  text-transform: uppercase;
}

.process-grid p {
  margin-bottom: 0;
}

.hero-panel,
.request-box {
  border: 5px solid var(--ink);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
}

.hero-copy {
  min-height: 560px;
  padding: clamp(28px, 6vw, 72px);
  border-right: 3px solid var(--ink);
}

.hero-copy > p {
  max-width: 610px;
  margin-bottom: 8px;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
}

.stamp {
  display: inline-block;
  margin-bottom: 36px;
  padding: 8px 11px;
  border: 3px solid var(--accent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--background);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--background);
}

.text-link,
.back-link {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.back-link {
  display: inline-block;
  margin-bottom: 56px;
}

.hero-register {
  margin: 0;
}

.hero-register div {
  min-height: 140px;
  padding: 24px;
  border-bottom: 2px solid var(--ink);
}

.hero-register div:last-child {
  border-bottom: 0;
}

.hero-register dt,
.contact-list dt {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-register dd,
.contact-list dd {
  margin-left: 0;
  font-weight: 600;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  text-align: left;
  vertical-align: top;
}

th:last-child,
td:last-child {
  border-right: 0;
}

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

th {
  background: var(--ink);
  color: var(--background);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-table th:last-child,
.price-table td:last-child {
  width: 180px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  white-space: nowrap;
}

.service-table {
  min-width: 760px;
}

.service-table th:first-child,
.service-table td:first-child {
  width: 38%;
}

.service-table th:nth-child(2),
.service-table td:nth-child(2) {
  width: 150px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  white-space: nowrap;
}

.request-box {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
}

.request-intro {
  padding: clamp(28px, 5vw, 58px);
  border-right: 3px solid var(--ink);
}

.request-intro h2 {
  margin-bottom: 32px;
}

.request-intro p {
  margin-bottom: 8px;
}

.request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
}

.field {
  padding: 22px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

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

.field-full {
  grid-column: 1 / -1;
  border-right: 0;
}

label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 3px solid var(--ink);
  background: var(--background);
  color: var(--ink);
}

input {
  min-height: 46px;
}

textarea {
  display: block;
  resize: vertical;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 0;
}

.form-status {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-section {
  padding-block: clamp(56px, 8vw, 96px);
  border-top: 5px solid var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 40px 64px;
}

.contact-grid h2 {
  margin-top: 16px;
}

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

.contact-list div {
  padding: 20px;
  border-bottom: 2px solid var(--ink);
}

.contact-list div:last-child {
  border-bottom: 0;
}

.privacy-policy {
  grid-column: 2;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.privacy-policy p {
  max-width: 680px;
  margin-bottom: 8px;
}

@media (max-width: 860px) {
  .status-strip__inner {
    grid-template-columns: 1fr auto;
  }

  .status-item {
    display: none;
  }

  .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: 2px solid var(--ink);
  }

  .hero-panel,
  .request-box {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .request-intro {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .hero-copy {
    min-height: auto;
  }

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

  .privacy-policy {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

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

  .status-strip__inner {
    width: 100%;
  }

  .brand,
  .status-badge {
    padding: 12px;
    font-size: 0.66rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

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

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

  .process-number {
    margin-bottom: 28px;
  }

  .hero-panel,
  .request-box {
    border-width: 3px;
  }

  .hero-copy,
  .request-intro {
    padding: 26px 20px;
  }

  .hero-register div {
    min-height: 0;
  }

  .request-form {
    grid-template-columns: 1fr;
  }

  .field,
  .field:nth-child(2) {
    grid-column: 1;
    border-right: 0;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  th,
  td {
    padding: 15px;
  }

  .price-table th:last-child,
  .price-table td:last-child {
    width: auto;
  }
}