/* FONT SIZE GUIDE
 * body: default text size
 * h1: main heading (also overridden inside media queries)
 * h2: section headings
 * .intro: hero paragraph
 * .teaching-copy h3: teaching-card headings
 * Look for font-size, or the size in a font shorthand such as 16px/1.65.
 * Later rules and @media blocks can override earlier values.
 */

:root {
  --ink: #281b3b;
  --muted: #6b5a7c;
  --purple: #6537a3;
  --line: #e4dced;
  --wash: #f7f3fc;
  --pale: #eee5fa;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,button,summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
::selection {
  background: var(--pale);
}
.wrap {
  max-width: 1200px;
  margin: auto;
  padding-inline: 44px;
}
.header {
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -1.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo svg {
  width: 29px;
  height: 29px;
  color: var(--purple);
}
nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}
nav a:hover,.text-link:hover {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 21px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  font-size: 14px;
  font-weight: 650;
  transition: background .2s;
}
.button:hover {
  background: var(--pale);
}
.button.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}
.button.primary:hover {
  background: #502982;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.hero {
  padding-top: 80px;
  padding-bottom: 75px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 65px;
  align-items: center;
}
h1 {
  font-size: clamp(40px,4.4vw,58px);
  line-height: 1.13;
  letter-spacing: -2.5px;
  font-weight: 650;
  margin: 22px 0;
}
h1 span {
  color: var(--purple);
}
.intro {
  color: var(--muted);
  max-width: 465px;
  font-size: 17px;
  line-height: 1.8;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 22px;
}
.wave-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
  padding: 21px 22px 17px;
  transform: rotate(-1deg);
}
.wave-heading {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.wave-heading strong {
  color: var(--ink);
  font-weight: 650;
}
.wave-card svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 22px 0 16px;
}
.wave-footer {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.legend {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dash {
  width: 17px;
  border-top: 2px dashed #9d85b8;
}
.solid {
  width: 17px;
  border-top: 2px solid var(--purple);
}
.strip {
  display: flex;
  justify-content: center;
  gap: 45px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.strip span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.strip svg {
  width: 17px;
  height: 17px;
  color: var(--purple);
}
section {
  padding-block: 78px;
}
h2 {
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  font-weight: 600;
  margin: 14px 0;
}
p {
  margin: 0 0 16px;
}
.section-description {
  color: var(--muted);
  font-size: 15px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 33px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 27px 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.icon {
  width: 45px;
  height: 45px;
  background: var(--wash);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--purple);
  margin-bottom: 24px;
}
.icon svg {
  width: 25px;
  height: 25px;
}
.card h3 {
  font-size: 19px;
  letter-spacing: -.5px;
  line-height: 1.4;
  margin: 0 0 12px;
  font-weight: 650;
}
.card p {
  font-size: 14px;
  color: var(--muted);
}
.badge {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .3px;
  padding: 3px 9px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--purple);
  display: inline-block;
}
.card .badge {
  margin-top: auto;
  margin-bottom: 23px;
}
.card details {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.card summary {
  font-size: 12px;
  color: var(--purple);
  font-weight: 650;
}
.card ul {
  font-size: 13px;
  color: var(--muted);
  padding-left: 18px;
  margin-bottom: 0;
}
summary {
  cursor: pointer;
}
summary:hover {
  color: var(--purple);
}
.updates {
  border-top: 1px solid var(--line);
}
.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.filters {
  display: flex;
  gap: 5px;
  background: var(--wash);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.filters button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}
.filters button[aria-pressed=true] {
  background: #fff;
  border-color: var(--line);
  color: var(--purple);
  font-weight: 650;
}
.preview-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 21px;
}
.update-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.update {
  border-bottom: 1px solid var(--line);
}
.update summary {
  display: grid;
  grid-template-columns: 155px 1fr 115px 16px;
  gap: 24px;
  align-items: center;
  padding: 25px 0;
  list-style: none;
}
.update summary::-webkit-details-marker {
  display: none;
}
.date {
  font-size: 12px;
  color: var(--muted);
}
.update-title {
  font-size: 15px;
  font-weight: 600;
}
.plus {
  font-size: 22px;
  color: var(--purple);
  line-height: 1;
}
.update[open] .plus {
  transform: rotate(45deg);
}
.update-body {
  padding: 0 145px 26px 179px;
  font-size: 14px;
  color: var(--muted);
}
[hidden] {
  display: none!important;
}
.research {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 43px 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  align-items: center;
  margin-bottom: 76px;
}
.research h2 {
  font-size: 37px;
}
.research p {
  max-width: 620px;
  font-size: 15px;
  color: var(--muted);
}
.research details {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.research summary {
  font-size: 14px;
  font-weight: 650;
  color: var(--purple);
}
.research details p {
  margin-top: 16px;
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: 27px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.footer strong {
  color: var(--ink);
  font-weight: 600;
}
.skip {
  position: absolute;
  left: 20px;
  top: -80px;
  z-index: 2;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.preview-label {
  background: var(--wash);
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding: 7px 18px;
  border-bottom: 1px solid var(--line);
}
@media(min-width:1400px) {
  .hero {
    padding-block: 95px;
  }
  .wrap {
    max-width: 1280px;
  }
}
@media(max-width:900px) {
  .wrap {
    padding-inline: 28px;
  }
  .header {
    height: auto;
    min-height: 94px;
    flex-wrap: wrap;
    padding-block: 22px;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .hero {
    gap: 30px;
  }
  h1 {
    font-size: 43px;
  }
  .strip {
    gap: 22px;
    font-size: 11px;
  }
  .cards {
    gap: 12px;
  }
  .card {
    padding: 23px 18px;
  }
  .section-top {
    align-items: start;
    flex-direction: column;
  }
  .research {
    padding: 32px;
    gap: 24px;
  }
  .update summary {
    grid-template-columns: 125px 1fr 100px 16px;
    gap: 15px;
  }
  .update-body {
    padding-left: 140px;
    padding-right: 30px;
  }
}
@media(max-width:620px) {
  .wrap {
    padding-inline: 22px;
  }
  .header .button {
    font-size: 12px;
    padding: 9px 12px;
  }
  .logo {
    font-size: 25px;
  }
  nav {
    gap: 25px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 45px;
    gap: 35px;
  }
  h1 {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .intro {
    font-size: 16px;
  }
  .wave-card {
    transform: none;
  }
  .strip {
    flex-direction: column;
    gap: 12px;
    align-items: start;
    padding: 21px 0;
    font-size: 12px;
  }
  section {
    padding-block: 48px;
  }
  h2 {
    font-size: 30px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card {
    padding: 25px;
  }
  .icon {
    margin-bottom: 18px;
  }
  .card .badge {
    margin-top: 6px;
    margin-bottom: 20px;
  }
  .update summary {
    grid-template-columns: 1fr auto 16px;
    gap: 10px;
    padding-block: 20px;
  }
  .date {
    grid-column: 1/-1;
  }
  .update-title {
    font-size: 14px;
  }
  .update .badge {
    font-size: 9px;
  }
  .update-body {
    padding: 0 0 22px;
  }
  .research {
    grid-template-columns: 1fr;
    padding: 28px 23px;
    margin-bottom: 45px;
    gap: 16px;
  }
  .research .button {
    justify-self: start;
  }
  .research h2 {
    font-size: 32px;
  }
  .footer {
    flex-direction: column;
    gap: 9px;
  }
  .filters button {
    padding: 7px 11px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none!important;
  }
}
.header {
  gap: 20px;
  position: relative;
  z-index: 10;
}
.header nav {
  gap: 22px;
  align-items: center;
  font-size: 13px;
}
.nav-group {
  position: relative;
}
.nav-group>summary {
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.nav-group>summary::-webkit-details-marker {
  display: none;
}
.nav-group>summary:after {
  content: "⌄";
  font-size: 15px;
}
.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 8px 25px #281b3b0c;
}
.nav-panel a {
  display: block;
  padding: 9px 8px;
  border-radius: 4px;
  line-height: 1.4;
}
.nav-panel a:hover {
  background: var(--wash);
}
.nav-panel p {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px;
}
.nav-panel .nav-divider {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 8px;
}
.page-hero {
  padding: 65px 0 38px;
  max-width: 780px;
}
.page-hero h1 {
  font-size: clamp(38px,5vw,55px);
}
.page-hero .intro {
  max-width: 690px;
}
.page-content {
  padding: 0 0 65px;
}
.page-content h2 {
  font-size: 28px;
}
.page-content h3 {
  font-size: 20px;
}
.page-content .cards {
  margin-bottom: 35px;
}
.page-content .card .badge {
  margin: 0 0 18px;
}
.page-content .card .text-link {
  margin-top: auto;
}
.text-link {
  font-size: 14px;
  color: var(--purple);
  font-weight: 650;
}
.article-block {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  max-width: 850px;
}
.article-block p,.article-block li {
  color: var(--muted);
  font-size: 15px;
}
.article-block ol,.article-block ul {
  padding-left: 22px;
}
.article-block li {
  padding: 5px 0;
}
.notice {
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--wash);
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  margin: 24px 0;
}
.section-link {
  display: inline-block;
  margin-top: 25px;
  min-height: 44px;
}
.source-label {
  font-size: 12px;
  color: var(--muted);
}
.update summary {
  grid-template-columns: 155px 1fr 145px 16px;
}
.update-body {
  padding-right: 30px;
}
.footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.header>.button {
  white-space: nowrap;
}
@media(max-width:1100px) {
  .header {
    flex-wrap: wrap;
    padding-block: 20px;
    height: auto;
  }
  .header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 25px;
  }
}
@media(max-width:620px) {
  .header nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px 20px;
    font-size: 12px;
  }
  .header nav>a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-group {
    position: static;
  }
  .nav-panel {
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    margin: 0 0 10px;
  }
  .nav-group:last-child .nav-panel {
    left: 0;
  }
  .update summary {
    grid-template-columns: 1fr auto 16px;
  }
  .date {
    grid-column: 1/-1;
  }
  .page-hero {
    padding-top: 42px;
  }
  .page-content {
    padding-bottom: 40px;
  }
}
nav a[aria-current="page"] {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.actions {
  flex-wrap: wrap;
}
.source-label {
  margin: 14px 0 0;
}
.learning-panel {
  width: 340px;
  max-height: 65vh;
  overflow: auto;
}
.all-tools {
  color: var(--purple);
  font-weight: 650;
}
.tool-group {
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.tool-group>summary {
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 650;
}
.tool-group a {
  padding-left: 20px;
  font-size: 12px;
}
.tool-section {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 24px;
}
.tool-tile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
}
.tool-tile:hover {
  background: var(--wash);
  color: var(--purple);
}
.tool-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.learning-frame {
  display: block;
  width: 100%;
  height: calc(100dvh - 95px);
  min-height: 550px;
  border: 0;
}
@media(max-width:800px) {
  .tool-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media(max-width:620px) {
  .learning-panel {
    width: auto;
    max-height: 60vh;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
}
/* A more tactile purple-and-white system: lilac paper, ink and signal grids. */
:root {
  --ink: #2b193e;
  --muted: #675574;
  --purple: #64349b;
  --line: #dfd1eb;
  --wash: #f3edf8;
  --pale: #e9ddf5;
}
body {
  background: #fcfaff;
  background-image: radial-gradient(ellipse at 95% 3%,#eee3f8 0,transparent 40%);
}
.header {
  border-bottom-color: #d8c6e7;
}
.preview-label {
  background: #eee4f7;
}
.hero {
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 30px -20px;
  z-index: -1;
  background-image: radial-gradient(#bba3cf 0.7px,transparent .7px);
  background-size: 19px 19px;
  mask-image: linear-gradient(90deg,transparent 38%,#000 100%);
  opacity: .32;
}
.hero h1 {
  font-weight: 700;
}
.wave-card {
  background: linear-gradient(145deg,#fff 0%,#f1e7fb 100%);
  border-color: #cbb3e0;
  box-shadow: 10px 12px 0 #e9ddf4,0 15px 35px #4220580a;
  transform: rotate(-2deg);
  position: relative;
}
.wave-card:before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #fff9;
  border-radius: 7px;
  pointer-events: none;
}
.strip {
  background: #eee3f6;
  border-block-color: #d6c3e6;
  padding-inline: 20px;
  border-radius: 5px;
}
.eyebrow {
  letter-spacing: 1.7px;
}
.research {
  background: #342044;
  color: #fff;
  border-color: #49305e;
  position: relative;
  overflow: hidden;
}
.research:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);
  background-size: 27px 27px;
}
.research>div,.research>.button {
  position: relative;
}
.research .eyebrow {
  color: #dfc6f5;
}
.research p {
  color: #eadff2;
}
.research h2 {
  color: #fff;
}
.card,.tool-tile {
  background: #fff;
}
.footer {
  border-top: 2px solid #d5c2e5;
}
.teaching-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.teaching-card {
  border: 1px solid #d9c8e7;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.teaching-visual {
  position: relative;
  background: #eee4f7;
  background-image: linear-gradient(#d7c3e442 1px,transparent 1px),linear-gradient(90deg,#d7c3e442 1px,transparent 1px);
  background-size: 22px 22px;
  min-height: 205px;
  padding: 8px 18px 34px;
  color: #693f92;
}
.teaching-card:nth-child(2) .teaching-visual {
  background-color: #e7d9f2;
}
.teaching-art {
  display: block;
  width: 100%;
  height: 170px;
}
.preview-chip {
  position: absolute;
  left: 23px;
  bottom: 15px;
  padding: 3px 9px;
  background: #ffffffc9;
  border: 1px solid #dac8e7;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #5a3e70;
}
.teaching-copy {
  padding: 26px;
}
.teaching-copy h3 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.6px;
  margin: 14px 0 12px;
}
.teaching-copy p {
  font-size: 14px;
  color: var(--muted);
}
.teaching-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 23px;
}
.teaching-actions .button {
  font-size: 12px;
}
.teaching-actions .text-link {
  font-size: 12px;
}
.learning-invite {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding: 32px 35px;
  margin-top: 28px;
  background: #ece0f6;
  border: 1px solid #d7bfe8;
  border-left: 4px solid var(--purple);
  border-radius: 7px;
}
.learning-invite h3 {
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -.5px;
  margin: 8px 0 12px;
}
.learning-invite p {
  max-width: 610px;
  font-size: 14px;
  color: #604974;
  margin-bottom: 8px;
}
.learning-invite>.button {
  flex-shrink: 0;
}
.invite-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #634187;
}
.learning-invite .accreditation-note {
  font-size: 12px;
  font-weight: 600;
  color: #634187;
  margin-bottom: 0;
}
.inline-tool {
  border-top: 1px solid var(--line);
  background: #fff;
}
.inline-tool-frame {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}
.application-directory {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 23px;
  scroll-margin-top: 25px;
}
.application-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.application-card:nth-child(3n+2) {
  background: #f3ecf9;
}
.application-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: start;
}
.application-number {
  font-size: 12px;
  color: #75558c;
  font-variant-numeric: tabular-nums;
}
.application-top .icon {
  background: #e7d8f3;
  border: 1px solid #dac5e9;
}
.application-card h2 {
  font-size: 25px;
  margin: 14px 0;
}
.application-card p,.application-card li {
  font-size: 14px;
  color: var(--muted);
}
.application-card details {
  border-top: 1px solid var(--line);
  width: 100%;
  padding-top: 16px;
  margin: 6px 0 24px;
}
.application-card summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
}
.application-card ul {
  padding-left: 18px;
}
.application-card>.text-link {
  margin-top: auto;
}
.application-card:last-child {
  grid-column: 1/-1;
}
.applications-hero {
  max-width: 850px;
}
@media(max-width:900px) {
  .learning-invite {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }
  .wave-card {
    box-shadow: 6px 8px 0 #e9ddf4;
  }
  .teaching-copy {
    padding: 22px;
  }
  .teaching-copy h3 {
    font-size: 21px;
  }
}
@media(max-width:620px) {
  .teaching-grid,.application-directory {
    grid-template-columns: 1fr;
  }
  .teaching-grid {
    gap: 20px;
  }
  .teaching-visual {
    min-height: 185px;
  }
  .teaching-art {
    height: 150px;
  }
  .learning-invite {
    padding: 26px 22px;
  }
  .application-card {
    padding: 25px;
  }
  .application-card:last-child {
    grid-column: auto;
  }
  .wave-card {
    transform: none;
  }
  .research {
    padding: 30px 25px;
  }
  .strip {
    padding-inline: 18px;
  }
  .wave-heading {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero:before {
    inset-inline: 0;
  }
}
.site-footer {
  display: block;
  padding-block: 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer-top nav {
  display: flex;
  gap: 25px;
  font-size: 13px;
}
.footer-business {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  line-height: 1.9;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.footer-business address {
  display: inline;
  font-style: normal;
}
.footer-purpose {
  font-size: 11px;
  margin: 17px 0 0;
}
.support-content {
  max-width: 880px;
}
.faq-group {
  padding: 20px 0 30px;
}
.faq-group h2 {
  margin-bottom: 24px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  margin: 12px 0;
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
}
.faq-item[open] {
  background: #f5effa;
  border-color: #cbb3df;
}
.faq-item>div {
  padding: 0 24px 24px;
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
}
.support-inline-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}
.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.contact-card h2 {
  margin-top: 0;
}
.contact-card>p {
  color: var(--muted);
  font-size: 14px;
}
.contact-method {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 23px;
  margin-top: 20px;
  background: #f1e7f8;
  border: 1px solid #ddcbea;
  border-radius: 7px;
}
.contact-method:hover {
  background: #e9dcf4;
}
.contact-method strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.6px;
}
.contact-method>span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.contact-context {
  padding-block: 24px;
}
.contact-context ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.contact-context li {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.contact-context li strong {
  color: var(--ink);
}
.business-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  padding: 32px;
  background: #eee3f6;
  border: 1px solid var(--line);
  border-radius: 9px;
  align-items: center;
}
.business-card h2 {
  font-size: 25px;
}
.business-card address {
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
}
.business-card p {
  font-size: 14px;
}
@media(max-width:700px) {
  .contact-layout,.business-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .contact-card,.business-card {
    padding: 25px;
  }
  .contact-method {
    padding: 20px;
  }
  .contact-method strong {
    font-size: 22px;
  }
  .footer-top {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .footer-business {
    flex-direction: column;
    gap: 7px;
  }
  .footer-business>span[aria-hidden] {
    display: none;
  }
  .faq-item summary {
    padding: 18px;
  }
  .faq-item>div {
    padding: 0 18px 20px;
  }
  .footer-top nav {
    width: auto;
    order: initial;
  }
}
.locked-tool {
  display: block;
  padding: 9px 8px;
  color: var(--muted);
}
.locked-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}
.tool-tile.locked-tool {
  display: flex;
  background: #f0eaf5;
  cursor: default;
}
.tool-tile.locked-tool:hover {
  background: #f0eaf5;
  color: var(--muted);
}
button:disabled {
  cursor: not-allowed;
  opacity: .7;
}

/* Responsive layout: shared safeguards at every viewport width. */
.wrap > *,
.hero > *,
.teaching-grid > *,
.application-directory > *,
.contact-layout > *,
.section-top > * {
  min-width: 0;
}

img,
video,
iframe {
  max-width: 100%;
}

h1,
h2,
h3,
p,
address,
.locked-tool {
  overflow-wrap: break-word;
}

.wave-heading,
.wave-footer,
.strip,
.filters {
  flex-wrap: wrap;
}

.wave-footer {
  gap: 10px;
}

.button,
.filters button,
.tool-group > summary,
.nav-panel a {
  min-height: 44px;
}

.nav-panel {
  max-height: min(65dvh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.update summary {
  grid-template-columns: 155px minmax(0, 1fr) 145px 16px;
}

/* Tablet: give the navigation its own row and anchor panels to the header. */
@media (max-width: 1200px) {
  .header {
    flex-wrap: wrap;
    height: auto;
    padding-block: 20px;
  }

  .header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
  }

  .header .nav-group {
    position: static;
  }

  .header .nav-panel {
    top: calc(100% + 6px);
    left: auto;
    right: 0;
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding-block: 48px;
  }

  .hero .intro {
    max-width: 590px;
  }

  .hero .wave-card {
    width: 100%;
    max-width: 580px;
    justify-self: center;
    transform: none;
  }

  .teaching-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .research {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .research > .button {
    justify-self: start;
  }

  .update summary {
    grid-template-columns: minmax(0, 1fr) auto 16px;
    gap: 12px;
  }

  .update .date {
    grid-column: 1 / -1;
  }

  .update-body {
    padding: 0 0 24px;
  }
}

/* Phone: readable type, full-width dropdowns and natural content order. */
@media (max-width: 620px) {
  .wrap {
    padding-inline: 20px;
  }

  .header nav {
    justify-content: flex-start;
    gap: 4px 18px;
  }

  .header .nav-panel {
    left: 0;
    right: 0;
    width: auto;
    max-height: 55dvh;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(34px, 9.5vw, 45px);
    letter-spacing: -1.4px;
  }

  h2 {
    font-size: clamp(26px, 7vw, 30px);
  }

  .wave-card {
    padding: 18px 15px;
  }

  .wave-heading {
    font-size: 10px;
    letter-spacing: .6px;
  }

  .strip {
    gap: 12px;
  }

  .update summary {
    grid-template-columns: minmax(0, 1fr) 20px;
  }

  .update .date {
    grid-row: 1;
  }

  .update-title {
    grid-column: 1;
    grid-row: 2;
  }

  .update .badge {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .update .plus {
    grid-column: 2;
    grid-row: 2;
  }

  .learning-invite {
    gap: 20px;
  }

  .learning-invite .actions {
    margin-top: 0;
  }

  .footer-business {
    overflow-wrap: anywhere;
  }

  .tool-toolbar {
    padding-inline: 20px;
  }

  .inline-tool-frame {
    height: 70dvh;
    min-height: 480px;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding-inline: 16px;
  }

  .header {
    gap: 14px;
  }

  .header > .button {
    padding-inline: 10px;
    font-size: 11px;
  }

  .actions > .button,
  .learning-invite > .button {
    width: 100%;
  }

  .teaching-copy,
  .application-card,
  .contact-card {
    padding: 20px;
  }
}

/* Main menu sizing: edit these values to adjust navigation text. */
.header nav {
  font-size: 15px;
  gap: 24px;
}

.header .nav-panel {
  font-size: 14px;
}

.header .tool-group > summary {
  font-size: 14px;
}

.header .tool-group a,
.header .locked-tool {
  font-size: 13px;
}

.applications-panel {
  width: 330px;
}

.application-card[id] {
  scroll-margin-top: 28px;
}

@media (max-width: 620px) {
  .header nav {
    font-size: 14px;
    gap: 4px 18px;
  }
}

/* Account links stay visible alongside the main menu on every screen size. */
.account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-left: 0;
  flex-shrink: 0;
}
.account-actions a {
  white-space: nowrap;
}
.account-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--purple);
  font-weight: 600;
}
.account-login:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 620px) {
  .account-actions {
    gap: 8px 12px;
  }
}
@media (max-width: 420px) {
  .account-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}

/* Centre the desktop menu in the space between the logo and account links. */
@media (min-width: 1201px) {
  .header nav {
    flex: 1;
    justify-content: center;
  }
}

/* Research lab navigation and readable focus-area sections. */
.research-panel {
  width: 390px;
}
.research-panel .tool-group > summary {
  white-space: normal;
  line-height: 1.5;
}
.research-focus {
  scroll-margin-top: 28px;
}
.application-card > .text-link {
  display: block;
  margin-top: 16px;
}
.research-relocation {
  margin-block: 12px;
  color: var(--muted);
}
.research-relocation a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* A single trace-drawing entrance; no continuous flashing or moving content. */
@media (prefers-reduced-motion: no-preference) {
  .wave-card svg > path:last-of-type {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: trace-arrival 2.2s ease-out forwards;
  }
  .card, .application-card, .button {
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
  }
  .card:hover, .application-card:hover {
    transform: translateY(-3px);
  }
  .button:hover {
    transform: translateY(-2px);
  }
}
@keyframes trace-arrival {
  to { stroke-dashoffset: 0; }
}

/* Accessible module names on repeated catalogue actions. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
