:root {
  color-scheme: dark;
  --background: 0 0% 10%;
  --foreground: 0 0% 96%;
  --primary: 119 99% 46%;
  --primary-foreground: 0 0% 4%;
  --secondary: 0 0% 18%;
  --muted: 0 0% 16%;
  --muted-foreground: 0 0% 60%;
  --border: 0 0% 20%;
  --hero-bg: 0 0% 8%;
  --nav-button: 0 0% 18%;
  --radius: 0.5rem;
}

* {
  box-sizing: border-box;
}

.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;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Sora", sans-serif;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-page {
  background:
    radial-gradient(circle at 50% 18%, hsl(var(--primary) / 0.08), transparent 22rem),
    hsl(var(--background));
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 2rem;
  pointer-events: none;
}

.logo,
.nav-links,
.nav-cta,
.nav-search {
  pointer-events: auto;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.nav-links a,
.nav-search {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  color: hsl(var(--muted-foreground));
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: color 180ms ease;
}

.nav-links a {
  position: relative;
}

.nav-links a:hover,
.nav-search:hover,
.nav-links a[aria-current="page"] {
  color: hsl(var(--foreground));
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: hsl(var(--primary));
}

.nav-cta {
  display: none;
  align-items: center;
  border: 0;
  min-height: 2.75rem;
  border-radius: var(--radius);
  padding: 0 1.5rem;
  color: hsl(var(--foreground));
  background: hsl(var(--nav-button));
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.nav-cta:hover {
  background: hsl(var(--secondary));
}

.nav-cta:active,
.button:active {
  transform: scale(0.97);
}

.search-panel {
  position: fixed;
  top: 5.5rem;
  right: 1.5rem;
  z-index: 60;
  width: min(calc(100% - 3rem), 34rem);
}

.search-box {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
  background: hsl(var(--hero-bg) / 0.96);
  box-shadow: 0 16px 60px rgb(0 0 0 / 0.32);
}

.search-box label {
  display: block;
  margin-bottom: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
}

.search-box input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  padding: 0 0.9rem;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  outline: none;
}

.search-box input:focus {
  border-color: hsl(var(--primary));
}

.search-results {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.search-result {
  display: grid;
  gap: 0.35rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  padding: 0.85rem;
  background: hsl(var(--muted));
}

.search-result strong {
  color: hsl(var(--foreground));
}

.search-result span,
.search-empty {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.88rem;
  line-height: 1.55;
}

.modal-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.modal-panel[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.68);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  box-shadow: 0 24px 90px rgb(0 0 0 / 0.42);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.modal-close {
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  cursor: pointer;
}

.panel-note {
  margin: 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 24%, hsl(var(--primary) / 0.18), transparent 28rem),
    hsl(var(--hero-bg));
}

.hero-minimal {
  align-items: center;
  background:
    radial-gradient(circle at 50% 22%, hsl(var(--primary) / 0.14), transparent 24rem),
    linear-gradient(180deg, hsl(var(--hero-bg)), hsl(var(--background)));
}

.hero-minimal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(var(--foreground) / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground) / 0.035) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
  pointer-events: none;
}

.hero-minimal-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 58rem);
  margin: 0 auto;
  padding: clamp(9rem, 14vh, 11rem) 1.5rem clamp(5rem, 9vh, 7rem);
  text-align: center;
}

.spline-stage {
  position: absolute;
  inset: 0;
}

.spline-stage spline-viewer {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, hsl(var(--hero-bg) / 0.8), transparent 58%),
    linear-gradient(0deg, hsl(var(--hero-bg) / 0.72), rgb(0 0 0 / 0.3));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: min(90%, 46rem);
  padding: 8rem 1.5rem 2.5rem;
  pointer-events: none;
}

.subcenter-hero-content {
  width: min(96%, 88rem);
  display: grid;
  grid-template-columns: minmax(31rem, 0.9fr) minmax(30rem, 1fr);
  align-items: end;
  gap: clamp(2.75rem, 6vw, 5.5rem);
  pointer-events: auto;
}

.subcenter-hero-copy {
  min-width: 0;
}

.subcenter-hero-copy h1 {
  white-space: nowrap;
}

.center-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  justify-self: end;
  width: min(100%, 40rem);
  pointer-events: auto;
}

.center-topic-card {
  min-height: 10.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem;
  background: hsl(var(--muted) / 0.76);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.center-topic-card:hover {
  border-color: hsl(var(--primary) / 0.72);
  background: hsl(var(--muted) / 0.9);
  transform: translateY(-2px);
}

.center-topic-card h2 {
  margin: 0 0 0.85rem;
  color: hsl(var(--foreground));
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.center-topic-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.center-topic-links li {
  position: relative;
  padding-left: 0.75rem;
}

.center-topic-links li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.24rem;
  height: 0.24rem;
  background: hsl(var(--primary));
}

.center-topic-links a {
  color: hsl(var(--foreground) / 0.78);
  font-size: 0.88rem;
  line-height: 1.52;
  text-wrap: pretty;
  transition: color 160ms ease;
}

.center-topic-links a:hover,
.center-topic-links a:focus-visible {
  color: hsl(var(--foreground));
  outline: none;
}

.center-hero-content {
  width: min(92%, 54rem);
  margin: 0 auto;
  padding-bottom: 4rem;
  text-align: center;
  pointer-events: auto;
}

.center-hero-content .hero-description {
  margin-right: auto;
  margin-left: auto;
}

.eyeline,
.section-label {
  margin: 0 0 1rem;
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.75rem;
  color: hsl(var(--foreground));
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 span {
  color: hsl(var(--primary));
}

.hero-title-mixed {
  display: grid;
  justify-items: center;
  gap: clamp(0.45rem, 1vw, 0.9rem);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: none;
  letter-spacing: 0;
}

.hero h1 .hero-title-number {
  color: hsl(var(--foreground));
  font-size: clamp(4.5rem, 13vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero h1 .hero-title-cn {
  color: hsl(var(--primary));
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(2.25rem, 5.8vw, 5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-minimal .eyeline {
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
}

.hero-subtitle {
  margin: 0 0 1rem;
  color: hsl(var(--foreground) / 0.82);
  font-size: clamp(1.125rem, 2.5vw, 1.875rem);
  font-weight: 300;
  line-height: 1.35;
}

.hero-subtitle-compact {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}

.home-page .hero-subtitle {
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.45;
}

.hero-description {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: clamp(0.92rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.65;
}

.hero-description-compact {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.home-page .hero-description {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: hsl(var(--foreground) / 0.68);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  pointer-events: auto;
}

.home-page .hero-actions {
  justify-content: center;
  gap: 1rem;
}

.home-page .button {
  min-height: 3.25rem;
  padding-right: 1.75rem;
  padding-left: 1.75rem;
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  min-height: 3rem;
  border-radius: 0.25rem;
  padding: 0 1.5rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    background 180ms ease;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.button.primary {
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
}

.button.primary:hover {
  filter: brightness(1.1);
}

.button.secondary {
  color: hsl(var(--background));
  background: #ffffff;
}

.button.secondary:hover {
  filter: brightness(0.9);
}

.button.ghost {
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  background: hsl(var(--secondary) / 0.8);
}

.button.ghost:hover {
  background: hsl(var(--secondary));
}

.trust-line {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  color: hsl(var(--muted-foreground) / 0.72);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.7;
}

.fade-up {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.content-section,
.apply-section {
  padding: clamp(4rem, 9vw, 8rem) 1.5rem;
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
}

.content-section {
  display: grid;
  gap: 3rem;
}

.content-section.split {
  grid-template-columns: 1fr;
}

.section-copy {
  max-width: 48rem;
}

.section-copy h2,
.apply-section h2 {
  margin: 0;
  max-width: 58rem;
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-copy p:not(.section-label) {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  line-height: 1.75;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.sub-center-search {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
}

.sub-center-search label {
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  font-weight: 600;
}

.sub-center-search input {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  padding: 0 1rem;
  color: hsl(var(--foreground));
  background: hsl(var(--hero-bg));
  outline: none;
}

.sub-center-search input:focus {
  border-color: hsl(var(--primary));
}

.sub-center-search p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.86rem;
}

[data-sub-center-card][hidden] {
  display: none;
}

.center-search-panel {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 42rem);
  margin: 1.75rem auto 1rem;
  pointer-events: auto;
}

.center-search-panel label {
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  font-weight: 600;
}

.center-search-panel input {
  width: 100%;
  min-height: 3.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  padding: 0 1.1rem;
  color: hsl(var(--foreground));
  background: hsl(var(--hero-bg) / 0.88);
  outline: none;
}

.center-search-panel input:focus {
  border-color: hsl(var(--primary));
}

.center-search-panel p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.86rem;
}

.sub-center-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
  width: min(100%, 46rem);
  margin: 1rem auto 0;
  pointer-events: auto;
}

.sub-center-card {
  display: block;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
  text-align: left;
  background: hsl(var(--muted) / 0.86);
  outline: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.sub-center-card:hover,
.sub-center-card:focus-visible {
  border-color: hsl(var(--primary));
  background: hsl(var(--muted));
  transform: translateY(-1px);
}

.sub-center-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.sub-center-card p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.88rem;
  line-height: 1.6;
}

.principle-grid article,
.identity-list article {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--muted));
}

.principle-grid article {
  padding: 1.5rem;
}

.principle-grid h3,
.identity-list h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.principle-grid p,
.identity-list p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.65;
}

.identity-list {
  display: grid;
  gap: 0.75rem;
}

.identity-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
}

.identity-list span {
  color: hsl(var(--primary));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-row span {
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 0.9rem 1rem;
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
  font-size: 0.9rem;
}

.feature-row a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  font-size: 0.9rem;
  font-weight: 700;
}

.roadmap {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  padding: 1.1rem 0;
  color: hsl(var(--foreground));
}

.roadmap span {
  color: hsl(var(--muted-foreground));
  font-size: 0.84rem;
  text-transform: uppercase;
}

.user-hero {
  min-height: 86dvh;
}

.center-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  background:
    radial-gradient(circle at 90% 0%, hsl(var(--primary) / 0.14), transparent 18rem),
    hsl(var(--muted));
}

.center-side-panel {
  display: grid;
  gap: 1rem;
}

.center-topic-map {
  display: grid;
  gap: 0.45rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
  background: hsl(var(--muted) / 0.74);
}

.center-topic-map div {
  display: grid;
  grid-template-columns: minmax(4.5rem, 0.8fr) repeat(3, minmax(3rem, 1fr));
  align-items: center;
  gap: 0.65rem;
  min-height: 2rem;
}

.center-topic-map strong {
  color: hsl(var(--foreground));
  font-size: 0.98rem;
}

.center-topic-map span {
  color: hsl(var(--foreground) / 0.8);
  font-size: 0.9rem;
}

.center-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 1.25rem;
}

.center-card-head p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
}

.center-card-head strong {
  color: hsl(var(--primary));
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.profile-fields {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.profile-fields div {
  display: grid;
  grid-template-columns: minmax(6rem, 0.45fr) 1fr;
  gap: 1rem;
}

.profile-fields dt,
.profile-fields dd {
  margin: 0;
}

.profile-fields dt {
  color: hsl(var(--muted-foreground));
  font-size: 0.86rem;
}

.profile-fields dd {
  color: hsl(var(--foreground));
}

.register-form {
  display: grid;
  gap: 1rem;
}

.register-form label {
  display: grid;
  gap: 0.55rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.88rem;
}

.register-form input,
.register-form textarea {
  width: 100%;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  outline: none;
}

.register-form input {
  min-height: 3rem;
  padding: 0 0.9rem;
}

.register-form textarea {
  min-height: 7.5rem;
  padding: 0.85rem 0.9rem;
  resize: vertical;
  line-height: 1.55;
}

.register-form input:focus,
.register-form textarea:focus {
  border-color: hsl(var(--primary));
}

.verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.verification-button {
  min-height: 3rem;
  white-space: nowrap;
}

.agreement-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.9rem;
  background: hsl(var(--background) / 0.72);
  line-height: 1.55;
}

.agreement-step input {
  width: auto;
  min-height: 0;
  margin-top: 0.25rem;
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-message[data-kind="success"] {
  color: hsl(var(--primary));
}

.form-message[data-kind="error"] {
  color: hsl(0 84% 68%);
}

.apply-section {
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
}

@keyframes fade-up {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .site-header {
    padding-right: 4rem;
    padding-left: 4rem;
  }

  .nav-links,
  .nav-cta {
    display: flex;
  }

  .nav-links {
    gap: 2rem;
  }

  .hero-content,
  .content-section,
  .apply-section {
    padding-right: 4rem;
    padding-left: 4rem;
  }

  .hero-minimal-inner {
    padding-top: 10rem;
    padding-bottom: 5rem;
  }

  .content-section.split {
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1fr);
    align-items: start;
  }
}

@media (min-width: 768px) and (max-width: 1120px) {
  .subcenter-hero-content {
    width: min(94%, 78rem);
    grid-template-columns: minmax(25rem, 0.9fr) minmax(26rem, 1fr);
    gap: 2rem;
  }

  .subcenter-hero-copy h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
  }

  .center-topic-grid {
    width: min(100%, 34rem);
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 1rem 1.5rem;
  }

  .hero-content {
    width: 100%;
  }

  .subcenter-hero-content {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 1.5rem;
  }

  .subcenter-hero-copy h1 {
    white-space: normal;
  }

  .center-topic-grid {
    grid-template-columns: 1fr;
    justify-self: stretch;
    width: 100%;
  }

  .hero-minimal-inner {
    padding-top: 8rem;
    padding-bottom: 4.5rem;
  }

  .hero-title-mixed {
    margin-bottom: 1.45rem;
  }

  .home-page .hero-subtitle {
    margin-bottom: 1.45rem;
  }

  .home-page .hero-description {
    margin-bottom: 1.85rem;
    line-height: 1.75;
  }

  .home-page .hero-actions {
    gap: 0.85rem;
  }

  .home-page .button {
    width: min(100%, 17rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
