

/* ============================================================
   GLOBAL BASE STYLES
   ============================================================ */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  color: #111;
  line-height: 1.6;
}

/* Global text sizes */
p, ul, ol, li {
  font-size: 22px;
}

/* Headings */
h1 {
  font-size: 32px;
  margin: 0 0 0.5rem 0;
  font-family: "Arial", Arial, sans-serif;
}

h2 {
  font-size: 26px;
  font-family: "Arial", Arial, sans-serif;
}

h3 {
  font-size: 20px;
  font-family: "Arial", Arial, sans-serif;
}

/* ============================================================
   SKIP LINK (WCAG 2.2 AA)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #004a9f;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-size: 18px;
  border: 3px solid #000;
}

.skip-link:focus {
  top: 10px;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  background: #f7f7f7;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-inner img {
  height: 120px;
  width: auto;
}

.header-inner h1 {
  font-size: 40px;
  margin: 0;
}

/* ============================================================
   DESKTOP NAVIGATION
   ============================================================ */
.nav-banner {
  width: 100%;
  background: #004a9f;
  border-bottom: 5px solid #000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-inner a {
  font-size: 20px;
  font-weight: bold;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  border: 3px solid transparent;
}

.nav-inner a:hover,
.nav-inner a:focus {
  background: #ffffff;
  color: #003a7a;
  border-color: #000000;
  outline: none;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.menu-toggle {
  display: none;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  color: #000;
}

.mobile-nav {
  background: #004a9f;
  border-bottom: 5px solid #000;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s ease;
}

.mobile-nav.open {
  max-height: 500px;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 1rem;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #003a7a;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #fff;
  color: #003a7a;
  outline: 4px dashed #000;
  outline-offset: 4px;
}

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */
main, .wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: left;
}

footer p {
  font-size: 18px;
}

/* ============================================================
   ACCESSIBILITY HELPERS
   ============================================================ */
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   MOBILE RESPONSIVE TYPOGRAPHY
   ============================================================ */
@media (max-width: 600px) {

  /* Hide desktop nav */
  .nav-banner {
    display: none;
  }

  /* Show hamburger */
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  /* Hide header title on mobile (BBC pattern) */
  .header-inner h1 {
    display: none;
  }

  /* Global text scaling */
  body, p, li, ul, ol {
    font-size: 20px;
  }

  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }

  /* Wizard-specific scaling */
  .question-text {
    font-size: 20px;
    line-height: 1.35;
  }

  .question-number {
    font-size: 18px;
  }

  select,
  input[type="text"],
  input[type="email"] {
    font-size: 18px;
  }

  .question-nav button {
    font-size: 18px;
  }

  /* Layout tightening */
  main, .wrapper {
    padding: 1rem;
  }
}
	/*Image*/
img {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0; /* ensures left alignment */
}
	/*From Contact form*/
form {
  margin-top: 2rem;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 6px;
  border: 3px solid #000;
}
input, select, textarea {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.3rem;
  border: 3px solid #333;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}
label {
  font-weight: bold;
  display: block;
  margin-top: 1rem;
  font-size: 24px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border: 5px solid #000000;
}
button {
  margin-top: 1.5rem;
  padding: 0.9rem 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  background: #004a9f;
  color: #ffffff;
  border: 3px solid #004a9f;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

button:hover,
button:focus {
  background: #ffffff;
  color: #003a7a;
  border: 5px solid #000000;
  outline: none;
}
.instructions {
  background: #ffffff;
  padding: 1rem;
  border-left: 5px solid #004a9f;
  margin-bottom: 2rem;
}
.error-box {
  background: #ffffff;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 22px;
  border: 3px solid #000000;
}
/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 20px;
  margin-top: 1rem;
}
th {
  border: 3px solid #000;
  padding: 10px;
  background: #e6e6e6;
  text-align: left;
}
td {
  border: 3px solid #000;
  padding: 10px;
  text-align: left;
}
td.data {
  text-align: right;
}

/* Equal column widths */
table th:nth-child(1),
table td:nth-child(1) { width: 33%; }

table th:nth-child(2),
table td:nth-child(2) { width: 33%; }

table th:nth-child(3),
table td:nth-child(3) { width: 33%; }

/* FOOTER NAV */
.bottom-nav-banner {
  margin-top: 2rem;
}
/* LISTS */
ul, ol {
  font-size: 24px;
  margin-left: 1.5rem;
  padding-left: 1rem;
  line-height: 1.6;
}

li {
  margin-bottom: 0.5rem;
}

/* HEADER */
header {
  background: #f7f7f7;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-inner img {
  height: 120px;
  width: auto;
}

.header-inner h1 {
  font-size: 40px;
  margin: 0;
}
* { box-sizing: border-box; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #004a9f;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-size: 20px;
  border: 3px solid #000;
}
.skip-link:focus { top: 10px; }

header { background: #f7f7f7; }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-inner img { height: 120px; width: auto; }
.header-inner h1 { font-size: 40px; margin: 0; }

.nav-banner {
  width: 100%;
  background: #004a9f;
  border-bottom: 5px solid #000;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.nav-inner a {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  border: 3px solid transparent;
}
.nav-inner a:hover,
.nav-inner a:focus {
  background: #ffffff;
  color: #003a7a;
  border-color: #000000;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}
h1 { font-size: 36px; margin-top: 0; }
h2 { font-size: 28px; margin-top: 1.5rem; }
p { font-size: 20px; }

.question-panel {
  display: none;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
  border: px solid #000;
  border-radius: 8px;
}
.question-panel.active { display: block; }

.question-number { font-weight: bold; margin-bottom: 0.5rem; }
.question-text { margin-bottom: 1rem; }

select, input {
  font-size: 20px;
  padding: 0.4rem;
  width: 100%;
  margin-bottom: 1rem;
}

.question-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

button {
  font-size: 20px;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: 3px solid #000;
  background: #004a9f;
  color: #fff;
  cursor: pointer;
  min-width: 160px;
}
button[disabled] {
  background: #cccccc;
  color: #666666;
  border-color: #888888;
  cursor: not-allowed;
}
button:focus-visible {
  outline: 4px solid #000;
  outline-offset: 3px;
}

.progress-text { margin-top: 0.5rem; font-size: 18px; }

footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: left;
  font-size: 18px;
}
/* Inputs + selects */
select,
input {
  font-size: 20px;
  padding: 0.4rem;
  width: 100%;
  margin-bottom: 1rem;
  border: 3px solid #000;   /* normal border must be thinner */
  border-radius: 4px;
  background: #e0e0e0;      /* grey background by default */
  transition: background 0.2s ease;
}

/* Thick focus border */
select:focus,
input:focus {
  background: #ffffff !important; /* turns white on focus */
  border: 8px solid #000 !important;   /* thicker than normal */
}
  /* Make selects full width */
  select {
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
  }

  /* Make text inputs full width */
  input[type="text"],
  input[type="email"] {
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
  }

  /* Navigation buttons */
  .question-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .question-nav button {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
  }

  /* Results button on final step */
  #finish {
    width: 100%;
  }
}
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
button {
  font-size: 20px;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: 3px solid #000;
  background: #004a9f;
  color: #fff;
  cursor: pointer;
  min-width: 200px;
}
button[disabled] {
  background: #cccccc;
  color: #666666;
  border-color: #888888;
  cursor: not-allowed;
}
button:focus-visible {
  outline: 4px solid #000;
  outline-offset: 3px;
}

.results-panel,
.actions-panel {
  padding: 1.5rem;
  margin-top: 1.5rem;
  background: #ffffff;
  border: 3px solid #000;
  border-radius: 4px;
}

.status-text {
  font-size: 18px;
  margin-top: 0.5rem;
  min-height: 24px;
}

<style>
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  color: #111;
  line-height: 1.6;
  font-size: 20px;
}
* { box-sizing: border-box; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #004a9f;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-size: 20px;
  border: 3px solid #000;
}
.skip-link:focus { top: 10px; }

header { background: #f7f7f7; }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-inner img { height: 120px; width: auto; }
.header-inner h1 { font-size: 40px; margin: 0; }

.nav-banner {
  width: 100%;
  background: #004a9f;
  border-bottom: 5px solid #000;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.nav-inner a {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  border: 3px solid transparent;
}
.nav-inner a:hover,
.nav-inner a:focus {
  background: #ffffff;
  color: #003a7a;
  border-color: #000000;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}
h1 { font-size: 36px; margin-top: 0; }
h2 { font-size: 28px; margin-top: 1.5rem; }
p { font-size: 20px; }

.question-panel {
  display: none;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
  border: px solid #000;
  border-radius: 8px;
}
.question-panel.active { display: block; }

.question-number { font-weight: bold; margin-bottom: 0.5rem; }
.question-text { margin-bottom: 1rem; }

select, input {
  font-size: 20px;
  padding: 0.4rem;
  width: 100%;
  margin-bottom: 1rem;
}

.question-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

button {
  font-size: 20px;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: 3px solid #000;
  background: #004a9f;
  color: #fff;
  cursor: pointer;
  min-width: 160px;
}
button[disabled] {
  background: #cccccc;
  color: #666666;
  border-color: #888888;
  cursor: not-allowed;
}
button:focus-visible {
  outline: 4px solid #000;
  outline-offset: 3px;
}

.progress-text { margin-top: 0.5rem; font-size: 18px; }

footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: left;
  font-size: 18px;
}
/* Inputs + selects */
select,
input {
  font-size: 20px;
  padding: 0.4rem;
  width: 100%;
  margin-bottom: 1rem;
  border: 3px solid #000;   /* normal border must be thinner */
  border-radius: 4px;
  background: #e0e0e0;      /* grey background by default */
  transition: background 0.2s ease;
}

/* Thick focus border */
select:focus,
input:focus {
  background: #ffffff !important; /* turns white on focus */
  border: 8px solid #000 !important;   /* thicker than normal */
}
/* ------------------------------------------
   MOBILE FIXES FOR THE WIZARD PAGE
   Matches layout of other TDAA pages
   WITHOUT affecting scoring or JS logic
-------------------------------------------*/
@media (max-width: 600px) {

  /* Main content spacing */
  #main-content {
    padding: 1rem;
  }

  /* Question panels */
  .question-panel {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
  }

  .question-number {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .question-text {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  /* Make selects full width */
  select {
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
  }

  /* Make text inputs full width */
  input[type="text"],
  input[type="email"] {
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
  }

  /* Navigation buttons */
  .question-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .question-nav button {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
  }

  /* Results button on final step */
  #finish {
    width: 100%;
  }
}
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

</style>
/* Promo section container */
.promo-section {
  background: #ffffff;
  border: 4px solid #000;
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
}

.promo-section h2 {
  font-size: 32px;
  margin-top: 0;
}

.promo-section p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* CTA button */
.promo-button {
  display: inline-block;
  font-size: 22px;
  font-weight: bold;
  background: #004a9f;
  color: #ffffff;
  border: 4px solid #000;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  min-width: 200px;
  text-align: center;
}

/* Hover state */
.promo-button:hover {
  background: #ffffff;
  color: #003a7a;
  border-color: #000;
}

/* Focus-visible state (WCAG 2.2 AA compliant) */
.promo-button:focus-visible {
  outline: 4px solid #000;
  outline-offset: 4px;
  background: #ffffff;
  color: #003a7a;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .promo-section {
     }

  .promo-button {
    width: 100%;
    font-size: 20px;
    padding: 1rem;
  }
}
/* Remove inherited paragraph indentation inside promo block */
.promo-section p {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

