@font-face {
  font-family: "Mulish";
  src: url("/teacher/assets/fonts/Mulish-Variable.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 200 900;
}

:root {
  color-scheme: light;
  --brand: #22104d;
  --brand-2: #4c32a7;
  --ink: #181a29;
  --muted: #6f7182;
  --line: #e7e5ee;
  --surface: rgba(255, 255, 255, 0.88);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(76, 50, 167, 0.12), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(240, 138, 36, 0.11), transparent 30%),
    #faf9fc;
  color: var(--ink);
  font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-shell {
  margin: 0 auto;
  max-width: 1040px;
  min-height: 100vh;
  padding: max(28px, env(safe-area-inset-top)) 28px max(24px, env(safe-area-inset-bottom));
}

.brand {
  align-items: center;
  display: flex;
  gap: 11px;
}

.brand img {
  height: 46px;
  object-fit: contain;
  width: 46px;
}

.brand div {
  display: grid;
}

.brand span {
  color: var(--brand-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.brand strong {
  font-size: 20px;
  line-height: 1.15;
}

.intro {
  margin: 12vh auto 44px;
  max-width: 760px;
  text-align: center;
}

.eyebrow {
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  margin: 22px auto 0;
  max-width: 660px;
}

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

.role-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(34, 16, 77, 0.08);
  color: inherit;
  display: grid;
  min-height: 320px;
  padding: 30px;
  position: relative;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.role-card:hover,
.role-card:focus-visible {
  border-color: rgba(76, 50, 167, 0.42);
  box-shadow: 0 28px 70px rgba(34, 16, 77, 0.14);
  outline: none;
  transform: translateY(-4px);
}

.teacher-card:hover {
  transform: none;
}

.role-icon {
  align-items: center;
  background: #f0effa;
  border-radius: 18px;
  display: flex;
  height: 58px;
  justify-content: center;
  margin-bottom: 24px;
  width: 58px;
}

.teacher-card .role-icon {
  background: #fff2e9;
}

.role-icon svg {
  fill: none;
  height: 29px;
  stroke: var(--brand-2);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 29px;
}

.teacher-card .role-icon svg {
  stroke: #a44d16;
}

.role-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.role-card > strong {
  font-size: 32px;
  letter-spacing: -0.035em;
  margin-top: 5px;
}

.role-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin-top: 10px;
}

.role-action {
  align-items: center;
  align-self: end;
  color: var(--brand-2);
  display: flex;
  font-size: 15px;
  font-weight: 900;
  gap: 8px;
  margin-top: 25px;
}

.teacher-card .role-action {
  color: #943f0e;
}

.role-action b {
  font-size: 20px;
  transition: transform 160ms ease;
}

.role-card:hover .role-action b,
.role-card:focus-visible .role-action b {
  transform: translateX(4px);
}

.teacher-actions {
  align-self: end;
  display: grid;
  gap: 10px;
  margin-top: 25px;
}

.teacher-action {
  align-items: center;
  background: #f8f7fb;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--brand-2);
  display: flex;
  font-size: 14px;
  font-weight: 900;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.teacher-action span {
  display: grid;
  gap: 2px;
}

.teacher-action small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.teacher-action b {
  font-size: 20px;
  transition: transform 160ms ease;
}

.teacher-action:hover,
.teacher-action:focus-visible {
  background: #f1eff9;
  border-color: rgba(76, 50, 167, 0.42);
  outline: none;
  transform: translateY(-2px);
}

.teacher-action:hover b,
.teacher-action:focus-visible b {
  transform: translateX(4px);
}

.deutsch-action {
  color: #943f0e;
}

.deutsch-action:hover,
.deutsch-action:focus-visible {
  background: #fff7f1;
  border-color: rgba(164, 77, 22, 0.42);
}

.role-note {
  color: #9293a1;
  font-size: 12px;
  margin-top: 9px;
}

footer {
  color: #8a8997;
  font-size: 12px;
  margin-top: 26px;
  text-align: center;
}

@media (max-width: 700px) {
  .landing-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro {
    margin: 9vh auto 30px;
    text-align: left;
  }

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

  .role-card {
    min-height: 280px;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .role-card,
  .role-action b,
  .teacher-action,
  .teacher-action b {
    transition: none;
  }
}
