/* ==========================================================================
   YAC Learning Centre landing page (/lms/)
   Same sections and colours (navy and gold) as lms/css/style.css, with the main YAC website's
   typefaces (Urbanist headings, Manrope text), plus the landing-page
   navigation, dashboard, sign-in panel, profile and help sections at the end of this file.
   Course pages keep using lms/courses/css/style.css and are not affected by this file.
   ========================================================================== */

/* ── RESET & TOKENS ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0C1F3D;
  --navy-mid: #152D52;
  --navy-soft: #1E3D6E;
  --gold: #C8921A;
  --gold-lt: #E8B84B;
  --gold-pale: #F5E4B8;
  --cream: #F7F4EE;
  --slate: #4A6380;
  --slate-lt: #7A9AB8;
  --sky: #E8EFF7;
  --white: #FFFFFF;
  --text: #0C1F3D;
  --muted: #4F6682;          /* slightly darker than style.css so small text passes 4.5:1 */
  --gold-dk: #8A6212;         /* gold for small text on light backgrounds */

  --ff-display: 'Urbanist', 'Manrope', system-ui, sans-serif;   /* main YAC website typefaces */
  --ff-body: 'Manrope', system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITY ─────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(12, 31, 61, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 146, 26, 0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-pill {
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
}

.nav-wordmark {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-lt);
}

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold-lt) !important;
  color: var(--navy) !important;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
}

/* Background SVG pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
}

/* Radial glow */
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 146, 26, 0.22) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 146, 26, 0.15);
  border: 1px solid rgba(200, 146, 26, 0.35);
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.1s forwards;
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero-headline {
  font-family: var(--ff-display);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 820px;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.25s forwards;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.58);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.35s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeUp 1s ease 1.2s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(200, 146, 26, 0.5), transparent);
  animation: scrollLine 1.8s ease infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── STAT BAR ─────────────────────────────────────────────────── */
.stats {
  background: var(--gold);
  padding: 0;
  overflow: hidden;
}

.stats-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  padding: 28px 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 6px;
  display: block;
}

/* ── COURSES SECTION ──────────────────────────────────────────── */
.courses {
  padding: 100px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(200, 146, 26, 0.4), transparent);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 560px;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 64px;
}

/* ── COURSE CARDS ("DOORS") ───────────────────────────────────── */
.course-doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Leadership course spans full width */
/*.door-lcs {
  grid-column: 1 / -1;
  min-height: 420px !important;
}*/

.door-lcs .door-bg {
  background:
    linear-gradient(160deg, rgba(5, 20, 10, 0.92) 0%, rgba(10, 40, 25, 0.55) 50%, rgba(5, 20, 10, 0.95) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cdefs%3E%3Cpattern id='h' x='0' y='0' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Chexagon points='30,5 55,20 55,45 30,55 5,45 5,20' fill='none' stroke='%2310b981' stroke-width='0.5' opacity='0.6'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='400' fill='url(%23h)'/%3E%3C/svg%3E");
  background-color: #051a0e;
  background-size: cover;
}

.door-lcs .door-orb {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
  top: -80px;
  right: 10%;
}

.door-lcs .door-badge {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  backdrop-filter: blur(8px);
  color: #6ee7b7;
}

.door-lcs .door-content {
  max-width: 680px;
}

.door {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 8px 40px rgba(12, 31, 61, 0.18);
}

.door:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(12, 31, 61, 0.28);
}

/* Background fill */
.door-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
}

.door:hover .door-bg {
  transform: scale(1.03);
}

.door {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 8px 40px rgba(12, 31, 61, 0.18);
}

.door:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(12, 31, 61, 0.28);
}

/* Background fill */
.door-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
}

.door:hover .door-bg {
  transform: scale(1.03);
}

/* Civic course */
.door-civic .door-bg {
  background:
    linear-gradient(160deg, rgba(12, 31, 61, 0.85) 0%, rgba(12, 31, 61, 0.4) 50%, rgba(12, 31, 61, 0.92) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cdefs%3E%3Cpattern id='p' x='0' y='0' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='%23C8921A' opacity='0.6'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%23C8921A' opacity='0.4'/%3E%3Ccircle cx='80' cy='0' r='1.5' fill='%23C8921A' opacity='0.4'/%3E%3Ccircle cx='0' cy='80' r='1.5' fill='%23C8921A' opacity='0.4'/%3E%3Ccircle cx='80' cy='80' r='1.5' fill='%23C8921A' opacity='0.4'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='400' fill='url(%23p)'/%3E%3C/svg%3E");
  background-color: #1a3a5c;
  background-size: cover;
}

/* Executive course */
.door-exec .door-bg {
  background:
    linear-gradient(160deg, rgba(8, 18, 32, 0.9) 0%, rgba(15, 30, 55, 0.5) 50%, rgba(8, 18, 32, 0.94) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cdefs%3E%3Cpattern id='g' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='%23C8921A' stroke-width='0.4' opacity='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='400' fill='url(%23g)'/%3E%3C/svg%3E");
  background-color: #080f1c;
  background-size: cover;
}

/* Decorative orb */
.door-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.door-civic .door-orb {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(200, 146, 26, 0.25) 0%, transparent 70%);
  top: -60px;
  right: -60px;
}

.door-exec .door-orb {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(100, 160, 220, 0.15) 0%, transparent 70%);
  bottom: 40%;
  left: -80px;
}

/* Top badge */
.door-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  z-index: 2;
}

.door-exec .door-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

/* Module count top-right */
.door-count {
  position: absolute;
  top: 28px;
  right: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  z-index: 2;
  backdrop-filter: blur(8px);
}

/* Illustration icon */
.door-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -62%);
  font-size: 88px;
  opacity: 0.18;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
  z-index: 1;
  filter: grayscale(1);
}

.door:hover .door-icon {
  opacity: 0.28;
  transform: translate(-50%, -65%) scale(1.06);
  filter: grayscale(0);
}

/* Content */
.door-content {
  position: relative;
  z-index: 3;
  padding: 36px 36px 40px;
}

/* Gold reveal line on hover */
.door::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.door:hover::after {
  transform: scaleX(1);
}

.door-audience {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 12px;
}

.door-title {
  font-family: var(--ff-display);
  font-size: 27px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.3px;
  /*margin-bottom: 14px;*/
}

.door-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

.door-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.door-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.door-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, gap 0.2s;
}

.door:hover .door-cta {
  background: var(--gold-lt);
  color: var(--navy);
  gap: 14px;
}

.door-cta-arrow {
  font-size: 16px;
  transition: transform 0.2s;
}

.door:hover .door-cta-arrow {
  transform: translateX(4px);
}

/* ── HOW IT WORKS ─────────────────────────────────────────────── */
.how {
  background: var(--navy);
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
}

.how::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23C8921A' opacity='0.12'/%3E%3C/svg%3E");
  pointer-events: none;
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.how .section-label {
  color: var(--gold-lt);
}

.how .section-label::after {
  background: linear-gradient(to right, rgba(232, 184, 75, 0.4), transparent);
}

.how .section-title {
  color: var(--white);
  max-width: 100%;
}

.how .section-sub {
  color: rgba(255, 255, 255, 0.5);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.step {
  padding: 36px 30px;
  background: rgba(12, 31, 61, 0.5);
  position: relative;
  transition: background 0.2s;
}

.step:hover {
  background: rgba(30, 61, 110, 0.7);
}

.step-num {
  font-family: var(--ff-display);
  font-size: 52px;
  font-weight: 800;
  color: rgba(200, 146, 26, 0.18);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.step-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step-body {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.step-line {
  position: absolute;
  top: 50%;
  right: 0;
  width: 2px;
  height: 40px;
  background: rgba(200, 146, 26, 0.2);
  transform: translateY(-50%);
}

.step:last-child .step-line {
  display: none;
}

/* ── WHY IT MATTERS ───────────────────────────────────────────── */
.why {
  padding: 100px 48px;
  background: var(--cream);
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text .section-title {
  margin-bottom: 22px;
}

.why-text p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.why-quote {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: rgba(200, 146, 26, 0.06);
  border-radius: 0 12px 12px 0;
}

.why-quote p {
  font-family: var(--ff-display);
  font-size: 18px;
  font-style: italic;
  color: var(--navy);
  margin: 0;
  line-height: 1.6;
}

.why-quote cite {
  font-family: var(--ff-body);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-top: 12px;
}

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.why-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid rgba(12, 31, 61, 0.08);
  box-shadow: 0 4px 20px rgba(12, 31, 61, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(12, 31, 61, 0.12);
}

.why-card.featured {
  grid-column: 1 / -1;
  background: var(--navy);
  border-color: transparent;
}

.why-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.why-card-num {
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.why-card-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.why-card.featured .why-card-label {
  color: rgba(255, 255, 255, 0.55);
}

.why-card-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
}

.why-card.featured .why-card-body {
  color: rgba(255, 255, 255, 0.5);
}

/* ── PARTNERS / AUTHORITY STRIP ───────────────────────────────── */
.authority {
  background: var(--sky);
  border-top: 1px solid rgba(12, 31, 61, 0.08);
  border-bottom: 1px solid rgba(12, 31, 61, 0.08);
  padding: 48px;
}

.authority-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.authority-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate-lt);
  white-space: nowrap;
}

.authority-divider {
  width: 1px;
  height: 36px;
  background: rgba(12, 31, 61, 0.12);
}

.authority-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.authority-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.authority-logo:hover {
  opacity: 0.85;
}

.authority-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--white);
  border: 1px solid rgba(12, 31, 61, 0.1);
}

.authority-logo-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.authority-logo-sub {
  font-size: 12px;
  color: var(--muted);
}

/* ── CTA BANNER ───────────────────────────────────────────────── */
.cta-banner {
  background: var(--gold);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23fff' stroke-width='0.5' opacity='0.15'/%3E%3Ccircle cx='50' cy='50' r='25' fill='none' stroke='%23fff' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E") center / 160px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  line-height: 1.65;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 11px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 11px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  background: #070f1d;
  padding: 60px 48px 36px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-text {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  max-width: 260px;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12.5px;
}

.footer-osp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.osp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s ease infinite;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .course-doors {
    grid-template-columns: minmax(0, 1fr);
  }

  .door {
    min-height: 480px;
  }

  .steps-row {
    grid-template-columns: 1fr 1fr;
  }

  .step-line {
    display: none;
  }

  .why-inner {
    grid-template-columns: minmax(0, 1fr);   /* plain 1fr can't shrink below the big figures -> page overflowed on phones */
    gap: 48px;
  }

  .footer-top {
    flex-direction: column;
  }

  /* the nav links used to disappear entirely below 900px with no replacement:
     keep the primary action, hide the rest (the logo still links back to the YAC website) */
  .nav-links {
    gap: 0;
  }

  .nav-links li:not(.nav-keep) {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 24px 70px;
  }

  .courses,
.how,
.why,
.cta-banner {
    padding: 72px 24px;
  }

  .stats-inner {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1 1 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .authority {
    padding: 36px 24px;
  }

  footer {
    padding: 48px 24px 28px;
  }

  .door-title {
    font-size: 24px;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── PHONES (≤600px): layouts redesigned for narrow screens ─────── */
@media (max-width: 600px) {
  /* course cards: badge and module count used to collide in the top corners */
  .door {
    min-height: 0;
    padding-top: 108px;
  }

  .door-badge {
    top: 20px;
    left: 20px;
  }

  .door-count {
    top: 56px;
    left: 20px;
    right: auto;
  }

  .door-content {
    padding: 24px 22px 28px;
  }

  .door-cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* "why it matters" stat cards: one per row so long labels and big figures have room */
  .why-visual {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-card-num {
    font-size: 34px;
  }
}

/* ── TOUCH SCREENS (≤900px): footer links were 16px-tall tap targets ── */
@media (max-width: 900px) {
  .footer-links li {
    margin-bottom: 0;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* ==========================================================================
   Readable text on gold (white on #C8921A is below 4.5:1)
   ========================================================================== */
.nav-pill, .nav-cta, .door-badge, .door-cta { color: var(--navy) !important; }
.stat-num { color: var(--navy); }
.stat-label { color: rgba(12, 31, 61, 0.82); }
.stat-item { border-color: rgba(12, 31, 61, 0.18) !important; }
.cta-banner, .cta-title, .cta-sub { color: var(--navy); }
.btn-cta-white { color: var(--gold-dk); }
.btn-cta-ghost { color: var(--navy); border-color: rgba(12, 31, 61, 0.45); background: rgba(255, 255, 255, 0.25); }
.section-label,
.why-quote cite,
.why-card-num { color: var(--gold-dk); }
.how .section-label { color: var(--gold-lt); }
.why-card.featured .why-card-num { color: var(--gold-lt); }

.hero-headline em { font-style: normal; }   /* Urbanist is loaded without italics */

/* Course cards without artwork set in the admin ("Bg style"): navy instead of a blank card */
.door--plain .door-bg {
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 22px),
    radial-gradient(circle at 80% 15%, rgba(200, 146, 26, 0.35), transparent 55%),
    var(--navy-soft);
}

/* ==========================================================================
   Navigation, welcome actions, pick up where you left off, sign in,
   learning dashboard, certificates, profile and help
   ========================================================================== */
#top, .pickup, .dash, .dash-block, .courses, .help-sec, .how { scroll-margin-top: 80px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

a:focus-visible, button:focus-visible, summary:focus-visible, .door:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Buttons */
.lc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 10px;
  font-family: var(--ff-body); font-size: 15px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lc-btn:disabled { opacity: 0.6; cursor: progress; }
.lc-btn--lg { min-height: 54px; padding: 14px 32px; font-size: 16px; }
.lc-btn--sm { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.lc-btn--block { width: 100%; }
.lc-btn--gold { background: var(--gold); color: var(--navy); }
.lc-btn--gold:hover { background: var(--gold-lt); }
.lc-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.lc-btn--ghost:hover { background: var(--white); color: var(--navy); }
.lc-btn--navy { background: var(--navy); color: var(--white); }
.lc-btn--navy:hover:not(:disabled) { background: var(--navy-soft); }
.lc-btn--outline { background: var(--white); border-color: rgba(12, 31, 61, 0.25); color: var(--navy); }
.lc-btn--outline:hover { border-color: var(--navy); }

/* Nav */
a.nav-wordmark { text-decoration: none; }
a.nav-wordmark:hover { color: var(--gold-lt); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a[aria-current="true"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--gold); }
.nav-ico { margin-right: 7px; font-size: 13px; opacity: 0.8; }

.nav-account { position: relative; }
.nav-account summary {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 14px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 100px;
  color: var(--white); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none;
}
.nav-account summary::-webkit-details-marker { display: none; }
.nav-account summary:hover { border-color: var(--gold-lt); }
.nav-avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--gold); color: var(--navy);
  font-family: var(--ff-display); font-weight: 700; font-size: 15px;
}
.nav-burger { display: inline-flex; width: 34px; justify-content: center; font-size: 17px; }
.nav-caret { color: var(--gold-lt); font-size: 11px; }
.nav-account[open] .nav-caret { transform: rotate(180deg); }
.nav-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 8px;
  background: var(--white); border-radius: 12px; box-shadow: 0 18px 40px rgba(12, 31, 61, 0.25);
}
.nav-panel-email { padding: 10px 14px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--sky); font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.nav-panel ul { list-style: none; }
.nav-links .nav-panel a {
  display: flex; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 8px;
  color: var(--navy); font-size: 14px; font-weight: 600;
}
.nav-links .nav-panel a .nav-ico { width: 16px; color: var(--muted); opacity: 1; margin: 0; }
.nav-links .nav-panel a:hover { background: var(--sky); color: var(--navy); }
.nav-panel-mobile, .nav-mobile-only { display: none; }

/* Hero (welcome) */
.hero-actions {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: 36px; opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}
.hero-resume {
  position: relative; z-index: 2; margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.75);
  opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}
.hero-resume strong { color: var(--white); font-weight: 700; }

/* Progress */
.lc-progress { display: flex; align-items: center; gap: 14px; }
.lc-progress-track { flex: 1; height: 8px; border-radius: 8px; background: var(--sky); overflow: hidden; }
.lc-progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.lc-progress-text { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--muted); }

/* Pick up where you left off */
.pickup { background: var(--cream); padding: 90px 48px; }
.pickup-inner { max-width: 1200px; margin: 0 auto; }
.pickup-card {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 28px 32px; background: var(--white);
  border: 1px solid rgba(12, 31, 61, 0.08); border-left: 4px solid var(--gold); border-radius: 16px;
}
.pickup-card--empty { grid-template-columns: minmax(0, 1fr) auto; }
.pickup-icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 16px; background: var(--navy-soft); font-size: 34px; }
.pickup-title { font-family: var(--ff-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 6px; }
.pickup-next { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.pickup-card .lc-progress { max-width: 520px; }
.pickup-also { margin-top: 16px; font-size: 14px; color: var(--muted); }
.pickup-also a { color: var(--navy); font-weight: 700; }

.pickup-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.pickup-auth .section-title { margin-bottom: 14px; }
.pickup-lead { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 460px; margin-bottom: 22px; }
.pickup-points { list-style: none; display: grid; gap: 10px; }
.pickup-points li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 600; color: var(--navy); }
.pickup-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-dk); font-weight: 800; }

.auth-box { background: var(--white); border: 1px solid rgba(12, 31, 61, 0.1); border-radius: 16px; padding: 8px 28px 28px; }
.auth-tabs { display: flex; gap: 4px; border-bottom: 1px solid rgba(12, 31, 61, 0.1); margin: 0 -8px 22px; }
.auth-tabs button {
  flex: 1; min-height: 52px; border: 0; border-bottom: 3px solid transparent; background: none;
  font-family: var(--ff-body); font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer;
}
.auth-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.auth-panel-title { font-family: var(--ff-display); font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.auth-field { margin-bottom: 14px; }
.auth-grid .auth-field { margin-bottom: 0; }
.auth-field--full { grid-column: 1 / -1; }
.auth-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.auth-req { font-weight: 500; color: var(--muted); }
.auth-field input, .auth-field select {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1.5px solid #C5CFC9; border-radius: 10px; background: var(--white);
  font-family: var(--ff-body); font-size: 16px; color: var(--navy);
}
.auth-field input:focus, .auth-field select:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.auth-field input[aria-invalid="true"] { border-color: #B42318; }
.auth-field input[readonly] { background: var(--sky); color: var(--slate); }
.auth-help { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 6px 0 14px; }
.auth-more { margin: 16px 0 4px; border: 1px solid rgba(12, 31, 61, 0.12); border-radius: 10px; padding: 0 16px; }
.auth-more summary { min-height: 48px; display: flex; align-items: center; font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; }
.auth-more[open] { padding-bottom: 16px; }
.auth-error, .auth-success { margin: 14px 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.auth-error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.auth-success { background: #ECFDF3; color: #067647; border: 1px solid #ABEFC6; }
.auth-panel .lc-btn--block { margin-top: 8px; }
.auth-switch { margin-top: 14px; text-align: center; }
.auth-link {
  min-height: 44px; border: 0; background: none; font-family: var(--ff-body); font-size: 14px; font-weight: 700;
  color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; cursor: pointer;
}

/* Dashboard */
.dash { background: var(--white); padding: 90px 48px; border-top: 1px solid rgba(12, 31, 61, 0.06); }
.dash-inner { max-width: 1200px; margin: 0 auto; }
.dash .section-title { margin-bottom: 32px; }
.dash-stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.dash-stats li { padding: 22px 24px; border-radius: 14px; background: var(--navy-soft); }
.dash-stat-num { display: block; font-family: var(--ff-display); font-size: 40px; font-weight: 800; line-height: 1; color: var(--gold-lt); margin-bottom: 8px; }
.dash-stat-label { font-size: 13px; font-weight: 700; letter-spacing: 0.3px; color: rgba(255, 255, 255, 0.85); }
.dash-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.dash-block { padding: 24px 26px; border: 1px solid rgba(12, 31, 61, 0.08); border-radius: 16px; background: var(--cream); }
.dash-block-title { font-family: var(--ff-display); font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.dash-list { list-style: none; display: grid; gap: 12px; }
.dash-course, .dash-cert { padding: 18px 20px; border-radius: 12px; background: var(--white); border: 1px solid rgba(12, 31, 61, 0.06); }
.dash-course-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-bottom: 12px; }
.dash-course-title { font-size: 16px; font-weight: 800; color: var(--navy); text-decoration: underline; text-decoration-color: rgba(200, 146, 26, 0.6); text-underline-offset: 4px; }
.dash-course-title:hover { text-decoration-color: var(--gold); }
.dash-badge { padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.dash-badge--passed { background: #E3F3E8; color: #0B5A28; }
.dash-badge--quiz { background: var(--gold-pale); color: var(--navy); }
.dash-badge--in_progress { background: var(--sky); color: var(--navy); }
.dash-quiz { margin-top: 10px; font-size: 13px; color: var(--muted); }
.dash-cert { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.dash-cert-icon { font-size: 26px; text-align: center; }
.dash-cert-title { font-size: 15px; font-weight: 800; color: var(--navy); }
.dash-cert-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.dash-empty { font-size: 15px; line-height: 1.6; color: var(--muted); }
.dash-empty a { color: var(--navy); font-weight: 700; }

/* Profile & help */
/* Profile & settings pop-up (native <dialog>: Escape closes it and focus stays inside while open) */
.profile-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(12, 31, 61, 0.35);
  overflow: auto;
}
.profile-dialog::backdrop { background: rgba(12, 31, 61, 0.6); }
.profile-dialog[open] { animation: profileIn 0.2s var(--ease-out); }
@keyframes profileIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.profile-dialog-box { padding: 28px 28px 30px; }
.profile-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.profile-dialog-title { font-family: var(--ff-display); font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 6px; }
.profile-dialog-sub { font-size: 14px; line-height: 1.6; color: var(--muted); }
.profile-close {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--sky); color: var(--navy); font-size: 18px; cursor: pointer;
}
.profile-close:hover { background: var(--gold-pale); }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
html.profile-open { overflow: hidden; }
.help-sec { background: var(--white); padding: 90px 48px; }
.help-inner { max-width: 1200px; margin: 0 auto; }
.help-sec .section-title { margin-bottom: 32px; }
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.help-card-title { font-family: var(--ff-display); font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.help-card p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.help-card a { color: var(--navy); font-weight: 700; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { padding: 0 28px; }
  .nav-links { gap: 20px; }
}
@media (max-width: 900px) {
  .nav-mobile-only, .nav-panel-mobile { display: block; }
  .nav-links .nav-panel li { display: block; }
  .nav-cta { white-space: nowrap; }
  .nav-links li.nav-keep + li.nav-keep { margin-left: 8px; }
  .pickup-auth, .dash-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .help-grid { grid-template-columns: minmax(0, 1fr); }
  .pickup-card { grid-template-columns: 56px minmax(0, 1fr); }
  .pickup-icon { width: 56px; height: 56px; font-size: 26px; }
  .pickup-card > .lc-btn { grid-column: 1 / -1; }
  .pickup-card--empty { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .nav-account-name { display: none; }
  .nav-account summary { padding: 4px 10px 4px 4px; }
  .nav-cta { padding: 0 14px !important; }
  .nav-wordmark { font-size: 14px; }
  .hero { padding-bottom: 56px; }
  .hero-scroll { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-left: auto; margin-right: auto; }
  .pickup, .dash, .help-sec { padding: 64px 20px; }
  .pickup-card { padding: 22px 20px; gap: 16px; }
  .auth-box { padding: 4px 18px 22px; }
  .auth-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dash-stats li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
  .dash-stat-num { font-size: 32px; margin: 0; min-width: 44px; }
  .dash-block { padding: 18px 16px; }
  .dash-cert { grid-template-columns: 32px minmax(0, 1fr); }
  .dash-cert .lc-btn { grid-column: 1 / -1; }
  /* phones: the pop-up fills the screen so the form has room */
  .profile-dialog { width: 100%; max-width: none; height: 100%; max-height: none; border-radius: 0; }
  .profile-dialog-box { padding: 20px 18px 28px; }
  .profile-actions .lc-btn { flex: 1 1 100%; }
  .nav-panel { width: min(280px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-actions, .hero-resume, .profile-dialog[open] { animation: none; opacity: 1; }
}

/* learner's own status on a course card (signed in) */
.door-progress {
  display: table; margin: 0 0 14px; padding: 5px 12px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 12.5px; font-weight: 800;
}

/* the welcome buttons replace the "Explore" scroll hint, which overlapped them with these taller headings */
.hero-actions ~ .hero-scroll { display: none; }

/* Inline SVG icons (see partials/landing_icons.html) */
.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; flex-shrink: 0; }
