:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #28252b;
  background: #f7f8fa;
  font-synthesis: none;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f7f8fa;
}

a {
  color: inherit;
}

.site-header {
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  border-radius: 8px;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 18px;
  line-height: 1.25;
}

.brand small {
  color: #6b6570;
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

nav::-webkit-scrollbar {
  display: none;
}

nav a {
  min-height: 40px;
  padding: 9px 11px;
  border-bottom: 2px solid transparent;
  color: #5d5862;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover,
nav a:focus-visible {
  color: #bc315f;
}

nav a[aria-current="page"] {
  color: #a92351;
  border-bottom-color: #e75480;
  font-weight: 700;
}

main {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.page-heading {
  padding: 0 0 28px;
  border-bottom: 3px solid #28252b;
}

.eyebrow {
  margin: 0 0 10px;
  color: #bc315f;
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.16;
  letter-spacing: 0;
}

.updated-at {
  margin: 14px 0 0;
  color: #716b76;
  font-size: 14px;
}

.document {
  padding-top: 10px;
}

.document-section,
.support-intro {
  padding: 26px 0;
  border-bottom: 1px solid #dedfe3;
}

.document-section h2,
.support-intro h2,
.portal-intro h2 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: 0;
}

.document-section p,
.support-intro p,
.portal-intro p {
  margin: 0;
  color: #4c4850;
  font-size: 16px;
  line-height: 1.9;
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid #dedfe3;
}

.primary-action,
.service-hours {
  min-height: 108px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d8d9dd;
  border-radius: 8px;
  background: #ffffff;
}

.primary-action {
  color: #8d1e45;
  border-color: #ef9db8;
  text-decoration: none;
}

.primary-action:hover,
.primary-action:focus-visible {
  border-color: #bc315f;
  box-shadow: 0 4px 14px rgba(140, 30, 69, 0.1);
}

.primary-action span,
.service-hours span {
  color: #716b76;
  font-size: 13px;
}

.primary-action strong,
.service-hours strong {
  font-size: 17px;
  line-height: 1.5;
}

.portal-intro {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #dedfe3;
}

.portal-intro img {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 8px;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 28px;
}

.link-list a {
  min-height: 86px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #d8d9dd;
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
}

.link-list a:hover,
.link-list a:focus-visible {
  border-color: #52a9c7;
  box-shadow: 0 4px 14px rgba(28, 111, 140, 0.1);
}

.link-list strong {
  font-size: 16px;
}

.link-list span {
  color: #726c76;
  font-size: 13px;
  white-space: nowrap;
}

footer {
  min-height: 88px;
  padding: 22px max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #68626d;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
}

footer a {
  color: #8d1e45;
  text-decoration: none;
}

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 10; padding: 12px; background: white; }
.skip-link:focus { top: 10px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #16746b; outline-offset: 5px; }
.footer-identity { display: grid; gap: 8px; }
footer nav { flex-wrap: wrap; overflow: visible; }
.home { width: 100%; padding: 0; background: #fff; }
.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 430px; height: min(600px, calc(100svh - 190px)); text-align: center; overflow: hidden; background: #d9f0f7; }
.hero-scene { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero-copy { padding: 36px 24px; max-width: 780px; }
.hero .eyebrow { color: #204b5c; font-weight: 500; }
.hero h1 { font-size: 72px; color: #253e47; line-height: 1.2; }
.hero-statement { font-size: 30px; font-weight: 700; margin: 18px 0; color: #204b5c; }
.hero-description { font-size: 17px; line-height: 1.9; margin: 0 0 26px; color: #204b5c; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; background: #a92556; color: white; border-radius: 6px; font-weight: 700; text-decoration: none; }
.action:hover { background: #8a1944; }
.hero-note { font-size: 12px; margin: 18px 0 0; color: #204b5c; }
.section { max-width: 1120px; margin: auto; padding: 64px 28px; }
.section-heading { max-width: 740px; margin-bottom: 38px; }
.section h2 { font-size: 34px; line-height: 1.4; margin: 0 0 16px; }
.section h3 { font-size: 21px; line-height: 1.5; margin: 12px 0; }
.section p { line-height: 1.85; color: #55565b; margin: 0; }
.section .eyebrow { color: #a92556; margin-bottom: 10px; }
.screenshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px; }
.screenshots figure { min-width: 0; margin: 0; }
.screenshot-link { display: block; width: min(100%, 260px); margin: 0 auto 24px; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.screenshot-link img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; }
.screenshot-link:hover { outline: 2px solid #a92556; outline-offset: 4px; }
.feature-number { font-size: 13px; font-weight: 700; color: #a92556; }
.screenshots figure:nth-child(2) .feature-number { color: #176c64; }
.screenshots figure:nth-child(3) .feature-number { color: #346181; }
.section .caption-note { font-size: 12px; margin-top: 28px; color: #65656b; }
.practice-band { background: #eaf5f1; border-block: 1px solid #d4e8df; }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.practice-grid h3 { color: #22584e; margin-top: 0; }
.parent-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-bottom: 40px; }
.parent-columns h3 { margin-top: 0; }
.questions { border-top: 1px solid #dce0e0; }
.questions details { border-bottom: 1px solid #dce0e0; }
.questions summary { padding: 22px 0; cursor: pointer; font-size: 17px; font-weight: 700; }
.questions details p { padding: 0 0 24px; max-width: 850px; }
.questions a { color: #a92556; text-underline-offset: 4px; }
.section .outcome-note { margin-top: 30px; font-size: 13px; color: #6b6b71; }

@media (max-width: 760px) {
  .home { width: 100%; padding: 0; }
  .hero { min-height: 360px; height: min(560px, calc(100svh - 190px)); }
  .hero h1 { font-size: 48px; }
  .hero-statement { font-size: 24px; }
  .hero-description { font-size: 15px; max-width: 236px; margin-inline: auto; }
  .hero .eyebrow { font-size: 12px; max-width: 236px; margin-inline: auto; }
  .hero-note { max-width: 236px; margin-inline: auto; line-height: 1.7; }
  .hero-scene { object-position: 50% 48%; }
  .section { padding: 44px 24px; }
  .section h2 { font-size: 26px; }
  .screenshots { gap: 36px; grid-template-columns: 1fr; }
  .screenshots figure { max-width: 420px; margin: auto; }
  .screenshot-link { width: min(100%, 260px); }
  .practice-grid, .parent-columns { grid-template-columns: 1fr; gap: 28px; }
  footer nav { margin: 0; padding: 0; gap: 0; }
  footer nav a { padding-inline: 0; margin-right: 16px; }
  .site-header {
    padding: 12px 18px 0;
    display: block;
  }

  .brand {
    margin-bottom: 8px;
  }

  nav {
    margin: 0 -18px;
    padding: 0 9px;
  }

  main {
    width: min(100% - 32px, 860px);
    padding: 38px 0 52px;
  }

  h1 {
    font-size: 36px;
  }

  .support-actions,
  .link-list {
    grid-template-columns: 1fr;
  }

  .portal-intro {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
  }

  .portal-intro img {
    width: 96px;
    height: 96px;
  }

  footer {
    padding: 22px 18px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 42px; }
  .hero-copy { padding-inline: 18px; }
  .hero-description br { display: none; }
  .hero-note { max-width: 260px; margin-inline: auto; line-height: 1.7; }
  .brand small {
    display: none;
  }

  .portal-intro {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .portal-intro img {
    width: 76px;
    height: 76px;
  }

  .portal-intro h2 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .hero { height: calc(100svh - 170px); }
  .hero-copy { padding-block: 12px; }
  .hero .eyebrow { display: none; }
  .hero h1 { font-size: 42px; }
  .hero-statement { font-size: 22px; margin-block: 10px; }
  .hero-description { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
  .hero-note { font-size: 11px; margin-top: 12px; line-height: 1.5; }
}
