:root {
  --background: #F4F4F2;
  --ink: #1A1A1A;
  --accent: #E3A008;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.status-bar {
  border-bottom: 2px solid var(--ink);
}

.status-inner {
  min-height: 63px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
}

.wordmark,
.area-label,
.stamp,
.section-code,
th,
.dispatch-spec dt,
.call-action,
.contact-links,
address {
  font-family: "IBM Plex Mono", monospace;
}

.wordmark {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.area-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.stamp {
  display: inline-block;
  padding: 7px 9px;
  border: 2px solid var(--ink);
  background: var(--accent);
  color: var(--ink);
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
  white-space: nowrap;
}

.stamp-small {
  font-size: 0.62rem;
  transform: rotate(2deg);
}

.prices-section {
  padding: 78px 0 66px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.62fr) minmax(280px, 1.38fr);
  column-gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}

.section-code {
  margin: 6px 0 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

h1,
h2 {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  letter-spacing: -0.04em;
}

h1 {
  grid-column: 2;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: 0.98;
}

.intro {
  grid-column: 2;
  max-width: 570px;
  margin: 19px 0 0;
  font-size: 1.05rem;
}

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

table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

th {
  padding: 14px 18px;
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--background);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
}

td {
  padding: 18px;
  border-bottom: 1px solid var(--ink);
  vertical-align: top;
}

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

td:first-child {
  width: 67%;
  font-weight: 500;
}

td:nth-child(2),
td:nth-child(3) {
  width: 16.5%;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.83rem;
  white-space: nowrap;
}

.dispatch-section {
  padding: 0 0 74px;
}

.dispatch-card {
  border: 4px solid var(--ink);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: 8px 8px 0 var(--accent);
}

.dispatch-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 36px;
}

.dispatch-head .section-code {
  margin: 0;
}

.dispatch-card h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.dispatch-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 42px 0 32px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.dispatch-spec div {
  min-height: 106px;
  padding: 16px 18px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.dispatch-spec dt {
  margin-bottom: 11px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dispatch-spec dd {
  margin: 0;
  font-size: 1rem;
}

.dispatch-spec dd a {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
}

.call-action {
  display: inline-block;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  background: var(--accent);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.call-action:hover {
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.contact-section {
  padding: 42px 0 0;
  border-top: 2px solid var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 34px;
  align-items: start;
  padding-bottom: 42px;
}

.contact-grid h2 {
  margin-top: 8px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

address {
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.65;
}

.contact-links {
  display: grid;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: right;
}

.privacy-wrap {
  border-top: 1px solid var(--ink);
}

.privacy-policy {
  max-width: 770px;
  padding: 25px 0 31px;
}

.privacy-policy .section-code {
  margin: 0 0 8px;
}

.privacy-policy p:last-child {
  margin: 0;
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 1120px);
  }

  .status-inner {
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    padding: 13px 0;
  }

  .area-label {
    grid-column: 1;
    grid-row: 2;
  }

  .stamp {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .prices-section {
    padding: 48px 0 52px;
  }

  .section-heading {
    display: block;
    margin-bottom: 26px;
  }

  .section-heading .section-code {
    margin-bottom: 20px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .intro {
    margin-top: 16px;
  }

  .dispatch-section {
    padding-bottom: 56px;
  }

  .dispatch-card {
    border-width: 3px;
    box-shadow: 5px 5px 0 var(--accent);
  }

  .dispatch-head {
    margin-bottom: 28px;
  }

  .dispatch-spec {
    grid-template-columns: 1fr;
    margin: 31px 0 28px;
  }

  .dispatch-spec div {
    min-height: auto;
  }

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

  .contact-links {
    text-align: left;
  }
}
