:root {
  color-scheme: dark;
  --bg: #151a1a;
  --panel: #1d2524;
  --soft: #26302e;
  --line: #35413d;
  --text: #f0f0e8;
  --muted: #a1b1a9;
  --mint: #c4dbc5;
  --mint-ink: #17271d;
  --warm: #d8b88e;
  --danger: #e8a69d;
  font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 1.5rem; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
h2 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
p { margin: 8px 0; }
.eyebrow { display: block; margin: 0 0 7px; color: var(--muted); font-size: .63rem; letter-spacing: .17em; font-weight: 600; }

button, input, select, textarea, .button { font: inherit; }
button, .button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background .14s, border-color .14s;
}
button:hover, .button:hover { background: #34433c; border-color: #697e70; }
button:disabled { cursor: default; opacity: .42; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}
button.primary, .button, form button:not([type="button"]) {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--mint-ink);
  font-weight: 600;
}
button.primary:hover, .button:hover, form button:not([type="button"]):hover { background: #deecd9; }
button.quiet, button.secondary { background: transparent; }
button.danger, .danger { color: var(--danger); }
input, select, textarea {
  max-width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}
input:not([type="checkbox"]):not([type="range"]), textarea { width: 100%; }
input[type="range"] { width: 100%; min-height: 26px; padding: 0; accent-color: var(--mint); }
label { display: grid; gap: 5px; color: var(--muted); font-size: .87rem; }
form { display: grid; gap: 14px; }
kbd { margin-left: 5px; padding: 0 4px; border: 1px solid currentColor; border-radius: 4px; font: .7em inherit; opacity: .7; }
code { color: var(--mint); }

.portal-topbar {
  min-height: 51px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font: 1.45rem/1 Georgia, serif; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #809481;
  border-radius: 8px;
  color: var(--mint);
  font-size: 1.25rem;
}
.brand-caption { display: block; margin-top: 4px; color: var(--muted); font: .45rem system-ui, sans-serif; letter-spacing: .2em; }
.account-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.account-actions span { color: var(--muted); font-size: .73rem; }
.account-actions button { min-height: 34px; padding: 4px 9px; font-size: .78rem; }

main { max-width: 1180px; margin: 0 auto; padding: 40px 22px 80px; }
.card, .course, .unit { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.auth { max-width: 520px; margin: 6vh auto; }
.grid { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 18px; }
.wide { min-width: 0; }
.heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; }
.heading-actions, .actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.form-note { margin: 0; color: var(--muted); font-size: .86rem; }
.course { margin: 16px 0; }
.unit { margin: 12px 0; background: #19211f; }
.course-head, .unit-head, .assignment, .user { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.assignment, .user { padding: 11px 0; border-top: 1px solid var(--line); }
.assignment p { margin: 2px 0; color: var(--muted); }
.assignment-controls { flex: 0 1 55%; min-width: 0; }
.assignment-controls button { margin: 0 6px 6px 0; }
.assignment-controls .status { display: block; overflow-wrap: anywhere; }
.assignment > div:first-child { min-width: 0; }
.student-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.student-list label { display: flex; align-items: center; gap: 5px; color: var(--text); }
.status { color: var(--mint); font-size: .78rem; }
dialog {
  width: min(560px, 92vw);
  max-height: 90vh;
  padding: 25px;
  overflow: auto;
  border: 1px solid #566459;
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop { background: #07130ed9; backdrop-filter: blur(4px); }
#message {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 50%;
  max-width: min(650px, 94vw);
  padding: 13px 20px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: var(--mint);
  color: var(--mint-ink);
  box-shadow: 0 6px 30px #0008;
}

body.student-mode main { width: 100%; max-width: none; min-height: 0; margin: 0; padding: 0; }
.student-breadcrumb {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 3px;
  margin-left: 20px;
  overflow-x: auto;
  white-space: nowrap;
}
.student-breadcrumb select {
  width: auto;
  max-width: min(25vw, 330px);
  min-height: 34px;
  padding: 5px 8px;
  background: var(--bg);
  font-size: .86rem;
  text-overflow: ellipsis;
}
.student-breadcrumb .separator { color: var(--muted); }
.student-review-shell { min-height: calc(100vh - 51px); background: var(--bg); }
.student-studio { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 81px); }
.student-submission-panel {
  min-width: 0;
  min-height: 0;
  padding: 18px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--line);
  background: #19211f;
}
.student-submission-panel .eyebrow { margin: 0 4px 5px; }
.student-submission-panel h2 { margin: 0 4px 12px; font-size: .85rem; font-weight: 600; }
.student-submissions { display: grid; align-content: start; gap: 6px; }
.student-submission { min-width: 0; border: 1px solid transparent; border-radius: 9px; }
.student-submission:has(.student-submission-select[aria-current="true"]) { border-color: #789682; background: var(--soft); }
.student-submission-select {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-color: transparent;
  background: transparent;
  color: var(--text);
  text-align: left;
}
.student-submission-select:hover { background: #34433c; border-color: #697e70; }
.student-submission-thumbnail { width: 54px; height: 42px; flex: none; border-radius: 5px; background: var(--bg); object-fit: cover; }
.student-submission-details { display: grid; flex: 1; min-width: 0; align-self: flex-start; gap: 2px; }
.student-submission-select strong { min-width: 0; font-size: .8rem; line-height: 1.25; overflow-wrap: anywhere; }
.student-submission-select span { margin: 0; color: var(--muted); font-size: .66rem; line-height: 1.25; }
.student-submission-select .status { color: var(--muted); }
.student-submission-select .pending { color: var(--warm); }
.student-submission-retry { width: calc(100% - 12px); min-height: 32px; margin: 0 6px 6px; padding: 4px 8px; color: var(--warm); font-size: .72rem; }

.student-stage {
  display: flex;
  width: 100%;
  min-width: 0;
  padding: 10px 14px;
  flex-direction: column;
}
.student-stage-heading { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.student-stage-heading > :first-child { flex: 1; min-width: 0; }
.student-stage-heading h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.student-instructions { margin: 2px 0 0; color: var(--muted); font-size: .82rem; white-space: pre-wrap; }
.student-stage-actions { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 5px; }
.student-stage-actions button { min-height: 34px; padding: 4px 9px; font-size: .78rem; }
.student-status-pill { padding: 5px 10px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-size: .68rem; white-space: nowrap; }
.student-status-pill.evaluated { border-color: #64876a; color: var(--mint); }
.student-video-fit { flex: 1 1 0; min-width: 0; min-height: 300px; display: grid; place-items: center; }
.student-video-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #2c3931;
  border-radius: 13px;
  background: #0b1110;
}
.student-video-shell video { display: block; width: 100%; max-width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; background: #0b1110; }
.student-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 70%, #263b30, transparent 70%), #111b17;
  color: var(--muted);
  text-align: center;
}
.student-empty h2 { color: var(--text); }
.student-empty p { max-width: 420px; font-size: .9rem; }
.student-empty-monogram { margin-bottom: 20px; color: var(--mint); font: 3rem/1 Georgia, serif; }
.student-transport { flex: 0 0 auto; padding: 6px 0 0; }
.student-timeline-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .73rem; font-variant-numeric: tabular-nums; }
.student-timeline-label span:nth-child(2) { color: #d0c5a8; text-align: center; }
.student-transport input[type="range"] { margin-top: 4px; }
.student-stage > .status { min-height: 1.5em; margin: 3px 0 0; }
.student-bottom-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 16px;
  border-top: 1px solid var(--line);
  background: #19211f;
  color: var(--muted);
  font-size: .68rem;
}

@media (min-width: 801px) {
  body.student-mode { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
  body.student-mode .portal-topbar { flex: 0 0 auto; }
  body.student-mode main { flex: 1 1 auto; }
  .student-review-shell { display: grid; height: 100%; min-height: 0; grid-template-rows: minmax(0, 1fr) auto; }
  .student-studio { min-height: 0; }
  .student-stage { height: 100%; overflow: hidden; }
  .student-video-fit { container-type: size; }
  .student-video-fit .student-video-shell {
    width: min(100cqi, calc(100cqb * 1.7778));
    height: auto;
    max-height: 100cqb;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 1100px) {
  .student-studio { grid-template-columns: 190px minmax(0, 1fr); }
  .student-breadcrumb { margin-left: 0; }
  .account-actions span { display: none; }
}

@media (max-width: 800px) {
  .portal-topbar { flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .brand-caption { display: none; }
  .student-breadcrumb { order: 3; width: 100%; flex-basis: 100%; }
  .student-breadcrumb select { max-width: 32vw; }
  .account-actions { gap: 5px; }
  main { padding: 25px 14px; }
  .grid { grid-template-columns: 1fr; }
  .heading, .course-head, .unit-head, .assignment, .user { align-items: flex-start; flex-direction: column; }
  .heading-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .assignment-controls { width: 100%; flex-basis: auto; }
  .student-review-shell { min-height: calc(100vh - 94px); }
  .student-studio { grid-template-columns: 126px minmax(0, 1fr); min-height: calc(100vh - 124px); }
  .student-submission-panel { padding: 12px 6px; }
  .student-submission-panel .eyebrow { display: none; }
  .student-submission-thumbnail { display: none; }
  .student-submission-select { padding: 6px; }
  .student-stage { padding: 12px 8px; }
  .student-stage-heading { align-items: flex-start; flex-wrap: wrap; }
  .student-stage-heading > :first-child { flex-basis: 100%; }
  .student-stage-actions { flex: 1 1 100%; justify-content: flex-start; flex-wrap: wrap; }
  .student-video-fit { min-height: 240px; }
  .student-video-shell { min-height: 240px; aspect-ratio: 16 / 9; }
  .student-bottom-bar { flex-wrap: wrap; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Public ClipResponse homepage */
body.landing-mode {
  --landing-navy: #06254d;
  --landing-blue: #075b9d;
  --landing-sky: #dff3ff;
  min-width: 320px;
  background: #fff;
  color: var(--landing-navy);
}
.landing-mode .portal-topbar {
  position: relative;
  z-index: 10;
  min-height: 72px;
  padding: 10px clamp(20px, 4.2vw, 68px);
  border-bottom: 1px solid #dce7f0;
  background: rgba(255, 255, 255, .96);
}
.landing-mode .brand { gap: 11px; color: var(--landing-navy); font: 800 clamp(1.3rem, 2vw, 2rem)/1 system-ui, sans-serif; letter-spacing: -.045em; }
.landing-mode .brand-mark {
  position: relative;
  display: block;
  width: 82px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(145deg, #023b70, #6ea8ce);
  clip-path: polygon(4% 31%, 31% 21%, 50% 1%, 69% 6%, 87% 24%, 98% 58%, 83% 81%, 58% 74%, 36% 94%, 17% 75%, 0 70%);
}
.landing-mode .brand-mark::before, .landing-mode .brand-mark::after, .landing-mode .brand-mark i {
  content: "";
  position: absolute;
  left: 12%;
  width: 75%;
  height: 16px;
  border-top: 1.5px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  transform: rotate(8deg);
}
.landing-mode .brand-mark::before { top: 11px; }
.landing-mode .brand-mark::after { top: 18px; transform: rotate(-6deg); }
.landing-mode .brand-mark i:nth-child(1) { top: 24px; transform: rotate(10deg); }
.landing-mode .brand-caption { margin-top: 3px; color: #4e7899; font: 600 .43rem/1 system-ui, sans-serif; letter-spacing: .28em; }
.brand-mark b { font: inherit; }
.landing-mode .brand-mark b { display: none; }
.landing-nav { display: none; align-items: center; gap: clamp(20px, 3.5vw, 54px); margin-left: auto; }
.landing-mode .landing-nav { display: flex; }
.landing-nav a { color: var(--landing-navy); font-size: .98rem; font-weight: 700; text-decoration: none; }
.landing-nav a:hover { color: var(--landing-blue); }
.landing-nav .landing-nav-signin { padding: 9px 17px; border: 1px solid #a9c8dc; border-radius: 999px; color: #075b9d; }
.landing-mode main { width: 100%; max-width: none; margin: 0; padding: 0; }
.landing-home { overflow: hidden; background: #fff; color: var(--landing-navy); }
.landing-hero {
  position: relative;
  display: grid;
  min-height: 690px;
  padding: 54px clamp(22px, 4.4vw, 72px) 64px;
  grid-template-columns: minmax(420px, 1.15fr) minmax(330px, .72fr);
  grid-template-rows: auto 1fr;
  gap: 32px clamp(36px, 5vw, 80px);
  isolation: isolate;
}
.landing-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -180px;
  right: -110px;
  width: 68%;
  height: 720px;
  background: linear-gradient(135deg, #bfe9ff 0%, #157bb8 46%, #003c76 100%);
  clip-path: polygon(45% 0, 100% 0, 100% 70%, 15% 100%, 0 46%);
}
.landing-hero::after {
  content: "";
  position: absolute;
  z-index: -3;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 270px;
  background: linear-gradient(150deg, transparent 12%, #d9f2ff 12%, #a8d6f1 100%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero-copy { max-width: 620px; align-self: start; padding-top: 10px; }
.product-kicker { display: flex; align-items: center; gap: 17px; margin: 0 0 16px; color: #075d9f; font-size: clamp(1rem, 1.6vw, 1.45rem); font-weight: 850; letter-spacing: .085em; }
.product-kicker span { width: 84px; height: 4px; border-radius: 4px; background: #9eb9cd; }
.hero-copy h1 { max-width: 610px; font-size: clamp(2.75rem, 4.6vw, 5rem); line-height: .99; font-weight: 850; letter-spacing: -.055em; text-wrap: balance; }
.hero-copy > p:not(.product-kicker) { max-width: 580px; margin: 14px 0 0; color: #334d6c; font-size: clamp(1rem, 1.45vw, 1.35rem); line-height: 1.42; }
.hero-copy .hero-lede { margin-top: 19px; color: #1e3a5c; font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.hero-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 13px 25px;
  border-radius: 999px;
  background: linear-gradient(135deg, #062b5c, #0062a8);
  box-shadow: 0 11px 23px rgba(0, 67, 117, .18);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
}
.hero-button:hover { background: #075b9d; transform: translateY(-1px); }
.hero-button span { font-size: 1.8rem; font-weight: 400; }
.login-card {
  position: relative;
  z-index: 2;
  align-self: start;
  width: min(100%, 430px);
  margin: 4px auto 0;
  padding: clamp(25px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 65px rgba(0, 34, 68, .28);
  color: var(--landing-navy);
}
.login-icon { display: grid; width: 46px; height: 46px; margin-bottom: 20px; place-items: center; border-radius: 13px; background: linear-gradient(135deg, #83b7d8, #07558f); color: #fff; font-size: 1rem; }
.login-card .eyebrow { margin-bottom: 7px; color: #35759f; font-size: .66rem; letter-spacing: .17em; }
.login-card h2 { font-size: clamp(1.6rem, 2.1vw, 2.15rem); font-weight: 820; letter-spacing: -.035em; }
.login-intro { margin: 9px 0 23px; color: #597087; font-size: .94rem; }
.login-card form { gap: 16px; }
.login-card label { gap: 7px; color: #244563; font-size: .82rem; font-weight: 750; }
.login-card input {
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid #adc5d8;
  border-radius: 10px;
  background: #fff;
  color: #082b50;
  box-shadow: inset 0 1px 2px rgba(0, 43, 78, .04);
}
.login-card input:focus { border-color: #0670b6; }
.login-card form button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding: 12px 19px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #07599c, #003663);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.login-card form button:hover { background: #075b9d; }
.session-note { margin: 16px 0 0; color: #657b8f; font-size: .75rem; }
.session-note span { color: #2d9f6f; }
.product-preview {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin-top: -15px;
  overflow: hidden;
  border: 1px solid rgba(185, 207, 221, .85);
  border-radius: 18px;
  background: rgba(249, 253, 255, .95);
  box-shadow: 0 15px 32px rgba(7, 57, 92, .24);
}
.preview-toolbar { display: flex; height: 44px; align-items: center; gap: 9px; padding: 0 15px; color: #082750; font-size: .86rem; }
.preview-app-icon { display: grid; width: 28px; height: 25px; place-items: center; border-radius: 6px; background: linear-gradient(135deg, #a5c9df, #07578f); color: #fff; font-size: .65rem; }
.preview-toolbar-actions { margin-left: auto; color: #0a568e; font-size: 1.05rem; }
.preview-body { display: grid; padding: 0 10px 10px; grid-template-columns: minmax(0, 1.72fr) minmax(155px, .78fr); gap: 10px; }
.preview-video { position: relative; overflow: hidden; border-radius: 10px; background: #162534; }
.preview-video svg { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.preview-play { position: absolute; top: 44%; left: 50%; display: grid; width: 52px; height: 52px; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(3, 20, 39, .72); color: #fff; font-size: 1.2rem; }
.preview-controls { position: absolute; right: 0; bottom: 0; left: 0; display: flex; height: 37px; align-items: center; gap: 10px; padding: 0 11px; background: #0d1b29; color: #fff; font-size: .63rem; }
.preview-controls i { position: relative; height: 3px; flex: 1; border-radius: 3px; background: #8a99a5; }
.preview-controls b { position: absolute; width: 24%; height: 100%; border-radius: inherit; background: #1a9bf0; }
.feedback-preview { padding: 13px 10px; border-radius: 10px; background: #fff; box-shadow: 0 3px 10px rgba(0, 40, 77, .11); }
.feedback-preview h3 { margin: 0 0 9px; font-size: .9rem; }
.preview-search { padding: 7px; border: 1px solid #b5cadb; border-radius: 6px; color: #415c78; font-size: .59rem; }
.feedback-preview article { margin-top: 9px; padding: 9px; border-radius: 7px; background: #e5f5fd; }
.feedback-preview article strong { display: block; font-size: .65rem; line-height: 1.2; }
.feedback-thumb { position: relative; height: 70px; margin: 8px 0; border-radius: 6px; background: radial-gradient(circle at 64% 33%, #bd8064 0 10%, transparent 11%), linear-gradient(135deg, #758da0, #344c62); }
.feedback-thumb span { position: absolute; right: 4px; bottom: 4px; padding: 2px 4px; border-radius: 3px; background: #172433; color: #fff; font-size: .55rem; }
.feedback-preview button { width: 100%; min-height: 32px; padding: 6px; border: 0; border-radius: 6px; background: linear-gradient(135deg, #1478bb, #07548e); color: #fff; font-size: .65rem; font-weight: 750; cursor: default; }
.feature-flow { padding: 36px clamp(22px, 5vw, 80px) 42px; background: linear-gradient(90deg, #eaf8ff, #cfeefe 54%, #eaf8ff); }
.feature-flow > h2 { margin-bottom: 28px; text-align: center; font-size: clamp(1.7rem, 3vw, 2.65rem); font-weight: 850; letter-spacing: -.04em; }
.feature-steps { display: flex; max-width: 1230px; align-items: center; justify-content: space-between; gap: 16px; margin: 0 auto; }
.feature-steps article { display: flex; min-width: 0; align-items: center; gap: 16px; }
.feature-icon { display: grid; width: 64px; height: 58px; flex: none; place-items: center; border-radius: 13px; background: #fff; box-shadow: 0 6px 15px rgba(4, 64, 104, .14); color: #0870b4; font-size: 1.7rem; }
.feature-steps strong { display: block; font-size: clamp(.98rem, 1.45vw, 1.25rem); }
.feature-steps p { margin: 3px 0 0; color: #526f88; font-size: .78rem; }
.step-arrow { color: #7896ad; font-size: 2.6rem; font-weight: 300; }
.course-examples { display: grid; gap: 24px; padding: 32px clamp(22px, 4vw, 64px) 58px; grid-template-columns: 1fr 1fr; }
.course-examples > article { display: grid; min-width: 0; padding: 12px; border: 1px solid #d3e0e9; border-radius: 16px; grid-template-columns: minmax(150px, 42%) 1fr; gap: 20px; box-shadow: 0 5px 12px rgba(1, 43, 75, .08); }
.example-thumb { position: relative; min-height: 142px; overflow: hidden; border-radius: 11px; background: linear-gradient(145deg, #809bae, #284968); }
.example-thumb.spanish { background: linear-gradient(145deg, #aa957c, #334d59); }
.example-person { position: absolute; bottom: -46px; left: 50%; width: 110px; height: 160px; transform: translateX(-50%); border-radius: 48% 48% 20% 20%; background: radial-gradient(circle at 50% 23%, #ba765d 0 16%, transparent 17%), linear-gradient(90deg, transparent 0 19%, #11283b 20% 80%, transparent 81%); }
.spanish .example-person { background: radial-gradient(circle at 50% 23%, #b88161 0 16%, transparent 17%), linear-gradient(90deg, transparent 0 19%, #526253 20% 80%, transparent 81%); }
.example-thumb small { position: absolute; right: 5px; bottom: 5px; padding: 3px 5px; border-radius: 4px; background: #0c1926; color: #fff; font-weight: 700; }
.course-examples article > div:last-child { min-width: 0; padding: 4px 4px 0 0; }
.course-examples h2 { font-size: 1.25rem; font-weight: 800; }
.course-examples p { color: #506b85; font-size: .83rem; }
.course-examples i { display: block; height: 8px; margin-top: 8px; border-radius: 5px; background: #d6e0e9; }
.course-examples i.short { width: 48%; }

@media (max-width: 960px) {
  .landing-hero { grid-template-columns: 1fr minmax(300px, .82fr); gap: 28px; }
  .hero-copy h1 { font-size: clamp(2.55rem, 6vw, 4rem); }
  .product-preview { grid-column: 1 / -1; width: min(100%, 760px); margin: 0 auto; }
  .feature-steps { align-items: stretch; }
  .feature-steps article { align-items: flex-start; flex-direction: column; }
  .step-arrow { align-self: center; }
}

@media (max-width: 720px) {
  .landing-mode .portal-topbar { min-height: 64px; flex-wrap: nowrap; padding: 9px 16px; }
  .landing-mode .brand-mark { width: 54px; height: 32px; }
  .landing-mode .brand { font-size: 1.15rem; }
  .landing-nav { gap: 10px; }
  .landing-nav a:not(.landing-nav-signin) { display: none; }
  .landing-nav .landing-nav-signin { padding: 7px 12px; font-size: .84rem; }
  .landing-hero { min-height: 0; padding: 38px 18px 45px; grid-template-columns: 1fr; grid-template-rows: auto; }
  .landing-hero::before { top: 380px; right: -80%; width: 150%; height: 660px; opacity: .9; }
  .landing-hero::after { height: 200px; }
  .hero-copy { padding-top: 0; }
  .hero-copy h1 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .product-kicker { font-size: 1rem; }
  .product-kicker span { width: 55px; }
  .login-card { width: 100%; margin-top: 2px; }
  .product-preview { grid-column: auto; }
  .preview-body { grid-template-columns: 1fr; }
  .feedback-preview { display: none; }
  .feature-flow { padding-top: 30px; }
  .feature-steps { align-items: stretch; flex-direction: column; }
  .feature-steps article { align-items: center; flex-direction: row; }
  .step-arrow { display: none; }
  .course-examples { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .landing-mode .brand-mark { width: 46px; }
  .landing-mode .brand-caption { display: none; }
  .course-examples > article { grid-template-columns: 1fr; }
  .example-thumb { min-height: 175px; }
}
