:root {
  --navy: #07192e;
  --navy2: #0d2d50;
  --ink: #10243f;
  --soft: #50657b;
  --blue: #1976e8;
  --paper: #f7fafc;
  --white: #fff;
  --line: #dce6ef;
  --sky: #eaf4ff;
  --radius: 18px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  line-height: 1.55;
}
a {
  color: inherit;
}
.shell {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  padding: 10px;
  background: #fff;
  z-index: 9;
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid #ffffff25;
}
.nav-wrap,
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  min-height: 76px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.brand span,
.eyebrow,
footer span {
  margin-bottom: 6px;
  color: #79bcff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
nav,
.footer > div:last-child {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
nav a,
.footer a {
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}
.hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 25%, #2684ee66, transparent 26rem),
    linear-gradient(115deg, #07192e, #0d315a);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 80px;
  min-height: 520px;
  padding: 78px 0;
}
.hero h1,
.section-title h2,
.trust h2,
.subhero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.067em;
}
.hero h1 em {
  color: #a0d2ff;
  font-style: normal;
}
.hero p:not(.eyebrow),
.subhero p {
  max-width: 620px;
  color: #cfdeee;
  font-size: 1.1rem;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 31px;
}
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: 0.18s;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.primary {
  color: #fff;
  background: var(--blue);
}
.primary:hover:not(:disabled) {
  background: #0d5cbe;
}
.secondary {
  color: #fff;
  background: #ffffff16;
  border-color: #ffffff42;
}
.outline {
  color: #0d5cbe;
  background: #fff;
  border-color: #a8caed;
}
.quiet {
  color: var(--soft);
  background: #fff;
  border-color: var(--line);
}
.disabled,
.button:disabled {
  color: #64788d;
  background: #e8edf3;
  border-color: #e8edf3;
  cursor: not-allowed;
}
.hero-panel {
  padding: 28px;
  border: 1px solid #ffffff2d;
  border-radius: var(--radius);
  background: #ffffff12;
}
.hero-panel ol {
  display: grid;
  gap: 20px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.hero-panel li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
}
.hero-panel li:before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  grid-row: span 2;
  color: #93ccff;
  font-size: 0.76rem;
  font-weight: 900;
}
.hero-panel span {
  color: #c9d9e9;
  font-size: 0.89rem;
}
.catalogue {
  padding: clamp(64px, 9vw, 110px) 0;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 27px;
}
.section-title h2,
.trust h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}
.section-title > p {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 750;
}
.blue {
  color: #0b61c4;
}
.filters {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px #1836520c;
}
.filters label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 850;
}
.filters input,
.filters select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #c8d7e5;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.filters input:focus,
.filters select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #1976e824;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 9px 24px #1b3d5e0c;
}
.card:hover {
  border-color: #a5c9f2;
  box-shadow: 0 18px 42px #1433521c;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.course-code {
  color: #0b61c4;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.09em;
}
.status {
  border-radius: 99px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-verified {
  color: #117a58;
  background: #e7f7f0;
}
.status-demo {
  color: #8a5c00;
  background: #fff4d6;
}
.card h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
}
.card p {
  margin: 0;
  color: var(--soft);
  font-size: 0.91rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 4px 8px;
  border-radius: 7px;
  color: #38536e;
  background: #edf4fb;
  font-size: 0.73rem;
  font-weight: 800;
}
.card .button {
  width: 100%;
  margin-top: auto;
}
.notice,
.empty {
  margin-top: 28px;
  border-radius: var(--radius);
}
.notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid #f0c7c2;
  color: #6d1c14;
  background: #fff4f2;
}
.notice p,
.empty p {
  margin: 4px 0 0;
}
.empty {
  padding: 55px 24px;
  border: 1px dashed #b5cce4;
  background: #eff7ff;
  text-align: center;
}
.empty h3 {
  margin: 8px 0 0;
  font-size: 1.5rem;
}
.empty .button {
  margin-top: 22px;
}
.trust {
  color: #fff;
  background: var(--navy);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: clamp(60px, 8vw, 100px) 0;
}
.trust-grid > div:last-child {
  max-width: 540px;
  color: #cfdeee;
}
.trust strong {
  color: #a9d4ff;
}
.text-link {
  color: #9ed0ff;
  font-weight: 850;
  text-underline-offset: 4px;
}
footer {
  color: #c2d0df;
  background: #051321;
}
.footer {
  min-height: auto;
  padding: 30px 0;
}
.footer p {
  margin: 0;
  font-size: 0.83rem;
}
.footer > div:last-child {
  gap: 18px;
  font-size: 0.84rem;
}
dialog {
  width: min(650px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  border: 0;
  border-radius: 18px;
  padding: 26px;
  color: var(--ink);
  box-shadow: 0 32px 100px #0006;
}
dialog::backdrop {
  background: #03101db3;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.dialog-head button {
  border: 0;
  color: var(--soft);
  background: transparent;
  font-weight: 850;
}
.dialog-course {
  margin: 24px 0 7px;
  color: #0b61c4;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.dialog-title {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.dialog-description {
  color: var(--soft);
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.dialog-actions .button {
  flex: 1 1 190px;
}
.config-note {
  color: var(--soft);
  font-size: 0.85rem;
}
.noscript {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 420px;
  padding: 14px;
  border-radius: 10px;
  color: #fff;
  background: #b52318;
}
.subhero {
  padding: 78px 0 66px;
  color: #fff;
  background: linear-gradient(120deg, var(--navy), var(--navy2));
}
.submit-main {
  padding: 76px 0;
}
.submit-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
}
.submit-main h2,
.report h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.process {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}
.process li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}
.process li:before {
  content: counter(process);
  counter-increment: process;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #0d5cbe;
  background: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
}
.process h3 {
  margin: 0;
  font-size: 1rem;
}
.process p {
  margin: 3px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
}
.contribution {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px #1433521c;
}
.contribution h2 {
  font-size: 1.65rem;
}
.contribution p,
.report p {
  color: var(--soft);
}
.contribution .button {
  width: 100%;
  margin-top: 12px;
}
.panel-note {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.85rem;
}
.report {
  padding: 58px 0;
  border-top: 1px solid var(--line);
  background: #edf5fd;
}
.report .shell {
  max-width: 760px;
  margin-left: max(20px, calc((100% - 1180px) / 2));
}
@media (max-width: 900px) {
  .hero-grid,
  .trust-grid,
  .submit-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    min-height: auto;
    gap: 40px;
  }
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quiet {
    grid-column: span 2;
  }
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }
  .nav-wrap,
  .footer,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-wrap {
    padding: 17px 0;
  }
  .hero-grid {
    padding: 62px 0;
  }
  .actions .button {
    flex: 1 1 160px;
  }
  .filter-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .quiet {
    grid-column: auto;
  }
  .notice {
    align-items: flex-start;
    flex-direction: column;
  }
  .notice .button {
    width: 100%;
  }
  .trust-grid {
    gap: 28px;
  }
  .report .shell {
    margin: auto;
  }
}
.studyhub-mark {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
}
.catalogue-intro {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 1rem;
  font-weight: 500;
}
.college-browser {
  margin: 0 0 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px #1836520c;
}
.college-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.college-heading h3,
.resource-heading h3 {
  margin: 0;
  font-size: 1.23rem;
  letter-spacing: -0.025em;
}
.college-heading p,
.resource-heading p {
  margin: 4px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
}
.college-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.college-card {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border: 1px solid #c8d7e5;
  border-radius: 12px;
  padding: 17px;
  color: var(--ink);
  background: linear-gradient(135deg, #fff, #edf6ff);
  font: inherit;
  text-align: left;
  transition: 0.18s;
}
.college-card:hover,
.college-card:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 12px 28px #1976e824;
  transform: translateY(-2px);
}
.college-card.is-selected {
  border-color: var(--blue);
  color: #063b79;
  background: var(--sky);
  box-shadow: 0 0 0 3px #1976e821;
}
.college-card span {
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
}
.college-card small {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
}
.advanced-search {
  margin: 0 0 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px #1836520c;
}
.advanced-search summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 850;
}
.advanced-search summary::marker {
  color: var(--blue);
}
.advanced-search summary small {
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 700;
}
.advanced-search[open] summary {
  border-bottom: 1px solid var(--line);
}
.advanced-search .filters {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.resource-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 -8px;
}
.resource-heading p {
  text-align: right;
}
.resource-heading + .resource-grid {
  margin-top: 28px;
}
@media (max-width: 760px) {
  .college-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .college-heading,
  .resource-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .resource-heading p {
    text-align: left;
  }
  .advanced-search summary {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 460px) {
  .studyhub-mark {
    width: 184px;
  }
  .college-browser {
    padding: 16px;
  }
  .college-grid {
    grid-template-columns: 1fr;
  }
  .college-card {
    min-height: 96px;
  }
  .advanced-search summary {
    padding: 16px;
  }
  .advanced-search .filters {
    padding: 16px;
  }
}
[hidden]{display:none!important}
