:root {
  --ink: #151515;
  --paper: #fffdf8;
  --soft-paper: #f8f2e8;
  --muted: #5f5f5f;
  --cyan: #02a8ba;
  --red: #f03d32;
  --yellow: #f4bd15;
  --green: #78c928;
  --blue: #1265bd;
  --magenta: #df168d;
  --line: rgba(21, 21, 21, 0.14);
  --shadow: 0 18px 40px rgba(21, 21, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(90deg, rgba(2, 168, 186, 0.1), transparent 22%),
    linear-gradient(135deg, rgba(244, 189, 21, 0.16), transparent 36%),
    linear-gradient(225deg, rgba(223, 22, 141, 0.1), transparent 32%),
    var(--soft-paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

a {
  color: var(--blue);
  font-weight: 800;
}

.hero,
main {
  margin: 0 auto;
  max-width: 1180px;
}

.hero {
  padding: 20px 18px 0;
}

.top-nav {
  align-items: center;
  background: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}

.top-nav a {
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 12px 14px;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: var(--blue);
  outline: 0;
}

.hero-copy {
  background:
    linear-gradient(90deg, rgba(2, 168, 186, 0.92), rgba(240, 61, 50, 0.88) 28%, rgba(244, 189, 21, 0.9) 48%, rgba(120, 201, 40, 0.88) 67%, rgba(18, 101, 189, 0.9) 84%, rgba(223, 22, 141, 0.9)),
    var(--ink);
  color: var(--paper);
  padding: clamp(32px, 6vw, 68px);
}

.hero-copy h1 {
  color: var(--paper);
  font-size: clamp(2.7rem, 8vw, 6.4rem);
  line-height: 0.92;
  margin: 0 0 18px;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
}

.hero-copy p {
  color: var(--paper);
  max-width: 760px;
}

main {
  padding: 22px 18px 70px;
}

.eyebrow,
.step-card span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--blue);
  margin: 0 0 8px;
}

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

h2 {
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  line-height: 1;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

p,
li,
figcaption {
  color: var(--muted);
  line-height: 1.65;
}

section,
.quick-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(21, 21, 21, 0.08);
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 36px);
}

.intro-grid,
.login-grid,
.semester-grid,
.resource-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.quick-card {
  border-top: 10px solid var(--cyan);
  box-shadow: none;
  margin: 0;
}

.section-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  padding-bottom: 16px;
}

.screenshot-card {
  margin: 0;
}

.screenshot-card img {
  border: 1px solid var(--line);
  display: block;
  width: 100%;
}

.screenshot-card figcaption {
  font-size: 0.9rem;
  margin-top: 10px;
}

.step-list {
  counter-reset: steps;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-list li {
  background: #f6f0e6;
  border-left: 5px solid var(--yellow);
  counter-increment: steps;
  padding: 12px 14px 12px 48px;
  position: relative;
}

.step-list li::before {
  color: var(--red);
  content: counter(steps, decimal-leading-zero);
  font-weight: 900;
  left: 14px;
  position: absolute;
}

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

.step-card {
  border: 1px solid var(--line);
  border-top: 8px solid currentColor;
  padding: 18px;
}

.step-card span {
  display: block;
  margin-bottom: 14px;
}

.cyan { color: var(--cyan); }
.red { color: var(--red); }
.yellow { color: #a87900; }
.green { color: #4f9414; }
.blue { color: var(--blue); }
.magenta { color: var(--magenta); }

.semester {
  border: 1px solid var(--line);
  padding: 22px;
}

.semester.fall {
  border-top: 10px solid var(--red);
}

.semester.spring {
  border-top: 10px solid var(--blue);
}

ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

li::marker {
  color: var(--yellow);
}

.workflow {
  display: grid;
  gap: 10px;
}

.workflow div {
  align-items: center;
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 150px 1fr;
  padding: 14px;
}

.workflow strong {
  color: var(--magenta);
}

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

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.privacy-note {
  background: #fffaf0;
  border-left: 5px solid var(--yellow);
  margin: 18px 0 0;
  padding: 14px;
}

iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  width: 100%;
}

.video-card {
  border: 1px solid var(--line);
  padding: 18px;
}

.link-only {
  align-content: center;
  display: grid;
}

.button {
  background: var(--ink);
  color: var(--paper);
  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  text-decoration: none;
  width: fit-content;
}

.button:hover,
.button:focus-visible {
  background: var(--blue);
  outline: 0;
}

@media (max-width: 880px) {
  .intro-grid,
  .login-grid,
  .semester-grid,
  .resource-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .workflow div {
    grid-template-columns: 1fr;
  }
}
