:root {
  --black: #030303;
  --ink: #181818;
  --muted: #5d6264;
  --line: #d9dddd;
  --paper: #ffffff;
  --soft: #f3f5f4;
  --red: #df352b;
  --red-dark: #a91f18;
  --header: #55595a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 14px 24px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0)),
    var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
}

.brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

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

.printer-section {
  position: relative;
  overflow: hidden;
  padding: 76px 0 88px;
  background:
    linear-gradient(90deg, rgba(223, 53, 43, 0.08) 0, rgba(255, 255, 255, 0) 38%),
    var(--paper);
}

.printer-section::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: var(--red);
  content: "";
}

.printer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.printer-art {
  position: relative;
}

.printer-art::after {
  position: absolute;
  right: 5%;
  bottom: 5%;
  left: 7%;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  filter: blur(10px);
  content: "";
}

.printer-art img {
  position: relative;
  z-index: 1;
  max-height: 560px;
  margin: 0 auto;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 34px;
  color: var(--black);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.18;
}

.printer-copy p {
  margin-bottom: 12px;
  font-size: 1.03rem;
}

.printer-copy .print-line {
  margin-top: 28px;
  font-size: 1.12rem;
  font-weight: 700;
}

.learning-section {
  padding: 86px 0 96px;
  background: var(--black);
  color: var(--paper);
  text-align: center;
}

.learning-copy {
  max-width: 910px;
}

.rifle {
  width: min(260px, 72vw);
  margin: 0 auto 28px;
}

.learning-section h2,
.contact-section h2 {
  margin-bottom: 22px;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.18;
}

.learning-section p {
  max-width: 820px;
  margin: 0 auto;
  color: #ededed;
  font-size: 1.08rem;
}

.contact-section {
  padding: 86px 0;
  background:
    linear-gradient(180deg, var(--soft) 0, var(--paper) 55%),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: start;
}

.contact-copy {
  padding-top: 18px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 700;
}

label span {
  color: var(--muted);
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #bfc5c6;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

textarea {
  min-height: 126px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(223, 53, 43, 0.2);
  border-color: var(--red);
}

button {
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:hover,
button:focus-visible {
  background: var(--red-dark);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status.success {
  color: #146b38;
}

.form-status.error {
  color: var(--red-dark);
}

.site-footer {
  padding: 28px 20px;
  background: var(--black);
  color: #d7d7d7;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 78px;
    padding: 10px 18px;
  }

  .brand,
  .brand img {
    width: 62px;
    height: 62px;
  }

  .section-shell {
    width: min(100% - 28px, 620px);
  }

  .printer-section,
  .contact-section {
    padding: 54px 0 64px;
  }

  .printer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .printer-art {
    order: 2;
  }

  .printer-copy {
    order: 1;
  }

  .printer-art img {
    max-height: 420px;
  }

  h1 {
    margin-bottom: 24px;
    font-size: 1.7rem;
  }

  .learning-section {
    padding: 68px 0 76px;
  }

  .learning-section h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 460px) {
  .printer-copy p,
  .learning-section p,
  .contact-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.45rem;
  }

  .learning-section h2,
  .contact-section h2 {
    font-size: 1.75rem;
  }

  .contact-form {
    padding: 18px;
  }
}
