:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #111111;
  --teal: #111111;
  --line: #e2e8e5;
  --paper: #f7fbfa;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  max-width: 100%;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1168px;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f7fbfaf5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1168px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.3px;
}
.brand img {
  border-radius: 8px;
  flex-shrink: 0;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: #111111;
}
.desktop-nav a:hover {
  color: var(--teal);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.sign-in {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
  min-height: 38px;
}
.menu-toggle {
  display: none;
  border: 0;
  padding: 7px;
  background: none;
}
.menu-toggle svg {
  width: 24px;
  height: 24px;
}
.mobile-break {
  display: none;
}
.hero {
  padding-top: 64px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--teal);
  margin: 0 0 22px;
}
.hero h1 {
  font-size: clamp(44px, 5.5vw, 70px);
  letter-spacing: -0.055em;
  font-weight: 500;
  line-height: 1.07;
  margin: 0 0 25px;
}
.hero-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 370px;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 15px 20px;
  min-height: 48px;
  background: var(--teal);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.button:hover {
  background: #115e59;
}
.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  min-height: 44px;
}
.watch-link svg {
  width: 22px;
  height: 22px;
}
.hero-small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 30px;
}
.hero-portrait {
  height: 425px;
  position: relative;
  background: #e1f1ed;
  border-radius: 12px;
  overflow: hidden;
  align-self: stretch;
}
.hero-portrait img {
  height: 390px;
  width: auto;
  position: absolute;
  bottom: 0;
  right: 0;
  object-fit: contain;
}
.portrait-copy {
  position: absolute;
  top: 32px;
  left: 28px;
  z-index: 1;
  display: grid;
  gap: 5px;
  font-size: 16px;
  line-height: 1.3;
  color: #111111;
}
.portrait-copy strong {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.6px;
}
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-heading {
  margin-bottom: 36px;
}
.section-heading .eyebrow,
.getting-started .eyebrow,
.faq .eyebrow {
  margin-bottom: 14px;
}
h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 0;
}
h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.feature-grid article {
  padding-top: 22px;
  border-top: 1px solid #cadfd9;
}
.feature-number {
  font-size: 12px;
  color: #111111;
  display: block;
  margin-bottom: 28px;
}
.feature-grid p,
.steps p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.plans-section {
  padding: 65px 0;
  background: #edf7f4;
}
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.text-link {
  display: inline-block;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  padding: 12px 0;
}
.department-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.department-grid > a {
  padding: 28px 25px;
  background: #f7fbfa;
  border: 1px solid #dce9e5;
  border-radius: 8px;
}
.department-grid > a > span:first-child {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #111111;
}
.department-grid h3 {
  font-size: 25px;
  margin: 32px 0 10px;
}
.department-grid p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.department-link {
  display: flex;
  justify-content: space-between;
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 30px;
}
.department-grid > a:hover {
  border-color: #5b9e93;
}
.getting-started,
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.getting-started h2 {
  font-size: 40px;
  margin-bottom: 20px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child {
  padding-top: 0;
}
.steps li > span {
  font-size: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #c8ddd7;
  border-radius: 50%;
  flex-shrink: 0;
}
.steps h3 {
  font-size: 17px;
  margin: 3px 0 5px;
}
.school-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #134e4a;
  padding: 38px 42px;
  max-width: 1120px;
  border-radius: 10px;
  color: #fff;
}
.school-strip .eyebrow {
  color: #111111;
  margin-bottom: 12px;
}
.school-strip h2 {
  font-size: 28px;
}
.school-strip p:last-child {
  color: #111111;
  font-size: 14px;
  margin-bottom: 0;
}
.button-light {
  background: #fff;
  color: #111111;
  white-space: nowrap;
}
.button-light:hover {
  background: #e7f6f1;
}
.faq {
  gap: 80px;
}
.faq-items details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-items details:first-child {
  padding-top: 0;
}
.faq summary {
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  line-height: 1.6;
}
.faq summary::after {
  content: '+';
  color: var(--teal);
  font-size: 19px;
}
.faq details[open] summary::after {
  content: '−';
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.faq details a {
  text-decoration: underline;
  color: var(--teal);
}
.site-footer {
  background: #f0f8f5;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 35px;
}
.footer-top p {
  font-size: 13px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
  font-size: 12px;
  padding-top: 10px;
}
.footer-bottom {
  border-top: 1px solid #d9e8e3;
  padding-top: 20px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  gap: 20px;
}
.footer-bottom > div {
  display: flex;
  gap: 20px;
}
@media (max-width: 900px) {
  .desktop-nav {
    gap: 18px;
  }
  .hero {
    gap: 30px;
  }
  .hero-portrait img {
    height: 330px;
  }
  .hero-portrait {
    height: 385px;
  }
  .getting-started,
  .faq {
    gap: 40px;
  }
  .school-strip {
    margin-left: 24px;
    margin-right: 24px;
  }
  .footer-links {
    max-width: 290px;
  }
  .portrait-copy {
    top: 24px;
    left: 22px;
  }
}
@media (max-width: 700px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-inner {
    padding: 12px 20px;
    gap: 12px;
  }
  .brand {
    font-size: 14px;
    gap: 8px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .mobile-break {
    display: block;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
  }
  .header-actions {
    gap: 14px;
  }
  .sign-in {
    font-size: 12px;
    gap: 8px;
  }
  #mobile-nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
    padding: 10px 20px;
    background: var(--paper);
  }
  #mobile-nav a {
    padding: 13px 0;
    font-size: 14px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 32px;
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: 49px;
    margin-bottom: 18px;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.65;
    max-width: 340px;
  }
  .hero-actions {
    gap: 17px;
    margin-top: 24px;
  }
  .button {
    padding: 13px 16px;
    gap: 20px;
    font-size: 13px;
  }
  .watch-link {
    font-size: 12px;
    gap: 7px;
  }
  .hero-small {
    margin: 18px 0 0;
    font-size: 11px;
  }
  .hero-portrait {
    height: 224px;
    align-self: auto;
  }
  .hero-portrait img {
    height: 245px;
    right: 12px;
    bottom: -15px;
  }
  .portrait-copy {
    left: 24px;
    top: 45px;
    font-size: 13px;
  }
  .portrait-copy strong {
    font-size: 21px;
  }
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  h2 {
    font-size: 27px;
    letter-spacing: -0.8px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .feature-grid article {
    position: relative;
    padding: 21px 0 0 38px;
  }
  .feature-number {
    position: absolute;
    top: 25px;
    left: 0;
  }
  .feature-grid h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .feature-grid p {
    font-size: 13px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
  .plans-section {
    padding: 42px 0;
  }
  .section-heading-row {
    display: block;
  }
  .section-heading-row .text-link {
    margin-top: 10px;
  }
  .department-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .department-grid > a {
    padding: 22px;
  }
  .department-grid h3 {
    font-size: 23px;
    margin: 19px 0 7px;
  }
  .department-link {
    margin-top: 19px;
    padding-top: 16px;
  }
  .getting-started,
  .faq {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .getting-started h2 {
    font-size: 31px;
    margin-bottom: 8px;
  }
  .steps li {
    padding: 18px 0;
  }
  .school-strip {
    margin: 0 20px;
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .school-strip h2 {
    font-size: 26px;
  }
  .school-strip p:last-child {
    line-height: 1.6;
  }
  .school-strip .button {
    min-width: 170px;
  }
  .faq {
    gap: 24px;
  }
  .faq summary {
    font-size: 14px;
  }
  .footer-top {
    display: block;
  }
  .footer-top .brand {
    font-size: 15px;
  }
  .footer-links {
    max-width: none;
    gap: 18px;
    padding-top: 18px;
  }
  .footer-bottom {
    font-size: 10px;
  }
  .footer-bottom > div {
    gap: 12px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 44px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-portrait img {
    right: -20px;
  }
  .sign-in span {
    display: none;
  }
  .header-actions {
    gap: 9px;
  }
  .portrait-copy {
    left: 18px;
  }
  .button {
    padding: 13px 12px;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Reference refinement: full-width colour, product-led hero, clear closing CTA. */
:root {
  --paper: #fff;
  --ink: #111111;
  --teal: #111111;
  --muted: #111111;
  --line: #dbe8e6;
}
.site-header {
  background: #ccfbf1f7;
  border-bottom-color: #b1e8df;
}
.hero-band {
  background: #ccfbf1;
  border-radius: 0 0 36px 36px;
  overflow: hidden;
}
.hero {
  padding-top: 56px;
  padding-bottom: 0;
  min-height: 525px;
  grid-template-columns: 1.15fr 1fr;
  gap: 42px;
  align-items: center;
}
.hero-copy {
  padding-bottom: 62px;
}
.hero h1 {
  font-size: clamp(39px, 4.5vw, 58px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.hero-description {
  max-width: 420px;
  font-size: 16px;
  color: #111111;
}
.hero .eyebrow {
  color: #111111;
}
.button {
  background: #0f766e;
  border-radius: 8px;
}
.button:hover {
  background: #115e59;
}
.hero .watch-link {
  border: 1px solid #5f9e97;
  border-radius: 8px;
  padding: 13px 16px;
  min-height: 48px;
}
.hero-actions {
  gap: 12px;
}
.hero-small {
  margin-top: 23px;
  color: #111111;
}
.hero-product {
  height: 470px;
  position: relative;
  min-width: 0;
  align-self: end;
}
.product-window {
  position: absolute;
  width: 270px;
  right: 5px;
  top: 0;
  border: 1px solid #badbd6;
  background: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 12px 35px #134e4a18;
  overflow: hidden;
}
.window-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  background: #f5faf9;
  border-bottom: 1px solid #dce9e6;
}
.window-bar > span {
  height: 5px;
  width: 5px;
  border: 1px solid #94b4af;
  border-radius: 50%;
}
.window-bar p {
  font-size: 8px;
  margin-left: 26px;
  color: #111111;
}
.product-window > img {
  display: block;
  width: 100%;
  height: auto;
}
.product-photo {
  position: absolute;
  left: -10px;
  bottom: 42px;
  background: #99e6d9;
  width: 210px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #8bd5c9;
}
.product-photo img {
  height: 290px;
  max-width: none;
  width: auto;
  position: absolute;
  bottom: 0;
  left: -5px;
}
.product-caption {
  position: absolute;
  left: 4px;
  bottom: 18px;
  font-size: 10px;
  color: #111111;
  letter-spacing: 0.04em;
}
.subject-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 29px;
  padding-bottom: 29px;
}
.subject-strip p {
  font-size: 12px;
  line-height: 1.5;
  color: #111111;
  margin: 0;
  max-width: 190px;
}
.subject-strip > div {
  display: flex;
  gap: 56px;
  font-size: 17px;
  font-weight: 500;
  color: #111111;
}
.video-guide-section {
  background: #f3f7f6;
  border-radius: 24px;
  margin: 20px 20px 0;
}
.plans-section {
  background: #f0fdfa;
  border-radius: 28px;
  margin: 0 20px;
}
.section {
  padding-top: 86px;
  padding-bottom: 86px;
}
.section-heading > h2 {
  max-width: 600px;
}
.feature-grid article {
  border-color: #cce3de;
}
.school-strip {
  background: #e0f7f2;
  color: #111111;
  border-radius: 20px;
}
.school-strip .eyebrow {
  color: #111111;
}
.school-strip p:last-child {
  color: #111111;
}
.school-strip .button-light {
  background: #0f766e;
  color: #fff;
}
.closing-band {
  background: #b5f1e5;
  text-align: center;
  border-radius: 36px 36px 0 0;
  padding: 50px 0 52px;
}
.closing-band .eyebrow {
  margin-bottom: 15px;
}
.closing-band h2 {
  font-size: 34px;
}
.closing-band p:not(.eyebrow) {
  color: #111111;
  font-size: 14px;
  line-height: 1.7;
  margin: 16px auto 23px;
  max-width: 430px;
}
.closing-band .wrap > div {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.outline-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid #5b9189;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.site-footer {
  background: #f0fdfa;
  border: 0;
  padding-top: 46px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 42px;
}
.footer-top nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-top nav h3 {
  font-size: 12px;
  letter-spacing: 0;
  margin: 0 0 4px;
}
.footer-top nav a {
  font-size: 12px;
  color: #111111;
}
.footer-brand .brand {
  font-size: 15px;
}
.footer-brand p {
  font-size: 12px;
  margin-top: 18px;
}
.footer-bottom {
  border-color: #d6eae4;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 550px;
  }
  .hero-product {
    height: 490px;
  }
  .product-window {
    width: 290px;
  }
  .product-photo {
    width: 230px;
    height: 300px;
  }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .hero {
    gap: 24px;
    grid-template-columns: 1.05fr 1fr;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-product {
    height: 440px;
  }
  .product-window {
    width: 245px;
    right: -4px;
  }
  .product-photo {
    width: 170px;
    height: 245px;
    left: -13px;
    bottom: 35px;
  }
  .product-photo img {
    height: 253px;
    left: -12px;
  }
  .product-caption {
    left: -10px;
    bottom: 15px;
  }
  .subject-strip > div {
    gap: 26px;
  }
  .footer-top {
    gap: 22px;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .hero-band {
    border-radius: 0 0 24px 24px;
  }
  .hero {
    padding-top: 33px;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
  }
  .hero-copy {
    padding-bottom: 20px;
  }
  .hero h1 {
    font-size: 41px;
    max-width: 360px;
  }
  .hero-description {
    font-size: 15px;
    max-width: 350px;
  }
  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 23px;
  }
  .hero .watch-link {
    font-size: 11px;
    padding: 12px 11px;
    min-height: 46px;
  }
  .hero .button {
    min-height: 46px;
    padding: 12px 13px;
    gap: 16px;
  }
  .hero-small {
    font-size: 11px;
    margin-top: 18px;
  }
  .hero-product {
    height: 310px;
    width: 100%;
    max-width: 370px;
    margin: auto;
  }
  .product-window {
    width: 200px;
    right: 12px;
    top: 0;
  }
  .product-photo {
    width: 163px;
    height: 219px;
    bottom: 23px;
    left: 2px;
  }
  .product-photo img {
    height: 235px;
    left: -8px;
  }
  .product-caption {
    left: 6px;
    bottom: 6px;
    font-size: 8px;
  }
  .window-bar {
    height: 24px;
  }
  .window-bar p {
    margin-left: 11px;
    font-size: 7px;
  }
  .subject-strip {
    display: block;
    text-align: center;
    padding: 25px 20px 16px;
  }
  .subject-strip p {
    max-width: none;
    font-size: 11px;
    margin-bottom: 17px;
  }
  .subject-strip > div {
    justify-content: center;
    gap: 28px;
    font-size: 14px;
  }
  .video-guide-section {
    margin: 12px 10px 0;
    border-radius: 16px;
    padding: 26px 12px;
  }
  .plans-section {
    margin: 0 10px;
    border-radius: 20px;
  }
  .plans-section .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .school-strip {
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 16px;
  }
  .closing-band {
    border-radius: 26px 26px 0 0;
    padding: 38px 0 40px;
  }
  .closing-band h2 {
    font-size: 29px;
  }
  .closing-band p:not(.eyebrow) {
    font-size: 13px;
    max-width: 290px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-top nav {
    gap: 13px;
  }
  .footer-top nav:last-child {
    grid-column: 1/-1;
  }
  .footer-top nav a {
    font-size: 12px;
  }
  .site-footer {
    padding-top: 32px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 36px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero .button {
    font-size: 12px;
    gap: 10px;
    padding: 12px 10px;
  }
  .hero .watch-link {
    padding: 12px 8px;
    font-size: 10px;
    gap: 6px;
  }
  .hero-product {
    height: 280px;
  }
  .product-window {
    width: 177px;
    right: 0;
  }
  .product-photo {
    left: -2px;
    width: 144px;
    height: 195px;
  }
  .product-photo img {
    height: 211px;
  }
  .subject-strip > div {
    gap: 23px;
    font-size: 12px;
  }
}

/* A quiet hero and the original study cards alongside the new sections. */
.hero-band {
  border-radius: 0 0 24px 24px;
  background: #e0f7f2;
}
.hero {
  display: block;
  min-height: 0;
  padding-top: 72px;
  padding-bottom: 64px;
  text-align: center;
}
.hero-copy {
  padding: 0;
  max-width: 900px;
  margin: auto;
}
.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.hero-description {
  max-width: 530px;
  margin: 24px auto 0;
}
.hero-actions {
  justify-content: center;
}
.hero-small {
  margin-top: 24px;
}
.restored-features {
  padding-top: 40px;
  padding-bottom: 56px;
}
.restored-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.restored-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 18px;
  padding: 30px;
  color: #111111;
}
.feature-card-beige {
  background: #f6f0e3;
}
.feature-card-green {
  background: #e0f3ec;
}
.feature-card-purple {
  background: #eeeafa;
}
.restored-card > svg {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}
.restored-card h3 {
  font-size: 21px;
  margin: 0 0 12px;
  font-weight: 500;
}
.restored-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 24px;
  color: #111111;
}
.card-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #111;
  color: #fff;
  border-radius: 7px;
  font-size: 12px;
  margin-top: auto;
}
.card-action svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.study-preview-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
  padding-top: 80px;
  overflow: hidden;
}
.study-preview-copy p:last-child {
  max-width: 370px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}
.study-preview-section .hero-product {
  width: 100%;
}
.button,
.school-strip .button-light,
.hero .watch-link,
.outline-button,
.sign-in {
  background: #111;
  color: #fff;
  border-color: #111;
}
.sign-in {
  padding: 11px 16px;
  border-radius: 7px;
}
.button:hover,
.school-strip .button-light:hover,
.hero .watch-link:hover,
.outline-button:hover,
.sign-in:hover {
  background: #303030;
  color: #fff;
}
.hero .watch-link svg rect {
  fill: #fff;
}
.hero .watch-link svg path {
  fill: #111;
}
@media (max-width: 700px) {
  .hero {
    padding-top: 44px;
    padding-bottom: 38px;
  }
  .hero h1 {
    font-size: 34px;
    max-width: 520px;
  }
  .hero-description {
    font-size: 15px;
    max-width: 420px;
    margin-top: 20px;
  }
  .restored-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .restored-card {
    padding: 25px;
  }
  .restored-card > svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  .study-preview-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 46px;
  }
  .study-preview-section .hero-product {
    margin-top: 10px;
  }
  .sign-in {
    padding: 10px 12px;
  }
}

/* The hero uses a different nurse from the existing Academic Nightingale artwork. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  align-items: end;
  gap: 28px;
  padding-top: 48px;
  padding-bottom: 0;
  text-align: left;
}
.hero-copy {
  padding-bottom: 68px;
  margin: 0;
}
.hero h1,
.hero-description {
  margin-left: 0;
  margin-right: 0;
}
.hero h1 {
  max-width: 660px;
}
.hero-actions {
  justify-content: flex-start;
}
.hero-figure {
  align-self: end;
  height: 430px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 0;
}
.hero-figure img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
}
.study-preview-section .hero-product {
  display: flex;
  justify-content: center;
  height: auto;
  max-width: none;
  padding: 0 0 30px;
}
.study-preview-section .product-window {
  position: relative;
  top: auto;
  right: auto;
  width: min(330px, 100%);
  border-radius: 12px;
  box-shadow: 0 20px 50px #134e4a1a;
}
.study-preview-section .product-caption {
  display: none;
}
@media (max-width: 700px) {
  .hero {
    display: block;
    padding-top: 40px;
  }
  .hero-copy {
    padding-bottom: 16px;
  }
  .hero h1 {
    max-width: 450px;
  }
  .hero-figure {
    height: 250px;
    justify-content: center;
  }
  .study-preview-section .hero-product {
    margin-top: 0;
  }
}

/* Slow, seamless study-area strip. */
.department-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.department-strip > p {
  flex: 0 0 220px;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: #111;
}
.department-window {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}
.department-track {
  display: flex;
  width: max-content;
  animation: departments-drift 36s linear infinite;
}
.department-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  flex-shrink: 0;
}
.department-group img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.department-group span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #111;
}
.department-pause {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
}
.department-strip:hover .department-track,
.department-strip:focus-within .department-track,
.department-strip.is-paused .department-track {
  animation-play-state: paused;
}
@keyframes departments-drift {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 700px) {
  .department-strip {
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .department-strip > p {
    flex-basis: 100%;
    font-size: 14px;
  }
  .department-strip > p br {
    display: none;
  }
  .department-window {
    flex: 1;
  }
  .department-group {
    gap: 30px;
    padding-right: 30px;
  }
  .department-group span {
    font-size: 14px;
  }
  .department-group img {
    width: 48px;
    height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .department-track {
    animation: none;
  }
  .department-window {
    overflow-x: auto;
    mask-image: none;
  }
  .department-group[aria-hidden],
  .department-pause {
    display: none;
  }
}

.department-strip > p {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.25px;
  flex-basis: 300px;
  color: #111;
}
@media (max-width: 700px) {
  .department-strip > p {
    flex-basis: 100%;
    max-width: 320px;
    font-size: 16px;
  }
}

.department-group span {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.25px;
  text-transform: none;
}
@media (max-width: 700px) {
  .department-group span {
    font-size: 16px;
  }
}

.community-section {
  padding-top: 48px;
  padding-bottom: 64px;
}
.community-section > h2 {
  text-align: center;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 850px;
  margin: auto;
}
.community-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 24px;
  border: 1px solid #e5e7e5;
  border-radius: 16px;
  background: #fff;
  color: #111;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.community-card h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 500;
  max-width: 190px;
  margin: 0;
}
.community-art {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 24px 0 12px;
}
.community-art img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.community-arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-size: 20px;
}
.community-card:hover {
  background: #f7fbfa;
  border-color: #a7c8be;
}
@media (max-width: 600px) {
  .community-section {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .community-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 4px 4px 12px;
    scroll-snap-type: x proximity;
  }
  .community-card {
    flex: 0 0 200px;
    min-height: 210px;
    scroll-snap-align: start;
    padding: 20px;
  }
  .community-card h3 {
    font-size: 18px;
  }
}

/* Smaller illustrated community cards, matching the reference proportions. */
.community-grid {
  grid-template-columns: repeat(3, 178px);
  justify-content: center;
  gap: 22px;
  max-width: 100%;
}
.community-card {
  min-height: 244px;
  padding: 18px;
  border-radius: 15px;
}
.community-card h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
}
.community-art {
  padding: 24px 0 8px;
}
.community-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid #263b32;
  border-radius: 13px;
  background: #00a879;
  box-shadow: 0 1px 1px #0001;
}
.community-icon > img {
  width: 54px;
  height: 54px;
}
.community-card:last-child .community-icon {
  background: #dcd1f3;
}
.community-card:last-child .community-icon > img {
  width: 50px;
  height: 50px;
}
.community-badge {
  position: absolute;
  right: -10px;
  top: -12px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #344b32;
  border-radius: 50%;
  background: #a8f597;
  color: #17231a;
}
.community-badge svg {
  width: 20px;
  height: 20px;
}
.community-arrow {
  display: none;
}
.community-card:hover {
  background: #fff;
  border-color: #008957;
  box-shadow: 0 5px 12px #0000000b;
}
@media (max-width: 600px) {
  .community-grid {
    justify-content: flex-start;
  }
  .community-card {
    flex-basis: 178px;
    min-height: 230px;
    padding: 18px;
  }
}

.community-card {
  min-height: 190px;
  padding: 16px;
}
.community-art {
  padding: 14px 0 4px;
}
@media (max-width: 600px) {
  .community-card {
    min-height: 190px;
    padding: 16px;
  }
}

/* Floating carousel control, matching the chapter navigation. */
.community-carousel {
  position: relative;
}
.community-next {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #111;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(#303030, #111);
  box-shadow:
    inset 0 1px 3px #ffffff55,
    0 3px 7px #0002;
  cursor: pointer;
}
.community-next[hidden] {
  display: none;
}
.community-next svg {
  width: 30px;
  height: 30px;
}
.community-next[data-previous='true'] svg {
  transform: rotate(180deg);
}
.community-next:focus-visible {
  outline: 2px solid #007b72;
  outline-offset: 4px;
}
@media (max-width: 700px) {
  .community-grid {
    gap: 24px;
    padding-right: 48px;
    scrollbar-width: none;
  }
  .community-grid::-webkit-scrollbar {
    display: none;
  }
  .community-card {
    flex-basis: 200px;
    min-height: 240px;
    padding: 20px;
    border-radius: 18px;
  }
  .community-card h3 {
    font-size: 19px;
  }
}
