/* =========================
   QA PAGE
   ========================= */

.qa-page {
  background: #000000;
  color: #ffffff;
}

.qa-page main {
  width: 100%;
}

.qa-container {
  width: calc(100% - 64px);
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
   HERO
   ========================= */

.qa-hero {
  padding: 100px 0;

  background: #000000;
}

.qa-hero .section-label {
  margin: 0 0 14px;

  color: #989898;

  font-size: 13px;
  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.qa-hero h1 {
  max-width: 900px;

  margin: 0;

  font-size: clamp(44px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.08;

  letter-spacing: -0.03em;
}

.qa-intro {
  max-width: 700px;

  margin: 28px 0 0;

  color: #b8b8b8;

  font-size: 17px;
  line-height: 1.7;
}


/* =========================
   GENERAL SECTIONS
   ========================= */

.qa-section {
  padding: 100px 0;
}

.qa-section:nth-of-type(even) {
  background: #0b0b0b;
}

.qa-section:nth-of-type(odd) {
  background: #111111;
}

.qa-section .section-label {
  margin: 0 0 14px;

  color: #989898;

  font-size: 13px;
  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.qa-section h2 {
  margin: 0 0 48px;

  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
}

.section-intro {
  max-width: 680px;

  margin: -24px 0 42px;

  color: #bdbdbd;

  font-size: 17px;
  line-height: 1.7;
}


/* =========================
   PROCESS GRID
   ========================= */

.process-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;
}

.process-card {
  min-height: 260px;

  padding: 30px;

  background: #151515;

  border: 1px solid #2c2c2c;
}

.process-card span {
  color: #888888;

  font-size: 13px;
}

.process-card h3 {
  margin: 20px 0 14px;

  font-size: 24px;
  font-weight: 500;
}

.process-card p {
  margin: 0;

  color: #bcbcbc;

  line-height: 1.65;
}


/* =========================
   PROJECTS / REPORTS
   ========================= */

.project-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;
}

.qa-project-card {
  min-height: 280px;

  padding: 30px;

  background: #151515;

  border: 1px solid #2c2c2c;
}

.project-type {
  margin: 0;

  color: #888888;

  font-size: 13px;
  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.qa-project-card h3 {
  margin: 20px 0 14px;

  font-size: 24px;
  font-weight: 500;
}

.qa-project-card p {
  margin: 0 0 24px;

  color: #bcbcbc;

  line-height: 1.65;
}

.qa-project-card a {
  color: #ffffff;

  text-decoration: none;
}

.qa-project-card a:hover,
.qa-project-card a:focus {
  text-decoration: underline;
}


/* =========================
   FORM
   ========================= */

.form-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(280px, 0.75fr);

  gap: 50px;

  align-items: start;
}

.qa-form {
  width: 100%;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;

  margin-bottom: 8px;

  color: #ffffff;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;

  padding: 13px 14px;

  background: #111111;
  color: #ffffff;

  border: 1px solid #555555;
  border-radius: 0;
}

.form-field textarea {
  min-height: 140px;

  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;

  gap: 10px;

  margin-bottom: 24px;
}

.checkbox-field input {
  margin-top: 4px;
}

.qa-button {
  padding: 12px 24px;

  background: #ffffff;
  color: #000000;

  border: 1px solid #ffffff;

  cursor: pointer;
}

.qa-button:hover,
.qa-button:focus {
  background: transparent;
  color: #ffffff;
}


/* =========================
   TESTING PANEL
   ========================= */

.testing-panel {
  padding: 30px;

  background: #151515;

  border: 1px solid #2c2c2c;
}

.testing-panel h3 {
  margin: 0 0 18px;

  font-size: 24px;
  font-weight: 500;
}

.testing-panel ul {
  margin: 0;
  padding-left: 20px;

  color: #bcbcbc;

  line-height: 1.8;
}


/* =========================
   TOOLS
   ========================= */

.tool-list {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.tool-list span {
  padding: 10px 16px;

  background: #151515;

  border: 1px solid #404040;

  color: #d0d0d0;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {

  .process-grid,
  .project-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

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

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 650px) {

  .qa-container {
    width: calc(100% - 32px);
  }

  .qa-hero {
    padding: 70px 0;
  }

  .qa-section {
    padding: 70px 0;
  }

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

  .qa-project-card,
  .process-card,
  .testing-panel {
    padding: 24px;
  }

}