:root {
  --blue: #2b7fd8;
  --blue-deep: #1e5ba8;
  --yellow: #f4d758;
  --red: #e84a5f;
  --cream: #fefcf6;
  --cream-dark: #faf6eb;
  --card: #fffdf7;
  --ink: #1a1a2e;
  --ink-light: #4a4a5a;
  --ink-faint: #7d7d8c;
  --border: rgba(26, 26, 46, 0.1);
  --shadow: 0 14px 40px rgba(26, 26, 46, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Noto Serif SC", Georgia, serif;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--cream);
  background: var(--blue-deep);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.container,
.hero {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem max(1.5rem, calc((100vw - 1180px) / 2));
  background: rgba(254, 252, 246, 0.96);
  border-bottom: 1px solid var(--border);
}

.brand {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1rem;
  font-weight: 900;
}

.product-credit {
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-watermark {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: grid;
  place-items: center;
  color: var(--red);
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(4.2rem, 13vw, 9rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(4rem, 8vh, 6.5rem);
}

.eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--blue);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  color: var(--ink-light);
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  font-weight: 600;
  line-height: 1.7;
}

.hero-contact strong {
  color: var(--blue-deep);
  font-weight: 900;
  letter-spacing: 0.025em;
  background: linear-gradient(180deg, transparent 64%, rgba(244, 215, 88, 0.5) 64%);
}

.hl-yellow {
  background: linear-gradient(180deg, transparent 62%, rgba(244, 215, 88, 0.58) 62%);
}

.date-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.date-track::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 29px;
  width: 3px;
  background: linear-gradient(var(--yellow), var(--blue));
}

.date-card {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 124px;
  padding: 1.35rem 1.5rem 1.35rem 0;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.date-index {
  width: 60px;
  height: 60px;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--blue);
  border: 7px solid var(--cream);
  border-radius: 50%;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
}

.date-card:nth-child(2) .date-index {
  color: var(--ink);
  background: var(--yellow);
}

.date-card:nth-child(3) .date-index {
  background: var(--red);
}

.date-when {
  grid-column: 2;
  display: block;
  color: var(--blue-deep);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  line-height: 1.1;
  white-space: nowrap;
}

.date-card h2 {
  grid-column: 2;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.section {
  padding-block: clamp(80px, 12vh, 150px);
}

.section-heading {
  max-width: 690px;
  margin-bottom: clamp(2.8rem, 6vw, 5rem);
}

.section-number {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--blue);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  opacity: 0.32;
}

.section h2,
.try-section h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.3;
}

.section-heading p,
.data-intro p,
.try-intro > p {
  margin-bottom: 0;
  color: var(--ink-light);
}

.tips-section {
  background: var(--cream-dark);
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.number-card {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(26, 26, 46, 0.04);
}

.number-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--blue);
}

.number-card:nth-child(3n + 2)::after {
  background: var(--yellow);
}

.number-card:nth-child(3n)::after {
  background: var(--red);
}

.card-number {
  position: absolute;
  top: -0.5rem;
  right: 0.8rem;
  color: rgba(43, 127, 216, 0.08);
  font-family: "Fraunces", Georgia, serif;
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1;
}

.number-card h3,
.tip-points {
  position: relative;
}

.number-card h3 {
  max-width: 82%;
  margin-bottom: 1rem;
  font-size: clamp(1.16rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.tip-points {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-light);
  font-size: clamp(0.96rem, 1.5vw, 1.04rem);
  line-height: 1.75;
}

.tip-points li {
  position: relative;
  padding-left: 1rem;
}

.tip-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.number-card:nth-child(3n + 2) .tip-points li::before {
  background: #b38e00;
}

.number-card:nth-child(3n) .tip-points li::before {
  background: var(--red);
}

.strategy-guides {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.25rem;
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.guide-panel {
  padding: clamp(1.7rem, 4vw, 3rem);
  border-radius: 20px;
}

.parallel-guide {
  color: #f1f3f8;
  background: var(--blue-deep);
}

.ladder-guide {
  color: var(--ink);
  background: var(--yellow);
}

.guide-heading > span {
  display: block;
  margin-bottom: 0.4rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  opacity: 0.72;
}

.guide-heading h3 {
  margin-bottom: 1.3rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.35;
}

.guide-lead {
  margin-bottom: 1.5rem;
  color: var(--yellow);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.worked-example {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(254, 252, 246, 0.22);
}

.worked-example h4 {
  margin-bottom: 1rem;
  font-size: 1.08rem;
}

.example-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.7rem;
}

.example-flow > div {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  color: var(--ink);
  background: var(--cream);
  border-radius: 12px;
}

.example-flow > b {
  color: var(--yellow);
  font-size: 1.35rem;
}

.example-flow span,
.example-flow small {
  color: var(--ink-faint);
  font-size: 0.72rem;
}

.example-flow strong {
  margin-block: 0.15rem;
  color: var(--blue-deep);
  font-size: 0.95rem;
}

.guide-points {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(254, 252, 246, 0.86);
  font-size: 0.95rem;
}

.guide-points li {
  position: relative;
  padding-left: 1.1rem;
}

.guide-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}

.talk-warning {
  margin-top: 1.5rem;
  padding: 1.35rem;
  color: var(--ink);
  background: #fff1ed;
  border-bottom: 8px solid var(--red);
  border-radius: 12px;
}

.talk-warning > span {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.2rem 0.6rem;
  color: var(--cream);
  background: var(--red);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.talk-warning strong {
  display: block;
  color: #ad2338;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.talk-warning p {
  margin: 0.7rem 0 0;
  color: var(--ink-light);
  font-size: 0.94rem;
}

.strategy-definitions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.strategy-item {
  min-height: 180px;
  padding: 1.1rem;
  background: rgba(254, 252, 246, 0.84);
  border-radius: 12px;
}

.strategy-item strong {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  color: var(--cream);
  background: var(--blue);
  border-radius: 50%;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.2rem;
}

.strategy-rush strong {
  background: var(--red);
}

.strategy-safe strong {
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid #c5a71f;
}

.strategy-item p {
  margin: 0;
  color: var(--ink-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

.ladder-example {
  margin-top: 1.3rem;
  border-color: rgba(26, 26, 46, 0.14);
}

.ladder-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.25rem 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(26, 26, 46, 0.12);
}

.ladder-row > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--blue-deep);
  border-radius: 8px;
  font-weight: 900;
}

.ladder-row small {
  color: var(--ink-light);
  font-size: 0.75rem;
}

.ladder-example > p {
  margin: 1rem 0 0;
  color: var(--ink-light);
  font-size: 0.82rem;
}

.data-section {
  background: radial-gradient(circle at 12% 18%, rgba(244, 215, 88, 0.15), transparent 28%), var(--cream);
}

.data-layout {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.data-intro {
  position: sticky;
  top: 100px;
}

.school-table {
  overflow: hidden;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.school-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1.35fr 0.75fr 1.45fr 0.9fr;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}

.school-row:last-child {
  border-bottom: 0;
}

.school-row > div {
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0.9rem 0.7rem;
  font-size: 0.86rem;
}

.school-name {
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center;
}

.school-name span {
  color: var(--ink-faint);
  font-size: 0.76rem;
}

.school-head {
  color: var(--cream);
  background: var(--blue-deep);
}

.school-head > div {
  font-size: 0.76rem;
  font-weight: 700;
}

.estimated-rank {
  color: var(--blue-deep);
  background: rgba(43, 127, 216, 0.05);
  font-weight: 700;
}

.data-note {
  margin: 1rem 0 0;
  color: var(--ink-faint);
  font-size: 0.74rem;
}

.try-section {
  padding-block: clamp(85px, 12vh, 150px);
  color: #f1f3f8;
  background: #151821;
}

.try-shell {
  max-width: 900px;
}

.try-intro {
  max-width: 660px;
}

.try-intro .section-number {
  color: var(--yellow);
}

.try-intro .eyebrow {
  color: var(--yellow);
}

.try-intro > p {
  margin-bottom: 1.8rem;
  color: #aeb5c5;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.button-yellow {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 9px 28px rgba(244, 215, 88, 0.2);
}

.button-primary {
  color: var(--cream);
  background: var(--blue);
}

.button-full {
  width: 100%;
}

.calculator-panel {
  max-width: 620px;
  margin-top: 2.8rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--ink);
  background: var(--cream);
  border-radius: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.field > span {
  font-size: 0.88rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 54px;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 9px;
}

.field input:focus {
  outline: 3px solid rgba(43, 127, 216, 0.16);
  border-color: var(--blue);
}

.field small,
.calculator-note {
  color: var(--ink-faint);
  font-size: 0.7rem;
}

.form-error {
  min-height: 1.5em;
  margin: 0.7rem 0 0;
  color: #b9253d;
  font-size: 0.78rem;
}

.calculator-note {
  margin: 0.5rem 0 0;
  text-align: center;
}

.results-wrap {
  margin-top: clamp(5rem, 10vh, 8rem);
  scroll-margin-top: 84px;
}

.results-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.text-button {
  padding: 0.4rem 0;
  color: var(--yellow);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}

.result-alert {
  margin: 1.7rem 0;
  padding: 1rem 1.2rem;
  color: #c7ccda;
  background: rgba(254, 252, 246, 0.06);
  border-radius: 10px;
  font-size: 0.82rem;
}

.result-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 1rem;
}

.result-group {
  overflow: hidden;
  color: var(--ink);
  background: var(--card);
  border-radius: 14px;
}

.result-group > header {
  min-height: 105px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.15rem;
}

.result-group > header > span {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--blue);
  border-radius: 50%;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.result-冲 > header > span {
  background: var(--red);
}

.result-保 > header > span {
  color: var(--ink);
  background: var(--yellow);
}

.result-group > header p {
  margin: 0;
  color: var(--ink-light);
  font-size: 0.73rem;
}

.result-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}

.result-card,
.empty-category {
  padding: 1.15rem;
  background: var(--card);
}

.nature-tag {
  color: var(--blue-deep);
  font-size: 0.68rem;
  font-weight: 700;
}

.result-card h4 {
  margin: 0.55rem 0 0.75rem;
  font-size: 0.98rem;
}

.rank-reference {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.8rem;
  background: var(--cream-dark);
  border-radius: 8px;
}

.rank-reference span {
  color: var(--ink-faint);
  font-size: 0.65rem;
}

.rank-reference strong {
  color: var(--blue-deep);
  font-size: 0.9rem;
}

.result-card p {
  margin: 0.75rem 0;
  color: var(--ink-light);
  font-size: 0.74rem;
}

.result-card small,
.empty-category {
  color: var(--ink-faint);
  font-size: 0.66rem;
}

.empty-category {
  margin: 0;
}

.result-disclaimer {
  margin-top: 1.7rem;
  padding: 1.15rem 1.3rem;
  color: #d8dbe5;
  border: 1.5px dashed rgba(232, 74, 95, 0.56);
  border-radius: 10px;
  font-size: 0.78rem;
}

.result-disclaimer strong {
  color: #ff9aaa;
}

.fallback-note {
  margin: 0;
  padding: 0.95rem 1.15rem;
  color: #7c5b00;
  background: #fff6cf;
  border-top: 1px solid #ead67b;
  font-size: 0.76rem;
  line-height: 1.7;
}

.site-footer {
  padding-block: 2rem;
  color: var(--ink-light);
  background: var(--cream-dark);
  border-top: 24px solid transparent;
  border-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(232, 74, 95, 0.1) 3px, rgba(232, 74, 95, 0.1) 4px) 24;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  max-width: 540px;
  margin: 0;
  font-size: 0.68rem;
}

.footer-inner a {
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
}

.design-credit-marker {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 690px;
  }

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

  .strategy-guides {
    grid-template-columns: 1fr;
  }

  .data-layout {
    grid-template-columns: 1fr;
  }

  .data-intro {
    position: static;
    max-width: 690px;
  }

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

  .result-group {
    display: grid;
    grid-template-columns: 180px 1fr;
  }

  .result-group > header {
    min-height: 100%;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container,
  .hero {
    width: min(100% - 2rem, 620px);
  }

  .site-header {
    padding-inline: 1rem;
  }

  .hero {
    padding-block: 4rem 5rem;
  }

  .date-card {
    grid-template-columns: 42px 1fr;
    gap: 0.45rem;
    padding: 1.2rem 0.7rem 1.2rem 0;
  }

  .date-index {
    width: 42px;
    height: 42px;
    border-width: 4px;
    font-size: 0.78rem;
  }

  .date-track::before {
    left: 20px;
  }

  .date-when,
  .date-card h2 {
    grid-column: 2;
  }

  .date-card h2 {
    margin-top: 0.1rem;
    font-size: 1.08rem;
  }

  .date-when {
    white-space: nowrap;
    font-size: clamp(1rem, 4.4vw, 1.2rem);
  }

  .example-flow {
    grid-template-columns: 1fr;
  }

  .example-flow > div {
    min-height: 0;
  }

  .example-flow > b {
    transform: rotate(90deg);
    justify-self: center;
  }

  .strategy-definitions {
    grid-template-columns: 1fr;
  }

  .school-table {
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .school-head {
    display: none;
  }

  .school-row:not(.school-head) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 0.9rem;
    padding: 1rem;
    background: var(--card);
    border: 0;
    border-radius: 13px;
    box-shadow: 0 5px 20px rgba(26, 26, 46, 0.05);
  }

  .school-row:not(.school-head) > div {
    min-height: 52px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.96rem;
  }

  .school-row:not(.school-head) > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .school-row:not(.school-head) > div:nth-child(even) {
    padding-left: 0.8rem;
  }

  .school-row:not(.school-head) > div::before {
    content: attr(data-label);
    color: var(--ink-faint);
    font-size: 0.76rem;
    font-weight: 700;
  }

  .school-row .school-name {
    grid-column: 1 / -1;
    min-height: auto !important;
    align-items: flex-start !important;
    padding-top: 0 !important;
  }

  .school-row .school-name strong {
    font-size: 1.12rem;
  }

  .school-row .school-name span {
    font-size: 0.8rem;
  }

  .school-name::before {
    display: none;
  }

  .estimated-rank {
    background: transparent;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.6rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .brand {
    font-size: 0.88rem;
  }

  .product-credit {
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.5rem);
  }

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

  .number-card {
    min-height: 175px;
  }

  .school-row:not(.school-head) {
    grid-template-columns: 1fr;
  }

  .school-row:not(.school-head) > div:nth-child(even) {
    padding-left: 0;
  }

  .school-row:not(.school-head) > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .school-row:not(.school-head) > div:last-child {
    border-bottom: 0;
  }

  .results-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-group {
    display: block;
  }

  .result-group > header {
    min-height: auto;
    align-items: center;
    flex-direction: row;
  }
}

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

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