@font-face {
  font-family: "Thmanyah Sans";
  src: url("assets/fonts/thmanyah-sans/thmanyahsans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("assets/fonts/thmanyah-sans/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("assets/fonts/thmanyah-sans/thmanyahsans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("assets/fonts/thmanyah-sans/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("assets/fonts/thmanyah-sans/thmanyahsans-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("assets/fonts/thmanyah-serif-display/thmanyahserifdisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("assets/fonts/thmanyah-serif-display/thmanyahserifdisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("assets/fonts/thmanyah-serif-display/thmanyahserifdisplay-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Text";
  src: url("assets/fonts/thmanyah-serif-text/thmanyahseriftext-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-soft: #eef6f4;
  --text: #071b3b;
  --muted: #526173;
  --line: #d9e5e2;
  --accent: #9f1d35;
  --accent-strong: #681224;
  --accent-soft: #fde8ed;
  --warning: #b7791f;
  --warning-soft: #fff4dd;
  --shadow: 0 24px 70px rgba(7, 27, 59, 0.11);
  --font: "Thmanyah Sans", "Noto Sans Arabic", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --display: "Thmanyah Serif Display", "Thmanyah Sans", "Noto Sans Arabic", serif;
  --serif-text: "Thmanyah Serif Text", "Thmanyah Sans", "Noto Sans Arabic", serif;
}

html:lang(ja),
html:lang(ko),
html:lang(zh) {
  --font: "Thmanyah Sans", "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Sans CJK SC", "Segoe UI", Arial, sans-serif;
  --display: "Thmanyah Sans", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "Noto Serif CJK KR", "Noto Serif CJK SC", serif;
  overflow-wrap: anywhere;
}

html:lang(ur) {
  --font: "Thmanyah Sans", "Noto Nastaliq Urdu", "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --display: "Thmanyah Serif Display", "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(247, 250, 249, 0.68), rgba(247, 250, 249, 0.82) 520px, rgba(247, 250, 249, 0.96) 980px),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  text-align: start;
  overflow-x: hidden;
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}

.hero-motion {
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: -2;
  width: 100vw;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-motion::before,
.hero-motion::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-motion::before {
  background:
    repeating-linear-gradient(90deg, rgba(176, 218, 241, 0.105) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(176, 218, 241, 0.085) 0 1px, transparent 1px 32px),
    radial-gradient(circle at 14% 28%, rgba(13, 173, 153, 0.22), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(95, 80, 162, 0.24), transparent 30rem),
    linear-gradient(116deg, transparent 0 43%, rgba(68, 160, 190, 0.12) 48%, transparent 58% 100%);
  background-size: 32px 32px, 32px 32px, auto, auto, 230% 230%;
  background-position: 0 0, 0 0, center, center, 22% 0;
  opacity: 0.92;
  animation:
    heroGridDrift 18s linear infinite,
    heroBackdropTone 9s ease-in-out infinite alternate;
}

.hero-motion::after {
  inset: -28% 0;
  background:
    linear-gradient(180deg, transparent 0 42%, rgba(197, 229, 245, 0.22) 50%, transparent 58%),
    linear-gradient(90deg, transparent 0 36%, rgba(255, 255, 255, 0.12) 48%, transparent 60%);
  opacity: 0.72;
  animation: heroScanSweep 9s ease-in-out infinite alternate;
}

.hero-panel {
  position: absolute;
  border: 1px solid rgba(142, 197, 221, 0.14);
  background:
    repeating-linear-gradient(90deg, rgba(205, 226, 241, 0.16) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(205, 226, 241, 0.12) 0 1px, transparent 1px 24px),
    linear-gradient(135deg, rgba(0, 140, 122, 0.14), rgba(89, 73, 149, 0.14));
  opacity: 0.42;
  box-shadow: inset 0 0 28px rgba(89, 191, 206, 0.08);
  will-change: transform, filter, opacity;
  animation:
    heroPanelFloat var(--panel-speed, 17s) ease-in-out infinite alternate,
    heroPanelTone 6s ease-in-out infinite;
}

.hero-panel-a {
  top: 6%;
  left: -5%;
  width: 420px;
  height: 300px;
  --panel-speed: 15s;
}

.hero-panel-b {
  top: 4%;
  right: -3%;
  width: 520px;
  height: 420px;
  --panel-speed: 19s;
  animation-delay: -9s;
}

.hero-panel-c {
  right: 28%;
  bottom: -10%;
  width: 330px;
  height: 230px;
  opacity: 0.22;
  --panel-speed: 14s;
  animation-delay: -18s;
}

.hero-glyph {
  --dx: 0px;
  --glyph-speed: 16s;
  --glyph-color: rgba(160, 229, 222, 0.46);
  --glyph-glow: rgba(65, 211, 193, 0.34);
  position: absolute;
  top: -12%;
  min-width: 2.4ch;
  color: var(--glyph-color);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(14px, 1.55vw, 26px);
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0;
  text-shadow:
    0 0 18px var(--glyph-glow),
    0 0 36px var(--glyph-glow);
  white-space: nowrap;
  will-change: transform, opacity, color, filter;
  transition: color 360ms ease, text-shadow 360ms ease, filter 360ms ease;
  animation: heroGlyphDrift var(--glyph-speed) linear infinite;
}

.hero-glyph.is-swapping {
  filter: saturate(1.45) brightness(1.18);
}

.hero-glyph-1 {
  left: 8%;
  --dx: 38px;
  --glyph-speed: 13s;
  animation-delay: -4s;
}

.hero-glyph-2 {
  left: 20%;
  --dx: -26px;
  --glyph-color: rgba(188, 185, 242, 0.34);
  --glyph-glow: rgba(147, 132, 229, 0.3);
  --glyph-speed: 15s;
  animation-delay: -17s;
}

.hero-glyph-3 {
  left: 43%;
  --dx: 22px;
  --glyph-speed: 12s;
  animation-delay: -10s;
}

.hero-glyph-4 {
  left: 60%;
  --dx: -32px;
  --glyph-color: rgba(188, 185, 242, 0.34);
  --glyph-glow: rgba(147, 132, 229, 0.3);
  --glyph-speed: 14s;
  animation-delay: -23s;
}

.hero-glyph-5 {
  left: 77%;
  --dx: 26px;
  --glyph-speed: 13.5s;
  animation-delay: -14s;
}

.hero-glyph-6 {
  left: 90%;
  --dx: -42px;
  --glyph-color: rgba(188, 185, 242, 0.32);
  --glyph-glow: rgba(147, 132, 229, 0.28);
  --glyph-speed: 16s;
  animation-delay: -7s;
}

.hero-glyph-7 {
  left: 52%;
  --dx: 48px;
  --glyph-speed: 12.5s;
  animation-delay: -29s;
}

@keyframes heroGridDrift {
  0% {
    background-position: 0 0, 0 0, center, center, 22% 0;
  }
  100% {
    background-position: 128px 64px, -96px 160px, center, center, 82% 100%;
  }
}

@keyframes heroScanSweep {
  0% {
    transform: translate3d(-3%, -9%, 0);
  }
  100% {
    transform: translate3d(4%, 12%, 0);
  }
}

@keyframes heroBackdropTone {
  0% {
    filter: hue-rotate(0deg) saturate(1);
  }
  50% {
    filter: hue-rotate(18deg) saturate(1.14);
  }
  100% {
    filter: hue-rotate(-14deg) saturate(1.08);
  }
}

@keyframes heroPanelFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(46px, 30px, 0);
  }
}

@keyframes heroPanelTone {
  0%,
  100% {
    filter: hue-rotate(0deg) saturate(1);
  }
  45% {
    filter: hue-rotate(34deg) saturate(1.24);
  }
  72% {
    filter: hue-rotate(-24deg) saturate(1.12);
  }
}

@keyframes heroGlyphDrift {
  0% {
    opacity: 0;
    transform: translate3d(0, -18%, 0);
  }
  14% {
    opacity: 0.56;
  }
  42% {
    opacity: 0.34;
  }
  74% {
    opacity: 0.48;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--dx), 120vh, 0);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(217, 229, 226, 0.72);
  background: rgba(247, 250, 249, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
  gap: 8px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
}

.brand-mark {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.nav-links a,
.header-cta {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  color: var(--accent-strong);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 750;
}

.header-cta:hover,
.button:hover,
.task-panel button:hover {
  transform: translateY(-1px);
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  gap: 64px;
  min-height: 680px;
  padding: 88px 0 72px;
  color: #f5fbff;
}

.hero::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: -3;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.92), rgba(12, 41, 72, 0.9) 62%, rgba(14, 55, 82, 0.86)),
    radial-gradient(circle at 52% 20%, rgba(90, 142, 198, 0.28), transparent 26rem),
    #0b203b;
}

.hero > :not(.hero-motion) {
  position: relative;
  z-index: 1;
}

.course-name {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 18px;
  font-weight: 800;
}

.hero h1 {
  max-width: 730px;
  margin: 0;
  color: #f4f8ff;
  font-family: var(--display);
  font-size: 64px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  text-wrap: balance;
}

.hero .course-name {
  color: #72e2d1;
}

.hero-lede {
  max-width: 690px;
  margin: 26px 0 0;
  color: #d4e0ef;
  font-size: 21px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button.primary,
.form-button {
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--accent);
  color: var(--accent-strong);
}

.hero .button.secondary {
  border-color: rgba(137, 225, 213, 0.72);
  background: rgba(5, 23, 43, 0.38);
  color: #e7fffb;
  backdrop-filter: blur(10px);
}

.button.primary:hover,
.form-button:hover {
  background: var(--accent-strong);
}

.button.secondary:hover {
  background: rgba(223, 244, 239, 0.74);
}

.hero .button.secondary:hover {
  background: rgba(14, 73, 92, 0.58);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: #d6e2ef;
  list-style: none;
  font-size: 15px;
}

.hero-points li {
  position: relative;
  padding-inline-start: 18px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.system-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--text);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding-inline: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.preview-topbar span {
  width: 12px;
  height: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.preview-topbar button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  cursor: pointer;
}

.preview-body {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 404px;
}

.preview-caption {
  margin: 0;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
  background: #fbfdfc;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.preview-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-inline-end: 1px solid var(--line);
  background: #fbfdfc;
}

.preview-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  text-align: start;
}

.preview-menu button.active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.preview-content {
  padding: 18px;
}

.progress-number {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.progress-number span,
.task-panel span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.progress-number strong {
  color: var(--text);
  font-size: 34px;
  line-height: 1;
  direction: ltr;
  unicode-bidi: isolate;
}

.progress-track {
  height: 9px;
  margin: 16px 0 18px;
  border-radius: 99px;
  background: #e6ecea;
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #d35b72);
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.week-strip span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 750;
}

.week-strip .current {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.task-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.task-panel strong {
  display: block;
  margin: 6px 0 16px;
  font-size: 18px;
  line-height: 1.55;
}

.task-panel button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.trust-strip div {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  border-inline-start: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
  text-align: center;
}

.trust-strip div:first-child {
  border-inline-start: 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p,
.section-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 850;
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

h3,
p {
  margin-block-start: 0;
}

.problem-section,
.outcomes-section,
.how-section,
.curriculum-section,
.roles-section,
.fit-section,
.safety-section,
.faq-section,
.final-cta {
  padding-block: 86px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.problem-grid article {
  padding: 28px;
  border-inline-start: 1px solid var(--line);
}

.problem-grid article:first-child {
  border-inline-start: 0;
}

.icon-ring {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.icon-ring.warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.problem-grid h3,
.steps h3,
.roles-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.problem-grid p,
.steps p,
.roles-grid p,
.safety-section p,
.final-cta p {
  margin: 0;
  color: var(--muted);
}

.promise-band {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 54px;
  align-items: center;
  padding-block: 64px;
  border-block: 1px solid var(--line);
}

.promise-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.outcomes-grid article,
.steps article,
.roles-grid article,
.fit-column,
.safety-check,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.outcomes-grid article {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 24px;
}

.outcomes-grid strong {
  font-size: 19px;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article {
  padding: 26px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--text);
  color: white;
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0;
  border-block-start: 2px solid #a6d8d0;
  padding-top: 30px;
}

.timeline article {
  position: relative;
  padding-inline-end: 18px;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: -37px;
  inset-inline-start: 0;
  width: 14px;
  height: 14px;
  border: 5px solid var(--accent);
  border-radius: 50%;
  background: white;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 900;
}

.timeline h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.roles-grid article {
  padding: 24px;
}

.fit-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fit-column {
  padding: 32px;
}

.fit-column.muted {
  background: #fbf4e8;
  border-color: #eadbbd;
}

.fit-column h2 {
  font-size: 30px;
  margin-bottom: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-inline-start: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 15px;
  height: 15px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.muted-list li::before {
  border-color: var(--warning);
}

.safety-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: center;
  border-block: 1px solid var(--line);
}

.safety-section h2 {
  margin-top: 8px;
  margin-bottom: 18px;
}

.safety-check {
  padding: 30px;
  background: var(--warning-soft);
  border-color: #f0d49b;
}

.safety-check h3 {
  margin: 0 0 12px;
  color: #6f4a0b;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 22px;
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 800;
}

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

.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding-bottom: 22px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 48px;
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #007d70, #009b87);
  color: white;
}

.final-cta h2 {
  font-size: 38px;
}

.final-cta p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}

.signup-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 750;
}

.signup-form input {
  width: 100%;
  min-height: 52px;
  padding-inline: 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  outline: 0;
}

.signup-form input:focus {
  border-color: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.signup-form .checkbox-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.signup-form .checkbox-field input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--accent);
}

.form-button {
  min-height: 52px;
  background: var(--text);
}

.form-note {
  grid-column: 1 / -1;
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 28px;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-copy strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
}

.footer-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-copy a {
  color: var(--accent-strong);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

html[dir="ltr"] .brand,
html[dir="ltr"] .hero h1,
html[dir="ltr"] h2,
html[dir="ltr"] .footer-copy strong {
  font-family: "Thmanyah Serif Display", "Thmanyah Sans", Georgia, serif;
}

html[dir="ltr"] body {
  font-family: "Thmanyah Sans", Inter, "Segoe UI", Arial, sans-serif;
}

.article-page .site-header {
  position: sticky;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 58px;
  align-items: end;
  padding: 74px 0 48px;
}

.article-hero-copy {
  max-width: 820px;
}

.article-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 62px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.article-deck {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.75;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.article-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.article-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-visual figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 820px);
  gap: 56px;
  align-items: start;
  padding: 42px 0 86px;
}

.article-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.article-toc strong {
  margin-bottom: 8px;
  font-size: 15px;
}

.article-toc a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.article-toc a:hover {
  color: var(--accent-strong);
}

.article-body {
  min-width: 0;
}

.article-section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.article-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.article-section h2 {
  margin: 8px 0 18px;
  font-size: 40px;
}

.article-section > p:not(.section-label) {
  color: var(--text);
  font-family: var(--serif-text);
  font-size: 21px;
  line-height: 1.85;
}

.article-section > p:not(.section-label) + p:not(.section-label) {
  margin-top: 18px;
}

.editor-note,
.article-callout {
  border: 1px solid #a6d8d0;
  border-radius: 8px;
  background: rgba(223, 244, 239, 0.72);
}

.editor-note {
  margin-top: 28px;
  padding: 20px 22px;
  color: var(--accent-strong);
  font-weight: 800;
}

.rule-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.rule-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 6px 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.rule-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.rule-list h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.rule-list p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.before-after-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.before-after-grid article:nth-child(odd) {
  background: #fbf4e8;
  border-color: #eadbbd;
}

.before-after-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 15px;
}

.before-after-grid p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
}

.editorial-checklist {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: editorial;
}

.editorial-checklist li {
  counter-increment: editorial;
  position: relative;
  padding: 18px 62px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.editorial-checklist li::before {
  content: counter(editorial);
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--text);
  color: white;
  font-size: 14px;
  font-weight: 900;
}

.article-callout {
  padding: 30px;
}

.article-callout .button {
  width: fit-content;
  margin-top: 8px;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .system-preview {
    max-width: 620px;
  }

  .problem-grid,
  .outcomes-grid,
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-grid article:nth-child(3) {
    border-inline-start: 0;
  }

  .promise-band,
  .safety-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 42px;
  }

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

  .form-button {
    grid-column: 1 / -1;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .language-switcher {
    justify-content: flex-start;
  }

  .article-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-hero {
    gap: 28px;
    padding-top: 52px;
  }

  .article-visual {
    max-width: 620px;
  }

  .article-toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  body {
    background: linear-gradient(180deg, rgba(247, 250, 249, 0.72), rgba(247, 250, 249, 0.9)), var(--bg);
  }

  .hero-panel-a {
    left: -55%;
  }

  .hero-panel-b {
    right: -82%;
    opacity: 0.32;
  }

  .hero-panel-c {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
    padding-block: 48px 42px;
  }

  .course-name {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .hero-points {
    display: grid;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .preview-menu button {
    min-height: 48px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: 58px;
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
  }

  .trust-strip div:first-child {
    border-block-start: 0;
  }

  h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .problem-section,
  .outcomes-section,
  .how-section,
  .curriculum-section,
  .roles-section,
  .fit-section,
  .safety-section,
  .faq-section,
  .final-cta {
    padding-block: 58px;
  }

  .problem-grid,
  .outcomes-grid,
  .steps,
  .roles-grid,
  .fit-section,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .problem-grid article,
  .problem-grid article:nth-child(3) {
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
  }

  .problem-grid article:first-child {
    border-block-start: 0;
  }

  .timeline {
    grid-template-columns: 1fr;
    border-block-start: 0;
    padding-top: 0;
  }

  .timeline article {
    padding: 18px 18px 18px 0;
    border-inline-start: 2px solid #a6d8d0;
  }

  .timeline article::before {
    top: 20px;
    inset-inline-start: -8px;
  }

  .final-cta {
    width: min(100% - 28px, 1180px);
    padding: 26px;
  }

  .article-hero {
    padding-block: 36px 28px;
  }

  .article-hero h1 {
    font-size: 38px;
  }

  .article-deck,
  .article-section > p:not(.section-label) {
    font-size: 18px;
  }

  .article-layout {
    gap: 22px;
    padding-bottom: 58px;
  }

  .article-section {
    padding-block: 34px;
  }

  .article-section h2 {
    font-size: 30px;
  }

  .rule-list article,
  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .rule-list span {
    grid-row: auto;
  }

  .editorial-checklist li {
    padding-inline-start: 62px;
    padding-inline-end: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-motion,
  .hero-motion::before,
  .hero-motion::after,
  .hero-panel,
  .hero-glyph {
    animation: none !important;
  }

  .hero-motion::before,
  .hero-motion::after {
    transform: none !important;
  }

  .hero-glyph {
    opacity: 0.18;
    transform: none !important;
  }
}

/* Editorial playbook redesign */
:root {
  --paper: #f3efe4;
  --paper-2: #fffaf0;
  --ink: #111111;
  --charcoal: #252525;
  --accent: #ff4d21;
  --accent-strong: #cf3210;
  --accent-soft: #ffe25a;
  --green: #9f1d35;
  --muted: #55514a;
  --line: #111111;
  --surface: #fffaf0;
  --surface-soft: #f3efe4;
  --warning: #ff4d21;
  --warning-soft: #ffe25a;
  --shadow: 8px 8px 0 var(--ink);
  --font: "Thmanyah Sans", "Noto Sans Arabic", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --display: "Thmanyah Serif Display", "Thmanyah Sans", "Noto Sans Arabic", "IBM Plex Sans Arabic", serif;
  --serif-text: "Thmanyah Serif Text", "Thmanyah Sans", "Noto Sans Arabic", "IBM Plex Sans Arabic", serif;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
}

body > header,
body > main,
body > footer {
  z-index: 2;
}

.site-header {
  min-height: 76px;
  border-bottom: 3px solid var(--ink);
  background: rgba(243, 239, 228, 0.96);
  backdrop-filter: none;
}

.brand {
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
}

.brand-mark {
  display: inline-grid;
  min-width: 44px;
  min-height: 38px;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-links {
  gap: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.nav-links a {
  padding-block: 6px;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.header-cta,
.button,
.task-panel button,
.language-switcher a {
  border-radius: 0;
}

.header-cta {
  min-height: 44px;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 4px 4px 0 var(--accent);
}

.header-cta:hover,
.button:hover,
.task-panel button:hover {
  transform: translate(-2px, -2px);
}

html[dir="rtl"] .header-cta:hover,
html[dir="rtl"] .button:hover,
html[dir="rtl"] .task-panel button:hover {
  transform: translate(2px, -2px);
}

.section-shell {
  width: min(1240px, calc(100% - 48px));
}

.hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.72fr);
  gap: 46px;
  min-height: 720px;
  padding: 82px 0 78px;
  color: var(--ink);
  border-bottom: 3px solid var(--ink);
}

.hero::before {
  background: var(--paper);
}

.hero-motion {
  inset: 0;
  left: 0;
  right: 0;
  z-index: -2;
  width: auto;
  max-width: 100%;
  opacity: 1;
  transform: none;
  contain: paint;
}

.hero-motion::before {
  background:
    linear-gradient(90deg, transparent 0 70%, rgba(255, 77, 33, 0.12) 70% 100%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(17, 17, 17, 0.12) 31px 32px);
  opacity: 1;
  animation: none;
}

.hero-motion::after {
  inset: auto 0 0;
  height: 110px;
  background: var(--accent-soft);
  border-block: 3px solid var(--ink);
  opacity: 1;
  animation: none;
}

.hero-panel,
.hero-glyph {
  display: none;
}

.course-name,
.hero .course-name,
.section-heading p,
.section-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 3px solid var(--ink);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(56px, 8.2vw, 108px);
  font-weight: 950;
  line-height: 0.92;
  text-shadow: none;
  overflow-wrap: normal;
}

html[dir="rtl"] .hero h1 {
  width: 100%;
  max-width: 960px;
  margin-block-start: 22px;
  font-size: clamp(54px, 8.1vw, 108px);
  line-height: 1.2;
  text-wrap: balance;
  /* Thmanyah guide: OpenType stylistic set for extended Arabic letterforms. */
  font-feature-settings: "ss01" 1;
}

html[dir="rtl"] :where(.section-heading h2, .promise-band h2, .fit-column h2, .safety-section h2, .final-cta h2) {
  line-height: 1.14;
  font-feature-settings: "ss01" 1;
}

.hero-lede {
  max-width: 720px;
  margin-top: 28px;
  color: var(--charcoal);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 650;
  line-height: 1.45;
}

.hero-copy,
.system-preview {
  min-width: 0;
}

.hero-actions {
  gap: 14px;
  margin-block-start: 36px;
}

.button {
  min-height: 58px;
  padding: 0 24px;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 950;
}

.button.primary,
.form-button {
  background: var(--accent);
  color: var(--ink);
}

.button.primary:hover,
.form-button:hover {
  background: var(--accent-soft);
}

.button.secondary,
.hero .button.secondary {
  border-color: var(--ink);
  background: var(--paper-2);
  color: var(--ink);
  backdrop-filter: none;
}

.button.secondary:hover,
.hero .button.secondary:hover {
  background: var(--ink);
  color: var(--paper-2);
}

.hero-points {
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.hero-points li {
  padding: 6px 10px;
  border: 2px solid var(--ink);
  background: var(--paper-2);
}

.hero-points li::before {
  display: none;
}

.system-preview {
  align-self: stretch;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--ink);
  box-shadow: var(--shadow);
  min-width: 0;
}

.preview-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper-2);
}

.preview-topbar span {
  width: 18px;
  height: 18px;
  border: 3px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
}

.preview-topbar strong {
  min-width: 0;
  color: var(--paper-2);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}

.preview-topbar button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--paper-2);
  border-radius: 0;
  background: var(--accent-soft);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--paper-2);
}

.preview-body {
  grid-template-columns: minmax(156px, 0.82fr) minmax(0, 1.18fr);
  min-height: 462px;
  border-inline: 3px solid var(--ink);
  background: var(--paper-2);
}

.preview-menu {
  border-inline-end: 3px solid var(--ink);
  background: var(--paper-2);
  gap: 10px;
  padding: 16px 14px;
  min-width: 0;
}

.preview-menu button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  min-height: 64px;
  padding: 9px 10px;
  border: 3px solid transparent;
  border-radius: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  text-align: start;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.preview-menu button svg {
  width: 24px;
  height: 24px;
  padding: 3px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--ink);
}

.preview-menu button.active,
.preview-menu button:hover {
  border-color: var(--ink);
  background: var(--accent-soft);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.preview-menu button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.preview-menu button.active svg,
.preview-menu button:hover svg {
  border-color: var(--ink);
  background: var(--paper-2);
}

.preview-content {
  min-width: 0;
  padding: 16px;
  background:
    linear-gradient(90deg, rgba(255, 77, 33, 0.08) 0 33%, transparent 33% 100%),
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(17, 17, 17, 0.08) 29px 30px),
    var(--paper);
  overflow: hidden;
}

.progress-panel {
  display: grid;
  gap: 14px;
}

.progress-number,
.task-panel,
.week-strip span {
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--paper-2);
  min-width: 0;
}

.progress-number {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
  min-height: 126px;
  padding: 18px;
}

.progress-number strong {
  color: var(--ink);
  max-width: none;
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 950;
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-align: start;
}

.progress-number span,
.task-panel span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.task-panel {
  padding: 18px;
}

.task-panel strong {
  display: block;
  margin-block: 8px 14px;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.progress-track {
  height: 14px;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
}

.progress-track span {
  border-radius: 0;
  background: var(--accent);
}

.week-strip .current,
.task-panel button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-2);
}

.task-panel button {
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--accent);
  min-height: 46px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 950;
}

.preview-caption {
  border-top: 3px solid var(--ink);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.language-switcher {
  max-width: 820px;
}

.language-switcher a {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.15;
}

.trust-strip {
  border-block: 3px solid var(--ink);
  background: var(--ink);
}

.trust-strip div {
  min-height: 96px;
  border-inline-start: 3px solid var(--paper);
  color: var(--paper-2);
  font-size: 17px;
  font-weight: 950;
}

.trust-strip div:first-child {
  background: var(--accent);
  color: var(--ink);
}

.section-heading {
  max-width: 980px;
  gap: 12px;
  margin-bottom: 42px;
}

h2 {
  max-width: 980px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 950;
  line-height: 0.98;
}

.problem-section,
.outcomes-section,
.how-section,
.curriculum-section,
.roles-section,
.fit-section,
.safety-section,
.faq-section,
.final-cta {
  padding-block: 96px;
}

.problem-grid,
.outcomes-grid,
.steps,
.roles-grid,
.faq-list,
.timeline {
  counter-reset: editorial-card;
}

.problem-grid {
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  gap: 3px;
}

.problem-grid article,
.outcomes-grid article,
.steps article,
.roles-grid article,
.fit-column,
.safety-check,
.faq-list details {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--paper-2);
  box-shadow: none;
}

.problem-grid article {
  counter-increment: editorial-card;
  min-height: 300px;
  padding: 78px 24px 26px;
  border: 0;
}

.problem-grid article::before,
.outcomes-grid article::before,
.steps article::before,
.roles-grid article::before {
  content: counter(editorial-card, decimal-leading-zero);
  position: absolute;
  inset-block-start: 18px;
  inset-inline-start: 22px;
  color: var(--accent);
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
}

.icon-ring {
  display: none;
}

.problem-grid h3,
.steps h3,
.roles-grid h3,
.outcomes-grid strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
}

.problem-grid p,
.steps p,
.roles-grid p,
.safety-section p,
.final-cta p,
.outcomes-grid span,
.timeline p,
.check-list li,
.faq-list p {
  color: var(--charcoal);
  font-weight: 550;
}

.promise-band {
  grid-template-columns: 1fr 0.88fr;
  gap: 46px;
  padding: 58px 36px;
  border: 3px solid var(--ink);
  background: var(--accent-soft);
  box-shadow: var(--shadow);
}

.promise-band p:last-child {
  color: var(--ink);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.42;
}

.outcomes-section {
  background: var(--ink);
  box-shadow: 0 0 0 100vmax var(--ink);
  clip-path: inset(0 -100vmax);
}

.outcomes-section h2 {
  color: var(--paper-2);
}

.outcomes-section .section-heading p {
  background: var(--accent);
}

.outcomes-grid {
  gap: 0;
  border: 3px solid var(--paper-2);
  background: var(--paper-2);
}

.outcomes-grid article {
  counter-increment: editorial-card;
  min-height: 178px;
  padding: 74px 22px 24px;
  border-width: 0 3px 3px 0;
}

html[dir="rtl"] .outcomes-grid article {
  border-width: 0 0 3px 3px;
}

.outcomes-grid article:hover,
.roles-grid article:hover,
.faq-list details:hover {
  background: var(--accent-soft);
}

.steps {
  gap: 0;
  border: 3px solid var(--ink);
  background: var(--ink);
}

.steps article {
  counter-increment: editorial-card;
  min-height: 260px;
  padding: 94px 28px 28px;
  border: 0;
}

.steps article + article {
  border-inline-start: 3px solid var(--ink);
}

.steps span {
  display: none;
}

.timeline {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 3px solid var(--ink);
  padding-top: 0;
  background: var(--ink);
}

.timeline article {
  min-height: 230px;
  padding: 26px;
  border: 0;
  background: var(--paper-2);
}

.timeline article:nth-child(2n) {
  background: var(--paper);
}

.timeline article::before {
  display: none;
}

.timeline article + article {
  border-inline-start: 3px solid var(--ink);
}

.timeline article:nth-child(3n + 1) {
  border-inline-start: 0;
}

.timeline article:nth-child(n + 4) {
  border-block-start: 3px solid var(--ink);
}

.timeline span {
  width: auto;
  height: auto;
  margin-bottom: 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font-size: 46px;
  font-weight: 950;
}

.timeline h3 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
}

.roles-grid {
  gap: 0;
  border: 3px solid var(--ink);
  background: var(--ink);
}

.roles-grid article {
  counter-increment: editorial-card;
  min-height: 210px;
  padding: 72px 24px 24px;
  border-width: 0 3px 3px 0;
}

html[dir="rtl"] .roles-grid article {
  border-width: 0 0 3px 3px;
}

.fit-section {
  gap: 0;
  border: 3px solid var(--ink);
  background: var(--ink);
}

.fit-column {
  border: 0;
  padding: 38px;
}

.fit-column + .fit-column {
  border-inline-start: 3px solid var(--ink);
}

.fit-column.muted {
  background: var(--accent-soft);
  border-color: var(--ink);
}

.fit-column h2 {
  font-size: clamp(32px, 3.6vw, 46px);
}

.check-list li::before {
  width: 17px;
  height: 17px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--accent);
}

.muted-list li::before {
  background: var(--paper-2);
}

.safety-section {
  grid-template-columns: 1fr 440px;
  border: 3px solid var(--ink);
  background: var(--paper-2);
  box-shadow: var(--shadow);
  padding-inline: 34px;
}

.safety-check {
  border: 3px solid var(--ink);
  background: var(--accent);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.safety-check h3 {
  color: var(--ink);
  font-size: 26px;
  font-weight: 950;
}

.faq-list {
  gap: 0;
  border: 3px solid var(--ink);
  background: var(--ink);
}

.faq-list details {
  border: 0;
  border-bottom: 3px solid var(--ink);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  min-height: 76px;
  font-size: 20px;
  font-weight: 950;
}

.faq-list summary::after {
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--accent-soft);
  color: var(--ink);
}

.final-cta {
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--paper-2);
}

.final-cta h2 {
  color: var(--paper-2);
  font-size: clamp(40px, 5vw, 68px);
}

.final-cta p {
  color: rgba(255, 250, 240, 0.78);
}

.signup-form label {
  color: var(--paper-2);
  font-weight: 950;
}

.signup-form input {
  border: 3px solid var(--paper-2);
  border-radius: 0;
  background: var(--paper-2);
  color: var(--ink);
}

.signup-form input:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--accent);
}

.site-footer {
  border-top: 3px solid var(--ink);
  background: var(--paper-2);
}

.footer-copy strong {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 950;
}

.language-switcher a {
  border: 3px solid var(--ink);
  background: var(--paper-2);
  color: var(--ink);
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-2);
}

.cookie-banner {
  position: fixed;
  inset-inline-start: 24px;
  inset-block-end: 24px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(600px, calc(100vw - 48px));
  padding: 18px;
  border: 3px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 7px 7px 0 var(--ink);
  color: var(--ink);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease;
}

html[dir="rtl"] .cookie-banner {
  inset-inline-start: auto;
  inset-inline-end: 24px;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner.is-hiding {
  opacity: 0;
  transform: translateY(16px);
}

.cookie-banner h2 {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.25;
}

.cookie-banner p {
  margin: 0;
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-actions button {
  min-height: 44px;
  padding: 0 14px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

.cookie-actions button[data-cookie-choice="accept"] {
  background: var(--accent);
}

.cookie-actions button:hover {
  transform: translate(-2px, -2px);
}

html[dir="rtl"] .cookie-actions button:hover {
  transform: translate(2px, -2px);
}

html[dir="ltr"] .brand,
html[dir="ltr"] .hero h1,
html[dir="ltr"] h2,
html[dir="ltr"] .footer-copy strong {
  font-family: "Thmanyah Serif Display", "Thmanyah Sans", Georgia, serif;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding-block: 62px 56px;
  }

  .hero-motion::before {
    background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(17, 17, 17, 0.08) 31px 32px);
  }

  .hero-motion::after {
    height: 78px;
  }

  .system-preview {
    max-width: 680px;
  }

  .problem-grid,
  .outcomes-grid,
  .roles-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline article:nth-child(3n + 1) {
    border-inline-start: 3px solid var(--ink);
  }

  .timeline article:nth-child(2n + 1) {
    border-inline-start: 0;
  }

  .timeline article:nth-child(3) {
    border-block-start: 3px solid var(--ink);
  }

  .safety-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 14px;
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    min-width: 38px;
    min-height: 34px;
  }

  .hero {
    padding-block: 44px 42px;
  }

  .hero h1 {
    font-size: clamp(38px, 10.8vw, 50px);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  html[dir="rtl"] .hero h1 {
    margin-block-start: 18px;
    font-size: clamp(40px, 11.2vw, 54px);
    line-height: 1.24;
    max-width: 100%;
  }

  .hero-lede {
    font-size: 19px;
  }

  .course-name,
  .hero .course-name,
  .section-heading p,
  .section-label {
    max-width: 100%;
    font-size: 12px;
    white-space: normal;
  }

  .system-preview,
  .promise-band,
  .safety-section,
  .final-cta {
    max-width: 100%;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .preview-body,
  .promise-band,
  .problem-grid,
  .outcomes-grid,
  .steps,
  .roles-grid,
  .fit-section,
  .safety-section,
  .final-cta,
  .timeline,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .preview-menu {
    grid-template-columns: 1fr 1fr;
    border-inline-end: 0;
    border-bottom: 3px solid var(--ink);
  }

  .preview-menu button {
    min-height: 58px;
    grid-template-columns: 26px minmax(0, 1fr);
    font-size: 13px;
  }

  .preview-content {
    padding: 12px;
  }

  .progress-number {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
  }

  .progress-number strong {
    max-width: none;
    text-align: start;
  }

  .problem-grid article + article,
  .steps article + article,
  .roles-grid article,
  .outcomes-grid article,
  .timeline article,
  .fit-column + .fit-column {
    border-inline-start: 0;
    border-inline-end: 0;
    border-block-start: 3px solid var(--ink);
  }

  .problem-grid article:first-child,
  .outcomes-grid article:first-child,
  .steps article:first-child,
  .roles-grid article:first-child,
  .timeline article:first-child {
    border-block-start: 0;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: 62px;
    border-inline-start: 0;
    border-block-start: 3px solid var(--paper);
  }

  .trust-strip div:first-child {
    border-block-start: 0;
  }

  .promise-band,
  .safety-section,
  .final-cta {
    padding: 24px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    inset-inline: 14px;
    inset-block-end: 14px;
    width: auto;
    max-height: calc(100vh - 28px);
    overflow: auto;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions button {
    width: 100%;
  }
}

/* Calm readability pass: simpler layout for a busy adult reader. */
:root {
  --paper: #f7f3ea;
  --paper-2: #fffdf7;
  --ink: #151515;
  --charcoal: #303030;
  --accent: #f15a24;
  --accent-soft: #ffe36d;
  --muted: #65615a;
  --line: #ded7c8;
  --surface: #fffdf7;
  --surface-soft: #f2eadc;
  --shadow: none;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.site-header {
  min-height: 74px;
  border-bottom: 1px solid var(--ink);
  background: rgba(247, 243, 234, 0.97);
}

.brand {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 950;
}

.brand-mark {
  min-width: 42px;
  min-height: 36px;
  border: 2px solid var(--ink);
  box-shadow: none;
}

.nav-links {
  gap: 28px;
  font-size: 15px;
}

.header-cta,
.button,
.task-panel button,
.language-switcher a {
  border-radius: 8px;
}

.header-cta {
  min-height: 46px;
  border: 2px solid var(--ink);
  box-shadow: none;
}

.section-shell {
  width: min(1040px, calc(100% - 40px));
}

.hero {
  grid-template-columns: 1fr;
  gap: 34px;
  min-height: auto;
  padding: 80px 0 70px;
  border-bottom: 1px solid var(--line);
}

.hero-motion {
  display: none;
}

.hero-copy,
.system-preview {
  max-width: 860px;
}

.course-name,
.hero .course-name,
.section-heading p,
.section-label {
  padding: 6px 10px;
  border: 1px solid var(--ink);
  background: var(--accent-soft);
  font-size: 13px;
  letter-spacing: 0;
}

.hero h1,
html[dir="rtl"] .hero h1,
html[dir="ltr"] .hero h1 {
  max-width: 820px;
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

html[dir="rtl"] .hero h1 {
  line-height: 1.28;
}

.hero-lede {
  max-width: 760px;
  margin-top: 22px;
  color: var(--charcoal);
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 700;
  line-height: 1.65;
}

.hero-actions {
  gap: 12px;
  margin-block-start: 30px;
}

.button {
  min-height: 56px;
  padding-inline: 22px;
  border: 2px solid var(--ink);
  box-shadow: none;
  font-size: 17px;
}

.button.primary,
.form-button {
  background: var(--accent);
  color: var(--ink);
}

.button.secondary,
.hero .button.secondary {
  background: var(--paper-2);
}

.hero-points {
  gap: 10px;
  margin-block-start: 24px;
}

.hero-points li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 16px;
  font-weight: 800;
}

.system-preview {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffbf0;
  box-shadow: none;
  color: var(--ink);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  min-height: 0;
  padding: 22px 24px 6px;
  border-bottom: 0;
  background: transparent;
  color: var(--ink);
}

.preview-topbar span,
.preview-topbar button {
  display: none;
}

.preview-topbar strong {
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  text-align: start;
}

.preview-body {
  display: block;
  min-height: 0;
  border: 0;
  background: transparent;
}

.preview-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 24px 8px;
  border: 0;
  background: transparent;
}

.preview-menu button {
  grid-template-columns: 1fr;
  min-height: auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  box-shadow: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  text-align: start;
  cursor: default;
  pointer-events: none;
}

.preview-menu button.active,
.preview-menu button:hover {
  border-color: var(--line);
  background: var(--paper-2);
  box-shadow: none;
}

.preview-menu button svg,
.preview-menu button.active svg,
.preview-menu button:hover svg {
  display: none;
}

.preview-content {
  display: none;
}

.preview-caption {
  margin: 8px 24px 24px;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  background: #fff7cf;
  color: var(--charcoal);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.7;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1040px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: 0 0 44px;
  border: 0;
  background: transparent;
}

.trust-strip div,
.trust-strip div:first-child {
  min-height: auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.problem-section,
.outcomes-section,
.how-section,
.curriculum-section,
.roles-section,
.fit-section,
.safety-section,
.faq-section,
.final-cta {
  padding-block: 70px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

h2,
html[dir="ltr"] h2 {
  max-width: 780px;
  font-family: var(--font);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.22;
  letter-spacing: 0;
}

html[dir="rtl"] :where(.section-heading h2, .promise-band h2, .fit-column h2, .safety-section h2, .final-cta h2) {
  line-height: 1.32;
}

.problem-grid,
.outcomes-grid,
.steps,
.roles-grid,
.faq-list {
  gap: 14px;
}

.problem-grid article,
.outcomes-grid article,
.steps article,
.roles-grid article,
.faq-list details,
.timeline article,
.fit-column,
.safety-check,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  box-shadow: none;
}

.problem-grid article,
.steps article,
.roles-grid article,
.outcomes-grid article {
  padding: 24px;
}

.problem-grid article::before,
.outcomes-grid article::before,
.timeline article::before {
  display: none;
}

.icon-ring {
  border: 1px solid var(--line);
  background: var(--paper);
}

.problem-grid h3,
.outcomes-grid strong,
.timeline h3,
.roles-grid h3,
.steps h3 {
  font-size: 22px;
  line-height: 1.35;
}

.problem-grid p,
.outcomes-grid span,
.timeline p,
.roles-grid p,
.steps p,
.faq-list p,
.final-cta p,
.safety-section p,
.promise-band p {
  font-size: 18px;
  line-height: 1.75;
}

.promise-band,
.safety-section,
.fit-section,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  box-shadow: none;
}

.timeline {
  grid-template-columns: 1fr;
  gap: 10px;
}

.timeline article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 16px;
  padding: 20px;
}

.timeline span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--ink);
}

.timeline article:nth-child(2n) {
  transform: none;
}

.timeline article + article,
.timeline article:nth-child(3n + 1),
.timeline article:nth-child(n + 4) {
  border-block-start: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.fit-section {
  gap: 0;
}

.fit-column {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.fit-column + .fit-column {
  border-inline-start: 1px solid var(--line);
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  font-size: 19px;
  line-height: 1.45;
}

.signup-form input {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.cookie-banner {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  width: min(500px, calc(100vw - 48px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  box-shadow: none;
}

.cookie-banner h2 {
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 1.3;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.55;
}

.cookie-actions {
  gap: 8px;
}

.cookie-actions button {
  min-height: 40px;
  padding-inline: 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: none;
}

.cookie-actions button:hover,
html[dir="rtl"] .cookie-actions button:hover {
  transform: none;
}

@media (max-width: 980px) {
  .preview-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-grid,
  .outcomes-grid,
  .roles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-block: 52px 44px;
  }

  .hero h1,
  html[dir="rtl"] .hero h1,
  html[dir="ltr"] .hero h1 {
    font-size: clamp(36px, 10.8vw, 48px);
    line-height: 1.18;
  }

  html[dir="rtl"] .hero h1 {
    line-height: 1.34;
  }

  .hero-lede {
    font-size: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .preview-menu {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .preview-topbar {
    padding-inline: 18px;
  }

  .preview-caption {
    margin-inline: 18px;
  }

  .timeline article {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 18px;
  }

  .fit-section {
    grid-template-columns: 1fr;
  }

  .fit-column + .fit-column {
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
  }

  .cookie-banner {
    inset-inline: 12px;
    inset-block-end: 12px;
    grid-template-columns: 1fr;
    width: auto;
    gap: 10px;
    padding: 12px;
  }

  .cookie-banner h2 {
    font-size: 20px;
  }

  .cookie-banner p {
    font-size: 13px;
    line-height: 1.45;
  }

  .cookie-actions {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-actions button {
    min-height: 38px;
    padding-inline: 10px;
    width: 100%;
  }
}

/* Clarity pass: calmer layout for adult professionals who do not want a technical dashboard. */
:root {
  --paper: #f8f4ec;
  --paper-2: #fffdf8;
  --ink: #191817;
  --charcoal: #403b35;
  --muted: #716a60;
  --line: #ddd3c4;
  --accent: #9f1d35;
  --accent-strong: #681224;
  --accent-soft: #fde8ed;
  --notice: #f3d85f;
  --surface: #fffdf8;
  --surface-soft: #f1eadf;
}

html {
  scroll-padding-top: 92px;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(248, 244, 236, 0) 420px),
    var(--paper);
  color: var(--ink);
  font-size: clamp(17px, 0.9rem + 0.18vw, 19px);
  line-height: 1.68;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 74%, white);
  outline-offset: 3px;
}

.site-header {
  min-height: 72px;
  padding-inline: clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(25, 24, 23, 0.18);
  background: rgba(248, 244, 236, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 700;
}

.brand-mark {
  min-width: 40px;
  min-height: 36px;
  border: 1px solid var(--accent-strong);
  border-radius: 9px;
  background: var(--accent);
  color: #fffdf8;
  box-shadow: none;
}

.nav-links {
  gap: clamp(18px, 3vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  color: var(--charcoal);
}

.nav-links a:hover {
  color: var(--accent-strong);
}

.header-cta,
.button,
.task-panel button,
.language-switcher a {
  border-radius: 10px;
}

.header-cta {
  min-height: 44px;
  padding-inline: 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-2);
  font-size: 16px;
  box-shadow: none;
}

.section-shell {
  width: min(1120px, calc(100% - 48px));
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 72px);
  min-height: calc(100svh - 72px);
  padding-block: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 670px;
}

.system-preview {
  width: min(100%, 430px);
  max-width: 430px;
  justify-self: end;
}

html[dir="rtl"] .system-preview {
  justify-self: start;
}

.course-name,
.hero .course-name,
.section-heading p,
.section-label {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 54%, var(--line));
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: normal;
}

.hero h1,
html[dir="rtl"] .hero h1,
html[dir="ltr"] .hero h1 {
  max-width: 670px;
  margin-block-start: 20px;
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

html[dir="rtl"] .hero h1 {
  font-size: clamp(43px, 5.2vw, 66px);
  line-height: 1.34;
}

.hero-lede {
  max-width: 58ch;
  margin-block-start: 20px;
  color: var(--charcoal);
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.78;
}

.hero-actions {
  gap: 12px;
  margin-block-start: 28px;
}

.button {
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  box-shadow: none;
  font-size: 17px;
  font-weight: 800;
}

.button svg,
.header-cta svg {
  width: 19px;
  height: 19px;
}

.button.primary,
.form-button {
  border-color: var(--accent-strong);
  background: var(--accent);
  color: #fffdf8;
}

.button.primary:hover,
.form-button:hover {
  background: var(--accent-strong);
}

.button.secondary,
.hero .button.secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
}

.hero-points {
  gap: 8px;
  margin-block-start: 20px;
}

.hero-points li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 700;
}

.system-preview {
  align-self: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 48px rgba(25, 24, 23, 0.07);
}

.preview-topbar {
  display: block;
  padding: 0;
}

.preview-topbar span,
.preview-topbar button {
  display: none;
}

.preview-topbar strong {
  display: block;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.35;
}

.preview-body {
  display: block;
}

.preview-menu {
  counter-reset: preview;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.preview-menu li {
  counter-increment: preview;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffaf0;
  color: var(--charcoal);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
}

.preview-menu li::before {
  content: counter(preview);
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.preview-content {
  display: none !important;
}

.preview-caption {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--notice) 36%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--notice) 22%, white);
  color: var(--charcoal);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.68;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1120px, calc(100% - 48px));
  margin: 26px auto 0;
  padding-block-end: 46px;
}

.trust-strip div,
.trust-strip div:first-child {
  min-height: auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.7);
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 700;
}

.problem-section,
.outcomes-section,
.how-section,
.curriculum-section,
.roles-section,
.fit-section,
.safety-section,
.faq-section,
.final-cta {
  padding-block: clamp(58px, 7vw, 84px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

h2,
html[dir="ltr"] h2 {
  max-width: 760px;
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0;
  text-wrap: balance;
}

html[dir="rtl"] :where(.section-heading h2, .promise-band h2, .fit-column h2, .safety-section h2, .final-cta h2) {
  line-height: 1.36;
}

.problem-grid,
.outcomes-grid,
.steps,
.roles-grid,
.faq-list {
  gap: 14px;
}

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

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

.problem-grid article,
.outcomes-grid article,
.steps article,
.roles-grid article,
.faq-list details,
.timeline article,
.fit-column,
.safety-check,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: none;
}

.problem-grid article,
.steps article,
.roles-grid article,
.outcomes-grid article {
  padding: 22px;
}

.icon-ring {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.problem-grid h3,
.outcomes-grid strong,
.timeline h3,
.roles-grid h3,
.steps h3 {
  color: var(--ink);
  font-size: 21px;
  font-weight: 750;
  line-height: 1.4;
}

.problem-grid p,
.outcomes-grid span,
.timeline p,
.roles-grid p,
.steps p,
.faq-list p,
.final-cta p,
.safety-section p,
.promise-band p,
.check-list li {
  color: var(--charcoal);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.72;
  text-wrap: pretty;
}

.promise-band,
.safety-section,
.fit-section,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: none;
}

.promise-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  align-items: center;
  gap: 28px;
}

.timeline {
  grid-template-columns: 1fr;
  gap: 10px;
}

.timeline article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 16px;
  padding: 18px 20px;
}

.timeline span {
  width: 38px;
  height: 38px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.fit-section {
  overflow: hidden;
}

.fit-column {
  padding: clamp(24px, 3vw, 34px);
}

.fit-column + .fit-column {
  border-inline-start: 1px solid var(--line);
}

.faq-list summary {
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
}

.signup-form {
  gap: 14px;
  padding: 22px;
}

.signup-form label span {
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 750;
}

.signup-form input {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.language-switcher a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.7);
  color: var(--charcoal);
  font-size: 14px;
  box-shadow: none;
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.cookie-banner {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: min(420px, calc(100vw - 40px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 16px 42px rgba(25, 24, 23, 0.12);
}

html[dir="ltr"] .cookie-banner {
  inset-inline-start: auto;
  inset-inline-end: 24px;
}

html[dir="rtl"] .cookie-banner {
  inset-inline-start: 24px;
  inset-inline-end: auto;
}

html[dir] .cookie-banner h2 {
  margin: 0 0 3px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0;
}

html[dir] .cookie-banner p {
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.cookie-actions button {
  min-height: 38px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  font-size: 13px;
  font-weight: 750;
}

.cookie-actions button[data-cookie-choice="accept"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fffdf8;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-block: 48px 54px;
  }

  .hero-copy,
  .system-preview {
    max-width: 720px;
  }

  .system-preview,
  html[dir="rtl"] .system-preview {
    width: 100%;
    justify-self: stretch;
  }

  .steps,
  .problem-grid,
  .outcomes-grid,
  .roles-grid {
    grid-template-columns: 1fr;
  }

  .promise-band,
  .safety-section,
  .final-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  .section-shell,
  .trust-strip {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    min-width: 38px;
    min-height: 34px;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 15px;
  }

  .hero {
    gap: 28px;
    padding-block: 36px 42px;
  }

  .course-name,
  .hero .course-name,
  .section-heading p,
  .section-label {
    font-size: 13px;
  }

  .hero h1,
  html[dir="rtl"] .hero h1,
  html[dir="ltr"] .hero h1 {
    margin-block-start: 18px;
    font-size: clamp(36px, 10.2vw, 46px);
    line-height: 1.18;
  }

  html[dir="rtl"] .hero h1 {
    line-height: 1.36;
  }

  .hero-lede {
    font-size: 18px;
    line-height: 1.75;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    margin-block-start: 24px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    font-size: 16px;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .system-preview {
    padding: 18px;
    border-radius: 16px;
  }

  .preview-topbar strong {
    font-size: 22px;
  }

  .preview-menu li {
    min-height: 50px;
    font-size: 16px;
  }

  h2,
  html[dir="ltr"] h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .problem-grid article,
  .steps article,
  .roles-grid article,
  .outcomes-grid article,
  .faq-list details,
  .timeline article {
    padding: 18px;
  }

  .timeline article {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .fit-section {
    grid-template-columns: 1fr;
  }

  .fit-column + .fit-column {
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
  }

  .cookie-banner {
    inset-inline: 12px;
    inset-block-end: 12px;
    grid-template-columns: 1fr;
    width: auto;
    gap: 9px;
    padding: 12px;
  }

  html[dir] .cookie-banner h2 {
    font-size: 14px;
  }

  html[dir] .cookie-banner p {
    font-size: 12px;
    line-height: 1.45;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cookie-actions button {
    width: 100%;
    min-height: 36px;
    padding-inline: 8px;
  }
}

/* Simpler first-screen flow: let the visitor understand the offer before seeing details. */
.hero {
  grid-template-columns: 1fr;
  place-items: center;
  gap: 30px;
  min-height: auto;
  padding-block: clamp(58px, 8vw, 92px) 42px;
}

.hero-copy {
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

html[dir="rtl"] .hero-copy,
html[dir="ltr"] .hero-copy {
  text-align: center;
}

.hero h1,
html[dir="rtl"] .hero h1,
html[dir="ltr"] .hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 4.8vw, 60px);
}

html[dir="rtl"] .hero h1 {
  line-height: 1.36;
}

.hero-lede {
  max-width: 58ch;
  font-size: clamp(18px, 1.45vw, 21px);
}

.hero-actions,
.hero-points {
  justify-content: center;
}

.system-preview {
  width: min(100%, 820px);
  max-width: 820px;
  justify-self: center;
  align-self: auto;
  margin-block-start: 4px;
  padding: 22px;
}

html[dir="rtl"] .system-preview {
  justify-self: center;
}

.preview-topbar strong {
  text-align: center;
}

.preview-menu {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.preview-menu li {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 100px;
  text-align: center;
}

.preview-caption {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}

.trust-strip {
  justify-content: center;
  margin-block-start: 18px;
}

.cookie-banner {
  left: 24px;
  right: 24px;
  inset-inline-start: auto;
  inset-inline-end: auto;
  inset-block-end: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  width: auto;
  max-width: 760px;
  margin-inline: auto;
  padding: 10px 12px;
  transform: none;
}

html[dir="rtl"] .cookie-banner,
html[dir="ltr"] .cookie-banner {
  left: 24px;
  right: 24px;
  inset-inline-start: auto;
  inset-inline-end: auto;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner.is-hiding {
  transform: translateY(12px);
}

.cookie-banner h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html[dir] .cookie-banner p {
  font-size: 12px;
  line-height: 1.35;
}

.cookie-actions {
  display: flex;
  align-items: center;
}

.cookie-actions button {
  min-height: 34px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .preview-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-menu li {
    min-height: 76px;
  }
}

@media (max-width: 720px) {
  .hero {
    gap: 24px;
    padding-block: 34px 34px;
  }

  .hero-copy {
    justify-items: stretch;
    text-align: start;
  }

  html[dir="rtl"] .hero-copy,
  html[dir="ltr"] .hero-copy {
    text-align: start;
  }

  .course-name,
  .hero .course-name {
    justify-self: center;
  }

  .hero h1,
  html[dir="rtl"] .hero h1,
  html[dir="ltr"] .hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.4vw, 42px);
    text-align: center;
  }

  .hero-lede {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: stretch;
  }

  .hero-points {
    justify-content: stretch;
  }

  .hero-points li {
    text-align: center;
  }

  .system-preview {
    padding: 16px;
  }

  .preview-menu {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .preview-menu li {
    grid-template-columns: 32px minmax(0, 1fr);
    justify-items: start;
    min-height: 50px;
    text-align: start;
  }

  .preview-caption {
    text-align: start;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    inset-inline-start: auto;
    inset-inline-end: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    width: auto;
    max-width: 360px;
    padding: 10px;
    transform: none;
  }

  .cookie-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* Number and registration repair: remove legacy editorial counters and make forms usable. */
.steps article::before,
.timeline article::before,
.roles-grid article::before {
  content: none !important;
  display: none !important;
}

.steps,
.timeline,
.roles-grid {
  background: transparent !important;
  border: 0 !important;
}

.steps article,
.timeline article,
.roles-grid article {
  position: relative !important;
  overflow: hidden;
  min-height: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  background: rgba(255, 253, 248, 0.86) !important;
  box-shadow: none !important;
  transform: none !important;
}

.steps article {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 24px !important;
}

.timeline article {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 22px 24px !important;
}

.steps article > span,
.timeline article > span {
  position: static !important;
  inset: auto !important;
  grid-row: 1 / span 2;
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line)) !important;
  border-radius: 999px !important;
  background: var(--accent-soft) !important;
  color: var(--accent-strong) !important;
  font-family: var(--font) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  font-variant-numeric: tabular-nums;
}

.steps article h3,
.timeline article h3,
.roles-grid article h3 {
  position: static !important;
  margin: 0 0 8px !important;
  color: var(--ink) !important;
  font-size: clamp(20px, 1.8vw, 24px) !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

.steps article p,
.timeline article p,
.roles-grid article p {
  margin: 0 !important;
  color: var(--charcoal) !important;
  font-size: 17px !important;
  font-weight: 450 !important;
  line-height: 1.72 !important;
}

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

.roles-grid article {
  padding: 24px !important;
}

#register.final-cta {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 26px !important;
  align-items: stretch !important;
  width: min(1120px, calc(100% - 48px)) !important;
  padding: clamp(28px, 4vw, 42px) !important;
}

#register.final-cta > div {
  max-width: none !important;
}

#register .signup-form {
  display: grid !important;
  grid-template-columns: minmax(180px, 0.9fr) minmax(240px, 1.15fr) auto;
  align-items: end;
  gap: 14px !important;
  width: 100% !important;
  max-width: none !important;
  padding: 20px !important;
}

#register .signup-form label {
  min-width: 0;
}

#register .signup-form .checkbox-field {
  grid-column: 1 / -1;
}

#register .signup-form input {
  width: 100%;
}

#register .signup-form .form-button {
  width: auto;
  min-width: 210px;
  white-space: nowrap;
}

#register .form-note {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #register .signup-form {
    grid-template-columns: 1fr 1fr;
  }

  #register .signup-form .form-button,
  #register .form-note {
    grid-column: 1 / -1;
  }

  #register .signup-form .form-button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .steps,
  .roles-grid {
    grid-template-columns: 1fr !important;
  }

  .steps article,
  .timeline article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 18px !important;
  }

  .steps article > span,
  .timeline article > span {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    font-size: 15px !important;
  }

  .roles-grid article {
    padding: 18px !important;
  }

  #register.final-cta {
    width: min(100% - 32px, 1120px) !important;
    padding: 20px !important;
  }

  #register .signup-form {
    grid-template-columns: 1fr;
    padding: 16px !important;
  }

  #register .signup-form .form-button,
  #register .form-note {
    grid-column: auto;
  }
}

/* Warm palette reset: remove wide gray/dark bands and keep the page visually simple. */
:root {
  --paper: #fff7ea;
  --paper-2: #fffdf7;
  --ink: #1d1711;
  --charcoal: #4a3d30;
  --muted: #756858;
  --line: #ead9c1;
  --accent: #9f1d35;
  --accent-strong: #681224;
  --accent-soft: #fde8ed;
  --notice: #ffe6a3;
  --notice-soft: #fff3c9;
  --surface: #fffdf7;
  --surface-soft: #fff1d6;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(159, 29, 53, 0.07), transparent 390px),
    linear-gradient(180deg, #fff9ef 0%, var(--paper) 42%, #fff5e5 100%) !important;
  color: var(--ink) !important;
}

main > section,
.section-shell,
.problem-section,
.outcomes-section,
.how-section,
.curriculum-section,
.roles-section,
.fit-section,
.safety-section,
.faq-section {
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  color: var(--ink) !important;
}

.site-header {
  background: rgba(255, 247, 234, 0.94) !important;
  border-bottom: 1px solid rgba(29, 23, 17, 0.16) !important;
}

.brand-mark,
.button.primary,
.form-button,
.cookie-actions button[data-cookie-choice="accept"] {
  background: var(--accent) !important;
  border-color: var(--accent-strong) !important;
  color: #fffdf7 !important;
}

.course-name,
.hero .course-name,
.section-heading p,
.section-label,
.trust-strip div,
.hero-points li,
.language-switcher a[aria-current="page"] {
  background: var(--accent-soft) !important;
  border-color: color-mix(in srgb, var(--accent) 46%, var(--line)) !important;
  color: var(--accent-strong) !important;
}

.hero,
.trust-strip {
  border-color: var(--line) !important;
}

.system-preview,
.problem-grid article,
.outcomes-grid article,
.steps article,
.timeline article,
.roles-grid article,
.fit-column,
.safety-check,
.faq-list details,
#register.final-cta,
#register .signup-form,
.promise-band,
.safety-section,
.fit-section,
.final-cta {
  background: rgba(255, 253, 247, 0.86) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}

.promise-band,
.safety-section,
.fit-section,
#register.final-cta {
  background: rgba(255, 253, 247, 0.72) !important;
}

.outcomes-section h2,
.outcomes-section .section-heading h2,
.final-cta h2,
.final-cta p,
#register.final-cta h2,
#register.final-cta p {
  color: var(--ink) !important;
}

.outcomes-grid,
.faq-list {
  gap: 14px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.outcomes-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.outcomes-grid article {
  min-height: 150px !important;
  padding: 24px !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
}

.outcomes-grid article::before,
.outcomes-grid article::after {
  content: none !important;
  display: none !important;
}

.outcomes-grid strong,
.outcomes-grid span,
.problem-grid h3,
.problem-grid p,
.steps article h3,
.steps article p,
.timeline article h3,
.timeline article p,
.roles-grid h3,
.roles-grid p,
.faq-list summary,
.faq-list p,
.safety-section p,
.promise-band p,
.check-list li {
  color: var(--ink) !important;
}

.outcomes-grid span,
.problem-grid p,
.steps article p,
.timeline article p,
.roles-grid p,
.faq-list p,
.safety-section p,
.promise-band p,
.check-list li,
.form-note {
  color: var(--charcoal) !important;
}

.steps article > span,
.timeline article > span,
.preview-menu li::before {
  background: var(--accent-soft) !important;
  border-color: color-mix(in srgb, var(--accent) 46%, var(--line)) !important;
  color: var(--accent-strong) !important;
}

.preview-menu li,
.preview-caption {
  background: rgba(255, 250, 239, 0.94) !important;
  border-color: var(--line) !important;
}

.preview-caption {
  background: var(--notice-soft) !important;
  color: var(--charcoal) !important;
}

.faq-list details {
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
}

.faq-list summary {
  min-height: 66px !important;
  padding: 18px 22px !important;
  background: rgba(255, 253, 247, 0.92) !important;
}

.faq-list summary::after {
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: var(--accent-soft) !important;
  color: var(--accent-strong) !important;
}

.faq-list details[open] p {
  padding: 0 22px 20px !important;
  background: rgba(255, 253, 247, 0.92) !important;
}

#register .signup-form label {
  color: var(--ink) !important;
}

#register .signup-form .checkbox-field {
  color: var(--charcoal) !important;
}

#register .signup-form input,
.signup-form input {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
}

#register .signup-form .checkbox-field input,
.signup-form .checkbox-field input {
  width: 18px !important;
  min-height: 18px !important;
  height: 18px !important;
  padding: 0 !important;
}

.site-footer {
  background: #fff9ef !important;
  border-top: 1px solid var(--line) !important;
}

.language-switcher a {
  background: rgba(255, 253, 247, 0.86) !important;
  border: 1px solid var(--line) !important;
  color: var(--charcoal) !important;
}

@media (max-width: 980px) {
  .outcomes-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Thmanyah type lock: keep one font identity across every language version. */
:root,
html:lang(ar),
html:lang(ur),
html:lang(en),
html:lang(fr),
html:lang(nl),
html:lang(de),
html:lang(it),
html:lang(el),
html:lang(es),
html:lang(sv),
html:lang(da),
html:lang(ja),
html:lang(ko),
html:lang(zh) {
  --font: "Thmanyah Sans", "Noto Sans Arabic", "Noto Naskh Arabic", "Noto Nastaliq Urdu", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Sans CJK SC", "Segoe UI", Tahoma, Arial, sans-serif;
  --display: "Thmanyah Sans", "Noto Sans Arabic", "Noto Naskh Arabic", "Noto Nastaliq Urdu", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Sans CJK SC", "Segoe UI", Tahoma, Arial, sans-serif;
  --serif-text: "Thmanyah Sans", "Noto Sans Arabic", "Noto Naskh Arabic", "Noto Nastaliq Urdu", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Sans CJK SC", "Segoe UI", Tahoma, Arial, sans-serif;
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--font) !important;
}

:where(h1, h2, h3, h4, .brand, .course-name, .hero .course-name, .section-heading h2, .promise-band h2, .fit-column h2, .safety-section h2, .final-cta h2) {
  font-family: var(--display) !important;
}

html[dir="rtl"] :where(h1, h2, h3, .brand, .course-name) {
  font-feature-settings: "ss01" 1, "kern" 1, "liga" 1, "calt" 1;
}

/* Problem section cleanup: no broad gray blocks or heavy dark gutters. */
.problem-grid {
  gap: 16px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.problem-grid article {
  min-height: 0 !important;
  padding: 24px 26px !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  background: rgba(255, 253, 247, 0.94) !important;
  box-shadow: none !important;
}

.problem-grid article::before,
.problem-grid article::after {
  content: none !important;
  display: none !important;
}

.problem-grid h3 {
  margin-block-end: 10px !important;
}

/* Conversion path: repeat the registration action without making the page feel dense. */
.cta-link svg,
.mobile-sticky-cta svg {
  flex: 0 0 auto;
}

.quick-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(24px, 4vw, 46px);
  min-height: clamp(220px, 23vw, 310px);
  margin-block: clamp(46px, 6vw, 76px);
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  border: 2px solid rgba(159, 29, 53, 0.38);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(159, 29, 53, 0.08) 0 26%, transparent 26%),
    #fff9ef;
  box-shadow: 0 28px 70px rgba(7, 27, 59, 0.1);
}

.quick-cta::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 12px;
  background: var(--accent);
}

.quick-cta p {
  position: relative;
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.16;
  text-wrap: balance;
}

.quick-cta .button {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 72px;
  padding-inline: clamp(24px, 4vw, 38px);
  border: 2px solid var(--accent-strong);
  border-radius: 14px;
  font-size: clamp(18px, 2vw, 24px);
  box-shadow: 8px 8px 0 var(--accent-strong);
}

.early-cta {
  margin-block-start: clamp(30px, 5vw, 54px);
}

.mid-cta {
  margin-block-start: clamp(8px, 3vw, 32px);
  margin-block-end: clamp(48px, 6vw, 80px);
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .nav-links {
    display: none !important;
  }

  .header-cta {
    max-width: min(44vw, 260px);
    justify-self: end;
    padding-inline: 14px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
}

@media (max-width: 720px) {
  body {
    padding-block-end: 82px;
  }

  .header-cta {
    display: none !important;
  }

  .quick-cta {
    grid-template-columns: 1fr;
    align-items: stretch;
    min-height: 260px;
    margin-block: 30px;
    padding: 30px 22px;
    border-radius: 20px;
    background: #fff9ef;
  }

  .quick-cta,
  .quick-cta .button {
    width: min(100% - 28px, 1180px);
  }

  .quick-cta p {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.22;
  }

  .quick-cta .button {
    justify-self: stretch;
    min-width: 0;
    width: 100%;
    min-height: 64px;
    font-size: 19px;
    box-shadow: 6px 6px 0 var(--accent-strong);
  }

  .mid-cta {
    margin-block-start: 22px;
  }

  .mobile-sticky-cta {
    position: fixed;
    inset-inline: 14px;
    inset-block-end: 14px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid var(--accent-strong);
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 16px 44px rgba(7, 27, 59, 0.22);
    font-weight: 850;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(22px);
    transition: opacity 180ms ease, transform 180ms ease, inset-block-end 180ms ease;
  }

  body.show-mobile-sticky-cta .mobile-sticky-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.has-cookie-banner .mobile-sticky-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(22px);
  }
}

/* Full dark theme pass. Keep every page surface dark and readable. */
:root {
  --bg: #0b090a;
  --surface: #151011;
  --surface-soft: #211417;
  --text: #fff7ea;
  --muted: #d8c7bd;
  --line: rgba(255, 247, 234, 0.18);
  --accent: #b3163a;
  --accent-strong: #ff5c7a;
  --accent-soft: rgba(255, 92, 122, 0.14);
  --warning: #f4bb56;
  --warning-soft: rgba(244, 187, 86, 0.14);
  --paper: #0b090a;
  --paper-2: #151011;
  --ink: #fff7ea;
  --charcoal: #e5d7ce;
  --notice-soft: rgba(244, 187, 86, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

html,
body {
  background: #0b090a !important;
  color: var(--text) !important;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(179, 22, 58, 0.2), transparent 30rem),
    radial-gradient(circle at 90% 18%, rgba(244, 187, 86, 0.08), transparent 26rem),
    #0b090a !important;
}

.site-header,
.site-footer {
  background: rgba(11, 9, 10, 0.94) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}

.site-header {
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.nav-links a,
.footer-copy,
.footer-copy p,
.footer-copy span {
  color: var(--text) !important;
}

.brand-mark {
  color: #fff7ea !important;
  background: var(--accent) !important;
}

.header-cta,
.button.primary,
.form-button,
.mobile-sticky-cta {
  background: var(--accent) !important;
  border-color: var(--accent-strong) !important;
  color: #fff7ea !important;
}

.button.secondary,
.hero .button.secondary,
.language-switcher a,
.cookie-actions button {
  background: #151011 !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}

.hero {
  color: var(--text) !important;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(11, 9, 10, 0.94), rgba(18, 11, 14, 0.94) 60%, rgba(11, 9, 10, 0.96)),
    radial-gradient(circle at 52% 20%, rgba(179, 22, 58, 0.22), transparent 28rem),
    #0b090a !important;
}

.hero h1,
.hero-lede,
.hero .course-name,
.course-name,
.section-heading p,
.section-label,
.section-heading h2,
h1,
h2,
h3,
h4 {
  color: var(--text) !important;
}

.hero-lede,
.section-heading p,
.promise-band p,
.safety-section p,
.final-cta p,
.problem-grid p,
.steps p,
.roles-grid p,
.outcomes-grid span,
.fit-column li,
.faq-list p,
.form-note,
.preview-caption {
  color: var(--muted) !important;
}

.trust-strip,
.promise-band,
.fit-section,
.safety-section,
.final-cta,
#register.final-cta,
.quick-cta,
.system-preview,
.preview-body,
.preview-topbar,
.cookie-banner {
  background: #120d0f !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}

.trust-strip div,
.problem-grid article,
.outcomes-grid article,
.steps article,
.timeline article,
.roles-grid article,
.fit-column,
.safety-check,
.faq-list details,
.preview-menu li,
.preview-caption,
.progress-panel,
.progress-number,
.task-panel,
.signup-form,
#register .signup-form,
.cookie-banner,
.language-switcher a {
  background: #171113 !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}

.system-preview,
.preview-body {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38) !important;
}

.preview-topbar {
  border-bottom: 1px solid var(--line) !important;
}

.preview-topbar span {
  background: var(--accent) !important;
}

.quick-cta {
  background:
    linear-gradient(90deg, rgba(179, 22, 58, 0.18) 0 28%, transparent 28%),
    #120d0f !important;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36) !important;
}

.quick-cta p {
  color: var(--text) !important;
}

.quick-cta .button {
  box-shadow: 8px 8px 0 rgba(255, 247, 234, 0.16) !important;
}

.icon-ring,
.faq-list summary::after {
  background: var(--accent-soft) !important;
  color: var(--accent-strong) !important;
}

.timeline article span,
.steps article > span {
  color: var(--accent-strong) !important;
}

#register .signup-form label,
#register .signup-form .checkbox-field,
.signup-form label,
.signup-form .checkbox-field {
  color: var(--muted) !important;
}

#register .signup-form input,
.signup-form input {
  background: #0b090a !important;
  border-color: rgba(255, 247, 234, 0.28) !important;
  color: var(--text) !important;
}

#register .signup-form input:focus,
.signup-form input:focus {
  border-color: var(--accent-strong) !important;
  box-shadow: 0 0 0 3px rgba(255, 92, 122, 0.22) !important;
}

.cookie-actions button[data-cookie-choice="accept"] {
  background: var(--accent) !important;
  border-color: var(--accent-strong) !important;
  color: #fff7ea !important;
}

/* Dark simplified preview: keep the dark identity, remove dashboard complexity. */
:root {
  --bg: #0b090a;
  --surface: #151011;
  --surface-soft: #211417;
  --text: #fff7ea;
  --muted: #d8c7bd;
  --line: rgba(255, 247, 234, 0.18);
  --accent: #a01d44;
  --accent-strong: #ff6d96;
  --accent-soft: rgba(255, 109, 150, 0.15);
  --paper: #0b090a;
  --paper-2: #151011;
  --ink: #fff7ea;
  --charcoal: #e5d7ce;
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(160, 29, 68, 0.28), transparent 30rem),
    radial-gradient(circle at 82% 22%, rgba(255, 109, 150, 0.1), transparent 26rem),
    linear-gradient(180deg, #0b090a 0, #120d0f 48%, #0b090a 100%) !important;
}

.hero-motion {
  opacity: 0.18 !important;
}

.hero-motion::before {
  opacity: 0.46 !important;
}

.hero-motion::after {
  opacity: 0.2 !important;
}

.hero-panel {
  opacity: 0.16 !important;
  will-change: transform, opacity !important;
}

.hero-glyph {
  display: none !important;
}

.hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.72fr) !important;
  place-items: center stretch !important;
  gap: clamp(34px, 6vw, 76px) !important;
  min-height: calc(100svh - 72px) !important;
  padding-block: clamp(64px, 8vw, 108px) clamp(50px, 7vw, 86px) !important;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(11, 9, 10, 0.82), rgba(18, 11, 15, 0.88) 54%, rgba(11, 9, 10, 0.94)),
    radial-gradient(circle at 58% 22%, rgba(160, 29, 68, 0.2), transparent 30rem),
    #0b090a !important;
}

.hero-copy,
html[dir="rtl"] .hero-copy,
html[dir="ltr"] .hero-copy {
  justify-items: start !important;
  max-width: 780px !important;
  margin-inline: 0 !important;
  text-align: start !important;
}

.hero h1,
html[dir="rtl"] .hero h1,
html[dir="ltr"] .hero h1 {
  max-width: 780px !important;
  font-size: clamp(42px, 5.8vw, 82px) !important;
  font-weight: 900 !important;
  line-height: 1.13 !important;
  letter-spacing: 0 !important;
  text-align: start !important;
  font-feature-settings: "ss01" 1, "kern" 1, "liga" 1, "calt" 1 !important;
}

html[dir="rtl"] .hero h1 {
  line-height: 1.34 !important;
}

.hero-lede {
  max-width: 62ch !important;
  font-size: clamp(19px, 1.7vw, 23px) !important;
  font-weight: 500 !important;
  line-height: 1.78 !important;
  text-align: start !important;
}

.hero-actions,
.hero-points {
  justify-content: flex-start !important;
}

.system-preview {
  position: relative !important;
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  justify-self: stretch !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--line) !important;
  border-radius: 22px !important;
  background: rgba(21, 16, 17, 0.88) !important;
  color: var(--text) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38) !important;
}

html[dir="rtl"] .system-preview {
  justify-self: stretch !important;
}

.preview-topbar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 20px 22px !important;
  border-bottom: 1px solid var(--line) !important;
  background: rgba(33, 20, 23, 0.86) !important;
}

.preview-topbar span {
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: var(--accent-strong) !important;
}

.preview-topbar strong {
  color: var(--text) !important;
  font-size: clamp(20px, 2vw, 25px) !important;
  line-height: 1.35 !important;
  text-align: start !important;
}

.preview-topbar button {
  display: none !important;
}

.preview-body {
  background: transparent !important;
  box-shadow: none !important;
}

.preview-menu {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 8px 22px 0 !important;
  counter-reset: none !important;
}

.preview-menu li {
  counter-increment: none !important;
  display: grid !important;
  grid-template-columns: 14px minmax(0, 1fr) !important;
  justify-items: start !important;
  gap: 12px !important;
  min-height: auto !important;
  padding: 15px 0 !important;
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 18px !important;
  text-align: start !important;
}

.preview-menu li::before {
  content: "" !important;
  width: 9px !important;
  height: 9px !important;
  margin-block-start: 9px !important;
  border-radius: 50% !important;
  background: var(--accent-strong) !important;
}

.preview-caption {
  max-width: none !important;
  margin: 0 !important;
  padding: 20px 22px 22px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(33, 20, 23, 0.72) !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.74 !important;
  text-align: start !important;
}

.early-cta {
  display: none !important;
}

.quick-cta {
  grid-template-columns: minmax(0, 1fr) auto !important;
  min-height: auto !important;
  margin-block: clamp(34px, 5vw, 58px) !important;
  padding: clamp(24px, 4vw, 38px) !important;
  border-radius: 18px !important;
  background: #120d0f !important;
}

.quick-cta::before {
  display: none !important;
}

.quick-cta p {
  font-size: clamp(22px, 2.6vw, 34px) !important;
  line-height: 1.38 !important;
}

.quick-cta .button {
  box-shadow: none !important;
}

.problem-section,
.outcomes-section,
.how-section,
.curriculum-section,
.roles-section,
.faq-section {
  padding-block: clamp(46px, 6vw, 72px) !important;
}

.steps article > span,
.timeline article span {
  position: static !important;
  display: inline-grid !important;
  width: 40px !important;
  height: 40px !important;
  place-items: center !important;
  border: 1px solid rgba(255, 109, 150, 0.28) !important;
  border-radius: 999px !important;
  background: var(--accent-soft) !important;
  color: var(--accent-strong) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  transform: none !important;
}

.steps article {
  display: grid !important;
  align-content: start !important;
  gap: 10px !important;
  min-height: 170px !important;
}

.timeline article {
  grid-template-columns: 48px minmax(0, 1fr) !important;
  align-items: start !important;
}

#register.final-cta {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr) !important;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .system-preview,
  html[dir="rtl"] .system-preview {
    width: 100% !important;
    max-width: 760px !important;
    justify-self: stretch !important;
  }

  #register.final-cta,
  .quick-cta {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-block: 42px 34px !important;
  }

  .hero h1,
  html[dir="rtl"] .hero h1,
  html[dir="ltr"] .hero h1 {
    font-size: clamp(38px, 11vw, 50px) !important;
    text-align: start !important;
  }

  .hero-actions,
  .hero-points {
    width: 100% !important;
  }

  .button,
  .hero-points li {
    width: 100% !important;
  }

  .hero-points li {
    text-align: center !important;
  }

  .preview-topbar,
  .preview-menu,
  .preview-caption {
    padding-inline: 18px !important;
  }
}

/* FAQ contrast fix for the dark theme. Older light-section overrides appear earlier. */
.faq-list details {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  background: rgba(21, 16, 17, 0.9) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.faq-list summary {
  min-height: 66px !important;
  padding: 18px 22px !important;
  background: rgba(21, 16, 17, 0.92) !important;
  color: var(--text) !important;
}

.faq-list summary::after {
  border: 1px solid rgba(255, 109, 150, 0.28) !important;
  background: var(--accent-soft) !important;
  color: var(--accent-strong) !important;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line) !important;
}

.faq-list p,
.faq-list details[open] p {
  margin: 0 !important;
  padding: 0 22px 20px !important;
  background: rgba(21, 16, 17, 0.86) !important;
  color: var(--muted) !important;
}

/* Keep the benefit pills floating on the dark hero instead of sitting in a block. */
.trust-strip {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.trust-strip div,
.trust-strip div:first-child {
  background: rgba(255, 247, 234, 0.035) !important;
  border-color: rgba(255, 247, 234, 0.14) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.trust-strip::before,
.trust-strip::after {
  content: none !important;
  display: none !important;
}

.turnstile-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 247, 234, 0.14);
  border-radius: 16px;
  background: rgba(255, 247, 234, 0.045);
}

.turnstile-field[hidden] {
  display: none !important;
}

.turnstile-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
}

.turnstile-copy strong {
  font-size: 0.98rem;
}

.turnstile-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.turnstile-widget {
  min-height: 65px;
}

/* Signup form polish: keep Cloudflare Turnstile and the submit button from colliding. */
#register .signup-form {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 20px 24px !important;
  padding: clamp(24px, 3vw, 34px) !important;
}

#register .signup-form label:not(.checkbox-field) {
  display: grid !important;
  gap: 10px !important;
}

#register .signup-form label span {
  font-size: clamp(18px, 1.5vw, 22px) !important;
  line-height: 1.35 !important;
}

#register .signup-form input:not([type="checkbox"]) {
  min-height: 64px !important;
  padding: 14px 18px !important;
}

#register .signup-form .checkbox-field {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 14px !important;
  padding: 2px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html[dir="rtl"] #register .signup-form .checkbox-field {
  grid-template-columns: auto minmax(0, 1fr) !important;
}

#register .signup-form .checkbox-field input,
.signup-form .checkbox-field input {
  inline-size: 24px !important;
  block-size: 24px !important;
  margin: 0.28em 0 0 !important;
  flex: 0 0 auto !important;
}

#register .signup-form .checkbox-field span {
  font-size: clamp(17px, 1.45vw, 21px) !important;
  line-height: 1.55 !important;
  font-weight: 750 !important;
  color: var(--text) !important;
}

#register .turnstile-field {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 620px !important;
  justify-self: end !important;
}

html[dir="ltr"] #register .turnstile-field {
  justify-self: start !important;
}

#register .turnstile-widget {
  display: grid !important;
  justify-items: end !important;
  width: 100% !important;
  overflow: hidden !important;
}

html[dir="ltr"] #register .turnstile-widget {
  justify-items: start !important;
}

#register .signup-form .form-button {
  grid-column: 1 / -1 !important;
  width: min(100%, 420px) !important;
  min-width: 0 !important;
  justify-self: end !important;
  margin-top: 2px !important;
  position: relative !important;
  z-index: 1 !important;
}

html[dir="ltr"] #register .signup-form .form-button {
  justify-self: start !important;
}

#register .form-note {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  max-width: 820px !important;
  font-size: clamp(18px, 1.6vw, 24px) !important;
  line-height: 1.55 !important;
}

@media (max-width: 720px) {
  #register .signup-form {
    grid-template-columns: 1fr !important;
  }

  #register .turnstile-field,
  #register .signup-form .form-button,
  #register .form-note {
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
  }

  .turnstile-copy {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  #register .turnstile-widget {
    justify-items: center !important;
    min-height: 140px !important;
  }
}
