:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --panel: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #e5e7eb;
  --blue: #006edb;
  --green: #0f766e;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 110, 219, 0.12), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(15, 118, 110, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 48%, #f7f8fb 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 72%);
}

html {
  scroll-behavior: smooth;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  height: 58px;
  margin: 16px auto 0;
  padding: 0 18px;
  border: 1px solid rgba(229, 231, 235, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.brand span {
  color: #5f6b7a;
  font-size: 12px;
  font-weight: 700;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #374151;
  font-size: 13px;
}

.topbar .pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 700;
}

.topbar .pill.logged {
  background: #ecfdf5;
  color: #047857;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 650px;
  text-align: center;
}

.hero-panel {
  position: relative;
  width: 100%;
  padding: clamp(44px, 7vw, 76px) clamp(22px, 5vw, 64px);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(0, 110, 219, 0.11), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.64));
  box-shadow: 0 34px 120px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
}

.hero-panel::after {
  position: absolute;
  inset: auto 8% 10% 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 110, 219, 0.22), rgba(15, 118, 110, 0.18), transparent);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 1000px;
  margin: 0 auto;
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: #374151;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.55;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 136px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.button.secondary {
  background: transparent;
  color: var(--blue);
}

.acadmap-btn {
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.acadmap-btn:hover,
.acadmap-nav-btn:hover {
  transform: translateY(-1px);
}

.acadmap-btn:active,
.acadmap-nav-btn:active {
  transform: translateY(0);
}

.acadmap-btn-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 110, 219, 0.24);
  font-weight: 900;
}

.acadmap-btn-lg {
  min-height: 50px;
  min-width: 172px;
  padding: 0 28px;
  font-size: 15px;
}

.acadmap-btn-outline-gray {
  border-color: #cbd5e1;
  background: transparent;
  color: #475569;
  box-shadow: none;
}

.acadmap-btn-outline-blue {
  border-color: rgba(0, 110, 219, 0.5);
  background: transparent;
  color: var(--blue);
  box-shadow: none;
}

.acadmap-nav-btn,
.acadmap-nav-user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.acadmap-nav-login {
  border: 1px solid #cbd5e1;
  color: #334155;
}

.acadmap-nav-trial,
.acadmap-nav-upgrade {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}

.acadmap-nav-user {
  background: #ecfdf5;
  color: #047857;
}

.acadmap-hero-section {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 60px 24px;
  border: 1px solid rgba(191, 219, 254, 0.68);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.92));
  text-align: center;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.acadmap-hero-title {
  margin: 0 auto;
  max-width: 860px;
  color: #0f172a;
  font-size: clamp(32px, 4vw, 36px);
  line-height: 1.4;
  font-weight: 900;
}

.acadmap-hero-subtitle {
  margin: 12px auto 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.acadmap-hero-demo {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.acadmap-hero-select {
  width: 260px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.acadmap-hero-note,
.acadmap-price-compare {
  color: #64748b;
  font-size: 12px;
}

.acadmap-hero-note {
  margin: 8px 0 0;
}

.acadmap-price-anchor {
  margin: 10px 0 0;
}

.acadmap-price-main {
  display: inline-flex;
  align-items: baseline;
  color: var(--blue);
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.acadmap-price-unit {
  margin-left: 2px;
  font-size: 15px;
  font-weight: 800;
}

.acadmap-price-compare {
  margin: 6px 0 0;
  font-style: italic;
  line-height: 1.5;
}

.acadmap-feature-table {
  width: 100%;
  margin: 30px 0 34px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 64px rgba(15, 23, 42, 0.07);
}

.acadmap-feature-table th,
.acadmap-feature-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
  text-align: center;
  font-size: 14px;
}

.acadmap-feature-table th:first-child,
.acadmap-feature-table td:first-child {
  text-align: left;
  color: #334155;
  font-weight: 800;
}

.acadmap-feature-table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 900;
}

.acadmap-feature-table tr:last-child td {
  border-bottom: 0;
}

.acadmap-feature-table .acadmap-pi-column {
  background: #eaf4ff;
  color: var(--blue);
}

.acadmap-check {
  color: #059669;
  font-weight: 950;
}

.acadmap-cross {
  color: #cbd5e1;
  font-weight: 950;
}

.acadmap-locked-card {
  max-width: 420px;
  margin: 18px auto;
  padding: 28px 24px;
  border: 1px solid #dbeafe;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.1);
}

.acadmap-locked-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--blue);
  font-size: 22px;
}

.acadmap-locked-title {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
}

.acadmap-locked-desc {
  margin: 8px auto 16px;
  max-width: 320px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.acadmap-locked-note {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 12px;
}

.acadmap-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #dbe4f0;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.06);
}

.acadmap-trust-item {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
}

.acadmap-trust-number {
  color: var(--blue);
  font-size: 22px;
  font-weight: 950;
}

.acadmap-trust-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.acadmap-pricing-faq {
  margin-top: 34px;
}

.acadmap-pricing-faq h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.acadmap-faq-list {
  display: grid;
  gap: 12px;
}

.acadmap-faq-item {
  padding: 20px 22px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.acadmap-faq-item h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 16px;
}

.acadmap-faq-item p {
  margin: 0;
  color: #64748b;
  line-height: 1.75;
}

.acadmap-footer {
  margin-top: 46px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  color: #64748b;
}

.acadmap-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.acadmap-footer strong {
  color: #0f172a;
}

.acadmap-footer p {
  margin: 6px 0 0;
  font-size: 13px;
}

.acadmap-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 13px;
}

.acadmap-footer-links a {
  color: #475569;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  margin: 34px 0 0;
  overflow: hidden;
  border-radius: 20px;
  background: #d1d5db;
}

.kpi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  padding: 26px 18px;
}

.kpi strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
}

.kpi span {
  color: var(--muted);
}

.sparkline {
  flex: 0 0 96px;
  width: 96px;
  height: 42px;
}

.sparkline polyline {
  fill: none;
  stroke: #006edb;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  filter: drop-shadow(0 6px 10px rgba(0, 110, 219, 0.16));
}

.sparkline.green polyline {
  stroke: #0f766e;
  filter: drop-shadow(0 6px 10px rgba(15, 118, 110, 0.16));
}

.sparkline.red polyline {
  stroke: #ef4444;
  filter: drop-shadow(0 6px 10px rgba(239, 68, 68, 0.16));
}

.value-kpis .kpi strong {
  color: var(--blue);
}

.hero .kpis {
  width: min(920px, 100%);
  margin: 38px auto 0;
}

.hero .value-kpis {
  gap: 12px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.hero .value-kpis .kpi {
  min-height: 126px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(138, 150, 168, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 56px rgba(15, 23, 42, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero .value-kpis .kpi:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 76px rgba(15, 23, 42, 0.11);
}

.hero .value-kpis .kpi strong {
  font-size: clamp(32px, 3.2vw, 46px);
}

.hero .value-kpis .kpi span {
  max-width: 150px;
  color: #4b5563;
  font-weight: 700;
  line-height: 1.45;
}

.home-rail {
  position: fixed;
  top: 38%;
  right: max(18px, calc((100vw - 1180px) / 2 - 96px));
  z-index: 8;
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(229, 231, 235, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.home-rail a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-rail a.active,
.home-rail a:hover {
  background: #e0f2fe;
  color: var(--blue);
  transform: translateX(-2px);
}

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.page-head .section-copy {
  margin-bottom: 0;
}

.school-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: auto;
  min-width: 340px;
  margin: 0;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(138, 150, 168, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.06);
  text-align: left;
}

.school-selector span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.school-selector strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  white-space: nowrap;
}

.school-selector select {
  width: 180px;
  height: 40px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
}

.hero .school-selector {
  width: min(720px, 100%);
  margin: 34px auto 0;
  padding: 14px 16px 14px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
}

.hero .school-selector strong {
  font-size: 24px;
}

.hero .school-selector select {
  width: min(280px, 100%);
  height: 46px;
  border-radius: 16px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
}

.section-copy {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

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

.grid.two {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 20px;
}

.split-copy {
  min-width: 0;
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(235,247,255,0.72)),
    radial-gradient(circle at 12% 12%, rgba(20, 184, 166, 0.16), transparent 34%);
  box-shadow: var(--shadow);
}

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

.mini-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 110, 219, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,251,255,0.88)),
    radial-gradient(circle at 86% 12%, rgba(0, 110, 219, 0.12), transparent 34%);
}

.mini-card strong {
  font-size: 22px;
}

.mini-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.card {
  min-width: 0;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 86px rgba(15, 23, 42, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.module-card {
  min-height: 190px;
}

.scenario-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(138, 150, 168, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78)),
    radial-gradient(circle at 80% 10%, rgba(0, 110, 219, 0.12), transparent 34%);
}

.scenario-card strong {
  font-size: 22px;
  line-height: 1.2;
}

.scenario-card span {
  color: var(--muted);
  line-height: 1.65;
}

.scenario-card em {
  margin-top: auto;
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
}

.commercial-section {
  padding-top: 26px;
}

.commercial-copy {
  max-width: 860px;
}

.revenue-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.revenue-card {
  min-height: 220px;
  border: 1px solid rgba(138, 150, 168, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,250,255,0.9)),
    radial-gradient(circle at 90% 0%, rgba(20, 184, 166, 0.13), transparent 34%);
}

.revenue-card strong {
  display: block;
  font-size: 30px;
}

.revenue-card span {
  display: block;
  margin: 10px 0 14px;
  color: var(--blue);
  font-weight: 800;
}

.revenue-card p {
  color: var(--muted);
  line-height: 1.72;
}

.tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #005bb8;
  font-size: 12px;
  font-weight: 800;
}

.decision-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 1.1fr) minmax(260px, 0.85fr);
  gap: 1px;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(138, 150, 168, 0.16);
  border-radius: 24px;
  background: rgba(138, 150, 168, 0.22);
  box-shadow: 0 24px 76px rgba(15, 23, 42, 0.08);
}

.decision-panel > div {
  min-width: 0;
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.9)),
    radial-gradient(circle at 90% 10%, rgba(20, 184, 166, 0.12), transparent 34%);
}

.decision-main h2 {
  margin: 14px 0 0;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
}

.decision-main p,
.decision-judgment p,
.decision-actions li {
  color: var(--muted);
  line-height: 1.62;
}

.metric-highlight {
  display: inline-flex;
  align-items: center;
  margin: 0 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #005bb8;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(0, 110, 219, 0.14);
}

.decision-judgment strong,
.decision-actions strong {
  display: block;
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 16px;
}

.decision-actions ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 18px;
}

.insight-card {
  min-height: 178px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,247,255,0.9));
}

.insight-card h3 {
  margin: 16px 0 8px;
  font-size: 21px;
  line-height: 1.22;
}

.insight-card p,
.recommendation p {
  color: var(--muted);
  line-height: 1.68;
}

.insight-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.finder-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(235,247,255,0.78)),
    radial-gradient(circle at 88% 12%, rgba(20, 184, 166, 0.16), transparent 34%);
  box-shadow: var(--shadow);
}

.finder-hero h2 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.08;
}

.finder-hero p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.finder-form {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(138, 150, 168, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.finder-form label {
  color: #334155;
  font-weight: 800;
}

.finder-form .input-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.finder-form input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.finder-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  border: 1px solid rgba(0, 110, 219, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,251,255,0.9)),
    radial-gradient(circle at 90% 8%, rgba(0, 110, 219, 0.12), transparent 32%);
}

.finder-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.finder-card-head strong {
  color: var(--blue);
  font-size: 26px;
}

.finder-card h3 {
  margin: 18px 0 8px;
  font-size: 24px;
  line-height: 1.18;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.mini-metrics span {
  padding: 10px;
  border-radius: 16px;
  background: rgba(219, 234, 254, 0.56);
  color: #475569;
  font-size: 12px;
}

.mini-metrics b {
  display: block;
  color: #0f172a;
  font-size: 18px;
}

.paper-snippet {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: #334155;
}

.paper-snippet small {
  color: var(--blue);
  font-weight: 900;
}

.finder-card em {
  margin-top: 14px;
  color: #0f766e;
  font-style: normal;
  font-weight: 800;
  line-height: 1.55;
}

.finder-workbench {
  display: grid;
  gap: 18px;
}

.finder-query-panel,
.finder-status-panel,
.finder-recommendation,
.finder-results {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.finder-query-panel,
.finder-status-panel,
.finder-recommendation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 22px;
  align-items: center;
}

.finder-query-panel h2 {
  margin: 10px 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
}

.finder-form.compact {
  box-shadow: none;
}

.finder-status-panel h3,
.finder-recommendation h3,
.section-label h3 {
  margin: 8px 0;
  font-size: 24px;
}

.finder-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.finder-metrics span {
  padding: 14px;
  border: 1px solid rgba(0, 110, 219, 0.12);
  border-radius: 16px;
  background: rgba(246, 250, 255, 0.9);
  color: #64748b;
}

.finder-metrics b {
  display: block;
  color: #0f172a;
  font-size: 24px;
}

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

.flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  color: #64748b;
  font-weight: 800;
}

.flow-step b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
}

.flow-step.active {
  border-color: rgba(0, 110, 219, 0.22);
  background: rgba(219, 234, 254, 0.74);
  color: #0f172a;
}

.flow-step.active b {
  background: var(--blue);
  color: #fff;
}

.recommendation-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.section-label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-label p {
  max-width: 360px;
  color: var(--muted);
}

.finder-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.35fr) minmax(260px, 0.8fr) minmax(220px, 0.65fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.finder-rank {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
}

.finder-title-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.finder-title-line h3 {
  margin: 0;
  font-size: 22px;
}

.finder-title-line span,
.evidence-line span {
  color: var(--muted);
  font-size: 13px;
}

.evidence-line {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(241, 245, 249, 0.86);
}

.evidence-line strong {
  font-weight: 700;
  line-height: 1.45;
}

.finder-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.finder-evidence span {
  padding: 10px;
  border-radius: 14px;
  background: rgba(219, 234, 254, 0.56);
  color: #64748b;
  font-size: 12px;
}

.finder-evidence b {
  display: block;
  color: #0f172a;
  font-size: 18px;
}

.finder-next {
  padding: 14px;
  border-radius: 16px;
  background: rgba(236, 253, 245, 0.78);
}

.finder-next p {
  color: #475569;
  line-height: 1.55;
}

.finder-next .button {
  width: 100%;
  margin-top: 8px;
}

.finder-empty {
  box-shadow: none;
}

.module-card h3 {
  margin: 20px 0 10px;
  font-size: 25px;
}

.module-card p,
.muted {
  color: var(--muted);
  line-height: 1.7;
}

.chart {
  width: 100%;
  height: 520px;
}

.chart.small {
  height: 360px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}

.table th,
.table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.table th {
  color: #374151;
  font-size: 13px;
}

.bar-list {
  display: grid;
  gap: 16px;
}

.bar-list.compact {
  gap: 18px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(120px, 1fr) 80px;
  gap: 14px;
  align-items: center;
}

.bar-row span {
  color: #374151;
  font-weight: 700;
}

.bar-row strong {
  text-align: right;
}

.bar-row.compact {
  grid-template-columns: minmax(80px, 110px) minmax(90px, 1fr) 72px;
}

.institution-summary-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  align-items: stretch;
  margin-bottom: 28px;
}

.tier-card-panel,
.country-card-panel {
  height: 100%;
}

.tier-card-panel .tier-grid {
  height: calc(100% - 42px);
  grid-template-columns: 1fr;
  align-content: stretch;
}

.tier-card-panel .tier-card {
  min-height: 0;
  display: grid;
  align-content: center;
}

.country-card-panel .bar-list.compact {
  gap: 14px;
}

.country-card-panel .bar-row.compact {
  grid-template-columns: minmax(180px, 240px) minmax(180px, 1fr) 82px;
  gap: 18px;
}

.country-card-panel .bar-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.institution-table-card {
  margin-top: 0;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #006edb);
}

.bar-fill.green {
  background: linear-gradient(90deg, #5eead4, #0f766e);
}

.status {
  border-left: 4px solid var(--green);
  color: #164e43;
}

.trend-list {
  display: grid;
  gap: 12px;
}

.trend-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.trend-row span {
  color: var(--muted);
}

.trend-row strong {
  font-size: 20px;
}

.trend-row small {
  color: var(--muted);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tier-card {
  padding: 18px;
  border: 1px solid rgba(0, 110, 219, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.tier-card strong {
  display: block;
  font-size: 30px;
}

.tier-card span {
  color: var(--muted);
}

.recommendation {
  margin-top: 18px;
  background: linear-gradient(135deg, #ffffff, #eef7ff);
}

.unlock-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 110, 219, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 247, 255, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(0, 110, 219, 0.16), transparent 32%);
}

.unlock-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(-45deg, rgba(0, 110, 219, 0.035) 0 8px, transparent 8px 18px);
}

.unlock-card > * {
  position: relative;
}

.unlock-card h3 {
  margin: 12px 0 8px;
  font-size: 24px;
}

.unlock-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.unlock-card ul {
  margin: 0;
  padding-left: 20px;
  color: #374151;
  line-height: 1.85;
}

.access-banner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(0, 110, 219, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 255, 0.92)),
    radial-gradient(circle at 96% 0%, rgba(0, 110, 219, 0.12), transparent 34%);
}

.access-banner.unlocked {
  border-color: rgba(15, 118, 110, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 253, 245, 0.9)),
    radial-gradient(circle at 96% 0%, rgba(15, 118, 110, 0.14), transparent 34%);
}

.access-banner strong {
  display: block;
  margin: 12px 0 6px;
  font-size: 22px;
}

.access-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-grid {
  margin: 0 0 20px;
}

.price-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(138, 150, 168, 0.2);
}

.price-card.featured {
  border-color: rgba(0, 110, 219, 0.35);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(235,247,255,0.92)),
    radial-gradient(circle at 80% 0%, rgba(0, 110, 219, 0.18), transparent 36%);
  transform: translateY(-8px);
}

.price-card h3 {
  margin: 18px 0 8px;
  font-size: 28px;
}

.price {
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1.1;
}

.price-card ul,
.business-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #374151;
  line-height: 1.7;
}

.price-card .button {
  margin-top: auto;
}

.form {
  max-width: 520px;
  margin: 0 auto;
}

.form input {
  width: 100%;
  height: 46px;
  margin: 8px 0 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
}

.auth-section {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 70px;
}

.auth-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
  gap: 44px;
  align-items: center;
}

.auth-copy {
  padding: 34px 0;
}

.auth-copy h1 {
  margin: 18px 0 16px;
  max-width: 620px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.96;
  letter-spacing: 0;
}

.auth-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

.auth-benefits {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.auth-benefits div {
  min-height: 122px;
  padding: 18px;
  border: 1px solid rgba(138, 150, 168, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.auth-benefits strong,
.auth-benefits span {
  display: block;
}

.auth-benefits strong {
  margin-bottom: 10px;
  font-size: 17px;
}

.auth-benefits span {
  color: var(--muted);
  line-height: 1.65;
}

.auth-card {
  padding: 32px;
  border: 1px solid rgba(138, 150, 168, 0.24);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
}

.auth-card-head {
  margin-bottom: 24px;
}

.auth-card-head h2 {
  margin: 12px 0 8px;
  font-size: 30px;
  line-height: 1.1;
}

.auth-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.auth-form,
.signup-panel {
  display: grid;
  gap: 10px;
}

.auth-form label,
.signup-panel label {
  color: var(--ink);
  font-weight: 700;
}

.auth-form input,
.signup-panel input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.auth-form input:focus,
.signup-panel input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.input-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
}

.input-action button {
  border: 1px solid rgba(0, 113, 227, 0.35);
  border-radius: 15px;
  background: #eef6ff;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
}

.auth-submit {
  width: 100%;
  margin-top: 10px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.signup-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fbff, #eef8f4);
}

.signup-compact strong,
.signup-compact span {
  display: block;
}

.signup-compact strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.signup-compact span {
  color: var(--muted);
  line-height: 1.6;
}

.signup-panel {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fbff, #eef8f4);
}

.account-status {
  display: grid;
  gap: 12px;
}

.account-status div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.account-status strong {
  color: var(--muted);
}

.account-status span {
  font-weight: 800;
}

.auth-actions {
  justify-content: flex-start;
}

.auth-actions button {
  cursor: pointer;
}

.admin-grid {
  align-items: start;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.admin-row strong,
.admin-row span,
.admin-row small {
  display: block;
}

.admin-row span,
.admin-row small {
  color: var(--muted);
  line-height: 1.55;
}

.status-badge {
  display: inline-flex;
  justify-content: center;
  min-width: 76px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  font-style: normal;
  font-weight: 800;
}

.status-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.approved,
.status-badge.active {
  background: #dcfce7;
  color: #047857;
}

.status-badge.rejected {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-actions button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0, 110, 219, 0.25);
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.admin-actions button[data-action="reject"] {
  border-color: rgba(239, 68, 68, 0.25);
  background: #fff1f2;
  color: #b91c1c;
}

.admin-console {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}

.admin-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.admin-sidebar strong {
  padding: 8px 10px 12px;
  font-size: 14px;
}

.admin-sidebar a,
.admin-logout {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: #eff6ff;
  color: var(--blue);
}

.admin-logout {
  margin-top: 12px;
  color: #b91c1c;
  background: #fff1f2;
}

.admin-main {
  display: grid;
  gap: 18px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.06);
}

.admin-toolbar h2 {
  margin: 6px 0 0;
  font-size: 22px;
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-toolbar-actions .button {
  min-width: 0;
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

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

.admin-metric {
  position: relative;
  min-height: 112px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.06);
}

.admin-metric::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 72px;
  height: 28px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 110, 219, 0.14), rgba(0, 110, 219, 0.42));
}

.admin-metric.green::after {
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.14), rgba(15, 118, 110, 0.42));
}

.admin-metric.red::after {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.14), rgba(239, 68, 68, 0.42));
}

.admin-metric span,
.admin-metric small {
  display: block;
  color: var(--muted);
}

.admin-metric strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 34px;
  line-height: 1;
}

.admin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.admin-stack {
  display: grid;
  gap: 18px;
}

.admin-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 58px rgba(15, 23, 42, 0.07);
}

.admin-panel-large {
  min-height: 520px;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-panel-head h3 {
  margin: 0;
  font-size: 20px;
}

.admin-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-panel-head > span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  color: #6b7280;
  font-size: 12px;
  text-align: left;
  text-transform: uppercase;
}

.admin-table td {
  max-width: 300px;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  vertical-align: top;
}

.admin-table tr:hover td {
  background: rgba(239, 246, 255, 0.45);
}

.admin-table strong,
.admin-table span,
.admin-table small {
  display: block;
}

.admin-table span,
.admin-table small,
.admin-mini-row span,
.admin-mini-row small {
  color: var(--muted);
  line-height: 1.55;
}

.admin-table .admin-actions {
  max-width: 270px;
  flex-wrap: wrap;
}

.admin-mini-list {
  display: grid;
}

.admin-mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
}

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

@media (max-width: 900px) {
  .home-rail {
    display: none;
  }

  .topbar nav a:not(.pill) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .kpis,
  .acadmap-trust-bar,
  .grid,
  .grid.two,
  .scenario-grid,
  .split-section,
  .mini-grid,
  .finder-hero,
  .finder-grid,
  .revenue-grid,
  .pricing-grid,
  .decision-panel,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .page-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .finder-form .input-action,
  .mini-metrics,
  .finder-query-panel,
  .finder-status-panel,
  .finder-recommendation,
  .finder-flow,
  .finder-row,
  .finder-evidence {
    grid-template-columns: 1fr;
  }

  .section-label,
  .finder-title-line,
  .recommendation-actions {
    display: grid;
    justify-content: stretch;
  }

  .bar-row.compact,
  .country-card-panel .bar-row.compact,
  .trend-row,
  .tier-grid,
    .unlock-card,
    .access-banner {
    grid-template-columns: 1fr;
  }

  .tier-card-panel .tier-grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .bar-row strong {
    text-align: left;
  }

  .kpi {
    align-items: flex-start;
  }

  .sparkline {
    flex-basis: 84px;
    width: 84px;
  }

  .auth-section {
    min-height: auto;
    padding-top: 96px;
  }

  .auth-layout,
  .auth-benefits {
    grid-template-columns: 1fr;
  }

  .school-selector {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    min-width: 0;
  }

  .school-selector select {
    width: 100%;
  }

  .auth-copy h1 {
    max-width: 100%;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    flex-wrap: wrap;
  }

  .admin-console,
  .admin-workspace,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .acadmap-feature-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .acadmap-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .acadmap-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar,
  .section {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 13px;
  }

  .brand span {
    display: none;
  }

  .actions {
    flex-direction: column;
  }

  .auth-layout {
    gap: 22px;
  }

  .auth-copy h1 {
    font-size: 42px;
  }

  .auth-copy p {
    font-size: 17px;
  }

  .auth-card {
    padding: 20px;
    border-radius: 24px;
  }

  .input-action,
  .signup-compact {
    grid-template-columns: 1fr;
  }

  .acadmap-hero-section {
    padding: 42px 16px;
  }

  .acadmap-hero-select {
    width: 100%;
  }

  .acadmap-trust-item {
    min-height: 84px;
  }

  .acadmap-pricing-faq h2 {
    font-size: 24px;
  }
}
