@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: #008c7a;
  --accent-strong: #006f62;
  --accent-soft: #dff4ef;
  --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;
}

* {
  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 38s linear infinite;
}

.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 21s 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);
  animation: heroPanelFloat 31s ease-in-out infinite alternate;
}

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

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

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

.hero-glyph {
  --dx: 0px;
  position: absolute;
  top: -12%;
  color: rgba(160, 229, 222, 0.36);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0;
  text-shadow: 0 0 22px rgba(65, 211, 193, 0.28);
  animation: heroGlyphDrift 28s linear infinite;
}

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

.hero-glyph-2 {
  left: 20%;
  --dx: -26px;
  color: rgba(188, 185, 242, 0.28);
  animation-delay: -17s;
}

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

.hero-glyph-4 {
  left: 60%;
  --dx: -32px;
  color: rgba(188, 185, 242, 0.28);
  animation-delay: -23s;
}

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

.hero-glyph-6 {
  left: 90%;
  --dx: -42px;
  color: rgba(188, 185, 242, 0.25);
  animation-delay: -7s;
}

.hero-glyph-7 {
  left: 52%;
  --dx: 48px;
  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 heroPanelFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(32px, 20px, 0);
  }
}

@keyframes heroGlyphDrift {
  0% {
    opacity: 0;
    transform: translate3d(0, -18%, 0);
  }
  14% {
    opacity: 0.42;
  }
  74% {
    opacity: 0.24;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--dx), 118vh, 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), #46b9a8);
}

.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);
}

.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;
  }
}
