@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

.oxford-landing,
.oxford-login-screen,
.oxford-subpage {
  --oxford-red: #e74c3c;
  --oxford-yellow: #f1c40f;
  --oxford-blue: #3b82f6;
  --oxford-blue-deep: #213568;
  --oxford-ink: #2f343d;
  --oxford-slate: #445362;
  --oxford-slate-deep: #36424f;
  --oxford-light: rgba(255, 255, 255, 0.88);
  font-family: 'Manrope', sans-serif;
  color: var(--oxford-ink);
}

.oxford-landing {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(241, 196, 15, 0.14), transparent 20%),
    linear-gradient(180deg, #faf7f1 0%, #eff3f7 100%);
}

.oxford-landing__main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.oxford-site-header {
  position: relative;
  z-index: 3;
}

.oxford-site-header--home {
  background: #fff;
}

.oxford-site-header--page {
  padding: 22px 0;
  background: linear-gradient(180deg, #384654 0%, #3d4b59 100%);
  box-shadow: 0 20px 40px rgba(24, 31, 39, 0.22);
}

.oxford-site-header__inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.oxford-site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.oxford-site-header__brand--home {
  color: var(--oxford-blue-deep);
}

.oxford-site-header__brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--oxford-blue-deep);
  box-shadow: 0 16px 36px rgba(18, 24, 34, 0.18);
}

.oxford-site-header__brand-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.oxford-site-header__brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.oxford-site-header__brand-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.oxford-site-header__brand-kicker--home {
  color: rgba(33, 53, 104, 0.62);
}

.oxford-site-header__brand-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 700;
}

.oxford-site-header__brand-title--home {
  color: var(--oxford-blue-deep);
}

.oxford-site-header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin-left: auto;
}

.oxford-site-header__nav-link {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.oxford-site-header__nav-link--home {
  color: #252b33;
}

.oxford-site-header__nav-link--active,
.oxford-site-header__nav-link:hover,
.oxford-site-header__nav-link:focus-visible {
  color: #ffd463;
}

.oxford-site-header__nav-link--home.oxford-site-header__nav-link--active,
.oxford-site-header__nav-link--home:hover,
.oxford-site-header__nav-link--home:focus-visible {
  color: var(--oxford-red);
}

.oxford-site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.oxford-site-header__language-switch,
.oxford-login-screen__language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.oxford-site-header__language-switch--home {
  background: #f5f7fb;
  color: rgba(33, 53, 104, 0.56);
  box-shadow: inset 0 0 0 1px rgba(33, 53, 104, 0.06);
}

.oxford-site-header__language-switch button,
.oxford-site-header__language-switch span,
.oxford-site-header__language-switch a,
.oxford-login-screen__language-switch button,
.oxford-login-screen__language-switch span,
.oxford-login-screen__language-switch a {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: inherit;
}

.oxford-site-header__language-switch .is-active,
.oxford-login-screen__language-switch .is-active {
  color: #fff;
}

.oxford-site-header__language-switch--home .is-active {
  color: var(--oxford-blue-deep);
}

.oxford-site-header__login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--oxford-blue) 0%, #2f63d7 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.oxford-site-header__login-button:hover,
.oxford-site-header__login-button:focus-visible,
.oxford-landing__learn-more:hover,
.oxford-landing__learn-more:focus-visible,
.oxford-landing__card:hover,
.oxford-landing__card:focus-visible,
.oxford-login-screen__backlink:hover,
.oxford-login-screen__backlink:focus-visible {
  transform: translateY(-2px);
}

.oxford-landing__hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.1), transparent 18%),
    linear-gradient(110deg, #556270 0%, #475463 45%, #414d5a 100%);
  box-shadow: 0 30px 70px rgba(32, 40, 50, 0.16);
}

.oxford-landing__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 25, 34, 0.1) 0%, rgba(18, 25, 34, 0.05) 20%, rgba(18, 25, 34, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.oxford-landing__hero-media {
  position: absolute;
  inset: 0 41% 0 0;
  overflow: hidden;
}

.oxford-landing__hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 24, 30, 0.08) 0%, rgba(18, 24, 30, 0.03) 44%, rgba(18, 24, 30, 0) 68%);
  z-index: 1;
}

/* Fade/blend effect applied here to remove the hard split and let the photo dissolve into the dark hero background. */
.oxford-landing__hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61, 74, 87, 0) 48%, rgba(61, 74, 87, 0.28) 66%, rgba(61, 74, 87, 0.82) 100%);
  z-index: 2;
}

.oxford-landing__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 28%;
  transform: scale(1.02);
}

.oxford-landing__hero-content {
  position: relative;
  z-index: 2;
  width: min(460px, 40%);
  margin-left: auto;
  padding: 126px 70px 222px 16px;
  color: #fff;
}

.oxford-landing__eyebrow {
  margin: 0 0 20px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffd463;
}

.oxford-landing__headline {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.9rem, 5vw, 5.5rem);
  line-height: 0.96;
  font-weight: 700;
}

.oxford-landing__copy {
  max-width: 440px;
  margin: 28px 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.oxford-landing__learn-more {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 4px;
  background: var(--oxford-red);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 22px 44px rgba(231, 76, 60, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.oxford-landing__card-grid {
  position: absolute;
  left: clamp(90px, 10vw, 122px);
  right: clamp(26px, 5vw, 46px);
  bottom: 44px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.oxford-landing__card {
  min-height: 120px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 22px 46px rgba(26, 37, 49, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.oxford-landing__card h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 2vw, 2.4rem);
  font-weight: 700;
}

.oxford-landing__card p {
  margin: 8px 0 0;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.55;
  opacity: 0.92;
}

.oxford-landing__card--red {
  background: var(--oxford-red);
  color: #fff;
}

.oxford-landing__card--yellow {
  background: var(--oxford-yellow);
  color: #fff;
}

.oxford-landing__card--white {
  background: rgba(255, 255, 255, 0.96);
  color: var(--oxford-ink);
}

.oxford-landing__history,
.oxford-landing__lessons {
  width: min(760px, 100%);
  margin: 86px auto 0;
}

.oxford-landing__history {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 46px;
}

.oxford-landing__section-kicker {
  margin: 0 0 12px;
  color: var(--oxford-red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.oxford-landing__section-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 4vw, 3.45rem);
  line-height: 0.98;
  color: #17191c;
}

.oxford-landing__section-text,
.oxford-landing__lessons-text,
.oxford-landing__signup-text {
  margin: 16px 0 0;
  color: #4e545d;
  font-size: 0.95rem;
  line-height: 1.75;
}

.oxford-landing__section-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  background: var(--oxford-red);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.oxford-landing__history-image-wrap {
  overflow: hidden;
  min-height: 228px;
  background: #f4f0ec;
}

.oxford-landing__history-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oxford-landing__lessons {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.oxford-landing__lessons-feature {
  background: linear-gradient(180deg, #f5bf44 0%, #f2ba39 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.oxford-landing__lessons-feature-copy {
  padding: 24px 22px 16px;
}

.oxford-landing__lessons-feature-copy h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  line-height: 1;
}

.oxford-landing__lessons-feature-copy p {
  margin: 16px 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.oxford-landing__lessons-feature-image {
  flex: 1;
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(243, 188, 59, 0.04), rgba(243, 188, 59, 0.1)),
    url('/oxford-main-banner.jpg') center center / cover no-repeat;
}

.oxford-landing__lessons-content {
  padding: 18px 20px 24px 18px;
  background: rgba(255, 255, 255, 0.7);
}

.oxford-landing__lessons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.oxford-landing__lesson-item {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e7e4df;
  color: #20242b;
  font-size: 1rem;
  font-weight: 600;
}

.oxford-landing__lesson-item svg {
  color: var(--oxford-red);
  flex-shrink: 0;
}

.oxford-landing__signup {
  width: min(980px, 100%);
  margin: 80px auto 38px;
  min-height: 236px;
  background:
    linear-gradient(180deg, rgba(24, 24, 24, 0.6), rgba(24, 24, 24, 0.6)),
    url('/oxford-signup-banner.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oxford-landing__signup-inner {
  width: min(420px, calc(100% - 40px));
  text-align: center;
  color: #fff;
}

.oxford-landing__signup-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  line-height: 1;
}

.oxford-landing__signup-text {
  color: rgba(255, 255, 255, 0.8);
}

.oxford-landing__signup-form {
  margin-top: 22px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}

.oxford-landing__signup-form input {
  width: min(100%, 240px);
  min-height: 36px;
  border: 0;
  padding: 0 12px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 0.86rem;
}

.oxford-landing__signup-form button {
  min-height: 36px;
  border: 0;
  padding: 0 16px;
  background: var(--oxford-red);
  color: #fff;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.oxford-landing__footer {
  border-top: 1px solid #ddd7d0;
  padding-top: 30px;
}

.oxford-landing__footer-columns,
.oxford-landing__footer-bottom {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.oxford-landing__footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding-bottom: 30px;
}

.oxford-landing__footer-column h3 {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: #17191c;
}

.oxford-landing__footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oxford-landing__footer-column li,
.oxford-landing__footer-column p {
  margin: 0 0 10px;
  color: #4e545d;
  font-size: 0.9rem;
  line-height: 1.7;
}

.oxford-landing__footer-column li::before {
  content: '→';
  margin-right: 8px;
  color: var(--oxford-red);
}

.oxford-landing__footer-bottom {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #ddd7d0;
  color: #5e636a;
  font-size: 0.78rem;
  text-align: center;
}

.oxford-login-screen {
  min-height: 100vh;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at top left, rgba(241, 196, 15, 0.22), transparent 26%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 32%),
    linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
}

.oxford-login-screen__topbar {
  width: min(1040px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.oxford-login-screen__backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--oxford-blue-deep);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(33, 53, 104, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.oxford-subpage {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(241, 196, 15, 0.16), transparent 24%),
    linear-gradient(180deg, #edf1f6 0%, #e7edf4 100%);
}

.oxford-subpage__main {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.oxford-subpage__panel {
  min-height: 420px;
  padding: 56px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 251, 0.96) 100%);
  box-shadow: 0 28px 72px rgba(34, 44, 56, 0.14);
}

.oxford-subpage__eyebrow {
  margin: 0 0 18px;
  color: var(--oxford-red);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.oxford-subpage__title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 4vw, 4.6rem);
  line-height: 0.98;
  color: var(--oxford-blue-deep);
}

.oxford-subpage__copy {
  margin: 26px 0 0;
  max-width: 700px;
  color: #4d5967;
  font-size: 1.08rem;
  line-height: 1.8;
}

@media (max-width: 1080px) {
  .oxford-site-header__inner {
    width: min(100%, calc(100% - 28px));
  }

  .oxford-landing__hero-content {
    width: min(470px, 45%);
    padding-right: 40px;
  }

  .oxford-landing__hero-media {
    inset-right: 36%;
  }

  .oxford-landing__card-grid {
    left: 28px;
    right: 28px;
  }

  .oxford-landing__history,
  .oxford-landing__lessons {
    width: min(860px, 100%);
  }
}

@media (max-width: 920px) {
  .oxford-site-header__inner,
  .oxford-login-screen__topbar,
  .oxford-subpage__main {
    width: min(100%, calc(100% - 24px));
  }

  .oxford-site-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .oxford-site-header__nav {
    order: 3;
    width: 100%;
  }

  .oxford-site-header__actions {
    margin-left: 0;
  }

  .oxford-landing__hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .oxford-landing__hero-media {
    position: relative;
    inset: auto;
    min-height: 480px;
  }

  .oxford-landing__hero-content {
    width: 100%;
    padding: 42px 28px 30px;
  }

  .oxford-landing__card-grid {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 0 22px 26px;
    grid-template-columns: 1fr;
  }

  .oxford-landing__history,
  .oxford-landing__lessons,
  .oxford-landing__footer-columns {
    grid-template-columns: 1fr;
  }

  .oxford-landing__history {
    gap: 24px;
  }

  .oxford-landing__lessons-feature {
    min-height: 280px;
  }

  .oxford-landing__signup-form {
    flex-direction: column;
  }

  .oxford-landing__signup-form input,
  .oxford-landing__signup-form button {
    width: 100%;
  }

  .oxford-subpage__panel {
    padding: 42px 30px;
  }
}

@media (max-width: 640px) {
  .oxford-landing__main,
  .oxford-subpage__main {
    width: min(100%, calc(100% - 20px));
  }

  .oxford-site-header__brand-title {
    font-size: 2rem;
  }

  .oxford-site-header__language-switch,
  .oxford-login-screen__language-switch {
    padding-inline: 12px;
  }

  .oxford-site-header__actions {
    width: 100%;
    justify-content: center;
  }

  .oxford-site-header--home {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .oxford-landing__hero-media {
    min-height: 360px;
  }

  .oxford-landing__hero-content {
    padding: 34px 22px 22px;
  }

  .oxford-landing__headline {
    font-size: 3.25rem;
  }

  .oxford-landing__card {
    padding: 22px;
  }

  .oxford-landing__card h2 {
    font-size: 1.86rem;
  }

  .oxford-landing__history,
  .oxford-landing__lessons {
    margin-top: 56px;
  }

  .oxford-landing__lessons-grid {
    grid-template-columns: 1fr;
  }

  .oxford-landing__signup {
    margin-top: 56px;
  }

  .oxford-login-screen__topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .oxford-subpage__panel {
    min-height: 300px;
    padding: 34px 22px;
  }
}
