:root {
  --ink: #151515;
  --paper: #fbfbf5;
  --rule: #d9d9cf;
  --orange: #ff7a1a;
  --blue: #1d4ed8;
  --muted: #6c6c64;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.standard-hero {
  min-height: 820px;
  padding: 30px clamp(18px, 5vw, 78px) 88px;
  background:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px),
    linear-gradient(135deg, #fbfbf5, #efefe5);
  background-size: 28px 28px, 28px 28px, auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 3px solid var(--ink);
}

.brand {
  font-weight: 900;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
}

button {
  padding: 11px 16px;
  border: 3px solid var(--ink);
  background: white;
  cursor: pointer;
  font-weight: 900;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  gap: 64px;
  align-items: center;
  padding-top: 100px;
}

.code {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero-grid p:last-child,
.passport-sheet p,
.checks p,
.assembly-line p,
.manual li,
footer p,
address span {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-grid p:last-child {
  max-width: 780px;
  font-size: 21px;
}

.standard-card {
  min-height: 430px;
  padding: 32px;
  border: 4px solid var(--ink);
  background: white;
  box-shadow: 16px 16px 0 var(--orange);
}

.standard-card span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.standard-card b {
  display: block;
  margin: 42px 0 24px;
  font-size: 140px;
  line-height: 0.8;
}

.passport,
.control-strip,
.assembly-line,
.manual,
footer {
  padding: 94px clamp(18px, 5vw, 78px);
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.passport {
  background: white;
}

.passport-sheet {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 38px;
  border: 3px solid var(--ink);
}

.passport-sheet div {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  padding: 26px;
  border-bottom: 3px solid var(--ink);
}

.passport-sheet div:last-child {
  border-bottom: 0;
}

.passport-sheet b {
  color: var(--orange);
  font-size: 26px;
  text-transform: uppercase;
}

.passport-sheet p {
  margin: 0;
}

.control-strip {
  color: white;
  background: var(--ink);
}

.control-title {
  max-width: 930px;
}

.control-strip .code {
  color: var(--orange);
}

.checks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 38px;
  background: rgba(255, 255, 255, 0.18);
}

.checks article {
  min-height: 280px;
  padding: 28px;
  background: #202020;
}

.checks span {
  color: var(--orange);
  font-size: 44px;
  font-weight: 900;
}

.checks p {
  color: #d8d8d0;
}

.assembly-line {
  background: #f0f2ff;
}

.line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 36px 0;
  border: 3px solid var(--ink);
}

.line span {
  padding: 24px 12px;
  border-right: 3px solid var(--ink);
  background: white;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.line span:last-child {
  border-right: 0;
  color: white;
  background: var(--blue);
}

.manual {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  background: var(--paper);
}

.manual ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.manual li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  background: white;
  border-top: 3px solid var(--ink);
}

address {
  display: grid;
  gap: 12px;
  min-width: min(100%, 420px);
  padding: 30px;
  border: 3px solid var(--ink);
  font-style: normal;
}

address a {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

@media (max-width: 1000px) {
  .hero-grid,
  .passport-sheet div,
  .checks,
  .line,
  .manual,
  footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .line span {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .line span:last-child {
    border-bottom: 0;
  }
}
