/* Shared styles for the redesigned pages (homepage, all programs) */
/* ===== TOKENS ===== */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --bg-blue: #eaf1ff;
  --border: #e4e9f2;
  --text: #0f172a;
  --muted: #5b6475;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --blue: #2563eb;
  --tint: #e8efff;
  --green: #16a34a;
  --orange: #f97316;
  --amber: #f59e0b;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1280px;
  --section-y: 72px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(29, 78, 216, 0.15);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.dc img {
  max-width: 100%;
  height: auto;
  display: block;
}

.dc h1,
.dc h2,
.dc h3,
.dc h4,
.dc p {
  margin: 0;
}

.dc a,
.dc-nav a {
  text-decoration: none;
}

.dc-container {
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

.dc-section {
  padding: var(--section-y) 0;
}

.dc-section--soft {
  background: var(--bg-soft);
}

/* ===== NAVBAR ===== */
.dc-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.dc-nav__inner {
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.dc-nav__logo img {
  display: block;
  width: auto;
  height: 58px;
}

.dc-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text) !important;
  letter-spacing: -0.02em;
}

.dc-nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.dc-nav__links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

.dc-nav__links a:hover,
.dc-nav__links a.active {
  color: var(--primary);
}

.dc-nav__links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.dc-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dc-nav__login {
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.dc-nav__login:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.dc-nav__cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
}

.dc-nav__cta:hover {
  background: var(--primary-hover);
}

.dc-nav__menu,
.dc-nav__close {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

/* ===== COMMON ===== */
.dc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
}

.dc-title {
  margin-top: 6px !important;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.dc-lead {
  margin-top: 10px !important;
  max-width: 640px;
  font-size: 16px;
  color: var(--muted);
}

.dc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.dc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.dc-btn--primary {
  background: var(--primary);
  color: #fff !important;
}

.dc-btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.dc-btn--outline {
  background: #fff;
  border-color: #c9d6f2;
  color: var(--text) !important;
}

.dc-btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.dc-btn--pill {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border-color: #c9d6f2;
  background: #fff;
  color: var(--primary) !important;
  font-size: 14px;
}

.dc-btn--sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 8px;
}

.dc-btn:focus-visible,
.dc-nav a:focus-visible,
.dc-nav button:focus-visible,
.dc-faq summary:focus-visible {
  outline: 3px solid #93b4ff;
  outline-offset: 2px;
}

.dc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.dc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--tint);
  color: var(--primary);
}

/* Icon colour variants */
.is-blue { background: #e8efff; color: #1d4ed8; }
.is-orange { background: #fff1e6; color: #ea580c; }
.is-green { background: #e6f7ec; color: #15803d; }
.is-purple { background: #f1ebff; color: #7c3aed; }
.is-pink { background: #ffe9f1; color: #db2777; }
.is-teal { background: #e3f7f5; color: #0f766e; }
.is-yellow { background: #fff6d6; color: #b45309; }

/* ===== HERO ===== */
.dc-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #eef4ff 0%, #f7faff 100%);
}

.dc-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.dc-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d6e1fb;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.dc-hero h1 {
  margin-top: 18px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dc-hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.dc-hero__text {
  margin-top: 16px !important;
  max-width: 540px;
  font-size: 17px;
  color: var(--muted);
}

.dc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 36px;
}

.dc-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-stat .dc-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 16px;
}

.dc-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.dc-stat span {
  font-size: 13px;
  color: var(--muted);
}

.dc-hero__visual {
  position: relative;
  padding: 24px;
}

.dc-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0 4% 0 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #cfe0ff 0%, #e3ecff 55%, rgba(234, 241, 255, 0) 72%);
}

.dc-hero__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
  box-shadow: var(--shadow-lg);
}

.dc-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.dc-float .dc-icon {
  width: 34px;
  height: 34px;
  font-size: 14px;
  border-radius: 50%;
}

.dc-float--top {
  top: 18px;
  left: 4%;
}

.dc-float--bottom {
  right: 0;
  bottom: 40px;
}

/* ===== TRENDING ===== */
.dc-trending {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.45fr;
  gap: 20px;
}

.dc-tcard {
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.dc-tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.dc-thumb {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.dc-thumb--orange { background: linear-gradient(135deg, #fff1e6, #ffd9bd); color: #ea580c; }
.dc-thumb--blue { background: linear-gradient(135deg, #0b1b4d, #1d4ed8); color: #61dafb; }
.dc-thumb--yellow { background: linear-gradient(135deg, #fff6c2, #ffd84d); color: #1f2937; }
.dc-thumb--green { background: linear-gradient(135deg, #e6f7ec, #b7ecc9); color: #15803d; }
.dc-thumb--purple { background: linear-gradient(135deg, #f1ebff, #d8c8ff); color: #6d28d9; }

.dc-tcard__body {
  padding: 16px;
}

.dc-tcard__body h3 {
  font-size: 16px;
  font-weight: 700;
}

.dc-tcard__body small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.dc-rating {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.dc-rating i {
  color: var(--amber);
}

.dc-perks {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}

.dc-perks img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-perks ul {
  list-style: none;
  margin: 0;
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: center;
}

.dc-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.dc-perks li i {
  color: var(--green);
  font-size: 16px;
}

/* ===== COURSES ===== */
.dc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dc-course {
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.dc-course:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.dc-course__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-course__head h3 {
  font-size: 16px;
  font-weight: 700;
  margin-right: auto !important;
}

.dc-tag {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.dc-tag--off {
  background: #ffe4e6;
  color: #be123c;
}

.dc-tag--time {
  background: var(--tint);
  color: var(--primary);
}

.dc-course__desc {
  margin-top: 14px !important;
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dc-checks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.dc-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.dc-checks i {
  color: var(--green);
}

.dc-course__foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.dc-price s {
  font-size: 14px;
  color: var(--muted);
}

.dc-price strong {
  font-size: 20px;
  font-weight: 800;
  color: #be123c;
}

.dc-skeleton {
  height: 280px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #eef2f9, #f8faff, #eef2f9);
  background-size: 200% 100%;
  animation: dc-shimmer 1.4s linear infinite;
}

@keyframes dc-shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ===== ADVANTAGES ===== */
.dc-adv {
  background: linear-gradient(180deg, #eef4ff, #f7faff);
}

.dc-adv__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dc-adv__photo {
  position: relative;
}

.dc-adv__photo img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.dc-adv__photo .dc-float {
  top: 16px;
  right: 16px;
}

.dc-adv__photo .dc-float strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.dc-adv__photo .dc-float span {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.dc-grid-6 {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.dc-feature {
  padding: 20px;
}

.dc-feature .dc-icon {
  margin-bottom: 14px;
}

.dc-feature h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.dc-feature p {
  margin-top: 6px !important;
  font-size: 13px;
  color: var(--muted);
}

/* ===== WHY AI ===== */
.dc-ai {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.dc-ai__img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 40% 40% var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.dc-ai__side h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.dc-ai__side p {
  margin-top: 8px !important;
  font-size: 14px;
  color: var(--muted);
}

.dc-growth {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.dc-growth strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.dc-growth span {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.dc-grid-4 {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dc-row-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.dc-row-card h3 {
  font-size: 15px;
  font-weight: 700;
}

.dc-row-card p {
  margin-top: 2px !important;
  font-size: 13px;
  color: var(--muted);
}

/* ===== AUDIENCE ===== */
.dc-people {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.dc-person {
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.dc-person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.dc-person img {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
  object-position: center 25%;
  background: linear-gradient(135deg, #dbe7ff, #b9cffc);
}

.dc-person__body {
  padding: 14px;
}

.dc-person h3 {
  font-size: 15px;
  font-weight: 700;
}

.dc-person p {
  margin-top: 4px !important;
  font-size: 13px;
  color: var(--muted);
}

/* ===== REVIEWS ===== */
.dc-grid-reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dc-review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 20px;
}

.dc-review[hidden] {
  display: none;
}

.dc-review blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.dc-review blockquote::before {
  content: "“";
  display: block;
  font-size: 36px;
  line-height: 0.8;
  color: var(--primary);
  font-weight: 800;
}

.dc-review figcaption {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.dc-review h4 {
  font-size: 14px;
  font-weight: 700;
}

.dc-review small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.dc-stars {
  margin-top: 2px;
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 1px;
}

/* ===== FAQ + CONTACT ===== */
.dc-help {
  display: grid;
  grid-template-columns: 1fr 0.62fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.dc-help .dc-title,
#trending .dc-title {
  font-size: clamp(22px, 2vw, 26px);
}

.dc-faq {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.dc-faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.dc-faq details[open] {
  border-color: #b9cdf7;
}

.dc-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.dc-faq summary::-webkit-details-marker {
  display: none;
}

.dc-faq summary i {
  color: var(--muted);
  font-size: 12px;
  transition: transform 0.25s var(--ease);
}

.dc-faq details[open] summary i {
  transform: rotate(45deg);
  color: var(--primary);
}

.dc-faq details p {
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--muted);
}

.dc-support {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #2563eb, #1e3a8a);
  color: #fff;
}

.dc-support h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.dc-support p {
  margin-top: 8px !important;
  font-size: 14px;
  color: #dbe6ff;
}

.dc-support .dc-btn {
  align-self: flex-start;
  margin-top: 18px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff !important;
}

.dc-support .dc-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.dc-support img {
  margin-top: auto;
  padding-top: 20px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 999px 999px 0 0;
}

.dc-form-card {
  padding: 24px;
}

.dc-form {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dc-field {
  display: grid;
  gap: 5px;
}

.dc-field--2 {
  grid-column: span 2;
}

.dc-field--full {
  grid-column: 1 / -1;
}

/* lead.js shows/hides #otherCourse; collapse its row while hidden */
.dc-field:has(> #otherCourse[style*="none"]) {
  display: none;
}

.dc-field label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.dc-field input,
.dc-field select,
.dc-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dc-field textarea {
  min-height: 84px;
  resize: vertical;
}

.dc-field input::placeholder,
.dc-field textarea::placeholder {
  color: #94a0b4;
}

.dc-field input:focus,
.dc-field select:focus,
.dc-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.dc-form .dc-btn {
  grid-column: 1 / -1;
  width: 100%;
}

.dc-contact-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.dc-contact-row > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dc-contact-row h4 {
  font-size: 13px;
  font-weight: 700;
}

.dc-contact-row p {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ===== FOOTER (shared partial, recoloured for this page) ===== */
.main-footer {
  background: #0b1736 !important;
}

.footer-socials a:hover,
.newsletter-form button {
  background: var(--blue) !important;
  color: #fff !important;
}

/* ===== REVEAL ===== */
.dc-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.dc-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .dc-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dc *,
  .dc *::before,
  .dc *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .dc-trending {
    grid-template-columns: repeat(3, 1fr);
  }

  .dc-perks {
    grid-column: 1 / -1;
    grid-template-columns: 0.6fr 1.4fr;
  }

  .dc-perks ul {
    grid-template-columns: 1fr 1fr;
  }

  .dc-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .dc-people {
    grid-template-columns: repeat(3, 1fr);
  }

  .dc-help {
    grid-template-columns: 1fr 1fr;
  }

  .dc-help > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  /* Closed drawer is display:none (not parked off-screen), so it can't widen the page on phones */
  .dc-nav__links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 72px 24px 24px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
  }

  .dc-nav__links.active {
    display: flex;
    animation: dc-drawer-in 0.3s var(--ease);
  }

  @keyframes dc-drawer-in {
    from {
      transform: translateX(100%);
    }
  }

  .dc-nav__links a {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
  }

  .dc-nav__links a.active::after {
    display: none;
  }

  .dc-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
  }

  .dc-nav__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dc-nav__actions {
    margin-left: auto;
  }

  .dc-hero__grid,
  .dc-adv__top,
  .dc-ai {
    grid-template-columns: 1fr;
  }

  .dc-hero__visual {
    max-width: 600px;
  }

  .dc-ai__img {
    max-width: 520px;
  }

  .dc-grid-3,
  .dc-grid-4,
  .dc-grid-reviews {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  :root {
    --section-y: 52px;
  }

  .dc-nav__inner {
    height: 64px;
    gap: 12px;
  }

  .dc-nav__logo img {
    height: 44px;
  }

  .dc-nav__cta {
    display: none;
  }

  .dc-nav__login {
    min-height: 40px;
    padding: 0 14px;
  }

  .dc-hero {
    padding: 32px 0 40px;
  }

  .dc-hero__text {
    font-size: 16px;
  }

  .dc-actions .dc-btn {
    flex: 1 1 100%;
  }

  .dc-stats {
    gap: 18px;
  }

  .dc-stat .dc-icon {
    display: none;
  }

  .dc-hero__visual {
    padding: 12px 0;
  }

  .dc-float {
    font-size: 12px;
    padding: 8px 10px;
  }

  .dc-float--top {
    left: 0;
    top: 0;
  }

  .dc-float--bottom {
    bottom: 4px;
  }

  .dc-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .dc-trending,
  .dc-grid-3,
  .dc-grid-reviews {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 82%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .dc-trending > *,
  .dc-grid-3 > *,
  .dc-grid-reviews > * {
    scroll-snap-align: start;
  }

  .dc-review[hidden] {
    display: flex;
  }

  .dc-more-reviews {
    display: none !important;
  }

  .dc-perks {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .dc-perks img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .dc-perks ul {
    grid-template-columns: 1fr;
  }

  .dc-grid-6,
  .dc-people {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .dc-feature {
    padding: 16px;
  }

  .dc-grid-4,
  .dc-help {
    grid-template-columns: 1fr;
  }

  .dc-support {
    flex-direction: row;
    align-items: flex-end;
    gap: 12px;
    padding: 20px 0 0 20px;
  }

  .dc-support > div {
    padding-bottom: 20px;
  }

  .dc-support img {
    width: 40%;
    padding-top: 0;
  }

  .dc-form {
    grid-template-columns: 1fr;
  }

  .dc-field--2 {
    grid-column: auto;
  }
}

/* ===== ALL PROGRAMS PAGE ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.dc-page-hero {
  padding: 48px 0;
}

.dc-page-hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}

.dc-page-hero h1 {
  margin-top: 14px;
  font-size: clamp(32px, 3.6vw, 46px);
}

.dc-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.dc-crumbs a {
  color: var(--primary);
  font-weight: 600;
}

.dc-crumbs i {
  font-size: 10px;
}

.dc-search {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 540px;
  padding: 0 18px;
  min-height: 54px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #d6e1fb;
  box-shadow: var(--shadow-sm);
  font-weight: 400;
  cursor: text;
}

.dc-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.dc-search i {
  color: var(--muted);
}

.dc-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--text);
}

.dc-page-hero__perks {
  display: grid;
  gap: 12px;
}

.dc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.dc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dc-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.dc-filter span {
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--muted);
}

.dc-filter:hover {
  border-color: var(--primary);
}

.dc-filter.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.dc-filter.is-active span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.dc-filter:focus-visible,
.dc-sort select:focus-visible {
  outline: 3px solid #93b4ff;
  outline-offset: 2px;
}

.dc-toolbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.dc-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.dc-sort select {
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.dc-programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dc-program {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.dc-program:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.dc-program__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-soft);
}

.dc-program__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.dc-program:hover .dc-program__cover img {
  transform: scale(1.04);
}

.dc-program__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}

.dc-chip-abs {
  position: absolute;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.dc-chip-abs--off {
  left: 12px;
  background: #e11d48;
  color: #fff;
}

.dc-chip-abs--time {
  right: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.dc-program__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.dc-program__body .dc-course__head h3 {
  font-size: 18px;
}

.dc-program__cat {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dc-program__emi {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--muted);
}

.dc-program__emi i {
  margin-right: 6px;
  color: var(--primary);
}

.dc-skeleton--tall {
  height: 460px;
}

.dc-empty {
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed #c9d6f2;
  border-radius: var(--radius-lg);
  background: #fff;
}

.dc-empty[hidden] {
  display: none;
}

.dc-empty .dc-icon {
  margin: 0 auto 14px;
}

.dc-empty h3 {
  font-size: 20px;
  font-weight: 800;
}

.dc-empty p {
  margin: 6px 0 18px !important;
  color: var(--muted);
}

.dc-empty a {
  color: var(--primary);
  font-weight: 600;
}

.dc-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  color: #fff;
}

.dc-cta h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.25;
}

.dc-cta p {
  margin-top: 8px !important;
  max-width: 560px;
  color: #dbe6ff;
}

.dc-btn--light {
  background: #fff;
  color: var(--primary) !important;
}

.dc-btn--light:hover {
  background: #eef4ff;
}

@media (max-width: 1024px) {
  .dc-page-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dc-page-hero__perks {
    grid-template-columns: repeat(3, 1fr);
  }

  .dc-programs {
    grid-template-columns: repeat(2, 1fr);
  }

  .dc-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .dc-toolbar__right {
    justify-content: space-between;
  }
}

@media (max-width: 700px) {
  .dc-page-hero {
    padding: 28px 0 36px;
  }

  .dc-page-hero__perks {
    display: none;
  }

  .dc-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -4%;
    padding: 0 4% 4px;
  }

  .dc-filter {
    flex-shrink: 0;
  }

  .dc-programs {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dc-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }

  .dc-cta__actions,
  .dc-cta .dc-btn {
    width: 100%;
  }
}

/* ===== ABOUT PAGE ===== */
.dc-statband {
  margin-top: -28px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.dc-statband > div {
  padding: 26px 20px;
  text-align: center;
}

.dc-statband > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.dc-statband strong {
  display: block;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.dc-statband span {
  font-size: 14px;
  color: #dbe6ff;
}

.dc-story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.dc-story__media {
  position: relative;
}

.dc-story__media img {
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.dc-story__media .dc-float {
  left: 20px;
  bottom: 20px;
}

.dc-story__points {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.dc-step-row {
  display: flex;
  gap: 14px;
}

.dc-step-row h3 {
  font-size: 16px;
  font-weight: 700;
}

.dc-step-row p {
  margin-top: 2px !important;
  font-size: 14px;
  color: var(--muted);
}

.dc-split-2 {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.dc-mini-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dc-mini-stats > div {
  padding: 16px;
  text-align: center;
}

.dc-mini-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.dc-mini-stats span {
  font-size: 13px;
  color: var(--muted);
}

/* ===== CONTACT PAGE ===== */
.dc-contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.dc-ticks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dc-ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.dc-ticks i {
  color: var(--green);
}

.dc-form-card--hero {
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.dc-form-card--hero h2 {
  font-size: 22px;
  font-weight: 800;
}

.dc-form-card--hero > p {
  margin-top: 4px !important;
  font-size: 14px;
  color: var(--muted);
}

.dc-form--2 {
  grid-template-columns: 1fr 1fr;
}

.dc-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dc-info {
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: var(--text) !important;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.dc-info:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c9d6f2;
}

.dc-info .dc-icon {
  margin-bottom: 16px;
}

.dc-info h3 {
  font-size: 17px;
  font-weight: 700;
}

.dc-info p {
  margin-top: 4px !important;
  font-size: 15px;
  color: var(--muted);
  overflow-wrap: anywhere;
  text-transform: capitalize;
}

.dc-info p#email {
  text-transform: none;
}

.dc-info__cta {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.dc-map {
  margin-top: 24px;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.dc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1024px) {
  .dc-story,
  .dc-split-2,
  .dc-contact-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .dc-statband {
    grid-template-columns: repeat(2, 1fr);
  }

  .dc-statband > div:nth-child(3) {
    border-left: 0;
  }

  .dc-statband > div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 700px) {
  .dc-statband {
    margin-top: -16px;
  }

  .dc-statband > div {
    padding: 18px 12px;
  }

  .dc-form--2,
  .dc-info-grid {
    grid-template-columns: 1fr;
  }

  .dc-form-card--hero {
    padding: 20px;
  }

  .dc-mini-stats > div {
    padding: 12px 6px;
  }

  .dc-map {
    height: 260px;
  }
}

/* ===== LOGIN / SIGN-UP MODAL (shared partial, restyled) ===== */
#loginModal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#loginModal .login-overlay {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

#loginModal .login-sidebar-box {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  max-width: 920px;
  height: auto;
  max-height: calc(100vh - 32px);
  padding: 0;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

#loginModal.showLogin .login-sidebar-box {
  right: auto;
  transform: none;
}

#loginModal .dc-auth-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 32px 0;
  background: linear-gradient(160deg, #2563eb, #1e3a8a);
  color: #fff;
}

#loginModal .dc-auth-aside__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 20px;
}

#loginModal .dc-auth-aside h3 {
  margin: 20px 0 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

#loginModal .dc-auth-aside p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #dbe6ff;
}

#loginModal .dc-auth-aside ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

#loginModal .dc-auth-aside li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

#loginModal .dc-auth-aside li i {
  color: #86efac;
}

#loginModal .dc-auth-aside img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

#loginModal .dc-auth-main {
  position: relative;
  padding: 36px;
  overflow-y: auto;
  max-height: calc(100vh - 32px);
  color: var(--text);
}

#loginModal .close-login {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
}

#loginModal .close-login:hover {
  border-color: var(--primary);
  color: var(--primary);
}

#loginModal .login-small-tag {
  gap: 8px;
  padding: 6px 12px;
  background: var(--tint);
  border: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#loginModal .login-small-tag span {
  background: var(--primary);
  box-shadow: none;
}

#loginModal .login-sidebar-top h2 {
  margin: 14px 0 8px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

#loginModal .login-sidebar-top p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

#loginModal .sidebar-login-form,
#loginModal .otp-login-form {
  flex-direction: column;
  gap: 14px;
}

#loginModal .login-input-box,
#loginModal .otp-input-box {
  display: grid;
  gap: 6px;
  margin: 0;
}

/* OTP field stays hidden until the script adds .showOtp after sending the OTP */
#loginModal .otp-field:not(.showOtp) {
  display: none;
}

/* The "OR" divider only belongs to the password view */
#loginModal .dc-auth-main:has(#otpLoginForm[style*="flex"]) #sidebarDiv1 {
  display: none !important;
}

#loginModal label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

#loginModal input:not([type="checkbox"]) {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 15px;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#loginModal input::placeholder {
  color: #94a0b4;
}

#loginModal input:not([type="checkbox"]):focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

#loginModal #lastEmailHint {
  color: var(--muted) !important;
  font-size: 12px;
}

#loginModal .login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

#loginModal .remember-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--muted);
}

#loginModal .remember-check input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  margin: 0;
}

#loginModal .login-options-row a,
#loginModal .signup-text a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

#loginModal .sidebar-login-btn,
#loginModal .verify-btn {
  width: 100%;
  min-height: 48px;
  margin: 4px 0 0;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
  cursor: pointer;
  transform: none;
}

#loginModal .sidebar-login-btn:hover,
#loginModal .verify-btn:hover {
  background: var(--primary-hover);
  transform: none;
  box-shadow: none;
}

#loginModal .otp-login-btn {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
  cursor: pointer;
  transform: none;
}

#loginModal .otp-login-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

#loginModal .back-login-btn {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#loginModal .back-login-btn:hover {
  color: var(--primary);
}

#loginModal .sidebar-divider {
  position: relative;
  margin: 18px 0;
  text-align: center;
}

#loginModal .sidebar-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

#loginModal .sidebar-divider span {
  position: relative;
  padding: 0 12px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

#loginModal .mobile-box {
  display: flex;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

#loginModal .mobile-box input {
  flex: 1;
  min-width: 0;
}

#loginModal #sendOtpBtn,
#loginModal #sendRegisterOtpBtn {
  flex-shrink: 0;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--tint);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

#loginModal #sendOtpBtn:hover,
#loginModal #sendRegisterOtpBtn:hover {
  background: #d9e6ff;
}

#loginModal .otp-top-box {
  text-align: center;
}

#loginModal .otp-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border: 0;
  border-radius: 16px;
  background: var(--tint);
  color: var(--primary);
  font-size: 24px;
  box-shadow: none;
}

#loginModal .otp-top-box h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

#loginModal .otp-top-box p {
  margin: 4px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

#loginModal .otp-success {
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  background: #e6f7ec;
  color: #15803d;
  font-size: 14px;
  font-weight: 600;
}

#loginModal .otp-timer,
#loginModal #timer,
#loginModal #reg_timer {
  color: var(--muted);
  font-size: 13px;
}

#loginModal .otp-timer span {
  color: var(--primary);
  font-weight: 700;
}

#loginModal .signup-text {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

#loginModal .blocked-box {
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

#loginModal .blocked-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #be123c;
}

#loginModal .blocked-box p {
  color: var(--muted);
}

#loginModal .blocked-box button {
  margin-top: 14px;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

#loginModal button:focus-visible,
#loginModal a:focus-visible {
  outline: 3px solid #93b4ff;
  outline-offset: 2px;
}

@media (max-width: 800px) {
  #loginModal .login-sidebar-box {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  #loginModal .dc-auth-aside {
    display: none;
  }
}

@media (max-width: 700px) {
  #loginModal {
    padding: 10px;
  }

  #loginModal .dc-auth-main {
    padding: 28px 20px 24px;
    max-height: calc(100vh - 20px);
  }

  #loginModal .login-sidebar-top h2 {
    font-size: 24px;
    padding-right: 40px;
  }
}

/* ===== CMS PAGES (/page/:slug) ===== */
.dc-prose {
  max-width: 820px;
  font-size: 17px;
  line-height: 1.75;
  color: #1f2937;
  overflow-wrap: anywhere;
}

.dc-prose h2,
.dc-prose h3,
.dc-prose h4 {
  margin: 1.6em 0 0.6em !important;
  color: var(--text);
  font-weight: 800;
  line-height: 1.25;
}

.dc-prose h2 { font-size: 28px; }
.dc-prose h3 { font-size: 22px; }
.dc-prose h4 { font-size: 18px; }

.dc-prose p {
  margin: 0 0 1em !important;
}

.dc-prose a {
  color: var(--primary);
  text-decoration: underline;
}

.dc-prose ul,
.dc-prose ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.dc-prose li {
  margin-bottom: 0.4em;
}

.dc-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1em 0;
}

.dc-prose table {
  width: 100%;
  margin: 1em 0;
  border-collapse: collapse;
  font-size: 15px;
}

.dc-prose th,
.dc-prose td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
}

.dc-prose th {
  background: var(--bg-soft);
}

.dc-prose blockquote {
  margin: 1em 0;
  padding: 12px 18px;
  border-left: 4px solid var(--primary);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.dc-prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: var(--radius);
}
