@import url('assets/fonts/fonts.css');

:root {
  --green: #176b48;
  --green-dark: #105236;
  --paper: #f7f8f7;
  --blue-paper: #eff4f7;
  --ink: #242b29;
  --muted: #56615d;
  --line: #d8dfdc;
  --white: #ffffff;
  --heading: 'Space Grotesk', 'Avenir Next', 'Trebuchet MS', sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', 'Helvetica Neue', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 18px/1.55 var(--body); }
body.dialog-open { overflow: hidden; }
h1, h2, h3, .wordmark { font-family: var(--heading); line-height: 1.2; font-weight: 600; letter-spacing: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: 54px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
p + p { margin-top: 16px; }
a { color: var(--green); text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, a, select { touch-action: manipulation; }
button { cursor: pointer; }
button, input, select { min-height: 44px; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: 10px; left: 20px; transform: translateY(-180%); padding: 12px 20px; background: var(--white); color: var(--ink); z-index: 20; }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.wordmark { text-decoration: none; color: var(--green); font-size: 28px; display: inline-flex; min-height: 44px; align-items: center; gap: 9px; }
.brand-mark { width: 28px; height: 28px; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a { color: var(--ink); text-decoration: none; padding-block: 12px; font-size: 16px; }
.primary-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.primary-nav .button { font-size: 16px; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 4px; padding: 4px 12px; color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; border: 1px solid var(--green); background: var(--green); color: var(--white); padding: 10px 18px; border-radius: 4px; text-decoration: none; font-weight: 600; line-height: 1.35; }
.button:hover { background: var(--green-dark); border-color: var(--green-dark); }
.button.secondary { background: transparent; color: var(--green); }
.button.secondary:hover { background: var(--paper); }
.button span { font-size: 23px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.hero { padding-top: 38px; }
.hero h1 { margin-bottom: 16px; max-width: 900px; text-wrap: balance; }
.hero-summary { font-size: 25px; line-height: 1.35; max-width: 880px; }
.intro { color: var(--muted); max-width: 770px; margin-top: 14px; }
.hero-figure { margin-top: 26px; }
.hero + .section { padding-top: 32px; }
.asked { font-size: 23px; line-height: 1.4; margin-bottom: 14px; max-width: 880px; }
.asked::before { content: '\201C'; }
.asked::after { content: '\201D'; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.screenshot { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.screenshot img { width: 100%; height: auto; }
.hero-figure .screenshot { width: fit-content; margin-inline: auto; }
.hero-figure figcaption { text-align: center; }
.hero-answer .screenshot { width: 100%; }
.hero-answer img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; }
.hero-answer figcaption { text-align: left; }
figcaption { padding-block: 12px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.section { padding-block: 58px; border-top: 1px solid var(--line); }
.section h2 { max-width: 680px; }
.section-intro { color: var(--muted); margin-top: 12px; max-width: 740px; }
.workflow { background: var(--blue-paper); }
.workflow-copy { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; margin-top: 24px; }
.workflow-copy p + p { margin-top: 0; }
.connection-layout, .publication-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; }
.question-list { margin-top: 30px; }
.question-list article { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; border-top: 1px solid var(--line); padding-block: 26px; }
.question-list article:last-child { padding-bottom: 0; }
.question-list .question { font-size: 23px; line-height: 1.4; color: var(--ink); }
.question-list p + p { font-size: 17px; color: var(--muted); margin-top: 10px; }
.question-list .text-link { margin-top: 8px; }
.school-note, .brief-section { background: var(--paper); }
.school-note .text-link { display: flex; width: fit-content; }
.brief-heading { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; margin-bottom: 28px; }
.brief-heading p { color: var(--muted); }
.text-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 700; margin-top: 18px; }
.connector-groups { margin: 22px 0 0; }
.connector-groups > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; border-top: 1px solid var(--line); padding-block: 12px; font-size: 16px; }
.connector-groups dt { font-weight: 600; }
.connector-groups dd { margin: 0; color: var(--muted); }
.enquiry-section { border-top: 1px solid var(--line); padding-block: 40px; }
.enquiry-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.enquiry-row p { color: var(--muted); margin-top: 12px; max-width: 650px; }
.enquiry-row > .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding-block: 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p, .footer-inner > a:not(.wordmark) { font-size: 15px; color: var(--muted); }
.footer-inner > a { display: inline-flex; align-items: center; min-height: 44px; }
.page-hero { padding-block: 46px 36px; }
.page-hero h1 { font-size: 44px; }
.page-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 24px; }
.page-links a { display: inline-flex; align-items: center; min-height: 44px; }
.guidance-section { background: var(--blue-paper); }
.source-list { list-style: none; padding: 0; margin: 28px 0 0; }
.source-list li { border-top: 1px solid var(--line); padding-block: 26px; }
.source-list h3 { font-size: 23px; }
.source-list p { margin-top: 12px; color: var(--muted); max-width: 840px; }
.source-list a { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; }
.details-list { margin: 28px 0 0; }
.details-list > div { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; border-top: 1px solid var(--line); padding-block: 24px; }
.details-list > div:last-child { padding-bottom: 0; }
.details-list dt { font-family: var(--heading); font-size: 20px; font-weight: 600; }
.details-list dd { margin: 0; color: var(--muted); }
dialog { border: 1px solid var(--line); border-radius: 6px; padding: 28px; color: var(--ink); background: var(--white); max-height: calc(100dvh - 40px); width: min(680px, calc(100% - 32px)); overflow: auto; }
dialog::backdrop { background: rgb(20 32 24 / 72%); }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 20px; }
.dialog-heading h2 { font-size: 30px; }
.close-dialog { width: 44px; flex-shrink: 0; padding: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; font-size: 30px; line-height: 1; }
.lightbox { width: min(1450px, calc(100% - 32px)); }
.lightbox img { width: 100%; max-height: 75dvh; object-fit: contain; }
.lightbox-caption { font-size: 15px; color: var(--muted); margin-top: 18px; }
.enquiry-dialog > p { font-size: 16px; }
form { margin-top: 24px; }
label { display: block; font-size: 16px; font-weight: 600; margin: 16px 0 6px; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #87998c; padding: 10px 12px; border-radius: 4px; background: var(--white); color: var(--ink); }
textarea { resize: vertical; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 14px; color: var(--muted); margin: 12px 0 20px; }
.enquiry-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent-label { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; font-weight: 400; }
.consent-label input { width: 20px; height: 20px; min-height: 20px; flex: 0 0 20px; margin-top: 3px; padding: 0; accent-color: var(--green); }
.enquiry-dialog :disabled { cursor: wait; opacity: .65; }
.status { font-weight: 600; color: var(--green); margin-top: 18px; }
.status.enquiry-error { color: #922b21; }
.enquiry-done { margin-top: 20px; }
.contact-form { max-width: 680px; margin-top: 0; }
.contact-form > label:first-child { margin-top: 0; }
@media (min-width: 760px) {
  .hero-figure img { width: auto; max-height: min(440px, calc(100svh - 400px)); object-fit: contain; }
  .hero-answer img { width: 100%; max-height: none; object-fit: cover; }
}
@media (max-width: 1000px) {
  .primary-nav { gap: 18px; }
  .connection-layout, .publication-layout, .brief-heading { gap: 40px; }
}
@media (max-width: 759px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 40px); }
  h1 { font-size: 36px; }
  h2 { font-size: 27px; }
  h3 { font-size: 21px; }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 0; padding-block: 10px; }
  .nav-toggle:not([hidden]) { display: block; }
  .primary-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px 0 6px; }
  .primary-nav a { padding: 10px 12px; }
  .js .primary-nav:not(.is-open) { display: none; }
  .hero { padding-top: 28px; }
  .hero-summary { font-size: 22px; }
  .asked { font-size: 20px; }
  .hero-answer img { aspect-ratio: 4 / 3; }
  .hero-figure { margin-top: 22px; }
  figcaption { font-size: 13px; }
  .section { padding-block: 36px; }
  .connection-layout, .publication-layout, .brief-heading, .workflow-copy { grid-template-columns: 1fr; gap: 24px; }
  .connector-groups > div { grid-template-columns: 1fr; gap: 2px; }
  .question-list article { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .question-list .question { font-size: 21px; }
  .enquiry-row { display: block; }
  .enquiry-row > .button { margin-top: 20px; }
  .footer-inner { flex-wrap: wrap; gap: 8px 20px; }
  .footer-inner p { flex-basis: 100%; order: 2; }
  .page-hero { padding-block: 30px; }
  .page-hero h1 { font-size: 34px; }
  .details-list > div { grid-template-columns: 1fr; gap: 12px; }
  dialog { padding: 20px; max-height: calc(100dvh - 24px); }
  .form-pair { grid-template-columns: 1fr; gap: 0; }
  .dialog-heading h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}