* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1d2522;
  background: #ffffff;
  line-height: 1.6;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}


/* Header */

.site-header {
  border-bottom: 1px solid #e8e8e8;
  padding: 22px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: inherit;
  text-decoration: none;
}


/* Hero */

.hero {
  padding: 130px 0 150px;
}

.hero .container {
  max-width: 850px;
  margin-left: 8%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
}

h1 {
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.05;
  margin: 20px 0 30px;
  max-width: 900px;
}

.hero-text {
  max-width: 660px;
  font-size: 20px;
  color: #56615c;
  margin-bottom: 40px;
}


/* Buttons */

.button {
  display: inline-block;
  padding: 15px 25px;
  border-radius: 4px;
  background: #1d2522;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  opacity: 0.88;
}

.button.secondary {
  background: transparent;
  color: #1d2522;
  border: 1px solid #1d2522;
}


/* How it works */

.how-it-works {
  padding: 100px 0;
  background: #f6f7f5;
}

h2 {
  font-size: 40px;
  margin-bottom: 60px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.step span {
  font-size: 13px;
  letter-spacing: 1px;
}

.step h3 {
  font-size: 26px;
  margin: 14px 0;
}

.step p {
  color: #5f6864;
}


/* Testing */

.testing {
  padding: 110px 0;
}

.testing p {
  max-width: 650px;
  font-size: 19px;
  margin-bottom: 35px;
}


/* Footer */

footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
  color: #737b77;
  font-size: 14px;
}


/* Phones */

@media (max-width: 700px) {

  nav {
    display: none;
  }

  .hero {
    padding: 80px 0;
  }

  .hero .container {
    margin: auto;
  }

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

}

/* ------------------------------
   PRIVATE TEST
-------------------------------- */

.test-intro {
  padding: 90px 0 120px;
}

.test-container {
  max-width: 820px;
}

.test-intro h1 {
  font-size: clamp(44px, 6vw, 70px);
  max-width: 820px;
}

.scenario-box {
  margin: 60px 0 30px;
  padding: 36px 40px;
  background: #f4f5f3;
  border-radius: 8px;
}

.scenario-box h2 {
  margin: 0 0 20px;
  font-size: 30px;
}

.scenario-box p {
  font-size: 18px;
  color: #505b56;
}

.prototype-note {
  margin: 30px 0 40px;
  padding: 28px 32px;
  border: 1px solid #dfe3e0;
  border-radius: 8px;
}

.prototype-note h3 {
  margin-top: 0;
  font-size: 20px;
}

.prototype-note p {
  color: #626b67;
}

/* ------------------------------
   RECIPIENT BROWSER
-------------------------------- */

.browse-section {
  padding: 80px 0 110px;
}

.browse-heading {
  max-width: 780px;
  margin-bottom: 60px;
}

.browse-heading h1 {
  font-size: clamp(44px, 6vw, 68px);
}

.test-status {
  font-size: 14px;
  color: #66706b;
}

.recipient-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.recipient-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 390px;
  background: #ffffff;
  border: 1px solid #dde2df;
  border-radius: 10px;
  transition: transform 0.15s ease,
              border-color 0.15s ease,
              opacity 0.15s ease;
}

.recipient-card:hover {
  transform: translateY(-2px);
}

.recipient-card.considering {
  border: 2px solid #4f6f61;
}

.recipient-card.passed {
  opacity: 0.5;
}

.recipient-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.recipient-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ecefed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
}

.recipient-card h2 {
  margin: 0 0 3px;
  font-family: inherit;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0;
}

.recipient-meta {
  margin: 0;
  font-size: 13px;
  color: #77817c;
}

.recipient-job {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
}

.recipient-direction {
  margin: 0 0 25px;
  color: #606b65;
}

.recipient-history {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e6e9e7;
  font-size: 13px;
  color: #737d78;
}

.recipient-history strong {
  color: #333d38;
}

.recipient-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
}

.profile-link {
  margin-right: auto;
  color: #35453e;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.profile-link:hover {
  text-decoration: underline;
}

.decision-button {
  padding: 9px 12px;
  border: 1px solid #cfd5d1;
  border-radius: 5px;
  background: white;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.decision-button:hover {
  background: #f4f6f4;
}

.consider-button.active {
  background: #354e43;
  border-color: #354e43;
  color: white;
}

.pass-button.active {
  background: #656b68;
  border-color: #656b68;
  color: white;
}

.browse-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
}


/* TABLET */

@media (max-width: 950px) {

  .recipient-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* MOBILE */

@media (max-width: 650px) {

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

  .recipient-actions {
    flex-wrap: wrap;
  }

  .browse-footer {
    gap: 15px;
    flex-direction: column;
  }

  .browse-footer .button {
    text-align: center;
  }

}

/* ------------------------------
   RECIPIENT PROFILE
-------------------------------- */

.profile-section {
  padding: 70px 0 110px;
}

.profile-container {
  max-width: 1050px;
}


/* Header */

.back-link {
  color: #56615c;
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}


/* Main profile heading */

.profile-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 50px;
  border-bottom: 1px solid #e2e6e3;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #ecefed;

  font-size: 34px;
  font-weight: 700;
}

.profile-heading .eyebrow {
  margin-bottom: 10px;
}

.profile-heading h1 {
  margin: 0 0 12px;

  font-family: inherit;
  font-size: clamp(42px, 6vw, 64px);

  letter-spacing: -1px;
}

.profile-summary {
  margin: 0 0 5px;

  color: #717c76;
}

.profile-occupation {
  margin: 0;

  font-size: 17px;
  font-weight: 600;
}


/* Layout */

.profile-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 2fr)
    minmax(250px, 1fr);

  gap: 70px;

  margin-top: 55px;
}


/* Main information */

.profile-block {
  padding-bottom: 45px;
  margin-bottom: 45px;

  border-bottom: 1px solid #e6e9e7;
}

.profile-block:last-child {
  border-bottom: 0;
}

.profile-block h2 {
  margin: 0 0 20px;

  font-family: inherit;
  font-size: 26px;
  font-weight: 650;

  letter-spacing: -0.5px;
}

.profile-block p {
  color: #58635d;

  font-size: 17px;
}

.profile-large-text {
  color: #303a35 !important;

  font-size: 21px !important;

  line-height: 1.65;
}


/* Notes */

.profile-note {
  width: 100%;
  min-height: 140px;

  padding: 16px;

  border: 1px solid #ccd3cf;
  border-radius: 7px;

  background: #ffffff;

  font-family: inherit;
  font-size: 15px;

  resize: vertical;
}

.profile-note:focus {
  outline: 2px solid #bac8c1;
  border-color: #82958c;
}


/* Sidebar */

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.profile-info-card,
.profile-decision-card {
  padding: 26px;

  border: 1px solid #dfe4e1;
  border-radius: 9px;

  background: #ffffff;
}

.info-label {
  margin: 0 0 8px;

  color: #76807b;

  font-size: 13px;
}

.info-value {
  margin: 0;

  font-size: 26px;
  font-weight: 700;
}

.decision-heading {
  margin: 0 0 20px;

  font-size: 16px;
  font-weight: 600;
}


/* Profile buttons */

.profile-decision {
  width: 100%;

  margin-bottom: 10px;
  padding: 12px;

  border: 1px solid #ccd3cf;
  border-radius: 6px;

  background: #ffffff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
}

.profile-decision:hover {
  background: #f3f5f3;
}

.consider-profile.active {
  background: #354e43;
  border-color: #354e43;

  color: #ffffff;
}

.pass-profile.active {
  background: #656b68;
  border-color: #656b68;

  color: #ffffff;
}

.decision-status {
  margin: 12px 0 0;

  text-align: center;

  color: #707a75;

  font-size: 12px;
}

.profile-return {
  text-align: center;
}


/* Missing profile */

.profile-error {
  padding: 100px 0;
}

.profile-error h1 {
  font-size: 48px;
}


/* Mobile */

@media (max-width: 760px) {

  .profile-header {
    align-items: flex-start;
  }

  .profile-avatar {
    width: 72px;
    height: 72px;

    font-size: 26px;
  }

  .profile-layout {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .profile-sidebar {
    order: -1;
  }

}

/* ------------------------------
   RICH PROFILE CONTENT
-------------------------------- */

.profile-list {
  margin: 0;
  padding-left: 22px;
}

.profile-list li {
  margin-bottom: 10px;
  color: #58635d;
  font-size: 16px;
  line-height: 1.6;
}


/* Previous support history */

.support-history {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-history-item {
  padding: 18px 20px;
  background: #f5f6f4;
  border-radius: 7px;
}

.support-history-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 6px;
}

.support-history-top strong {
  font-size: 18px;
}

.support-history-top span {
  color: #77817c;
  font-size: 14px;
}

.support-history-item p {
  margin: 0;
  font-size: 14px;
}

.no-history {
  color: #7b8580 !important;
  font-style: italic;
}

/* ------------------------------
   ALLOCATION PAGE
-------------------------------- */

.allocation-section {
  padding: 75px 0 110px;
}

.allocation-container {
  max-width: 1000px;
}

.allocation-heading {
  max-width: 800px;
  margin-bottom: 50px;
}

.allocation-heading h1 {
  font-size: clamp(44px, 6vw, 68px);
}


/* Summary */

.allocation-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin-bottom: 25px;

  border: 1px solid #dde2df;
  border-radius: 9px;

  overflow: hidden;

  background: #ffffff;
}

.allocation-summary-item {
  padding: 22px 25px;
}

.allocation-summary-item +
.allocation-summary-item {
  border-left: 1px solid #e2e6e3;
}

.summary-label {
  display: block;

  margin-bottom: 5px;

  color: #77817c;

  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.allocation-summary-item strong {
  font-size: 24px;
}

.over-budget {
  color: #a33d35;
}


/* Message */

.allocation-message {
  min-height: 26px;

  margin-bottom: 25px;

  color: #6d7772;

  font-size: 14px;
}

.allocation-message.error {
  color: #a33d35;
}

.allocation-message.complete {
  color: #355d49;
  font-weight: 600;
}


/* Recipient rows */

.allocation-list {
  display: flex;
  flex-direction: column;

  gap: 16px;
}

.allocation-recipient {
  display: grid;

  grid-template-columns:
    minmax(280px, 1.6fr)
    minmax(170px, 0.8fr)
    minmax(200px, 0.9fr);

  align-items: center;

  gap: 30px;

  padding: 25px 28px;

  border: 1px solid #dfe4e1;
  border-radius: 9px;

  background: #ffffff;
}

.allocation-person {
  display: flex;
  align-items: center;

  gap: 16px;
}

.allocation-person h2 {
  margin: 0 0 3px;

  font-family: inherit;
  font-size: 20px;
  font-weight: 650;

  letter-spacing: 0;
}

.allocation-meta {
  margin: 0 0 3px;

  color: #7a847f;

  font-size: 12px;
}

.allocation-job {
  margin: 0 0 4px;

  font-size: 14px;
  font-weight: 600;
}

.allocation-profile-link {
  color: #50625a;

  font-size: 12px;
  text-decoration: none;
}

.allocation-profile-link:hover {
  text-decoration: underline;
}


/* Prior support */

.allocation-prior span {
  display: block;

  margin-bottom: 5px;

  color: #7b8580;

  font-size: 12px;
}

.allocation-prior strong {
  font-size: 17px;
}


/* Allocation input */

.allocation-input-wrap label {
  display: block;

  margin-bottom: 7px;

  color: #68736d;

  font-size: 12px;
  font-weight: 600;
}

.money-input {
  display: flex;
  align-items: center;

  border: 1px solid #cbd2ce;
  border-radius: 6px;

  background: #ffffff;

  overflow: hidden;
}

.money-input span {
  padding-left: 13px;

  color: #69736e;

  font-weight: 600;
}

.money-input input {
  width: 100%;

  padding: 11px 12px 11px 5px;

  border: 0;
  outline: 0;

  background: transparent;

  font: inherit;
  font-weight: 600;
}


/* Bottom navigation */

.allocation-actions {
  display: flex;

  justify-content: space-between;
  align-items: center;

  margin-top: 45px;
}

.allocation-navigation {
  display: flex;
  gap: 12px;
}

.text-button {
  padding: 0;

  border: 0;

  background: transparent;

  color: #68746e;

  font: inherit;
  font-size: 13px;

  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
}

.allocation-continue.disabled {
  opacity: 0.35;

  cursor: not-allowed;

  pointer-events: auto;
}


/* No selections */

.no-considered {
  padding: 60px;

  border: 1px solid #dfe4e1;
  border-radius: 9px;

  text-align: center;

  background: #ffffff;
}

.no-considered h2 {
  margin-bottom: 15px;

  font-family: inherit;
  font-size: 28px;
}

.no-considered p {
  max-width: 550px;

  margin:
    0 auto
    30px;

  color: #68736e;
}


/* Responsive */

@media (max-width: 850px) {

  .allocation-recipient {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .allocation-summary {
    grid-template-columns: 1fr;
  }

  .allocation-summary-item +
  .allocation-summary-item {
    border-left: 0;
    border-top: 1px solid #e2e6e3;
  }

}


@media (max-width: 650px) {

  .allocation-actions {
    align-items: stretch;
    flex-direction: column;

    gap: 25px;
  }

  .allocation-navigation {
    flex-direction: column;
  }

  .allocation-navigation .button {
    text-align: center;
  }

}

/* ------------------------------
   QUESTIONS PAGE
-------------------------------- */

.questions-section {
  padding: 75px 0 110px;
}

.questions-container {
  max-width: 850px;
}

.questions-heading {
  margin-bottom: 55px;
}

.questions-heading h1 {
  font-size: clamp(44px, 6vw, 68px);
}

.question-card {
  margin-bottom: 24px;
  padding: 34px 36px;

  border: 1px solid #dfe4e1;
  border-radius: 9px;

  background: #ffffff;
}

.question-card h2 {
  margin: 0 0 18px;

  font-family: inherit;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.3px;
}

.question-help {
  margin: -8px 0 20px;

  color: #7a847f;
  font-size: 13px;
}


/* CHECKBOXES */

.checkbox-grid {
  display: grid;

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

  gap: 12px;
}

.checkbox-option,
.radio-option {
  display: flex;
  align-items: flex-start;

  gap: 11px;

  padding: 14px 15px;

  border: 1px solid #e1e5e2;
  border-radius: 6px;

  cursor: pointer;
}

.checkbox-option:hover,
.radio-option:hover {
  background: #f7f8f6;
}

.checkbox-option input,
.radio-option input {
  margin-top: 4px;
}

.checkbox-option span,
.radio-option span {
  color: #4f5a54;

  font-size: 15px;
  line-height: 1.45;
}


/* RADIO LIST */

.radio-list {
  display: flex;

  flex-direction: column;

  gap: 10px;
}


/* TEXT AREAS */

.question-textarea {
  display: block;
  width: 100%;
  height: 150px;
  min-height: 150px;

  padding: 15px 16px;

  border: 1px solid #ccd3cf;
  border-radius: 7px;

  background: #ffffff;

  font: inherit;
  font-size: 15px;
  line-height: 1.5;

  resize: vertical;
}

.question-textarea:focus {
  outline: 2px solid #bac8c1;
  border-color: #82958c;
}


/* NAVIGATION */

.questions-navigation {
  display: flex;

  justify-content: space-between;

  margin-top: 40px;
}


/* MOBILE */

@media (max-width: 650px) {

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

  .question-card {
    padding: 26px 22px;
  }

  .questions-navigation {
    flex-direction: column;

    gap: 12px;
  }

  .questions-navigation .button {
    text-align: center;
  }

}

/* ------------------------------
   COMMITMENT PAGE
-------------------------------- */

.commitment-section {
  padding: 75px 0 110px;
}

.commitment-container {
  max-width: 850px;
}

.commitment-heading {
  margin-bottom: 55px;
}

.commitment-heading h1 {
  font-size: clamp(44px, 6vw, 68px);
}

.commitment-card {
  margin-bottom: 24px;
  padding: 34px 36px;

  border: 1px solid #dfe4e1;
  border-radius: 9px;

  background: #ffffff;
}

.commitment-card h2 {
  margin: 0 0 22px;

  font-family: inherit;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.commitment-options {
  margin-top: 8px;
}


/* REAL DOLLAR AMOUNT */

.amount-card {
  padding-top: 38px;
  padding-bottom: 40px;
}

.commitment-money-input {
  display: flex;
  align-items: center;

  width: 100%;
  max-width: 360px;

  margin-top: 24px;

  border: 1px solid #bcc6c0;
  border-radius: 7px;

  background: #ffffff;

  overflow: hidden;
}

.commitment-money-input span {
  padding-left: 18px;

  color: #59645e;

  font-size: 26px;
  font-weight: 600;
}

.commitment-money-input input {
  width: 100%;

  padding: 17px 18px 17px 8px;

  border: 0;
  outline: 0;

  background: transparent;

  font: inherit;
  font-size: 26px;
  font-weight: 600;
}


/* NAVIGATION */

.commitment-navigation {
  display: flex;
  justify-content: space-between;

  margin-top: 40px;
}


@media (max-width: 650px) {

  .commitment-card {
    padding: 26px 22px;
  }

  .commitment-navigation {
    flex-direction: column;
    gap: 12px;
  }

  .commitment-navigation .button {
    text-align: center;
  }

}

/* ------------------------------
   COMPLETE PAGE
-------------------------------- */

.complete-section {
  padding: 100px 0 130px;
}

.complete-container {
  max-width: 850px;
}

.complete-container h1 {
  margin-bottom: 25px;

  font-size: clamp(52px, 7vw, 76px);
}

.complete-lead {
  margin: 0 0 18px;

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

.complete-text {
  max-width: 720px;

  margin: 0 0 55px;

  color: #5f6964;

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


/* SUMMARY */

.complete-summary {
  margin-bottom: 30px;

  padding: 35px;

  border: 1px solid #dfe4e1;
  border-radius: 9px;

  background: #ffffff;
}

.complete-summary h2,
.complete-note h2 {
  margin: 0 0 25px;

  font-family: inherit;
  font-size: 23px;
  font-weight: 650;
}

.complete-summary-grid {
  display: grid;

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

  gap: 16px;
}

.complete-summary-item {
  padding: 22px;

  border-radius: 7px;

  background: #f5f6f4;
}

.complete-summary-item span {
  display: block;

  margin-bottom: 7px;

  color: #75807a;

  font-size: 12px;
}

.complete-summary-item strong {
  font-size: 24px;
}


/* NOTE */

.complete-note {
  margin-bottom: 40px;

  padding: 30px 34px;

  border: 1px solid #dfe4e1;
  border-radius: 9px;
}

.complete-note p {
  margin: 0;

  color: #5f6964;

  line-height: 1.7;
}


/* ACTIONS */

.complete-actions {
  margin-top: 35px;
}


/* MOBILE */

@media (max-width: 650px) {

  .complete-summary-grid {
    grid-template-columns: 1fr;
  }

  .complete-summary,
  .complete-note {
    padding: 25px 22px;
  }

}

/* ------------------------------
   TEST SESSION
-------------------------------- */

.existing-session {
  margin-top: 35px;
  padding: 28px 30px;

  border: 1px solid #dfe4e1;
  border-radius: 8px;

  background: #f5f6f4;
}

.existing-session p {
  margin-top: 0;
}

.session-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

button.button {
  font-family: inherit;
  cursor: pointer;
}

/* ------------------------------
   RESEARCH SUBMISSION
-------------------------------- */

.netlify-capture-form {
  position: absolute;

  left: -10000px;
  top: auto;

  width: 1px;
  height: 1px;

  overflow: hidden;
}


.submission-status {
  margin: 0 0 30px;

  padding: 16px 18px;

  border-radius: 7px;

  background: #f3f5f3;

  color: #59645f;

  font-size: 14px;
}


.submission-status.success {
  background: #edf4ef;

  color: #355b45;
}


.submission-status.local {
  background: #f3f5f3;

  color: #59645f;
}


.submission-status.error {
  background: #f8eeee;

  color: #8a3e38;
}


.retry-button {
  display: block;

  margin-top: 12px;
  padding: 8px 12px;

  border: 1px solid #b8aaa7;
  border-radius: 5px;

  background: #ffffff;

  color: inherit;

  font: inherit;
  font-weight: 600;

  cursor: pointer;
}