:root {
  --bg: #f5f4ef;
  --bg-deep: #efeee8;
  --surface: #fffefa;
  --surface-muted: #ecebe5;
  --surface-green: #e7eee7;
  --input-bg: #ffffff;
  --ink: #1d211e;
  --ink-soft: #4c534e;
  --muted: #727972;
  --line: #d7d7cf;
  --line-strong: #bfc2ba;
  --green: #2f6650;
  --green-hover: #25533f;
  --green-soft: #dbe9df;
  --orange: #b86832;
  --orange-soft: #f4e5d8;
  --lime-soft: #e4ead4;
  --lime-ink: #5d7130;
  --danger: #9e4740;
  --header-bg: rgba(245, 244, 239, 0.96);
  --overlay-bg: rgba(255, 254, 250, 0.7);
  --account-line: #a7bcae;
  --shadow: 0 12px 32px rgba(31, 36, 32, 0.06);
  --radius: 7px;
  --shell: 1220px;
  --header-height: 76px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #111714;
  --bg-deep: #151c18;
  --surface: #19211c;
  --surface-muted: #202a24;
  --surface-green: #1d2d24;
  --input-bg: #141b17;
  --ink: #edf1ec;
  --ink-soft: #c1cbc3;
  --muted: #93a198;
  --line: #303b34;
  --line-strong: #46524a;
  --green: #74b792;
  --green-hover: #8ccaa6;
  --green-soft: #1e3428;
  --orange: #d7a17b;
  --orange-soft: #35261e;
  --lime-soft: #293325;
  --lime-ink: #adc78a;
  --danger: #e49089;
  --header-bg: rgba(17, 23, 20, 0.94);
  --overlay-bg: rgba(25, 33, 28, 0.78);
  --account-line: #3b5446;
  --shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--green);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.desktop-nav a {
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.desktop-nav a:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.theme-toggle:hover {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-toggle .theme-icon-moon,
html[data-theme="dark"] .theme-toggle .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-icon-moon {
  display: block;
}

.header-account {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.header-account:hover {
  color: var(--green);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-hover);
}

.button-quiet {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-quiet:hover {
  border-color: var(--ink-soft);
  background: var(--surface);
}

.button-small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

.button-block {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  padding: 20px 24px 32px;
  overflow-y: auto;
  background: var(--bg);
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}

.mobile-menu .button {
  margin-top: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.4;
}

.catalog-intro {
  padding: 68px 0 58px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(370px, 0.8fr);
  align-items: stretch;
  gap: 54px;
}

.intro-copy {
  display: flex;
  min-width: 0;
  justify-content: center;
  flex-direction: column;
  padding: 10px 0;
}

.intro-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.16;
}

.intro-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.service-finder {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.finder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.finder-head > div > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.finder-head h2 {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.3;
}

.finder-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding-top: 5px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.finder-status i,
.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.finder-fields {
  display: grid;
  gap: 14px;
  padding: 20px 0;
}

.select-field {
  display: grid;
  gap: 7px;
}

.select-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.select-field select {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: none;
  background-color: var(--input-bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.select-field select:hover,
.select-field select:focus {
  border-color: var(--green);
}

.finder-action {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  transition: background 160ms ease;
}

.finder-action:hover {
  background: var(--green-hover);
}

.finder-action > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.finder-action small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
}

.finder-action strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finder-action svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.section {
  padding: 76px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
}

.section-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.business-card {
  display: flex;
  min-width: 0;
  min-height: 356px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease;
}

.business-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.business-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.business-index {
  color: var(--muted);
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.business-title {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.business-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 4px;
  background: var(--orange-soft);
  color: var(--orange);
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 17px;
  font-weight: 800;
}

.business-icon-run {
  background: var(--green-soft);
  color: var(--green);
}

.business-icon-green {
  background: var(--lime-soft);
  color: var(--lime-ink);
}

.business-title h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.35;
}

.business-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.business-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.business-meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}

.price-lines {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.price-lines > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.price-lines span {
  color: var(--muted);
  font-size: 11px;
}

.price-lines strong {
  font-size: 12px;
  text-align: right;
}

.business-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
}

.business-actions .button {
  min-width: 0;
  flex: 1 1 auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: rgba(47, 102, 80, 0.3);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.business-actions > .text-link {
  padding-top: 12px;
}

.categories-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
}

.category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--overlay-bg);
}

.category-toolbar > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.filter-pill {
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.filter-pill:hover {
  background: var(--surface);
}

.filter-pill.active {
  border-color: var(--line);
  background: var(--surface);
  color: var(--green);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 160ms ease, transform 160ms ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.category-card[hidden] {
  display: none;
}

.category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.tool-mark {
  display: inline-grid;
  min-width: 38px;
  height: 28px;
  place-items: center;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 10px;
  font-weight: 800;
}

.category-card h3 {
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
}

.category-card p {
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.category-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.category-foot strong {
  font-size: 13px;
}

.category-foot a {
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
}

.category-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.campus-section {
  background: var(--surface);
}

.campus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  align-items: center;
  gap: 70px;
}

.campus-copy h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: clamp(32px, 3.7vw, 48px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.18;
}

.campus-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 21px;
  color: var(--ink-soft);
  font-size: 13px;
}

.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.campus-rates {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
}

.rate-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.rate-row > span,
.package-rates span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.rate-row > strong {
  font-size: 17px;
  text-align: right;
}

.rate-row small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 10px;
}

.package-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.package-rates > div {
  display: grid;
  gap: 3px;
  padding: 20px 18px;
}

.package-rates > div + div {
  border-left: 1px solid var(--line);
}

.package-rates strong {
  color: var(--green);
  font-size: 26px;
  line-height: 1.2;
}

.package-rates small {
  color: var(--muted);
  font-size: 10px;
}

.campus-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 15px 18px;
  color: var(--muted);
  font-size: 11px;
}

.campus-contact strong {
  color: var(--ink);
  font-size: 12px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.process-step {
  min-width: 0;
  padding: 24px 22px 26px;
}

.process-step + .process-step {
  border-left: 1px solid var(--line);
}

.process-step > span {
  color: var(--green);
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 800;
}

.process-step h3 {
  margin: 30px 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.account-section {
  padding-top: 20px;
}

.account-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 42px;
  border: 1px solid var(--account-line);
  border-radius: var(--radius);
  background: var(--green-soft);
}

.account-band h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.25;
}

.account-band > div > p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.account-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
}

.account-actions > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.site-footer {
  margin-top: 76px;
  padding: 38px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.footer-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.footer-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 460ms ease, transform 460ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.76fr);
    gap: 36px;
  }

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

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

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

  .process-step:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-step:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .header-account {
    display: none;
  }

  .catalog-intro {
    padding: 48px 0 42px;
  }

  .intro-grid,
  .campus-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-copy {
    padding: 0;
  }

  .intro-copy h1 {
    font-size: clamp(38px, 8.2vw, 56px);
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .campus-layout {
    gap: 34px;
  }

  .account-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding: 30px;
  }

  .account-actions {
    width: 100%;
    justify-content: space-between;
  }

  .footer-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-inner > p {
    order: 3;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header {
    height: var(--header-height);
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 10px;
  }

  .header-actions > .button {
    display: none;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .catalog-intro {
    padding: 38px 0 32px;
  }

  .intro-copy h1 {
    font-size: clamp(34px, 10.6vw, 46px);
    line-height: 1.16;
  }

  .intro-lead {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.8;
  }

  .service-finder {
    padding: 18px;
  }

  .finder-head h2 {
    font-size: 18px;
  }

  .finder-status {
    font-size: 10px;
  }

  .select-field select {
    height: 46px;
    font-size: 13px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: 31px;
  }

  .section-head > p {
    font-size: 13px;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .business-card {
    min-height: 0;
    padding: 19px;
  }

  .business-title {
    margin-top: 22px;
  }

  .business-title h3 {
    font-size: 20px;
  }

  .business-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding-top: 22px;
  }

  .business-actions .button,
  .business-actions > .text-link {
    width: 100%;
  }

  .business-actions > .text-link {
    justify-content: center;
    padding-top: 0;
  }

  .category-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .filter-pills {
    justify-content: flex-start;
  }

  .filter-pill {
    min-height: 30px;
    padding: 4px 9px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 196px;
  }

  .campus-copy h2 {
    font-size: 33px;
  }

  .campus-copy > p:not(.eyebrow) {
    font-size: 13px;
  }

  .campus-copy .button {
    width: 100%;
  }

  .campus-rates {
    margin-top: 2px;
  }

  .rate-row {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px;
  }

  .package-rates > div {
    padding: 16px 14px;
  }

  .package-rates strong {
    font-size: 23px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 20px 4px;
  }

  .process-step + .process-step,
  .process-step:nth-child(3),
  .process-step:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-step h3 {
    margin-top: 12px;
  }

  .account-section {
    padding-top: 10px;
  }

  .account-band {
    width: calc(100% - 28px);
    padding: 24px 20px;
  }

  .account-band h2 {
    font-size: 28px;
  }

  .account-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .account-actions .button {
    width: 100%;
  }

  .account-actions > span {
    text-align: center;
  }

  .site-footer {
    margin-top: 50px;
    padding-top: 28px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
    order: initial;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 360px) {
  .brand-copy small {
    display: none;
  }

  .finder-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .finder-status {
    padding-top: 0;
  }

  .package-rates {
    grid-template-columns: 1fr;
  }

  .package-rates > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
