/* V4: implements the image-generated layout study with real, accessible HTML. */
:root {
  --navy: #12345d;
  --blue: #1559ad;
  --orange: #e98b3b;
  --ink: #18375d;
  --muted: #667b96;
  --line: #dde6f0;
}

.site-head { box-shadow: none; }
.site-head > span { font-size: 12px; font-weight: 650; }

.landing-page { background: #fff; }
.landing-page .hero {
  display: block;
  min-height: 0;
  background: #f1f6fb;
  color: var(--ink);
}
.landing-page .hero-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 46px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(28px, 3.5vw, 54px);
  animation: none;
}
.hero-copy { padding: 0 0 4px; animation: v4-enter .38s ease both; }
.landing-page .hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .16em;
  color: #bd7333;
}
.landing-page .hero .eyebrow::before { content: ""; width: 29px; height: 2px; background: var(--orange); }
.landing-page .hero h1 {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  margin: 22px 0 18px;
  color: var(--navy);
  font-size: clamp(39px, 3.3vw, 47px);
  line-height: 1.26;
  letter-spacing: -.035em;
  font-weight: 750;
}
.landing-page .hero p {
  max-width: 450px;
  margin: 0;
  color: #536b88;
  font-size: 15px;
  line-height: 1.75;
}
.landing-page .entry-action {
  display: grid;
  justify-items: start;
  gap: 13px;
  max-width: 340px;
  margin: 27px 0 0;
}
.landing-page .entry-action .button {
  width: auto;
  min-width: 216px;
  min-height: 48px;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: 15px;
  border-radius: 5px;
  box-shadow: 0 5px 12px #16498814;
}
.landing-page .entry-action > label { width: 100%; color: var(--ink); }
.landing-page .hero-meta {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 17px;
  color: #7a8da6;
  font-size: 12px;
}
.landing-page .hero-meta span { color: #a6b4c5; }
.landing-page .hero-meta span + span::before { content: none; }
.landing-page .hero-visual {
  width: 100%;
  height: clamp(315px, 32vw, 430px);
  margin: 0;
  overflow: hidden;
  background: #dce6ef;
}
.landing-page .hero-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 50%;
  display: block;
  transition: transform .6s ease;
}
.landing-page .hero-visual:hover img { transform: scale(1.025); }
.landing-page .intro { width: min(1200px, 92vw); padding: 19px 0 21px; }
.landing-page .intro-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.landing-page .intro-list > div,
.landing-page .intro-list > div:first-child {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 13px;
  align-content: start;
  min-height: 74px;
  border-left: 1px solid var(--line);
  padding: 4px 22px;
}
.landing-page .intro-list > div:first-child { border-left: 0; padding-left: 0; }
.landing-page .intro-list i { grid-row: span 2; color: var(--blue); font-size: 15px; line-height: 1.45; }
.landing-page .intro-list strong { font-size: 16px; margin: 0 0 3px; line-height: 1.45; }
.landing-page .intro-list p { font-size: 12px; line-height: 1.55; }
.landing-page .small-note { margin: 12px 0 0; text-align: center; font-size: 11px; color: #8b9bb0; }

/* Keep the rest of the assessment at the same quiet editorial scale. */
.profile-intro h1 { font-size: clamp(30px, 2.5vw, 34px); }
.question-rail h1 { font-size: 25px; }
.question-main h2 { font-size: clamp(23px, 2.1vw, 29px); }
.report-hero h1 { font-size: clamp(42px, 4.2vw, 56px); }
.section-heading h2, .unlock h2 { font-size: 25px; }
.report-chapter h2 { font-size: clamp(22px, 2vw, 27px); }
.profile-more { grid-column: 1 / -1; display: grid; gap: 15px; padding: 20px 0 5px; border-top: 1px solid var(--line); }
.profile-more h3 { margin: 13px 0 0; font-size: 17px; color: var(--navy); }
.profile-helper { margin: -5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.profile-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-checks label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; background: #f8fbff; color: var(--ink); font-size: 12px; line-height: 1.4; cursor: pointer; }
.profile-checks input { accent-color: var(--blue); width: 15px; height: 15px; margin: 0; }
.profile-optional { border: 1px solid var(--line); border-radius: 7px; background: #f8fbff; }
.profile-optional summary { padding: 14px 16px; color: var(--blue); font-size: 13px; font-weight: 750; cursor: pointer; }
.profile-optional-body { display: grid; gap: 14px; padding: 0 16px 18px; }
.finding-strip strong { font-weight: 650; line-height: 1.6; }
.report-suggestion { display: flex; gap: 15px; align-items: baseline; margin-top: 12px; padding: 16px 19px; background: #fff7ee; border-left: 3px solid var(--orange); }
.report-suggestion span { flex: none; color: #a75519; font-size: 12px; font-weight: 800; }
.report-suggestion p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.6; }
.share-button { margin-top: 17px; border: 1px solid #bdd2e9; border-radius: 5px; padding: 9px 14px; color: var(--blue); background: #f2f7fc; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.share-button:hover { background: #e5f0fc; }
.share-status { margin-left: 9px; color: var(--blue); font-size: 12px; }
.report-details { margin: 18px 0 0; }
.report-details > summary { padding: 16px 20px; border: 1px solid var(--line); border-radius: 6px; background: #edf4fb; color: var(--blue); font-size: 15px; font-weight: 750; cursor: pointer; }
.report-details[open] > summary { margin-bottom: 14px; }
.question-actions .text-button { padding: 9px 6px; font-size: 12px; color: var(--blue); }
.review-page { padding-bottom: 55px; }
.review-head { margin: 22px 0 20px; padding: 28px 32px 18px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(120deg, #f0f6ff, #fff); }
.review-head h1 { margin: 8px 0; color: var(--navy); font-size: clamp(25px, 2.5vw, 34px); }
.review-head p { max-width: 720px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.review-head .progress-track { max-width: 730px; margin: 17px 0 0; }
.review-groups { display: grid; gap: 12px; }
.review-group { padding: 18px 22px 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.review-group h2 { display: flex; align-items: baseline; gap: 11px; margin: 0 0 13px; color: var(--navy); font-size: 17px; }
.review-group h2 span { color: var(--orange); font-size: 12px; }
.review-group h2 small { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 500; }
.review-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.review-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; min-height: 46px; padding: 9px 11px; border: 1px solid #e0e9f4; border-radius: 5px; background: #f9fbfe; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.review-item:hover, .review-item:focus-visible { border-color: #6d9edc; background: #eff6ff; }
.review-item i { color: var(--blue); font-size: 11px; font-style: normal; font-weight: 800; }
.review-item span { min-width: 0; overflow: hidden; font-size: 12px; }
.review-item b, .review-item em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-weight: 500; }
.review-item em { margin-top: 3px; color: var(--muted); font-size: 11px; }
.review-item strong { color: var(--blue); font-size: 11px; white-space: nowrap; }
.review-item.missing { border-color: #f0d9c4; background: #fffaf5; }
.review-item.missing i, .review-item.missing strong { color: #ae622c; }
.review-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 22px; }
.review-footer > div { display: flex; align-items: center; gap: 14px; }
.review-footer .form-error { margin: 0; }
.review-footer .button:disabled { opacity: .52; cursor: not-allowed; }
.answer-evidence { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; margin: 20px 0 28px; }
.answer-evidence > div { padding: 13px 15px; background: #f1f6fc; border-left: 2px solid #6c9fdb; }
.answer-evidence strong { display: block; margin-bottom: 6px; color: var(--blue); font-size: 12px; }
.answer-evidence span { color: var(--ink); font-size: 13px; line-height: 1.55; }
@media print { .report-details > summary { display: none; } .report-details:not([open]) > .full-report { display: block; } }

@keyframes v4-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
  .landing-page .hero-visual img { transition: none; }
}
@media (max-width: 850px) {
  .landing-page .hero-inner { grid-template-columns: 1fr 1fr; gap: 22px; }
  .landing-page .hero h1 { font-size: clamp(33px, 4.6vw, 41px); }
  .landing-page .hero-visual { height: 350px; }
  .landing-page .intro-list > div,
  .landing-page .intro-list > div:first-child { padding-inline: 13px; }
}
@media (max-width: 620px) {
  .question-actions { flex-wrap: wrap; }
  .question-actions .text-button { order: 4; width: 100%; text-align: center; }
  .review-head { padding: 22px 19px 14px; }
  .review-group { padding: 16px 13px; }
  .review-items, .answer-evidence { grid-template-columns: 1fr; }
  .review-item b, .review-item em { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .review-footer { flex-direction: column; align-items: stretch; }
  .review-footer > div { flex-direction: column; align-items: stretch; }
  .landing-page .hero-inner { width: 90vw; grid-template-columns: 1fr; gap: 24px; padding: 32px 0 29px; }
  .hero-copy { padding: 0; }
  .landing-page .hero .eyebrow { font-size: 10px; gap: 9px; }
  .landing-page .hero .eyebrow::before { width: 22px; }
  .landing-page .hero h1 { font-size: clamp(30px, 8.3vw, 35px); line-height: 1.27; margin: 15px 0 12px; }
  .landing-page .hero p { font-size: 14px; line-height: 1.65; }
  .landing-page .entry-action { margin-top: 22px; max-width: none; }
  .landing-page .entry-action .button { min-width: 198px; min-height: 46px; font-size: 14px; }
  .landing-page .hero-meta { margin-top: 13px; font-size: 11px; }
  .landing-page .hero-visual { height: 225px; }
  .landing-page .intro { width: 90vw; padding: 17px 0; }
  .landing-page .intro-list { grid-template-columns: 1fr; padding: 5px 0; }
  .landing-page .intro-list > div,
  .landing-page .intro-list > div:first-child {
    min-height: 0;
    padding: 11px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .landing-page .intro-list > div:last-child { border-bottom: 0; }
  .landing-page .intro-list i { font-size: 14px; }
  .landing-page .intro-list strong { font-size: 15px; }
  .landing-page .small-note { text-align: left; line-height: 1.5; }
  .profile-intro h1 { font-size: 29px; }
  .question-main h2 { font-size: 21px; }
  .report-hero h1 { font-size: 42px; }
  .section-heading h2, .unlock h2 { font-size: 23px; }
  .report-chapter h2 { font-size: 22px; }
  .profile-more { gap: 13px; }
  .profile-more h3 { font-size: 16px; }
  .profile-checks { gap: 6px; }
  .profile-checks label { max-width: 100%; }
  .report-suggestion { display: block; }
  .report-suggestion p { margin-top: 5px; }
}
