/* ==========================================================================
   Yesod Trust Initiative: site styles
   Colors and fonts follow the project brief. Edit the tokens below to adjust.
   Design motifs echo the logo: the circle and the short blue underline.
   ========================================================================== */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #172d4b;
  --navy-deep: #0f1f35;
  --ivory: #f5f0e7;
  --ivory-dark: #ebe3d4;
  --paper: #fbf8f2;
  --soft-blue: #7199c2;
  --blue-text: #2f5a85;       /* darker blue that passes contrast on ivory */
  --ink: #1c2430;
  --muted: #4a5566;
  --rule: #d9cfbd;

  --ok: #1f6b3a;
  --ok-bg: #e7f2ea;
  --warn: #9a2b1f;
  --warn-bg: #fbeae6;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;

  --measure: 40rem;
  --wide: 70rem;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(23, 45, 75, 0.06), 0 8px 24px -12px rgba(23, 45, 75, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 118.75%; /* 19px base for comfortable reading */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.2rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  margin-top: 1.8em;
}

h3 {
  font-size: 1.25rem;
  margin-top: 1.4em;
}

p,
ul,
ol {
  margin: 0 0 1.1em;
}

li + li {
  margin-top: 0.45em;
}

a {
  color: var(--blue-text);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1rem;
}

.prose {
  max-width: var(--measure);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* The short blue bar under headings, taken from the logo */
.bar::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  border-radius: 2px;
  background: var(--soft-blue);
  margin-top: 0.55em;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.brand img {
  width: 3.2rem;
  height: 3.2rem;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-top: 0.2rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
}

.site-nav li + li {
  margin-top: 0;
}

.site-nav a {
  display: inline-block;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}

.site-nav a:hover {
  background: var(--ivory-dark);
  color: var(--navy);
}

.site-nav a[aria-current="page"] {
  background: var(--navy);
  color: var(--paper);
}

/* ---------- Page openings ---------- */

.hero {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: end;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  margin-bottom: 0;
}

.hero-body .lead {
  margin-bottom: 0;
}

.page-intro {
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: 0.9rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink);
  max-width: var(--measure);
}

/* ---------- Sections ---------- */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section h2:first-child,
.section .eyebrow + h2 {
  margin-top: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: start;
}

.split-aside {
  position: sticky;
  top: 1.5rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0.85rem 1.5rem;
  min-height: 3rem;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--paper);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--ivory-dark);
  border-color: var(--navy);
  color: var(--navy);
}

.btn .arrow {
  transition: transform 0.15s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Cards and lists ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 0.8rem;
}

.section-alt .card {
  background: var(--ivory);
}

.card h3 {
  margin-top: 0.9rem;
}

.card-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-text);
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2px solid var(--soft-blue);
}

.habits {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: habit;
}

.habits li {
  counter-increment: habit;
  position: relative;
  padding: 0 0 1.4rem 3.6rem;
  margin: 0 0 1.4rem;
  border-bottom: 1px solid var(--rule);
}

.habits li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.habits li::before {
  content: counter(habit);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 600;
  display: grid;
  place-items: center;
}

.habits strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.note {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--soft-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  max-width: var(--measure);
  margin: 1.5rem 0;
}

.note p:last-child {
  margin-bottom: 0;
}

.help-panel {
  background: var(--navy);
  color: #e6ecf3;
  border-radius: var(--radius);
  padding: 2.25rem 2rem 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 1rem 3rem;
}

.help-panel h2 {
  color: var(--paper);
  margin-top: 0;
}

.help-panel .bar::after {
  background: var(--soft-blue);
}

.help-panel a {
  color: #fff;
}

.help-panel :focus-visible {
  outline-color: var(--paper);
}

/* ---------- About ---------- */

.principles {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.principles li {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}

.principles strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.team {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
}

.team-member {
  margin: 0;
  text-align: center;
  width: 13rem;
}

.team-photo {
  display: block;
  width: 11rem;
  height: 11rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--paper);
  outline: 2px solid var(--soft-blue);
  box-shadow: var(--shadow);
}

.team-photo-empty {
  background: var(--ivory-dark);
}

.team-member h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--navy);
}

.team-role {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-text);
}

.join-panel {
  background: var(--navy);
  color: #e6ecf3;
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: center;
}

.join-panel .eyebrow {
  color: var(--soft-blue);
}

.join-panel h2 {
  color: var(--paper);
  margin-top: 0;
}

.join-panel .bar::after {
  background: var(--soft-blue);
}

.join-lead {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--paper);
}

.join-panel :focus-visible {
  outline-color: var(--paper);
}

.btn-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--ivory-dark);
  border-color: var(--ivory-dark);
  color: var(--navy);
}

.join-roles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.join-roles li {
  margin: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
}

.join-roles strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--paper);
  margin-bottom: 0.2rem;
}

@media (max-width: 52rem) {
  .join-panel { grid-template-columns: 1fr; }
}

@media (max-width: 30rem) {
  .team { justify-content: center; }
  .join-panel { padding: 1.75rem 1.25rem; }
}

/* ---------- Trusted sources ---------- */

.source-grid {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1rem;
}

.source-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.section-alt .source-card {
  background: var(--ivory);
}

.source-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.source-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.source-note {
  color: var(--muted);
}

.source-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.source-phone {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.source-phone .phone-alt {
  display: inline-block;
  white-space: nowrap;
}

.source-phone:hover {
  text-decoration: underline;
}

.source-web {
  font-weight: 600;
  color: var(--blue-text);
  overflow-wrap: anywhere;
}

.checked-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 2.5rem 0 0;
}

/* ---------- Contact ---------- */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.contact-list li {
  margin: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-card:hover {
  border-color: var(--soft-blue);
  color: var(--ink);
}

.contact-icon {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  display: grid;
  place-items: center;
}

.contact-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-text);
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #dfe6ef;
  padding: 2.75rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2rem 3rem;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
}

.footer-brand p {
  max-width: var(--measure);
}

.footer-nav h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b9c8da;
  margin: 0 0 0.7rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li + li {
  margin-top: 0.3rem;
}

.site-footer a {
  color: var(--paper);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.footer-bottom p {
  margin: 0;
}

.site-footer :focus-visible {
  outline-color: var(--paper);
}

/* ==========================================================================
   Scam or Safe? game
   ========================================================================== */

.game {
  max-width: 46rem;
  margin: 0 auto;
}

.sim-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ivory-dark);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
}

.start-card,
.scenario,
.results {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.start-card h2 {
  margin-top: 0.9rem;
}

.progress-wrap {
  margin: 0 0 1.25rem;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.progress-steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
}

.progress-steps span {
  height: 0.5rem;
  border-radius: 999px;
  background: var(--ivory-dark);
  border: 1px solid var(--rule);
}

.progress-steps span.done {
  background: var(--navy);
  border-color: var(--navy);
}

.progress-steps span.current {
  background: var(--soft-blue);
  border-color: var(--soft-blue);
}

.scenario h2 {
  margin: 0.9rem 0 0.4rem;
  font-size: 1.6rem;
}

.channel {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--blue-text);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.channel svg {
  width: 1.15rem;
  height: 1.15rem;
}

.setup {
  color: var(--muted);
}

/* Message presentation varies by how it arrived */
.message {
  margin: 1.25rem 0;
}

.message-from {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
  overflow-wrap: anywhere;
}

.message-body {
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin: 0;
}

/* Text and social messages: a chat bubble */
.message[data-kind="chat"] .message-body {
  background: #e4ebf3;
  border-radius: 18px 18px 18px 4px;
  padding: 0.9rem 1.1rem;
  max-width: 34rem;
}

/* Email: a letter with a header line */
.message[data-kind="email"] {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.message[data-kind="email"] .message-from {
  border-bottom: 1px solid var(--rule);
  padding: 0.7rem 1.1rem;
  margin: 0;
}

.message[data-kind="email"] .message-body {
  padding: 1rem 1.1rem;
}

/* Calls, voicemail, video: a spoken transcript */
.message[data-kind="voice"] {
  border-left: 4px solid var(--soft-blue);
  padding: 0.25rem 0 0.25rem 1.2rem;
}

.message[data-kind="voice"] .message-body {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
}

/* Pop-up: a stark system window */
.message[data-kind="popup"] {
  border: 2px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
}

.message[data-kind="popup"]::before {
  content: "";
  display: block;
  height: 1.4rem;
  background: var(--ink);
}

.message[data-kind="popup"] .message-body {
  padding: 1rem 1.1rem;
  font-weight: 700;
  background: #fff;
}

.question {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.5rem 0 0.8rem;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.choice {
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: var(--radius);
}

.choice[aria-pressed="true"] {
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--soft-blue);
}

.choice:disabled {
  cursor: default;
  opacity: 1;
}

.choice:disabled:not([aria-pressed="true"]) {
  background: transparent;
  color: var(--muted);
  border-color: var(--rule);
}

.feedback {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  border: 2px solid;
}

.feedback[hidden] {
  display: none;
}

.feedback.is-correct {
  background: var(--ok-bg);
  border-color: var(--ok);
}

.feedback.is-incorrect {
  background: var(--warn-bg);
  border-color: var(--warn);
}

.feedback-title {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.feedback.is-correct .feedback-title { color: var(--ok); }
.feedback.is-incorrect .feedback-title { color: var(--warn); }

.feedback-icon {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  flex: none;
}

.feedback.is-correct .feedback-icon { background: var(--ok); }
.feedback.is-incorrect .feedback-icon { background: var(--warn); }

.verdict {
  font-weight: 700;
}

.feedback h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1rem 0 0.4rem;
}

.tip {
  background: var(--paper);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 1rem 0 0;
}

.next-row {
  margin-top: 1.25rem;
}

.results {
  text-align: center;
}

.results ul {
  text-align: left;
  max-width: 30rem;
  margin: 0 auto 1rem;
}

.results .btn-row {
  justify-content: center;
}

.score-ring {
  width: 10rem;
  height: 10rem;
  margin: 0.5rem auto 1.25rem;
  border-radius: 50%;
  border: 6px solid var(--soft-blue);
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--rule);
  display: grid;
  place-content: center;
  text-align: center;
}

.score-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.score-of {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 52rem) {
  .hero-grid,
  .split,
  .help-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .split-aside { position: static; }
}

@media (max-width: 30rem) {
  html { font-size: 112.5%; }
  .choices { grid-template-columns: 1fr; }
  .section { padding: 2.75rem 0; }
  .hero { padding: 2.5rem 0; }
  .page-intro { padding: 2.25rem 0 2rem; }
  .start-card, .scenario, .results { padding: 1.25rem; }
  .help-panel { padding: 1.75rem 1.25rem 0.75rem; }
  .brand img { width: 2.8rem; height: 2.8rem; }
  .brand-name { font-size: 1.35rem; }
  .site-nav { width: 100%; }
  .site-nav a { padding: 0.45rem 0.65rem; font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .skip-link, .btn-row { display: none; }
  body { background: #fff; }
}
