/* MesueTech — brand identity */
:root {
  /* Surfaces (light chrome) */
  --bg: #f4faf7;
  --bg-soft: #e7f4ed;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef7f2;
  --border: rgba(12, 40, 30, 0.12);
  --border-strong: rgba(12, 40, 30, 0.2);

  /* Ink on light */
  --text: #0e1f18;
  --text-2: #243c2c;
  --muted: #4f675a;

  /* Brand */
  --accent: #0d9a68;
  --accent-deep: #087a52;
  --accent-bright: #2ec88a;
  --accent-2: #1a7fb8;
  --accent-soft: rgba(13, 154, 104, 0.12);
  --sun: #e89b2e;
  --ok: #18a864;
  --danger: #d94a4a;

  /* Ink on dark / photo surfaces */
  --on-dark: #f7fcf9;
  --on-dark-2: rgba(247, 252, 249, 0.88);
  --on-dark-muted: rgba(247, 252, 249, 0.72);
  --on-dark-border: rgba(247, 252, 249, 0.38);
  --hero-veil: linear-gradient(
      115deg,
      rgba(6, 22, 16, 0.88) 0%,
      rgba(6, 22, 16, 0.72) 38%,
      rgba(6, 22, 16, 0.45) 68%,
      rgba(6, 22, 16, 0.28) 100%
    ),
    linear-gradient(180deg, rgba(6, 22, 16, 0.35) 0%, transparent 42%, rgba(6, 22, 16, 0.55) 100%);

  --glyph-fg: #ffffff;
  --header-bg: rgba(244, 250, 247, 0.9);
  --shadow: 0 18px 40px rgba(12, 40, 30, 0.1);
  --radius: 14px;
  --focus-ring: 0 0 0 3px rgba(13, 154, 104, 0.35);

  --font-brand: "El Messiri", "Cairo", sans-serif;
  --font-display: "Cairo", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Cairo", sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::selection {
  background: rgba(13, 154, 104, 0.28);
  color: var(--text);
}
::-moz-selection {
  background: rgba(13, 154, 104, 0.28);
  color: var(--text);
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
html {
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }
img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 1.75rem);
}

/* Ambient growth field */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 15% -10%, rgba(15, 154, 106, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 5%, rgba(30, 136, 199, 0.1), transparent 50%),
    linear-gradient(180deg, #f7fcf9 0%, var(--bg) 35%, #eef8f3 100%);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: clamp(.4rem, 2vw, 1rem);
  min-height: 76px;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  color: inherit; text-decoration: none; min-width: 0;
}
.brand-glyph { flex-shrink: 0; line-height: 0; }
.brand-logo { display: block; width: auto; height: 38px; border-radius: 10px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-copy strong {
  font-family: var(--font-brand);
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em;
}
.brand-copy small { font-size: .7rem; color: var(--muted); font-weight: 500; }

.nav {
  display: flex; align-items: center; gap: .2rem;
  flex: 1; min-width: 0; margin-inline: .5rem;
}
.nav > a, .nav-drop-btn {
  padding: .5rem .8rem; border-radius: 10px;
  font-size: .88rem; font-weight: 600; color: var(--muted);
  text-decoration: none; background: none; border: none;
  cursor: pointer; font-family: inherit;
}
.nav > a:hover, .nav-drop:hover .nav-drop-btn { color: var(--text); background: var(--surface-2); }
.nav > a.active { color: var(--accent-deep); background: var(--accent-soft); }

.nav-drop { position: relative; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: .5rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .2s; z-index: 50;
}
.nav-drop:hover .nav-drop-panel { opacity: 1; visibility: visible; transform: none; }
.nav-drop-panel a {
  display: block; padding: .55rem .75rem; border-radius: 8px;
  color: var(--text-2); font-size: .86rem; font-weight: 500;
}
.nav-drop-panel a:hover { background: var(--surface-2); color: var(--accent-deep); }

.header-actions {
  display: flex; align-items: center; gap: .4rem;
  margin-inline-start: auto; flex-shrink: 0;
}
.header-icon-btn, .burger {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; display: grid; place-items: center; color: var(--text);
}
.header-icon-btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.burger { display: none; position: relative; }
.burger span, .burger::before, .burger::after {
  content: ""; display: block; width: 18px; height: 2px;
  background: var(--text); margin: 4px auto; border-radius: 2px;
}

.site-main { position: relative; z-index: 1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .88rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  letter-spacing: -0.01em;
  transition: transform .18s ease, background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:focus-visible { box-shadow: var(--focus-ring); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 154, 104, 0.28);
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); }
.btn-sm { padding: .55rem 1rem; font-size: .84rem; }

/* ========== Full-bleed home hero (dark surface → light ink) ========== */
.hero-home {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex; align-items: flex-end;
  padding: 0;
  overflow: clip;
  color: var(--on-dark);
}
.hero-plane {
  position: absolute; inset: 0; z-index: 0;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  transform: scale(1.03);
  animation: heroKen 24s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.05);
}
@keyframes heroKen {
  from { transform: scale(1.03) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1%, -1%, 0); }
}
.hero-veil {
  position: absolute; inset: 0;
  background: var(--hero-veil);
}
.hero-copy {
  position: relative; z-index: 2;
  width: 100%;
  padding: clamp(5.5rem, 12vh, 8rem) 0 clamp(3.5rem, 8vh, 5.5rem);
}
.brand-hero {
  font-family: var(--font-brand);
  font-size: clamp(2.75rem, 8vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  margin-bottom: .85rem;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
  animation: fadeUp .8s ease both;
}
.brand-hero span {
  display: block;
  color: var(--accent-bright);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-home h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  line-height: 1.4;
  max-width: 22ch;
  margin-bottom: .85rem;
  color: var(--on-dark);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
  animation: fadeUp .85s .12s ease both;
}
.hero-home .lead {
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  color: var(--on-dark-2);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
  animation: fadeUp .85s .2s ease both;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  animation: fadeUp .85s .28s ease both;
}
/* Light CTAs on photo hero */
.hero-home .btn-primary {
  background: var(--accent-bright);
  color: #062016;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.hero-home .btn-primary:hover {
  background: #fff;
  color: var(--accent-deep);
}
.hero-home .btn-ghost {
  color: var(--on-dark);
  border-color: var(--on-dark-border);
  background: rgba(247, 252, 249, 0.08);
  backdrop-filter: blur(8px);
}
.hero-home .btn-ghost:hover {
  background: rgba(247, 252, 249, 0.18);
  border-color: var(--on-dark);
  color: var(--on-dark);
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; }
}

/* Sections — one job each */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section-tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
  max-width: 18ch;
}
.gradient-text {
  background: linear-gradient(120deg, var(--accent-deep), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
  margin-bottom: 2.25rem;
}
.section-head { margin-bottom: 2rem; }

/* Story / about blocks — not card-grid in first meaning */
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.story-grid p {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.story-aside {
  background: linear-gradient(160deg, var(--bg-soft), #dff0fa);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2rem);
  min-height: 280px;
}
.story-aside h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.fact-list { list-style: none; display: grid; gap: .85rem; }
.fact-list li {
  display: grid;
  gap: .15rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--border);
}
.fact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.fact-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent-deep);
}
.fact-list span { font-size: .9rem; color: var(--muted); }

/* Services list — interaction rows, light borders */
.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 2.2fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: background .2s, padding-inline .2s;
}
.service-row:hover {
  background: rgba(15, 154, 106, 0.05);
  padding-inline: .65rem;
  color: inherit;
  text-decoration: none;
}
.service-row h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.service-row p { color: var(--muted); font-size: .95rem; margin: 0; }
.service-row .go {
  font-weight: 700;
  color: var(--accent-deep);
  white-space: nowrap;
}

/* —— Path rail (home) —— */
.path-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.path-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: clamp(1.4rem, 3vw, 1.85rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  min-height: 220px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.path-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.path-card-hot {
  border-color: rgba(13, 154, 104, 0.35);
  background: linear-gradient(165deg, #fff 0%, #eef9f3 100%);
}
.path-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.path-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}
.path-card p {
  color: var(--muted);
  font-size: .95rem;
  flex: 1;
  margin: 0;
}
.path-cta {
  font-weight: 700;
  color: var(--accent-deep);
  margin-top: .35rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.learn-home-band {
  background: linear-gradient(180deg, rgba(13, 154, 104, 0.06), transparent 70%);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.35rem);
}
.course-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.course-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
}
.course-card p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.course-meta {
  display: flex; gap: .85rem;
  font-size: .8rem; font-weight: 600; color: var(--text-2);
}
.course-card .go { font-weight: 700; color: var(--accent-deep); font-size: .9rem; }
.level-pill {
  display: inline-block;
  width: fit-content;
  font-size: .72rem;
  font-weight: 800;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.level-pill.level-intermediate { background: rgba(26, 127, 184, 0.12); color: var(--accent-2); }
.level-pill.level-applied { background: rgba(232, 155, 46, 0.15); color: #a65f0c; }
.labs-inline {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: .95rem;
}
.labs-inline a { font-weight: 700; }

/* —— Language tracks (Python hub) —— */
.track-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid rgba(13, 154, 104, 0.35);
  background: linear-gradient(120deg, #eef9f3 0%, #e8f4fb 100%);
  color: inherit;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.track-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.track-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin: .35rem 0 .45rem;
}
.track-banner p { color: var(--muted); margin: 0; max-width: 40rem; }
.track-spotlight {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}
.track-aside {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.track-aside h3 {
  font-family: var(--font-display);
  margin-bottom: .5rem;
  color: var(--accent-deep);
}
.track-aside p { color: var(--muted); font-size: .95rem; margin-bottom: .85rem; }
.license-note {
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.55;
}
.resource-chip {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .85rem 1rem;
  margin: .85rem 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.resource-chip strong { font-size: .8rem; color: var(--accent-deep); }
.lib-list { display: grid; gap: .75rem; }
.lib-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.lib-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: .25rem;
}
.lib-item h3 a { color: var(--text); }
.lib-item h3 a:hover { color: var(--accent-deep); }
.lib-meta { font-size: .82rem; color: var(--muted); margin-bottom: .35rem; }
.lib-item p { font-size: .9rem; color: var(--text-2); margin: 0; }
.news-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.news-tabs .tld-pill.active {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-soft);
}
.news-feed { margin-top: 1rem; }
.feed-sources {
  padding-inline-start: 1.1rem;
  color: var(--muted);
  font-size: .88rem;
}
.feed-sources a { font-weight: 600; }
.nav-drop-btn.active { color: var(--accent-deep); background: var(--accent-soft); }

/* Python in-browser lab */
.py-lab {
  margin: 1.1rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0e1f18;
  overflow: hidden;
}
.py-lab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .9rem;
  background: rgba(247, 252, 249, 0.06);
  border-bottom: 1px solid rgba(247, 252, 249, 0.12);
}
.py-lab-head h4 {
  margin: 0;
  color: #f7fcf9;
  font-family: var(--font-display);
  font-size: .95rem;
}
.py-code {
  width: 100%;
  min-height: 140px;
  padding: .9rem 1rem;
  border: 0;
  resize: vertical;
  background: transparent;
  color: #e8fff4;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .9rem;
  line-height: 1.55;
  direction: ltr;
  text-align: left;
}
.py-code:focus { outline: none; }
.py-out {
  margin: 0;
  padding: .85rem 1rem;
  min-height: 3rem;
  background: rgba(0, 0, 0, 0.35);
  color: #9dffc9;
  font-family: ui-monospace, Consolas, monospace;
  font-size: .86rem;
  white-space: pre-wrap;
  direction: ltr;
  text-align: left;
  border-top: 1px solid rgba(247, 252, 249, 0.1);
}
.py-task {
  margin: 0;
  padding: .75rem 1rem;
  background: rgba(46, 200, 138, 0.12);
  color: #d7ffe9;
  font-size: .9rem;
  border-top: 1px solid rgba(247, 252, 249, 0.1);
}
.prompt-lab {
  margin: 1.1rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #12251c;
}
.prompt-lab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .9rem;
  background: rgba(247, 252, 249, 0.06);
  border-bottom: 1px solid rgba(247, 252, 249, 0.12);
}
.prompt-lab-head h4 {
  margin: 0;
  color: #f7fcf9;
  font-family: var(--font-display);
  font-size: .92rem;
}
.prompt-code {
  width: 100%;
  min-height: 120px;
  padding: .9rem 1rem;
  border: 0;
  resize: vertical;
  background: transparent;
  color: #e8fff4;
  font-family: ui-monospace, Consolas, monospace;
  font-size: .86rem;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}
.prompt-code:focus { outline: none; }
.prompt-hint {
  margin: 0;
  padding: .65rem 1rem;
  font-size: .82rem;
  color: rgba(247, 252, 249, 0.72);
  border-top: 1px solid rgba(247, 252, 249, 0.1);
  background: rgba(0, 0, 0, 0.25);
}
.visual-card {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, var(--accent));
}
.visual-card h4 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: .95rem;
}
.visual-flow {
  margin: 0;
  white-space: pre-wrap;
  font-family: ui-monospace, Consolas, monospace;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--text-2);
  direction: ltr;
  text-align: left;
}
.demo-lab {
  margin: 1.1rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #12251c;
}
.demo-frame {
  display: none;
  width: 100%;
  min-height: 220px;
  border: 0;
  border-top: 1px solid rgba(247, 252, 249, 0.12);
  background: #fff;
}
.demo-frame.is-on { display: block; }
/* —— Learn / Labs shells —— */
.learn-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}
.learn-toc {
  position: sticky;
  top: 88px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.learn-toc h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  margin-bottom: .75rem;
}
.learn-toc ol {
  list-style: none;
  display: grid;
  gap: .35rem;
}
.learn-toc a {
  display: block;
  padding: .45rem .55rem;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-2);
}
.learn-toc a:hover, .learn-toc a.active {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.learn-toc a.done::after {
  content: " ✓";
  color: var(--ok);
}
.progress-bar {
  height: 8px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
  margin: .75rem 0 1rem;
}
.progress-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .35s ease;
}
.lesson {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.lesson h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: .5rem;
}
.lesson .goal {
  font-size: .92rem;
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: .75rem;
}
.lesson-steps {
  padding-inline-start: 1.2rem;
  margin: .75rem 0 1rem;
  color: var(--text-2);
}
.lesson-steps li { margin-bottom: .35rem; }
.quiz-box, .sim-box {
  margin-top: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.quiz-box h4, .sim-box h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: .65rem;
}
.quiz-options {
  display: grid;
  gap: .45rem;
}
.quiz-options label {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  padding: .55rem .7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: .9rem;
}
.quiz-options label:hover { border-color: var(--accent); }
.quiz-feedback {
  margin-top: .65rem;
  font-size: .88rem;
  font-weight: 600;
  min-height: 1.2em;
}
.quiz-feedback.ok { color: var(--ok); }
.quiz-feedback.err { color: var(--danger); }
.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.course-finish {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(120deg, var(--accent-soft), rgba(26, 127, 184, 0.1));
  text-align: center;
}
.course-finish h2 {
  font-family: var(--font-display);
  margin-bottom: .4rem;
}
.course-finish p { color: var(--muted); margin-bottom: 1.1rem; }

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.lab-card {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  display: block;
  transition: border-color .2s, transform .2s;
}
.lab-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.lab-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: .35rem;
}
.lab-card-hot {
  border-color: rgba(124, 58, 237, .35);
  background: linear-gradient(135deg, rgba(124, 58, 237, .06), rgba(13, 154, 106, .04));
}
.lab-input {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .92rem;
  background: var(--surface);
}
.lab-tool label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.free-hub-band { padding-block: 2rem; }
.lab-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.lab-tool {
  max-width: 40rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.lab-tool label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
  margin: .7rem 0 .3rem;
}
.lab-tool input, .lab-tool select, .lab-tool textarea {
  width: 100%;
  padding: .7rem .85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
}
.lab-out {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  white-space: pre-wrap;
  font-size: .92rem;
  color: var(--text-2);
  min-height: 4rem;
}

/* Products */
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.product-block {
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  display: block;
  transition: color .2s;
}
.product-block:hover { color: inherit; text-decoration: none; }
.product-block .status {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: .65rem;
  letter-spacing: .02em;
}
.product-block .status.soon { color: var(--sun); }
.product-block .status.live { color: var(--ok); }
.product-block h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
.product-block p { color: var(--muted); margin-bottom: .85rem; }
.product-block .go { font-weight: 700; color: var(--accent-deep); }

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-top: .5rem;
}
.value-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: .45rem;
  color: var(--accent-deep);
}
.value-item p { color: var(--muted); font-size: .95rem; }

/* Page hero inner */
.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 154, 106, 0.06), transparent 80%);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: .55rem;
}
.page-hero p { color: var(--muted); font-size: 1.08rem; max-width: 40rem; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: .85rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-deep); }

/* Feature rows (inner pages) */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  align-items: center; margin-bottom: 3.5rem;
}
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-text h2 {
  font-family: var(--font-display);
  font-size: 1.45rem; margin-bottom: .75rem;
}
.feature-text p { color: var(--muted); margin-bottom: 1rem; font-size: 1rem; }
.checklist { list-style: none; }
.checklist li {
  padding: .4rem 0; font-size: .95rem; color: var(--text-2);
  padding-right: 1.4rem; position: relative;
}
.checklist li::before {
  content: ""; position: absolute; right: 0; top: .85rem;
  width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--accent);
}
.feature-visual {
  min-height: 220px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--bg-soft), #d9eef8);
  border: 1px solid var(--border);
  display: grid; place-items: center; padding: 1.5rem;
}
.mock-ui { width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #fff; }
.mock-bar { height: 28px; background: var(--surface-2); }
.mock-body { padding: 1rem; }
.mock-line { height: 8px; background: rgba(18, 55, 40, 0.08); border-radius: 4px; margin-bottom: .5rem; }
.mock-line.w70 { width: 70%; }
.mock-line.w50 { width: 50%; }

/* Cards / pricing fallback for service pages */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.2rem;
  text-decoration: none; color: inherit; display: block;
  transition: border-color .2s, background .2s;
}
.card:hover {
  border-color: rgba(15, 154, 106, 0.35);
  background: rgba(15, 154, 106, 0.04);
  text-decoration: none; color: inherit;
}
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(15, 154, 106, 0.1);
  display: grid; place-items: center;
  margin-bottom: .85rem; font-size: 1.1rem; color: var(--accent-deep);
  font-weight: 800; font-family: var(--font-display);
}
.card h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .35rem; }
.card p { font-size: .9rem; color: var(--muted); }
.card-link { font-size: .84rem; font-weight: 700; color: var(--accent-deep); margin-top: .75rem; display: inline-block; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.pricing-head { margin: clamp(2rem, 4vw, 3rem) 0 1.25rem; max-width: 40rem; }
.price-card {
  position: relative;
  border: 1px solid var(--border); border-radius: 18px; padding: 1.55rem 1.35rem 1.4rem;
  text-align: center; background: var(--surface);
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15,154,106,.28);
  box-shadow: 0 16px 36px rgba(18,55,40,.08);
}
.price-card.hot {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff 0%, #f3faf6 100%);
}
.price-badge {
  display: inline-block; font-size: .72rem; font-weight: 800;
  color: var(--accent-deep); margin-bottom: .45rem;
  font-family: var(--font-display);
}
.price-card h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; margin-bottom: .2rem;
}
.price-tagline { color: var(--muted); font-size: .88rem; margin-bottom: .85rem; }
.price-amt { font-family: var(--font-display); font-size: 2.15rem; font-weight: 800; line-height: 1; }
.price-amt small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.price-year { margin-top: .45rem; font-size: .84rem; color: var(--text-2); }
.price-year span { color: var(--accent-deep); font-weight: 600; }
.price-card ul { list-style: none; text-align: right; margin: 1.15rem 0 1.25rem; flex: 1; }
.price-card li {
  font-size: .88rem; color: var(--text-2); padding: .42rem 0;
  border-bottom: 1px solid var(--border);
}
.price-card .btn { width: 100%; }
.pricing-note {
  margin-top: 1.25rem; color: var(--muted); font-size: .92rem; max-width: 48rem;
}
.host-checks { max-width: 40rem; margin-bottom: .5rem; }

.domain-layout {
  display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.domain-box {
  border: 1px solid var(--border); border-radius: 18px;
  padding: 1.5rem; background: var(--surface);
}
.domain-box-lg { max-width: none; }
.domain-box-title {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin-bottom: .35rem;
}
.domain-box-sub { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.domain-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.domain-row input {
  flex: 1; min-width: 200px; padding: .9rem 1rem;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-family: inherit; font-size: 1rem;
}
.domain-row input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 154, 106, 0.12);
}
.tld-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.tld-pill {
  border: 1px solid var(--border); background: var(--bg); color: var(--text-2);
  border-radius: 10px; padding: .35rem .65rem; font-size: .82rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.tld-pill:hover { border-color: var(--accent); color: var(--accent-deep); }
.domain-result { margin-top: 1rem; padding: 1rem; border-radius: 12px; font-size: .92rem; }
.domain-result.ok { background: rgba(31, 173, 107, 0.1); border: 1px solid rgba(31, 173, 107, 0.25); }
.domain-result.err { background: rgba(217, 74, 74, 0.08); border: 1px solid rgba(217, 74, 74, 0.2); }
.reg-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.domain-side {
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #fff, #eef7f2);
  border: 1px solid var(--border);
}
.domain-side h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; margin-bottom: .75rem;
}
.domain-steps { list-style: none; display: grid; gap: .7rem; margin-bottom: 1.1rem; counter-reset: dstep; }
.domain-steps li {
  counter-increment: dstep;
  padding-inline-start: .85rem;
  border-inline-start: 3px solid var(--accent);
  color: var(--text-2); font-size: .92rem;
}
.domain-steps strong { display: block; color: var(--text); margin-bottom: .1rem; }
.domain-prices-title { margin-top: 1.4rem; }
.tld-price-list { list-style: none; display: grid; gap: .4rem; margin: .7rem 0; }
.tld-price-list li {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .4rem 0; border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.tld-price-list span { color: var(--muted); font-weight: 700; direction: ltr; }
.tld-price-dual li {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: .5rem;
  align-items: baseline;
}
.tld-price-dual em {
  font-style: normal;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}
.price-rate-note {
  font-size: .84rem;
  color: var(--muted);
  margin: .35rem 0 .65rem;
}
.partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .85rem 0 1.25rem;
}
.pay-local-band {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid rgba(13, 154, 104, 0.28);
  background: linear-gradient(135deg, #eef9f3, #e9f4fb);
}
.pay-methods {
  list-style: none;
  display: grid;
  gap: .55rem;
  margin-top: 1rem;
}
.pay-methods li {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding: .65rem .85rem;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: .92rem;
}
.pay-methods strong { color: var(--accent-deep); min-width: 7rem; }
.domain-price-card {
  margin: .85rem 0;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
}
.domain-result.ok .domain-price-card { background: rgba(255, 255, 255, 0.8); }
.domain-price-main {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
}
.domain-price-main .cur { color: var(--accent-deep); }
.domain-price-main small {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}
.domain-price-egp {
  margin-top: .35rem;
  font-size: 1.05rem;
  color: var(--text-2);
}
.domain-price-note {
  margin-top: .55rem;
  font-size: .84rem;
  color: var(--muted);
}
.domain-ok-name { font-size: 1.05rem; }
.domain-ok-badge {
  display: inline-block;
  margin-inline-start: .35rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  background: rgba(24, 168, 100, 0.15);
  color: var(--ok);
}
.domain-path-label {
  margin: .85rem 0 .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
}
.domain-pay-local {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(13, 154, 104, 0.4);
  background: rgba(13, 154, 104, 0.06);
}
.domain-pay-local strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--accent-deep);
}
.domain-pay-local p {
  font-size: .88rem;
  margin-bottom: .55rem;
  color: var(--text-2);
}

.domain-disclaimer { font-size: .8rem; color: var(--muted); line-height: 1.6; }

.faq { max-width: 720px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: .65rem; overflow: hidden; background: var(--surface);
}
.faq-q {
  width: 100%; text-align: right; padding: 1rem 1.15rem;
  background: none; border: none; font-family: inherit;
  font-size: .95rem; font-weight: 700; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between;
}
.faq-a { padding: 0 1.15rem 1rem; font-size: .9rem; color: var(--muted); display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { color: var(--accent-deep); }

@media (max-width: 960px) {
  .pricing, .domain-layout { grid-template-columns: 1fr; }
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; min-width: 0; }
.contact-info-col { min-width: 0; }
.form-panel {
  border: 1px solid var(--border); border-radius: 16px;
  padding: 1.5rem; background: var(--surface);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.form-panel label {
  display: block; font-size: .8rem; font-weight: 600;
  color: var(--muted); margin: .7rem 0 .3rem;
}
.form-panel input, .form-panel select, .form-panel textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text); font-family: inherit; font-size: 16px;
  max-width: 100%;
}
.form-panel button { width: 100%; margin-top: 1rem; }
.form-msg { margin-top: .65rem; font-size: .9rem; line-height: 1.55; }
.form-msg.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); padding: .65rem .85rem; border-radius: 10px; }
.form-msg.err { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); padding: .65rem .85rem; border-radius: 10px; }
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  inset: auto !important;
}
.contact-facts a, .contact-facts span { overflow-wrap: anywhere; word-break: break-word; }
.contact-quick .btn { width: 100%; justify-content: center; }

.contact-facts { list-style: none; display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-facts li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-facts strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: .2rem;
}
.contact-facts span, .contact-facts a { color: var(--muted); font-size: .95rem; }

.cta-band {
  margin-top: 1rem;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 20px;
  background: linear-gradient(120deg, var(--accent-soft), rgba(26, 127, 184, 0.12));
  border: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: .45rem;
}
.cta-band p { color: var(--muted); margin-bottom: 1.35rem; }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  color: var(--accent-deep);
}
.tag.soon { color: var(--sun); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.25rem 0 1.5rem; margin-top: 2rem;
  position: relative; z-index: 1;
  background: #eaf6ef;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem; margin-bottom: 2rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: .88rem; margin-bottom: .75rem;
}
.footer-col a {
  display: block; font-size: .88rem; color: var(--muted);
  padding: .22rem 0;
}
.footer-col a:hover { color: var(--accent-deep); }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem; display: block; margin-bottom: .35rem;
}
.footer-bottom {
  padding-top: 1.25rem; border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  justify-content: space-between; align-items: center;
}
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--accent-deep); }

.prose-legal { max-width: 46rem; }
.prose-legal h2 { margin-top: 1.75rem; margin-bottom: .65rem; font-size: 1.2rem; }
.prose-legal p, .prose-legal li { color: var(--text); line-height: 1.75; }
.prose-legal ul { padding-inline-start: 1.25rem; margin: .5rem 0 1rem; }
.prose-legal li { margin-bottom: .35rem; }

.faq-list { display: grid; gap: .75rem; max-width: 46rem; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg-elevated); padding: .15rem 1rem 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: .9rem 0;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent-deep); font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); padding-bottom: 1rem; margin: 0; line-height: 1.7; }

.mesue-ad {
  margin: 1.35rem auto; padding: .65rem .75rem .85rem;
  border: 1px solid var(--border); border-radius: 12px;
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  text-align: center; overflow: hidden; max-width: 46rem;
}
.mesue-ad-label {
  display: block; font-size: .68rem; letter-spacing: .06em;
  color: var(--muted); margin-bottom: .4rem; font-weight: 600;
}
.mesue-ad-sidebar {
  margin-top: 1rem; max-width: 100%;
}
.mesue-ad-footer-wrap {
  padding-bottom: 1.25rem;
}
.mesue-ad-footer-wrap .mesue-ad {
  max-width: 728px;
}
.mesue-ad ins { min-height: 90px; display: block; }
.mesue-ad-sidebar ins { min-height: 250px; }

.toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--surface); border: 1px solid var(--border);
  padding: .85rem 1.25rem; border-radius: 12px;
  font-size: .88rem; opacity: 0; transition: .3s; z-index: 400;
  box-shadow: var(--shadow); max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.hidden { display: none !important; }

@media (max-width: 960px) {
  .story-grid, .product-split, .feature-row, .form-grid, .values,
  .path-rail, .course-grid, .lab-grid, .learn-layout, .track-spotlight { grid-template-columns: 1fr; }
  .form-grid { gap: 1.5rem; }
  .form-grid .form-panel { order: -1; }
  .feature-row.reverse .feature-text, .feature-row.reverse .feature-visual { order: unset; }
  .service-row { grid-template-columns: 1fr; gap: .35rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .learn-toc { position: static; }
}
@media (max-width: 768px) {
  .header-inner { min-height: 60px; }
  .brand-copy small { display: none; }
  .burger { display: grid; }
  .nav {
    display: none; position: fixed; inset: 60px 0 auto 0;
    flex-direction: column; background: var(--bg-elevated);
    border-bottom: 1px solid var(--border); padding: 1rem;
    max-height: calc(100dvh - 60px); overflow-y: auto;
    margin: 0; width: 100%; flex: none;
  }
  .nav.open { display: flex; }
  .nav-drop-panel {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    padding: 0 0 0 1rem; display: none;
  }
  .nav-drop.open .nav-drop-panel { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .hero-home { min-height: min(88vh, 720px); }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(6, 22, 16, 0.55) 0%, rgba(6, 22, 16, 0.62) 40%, rgba(6, 22, 16, 0.82) 100%),
      linear-gradient(115deg, rgba(6, 22, 16, 0.7) 0%, rgba(6, 22, 16, 0.35) 100%);
  }
  .brand-hero { font-size: clamp(2.5rem, 13vw, 3.4rem); }
  .page-hero { padding-block: clamp(2rem, 6vw, 3rem); }
  .page-hero h1 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .page-hero p { font-size: 1rem; }
  .form-panel { padding: 1.1rem; }
}

.seo-growth-block {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(13, 154, 104, 0.22);
  border-radius: 14px;
  background: rgba(13, 154, 104, 0.06);
}
.seo-growth-block h4 { margin: 0 0 0.5rem; font-size: 0.95rem; }
.seo-growth-block .seo-kw { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin: 0 0 0.65rem; }
.seo-trend-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.65rem; }
.trend-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(13, 154, 104, 0.12);
  color: var(--accent-deep);
  border: 1px solid rgba(13, 154, 104, 0.2);
}
.seo-short-link, .seo-share { font-size: 0.85rem; margin: 0.35rem 0 0; }
.seo-share a { margin-inline: 0.15rem; }

.monetize-strip {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(234, 179, 8, 0.35);
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.08), rgba(13, 154, 104, 0.06));
}
.monetize-kicker { font-size: 0.72rem; font-weight: 700; color: #b45309; display: block; margin-bottom: 0.35rem; }
.monetize-strip h4 { margin: 0 0 0.35rem; font-size: 1rem; }
.monetize-strip p { margin: 0 0 0.65rem; font-size: 0.88rem; color: var(--muted); }
.monetize-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.monetize-price { display: block; margin-top: 0.5rem; font-size: 0.82rem; font-weight: 700; color: var(--accent-deep); }
  .contact-facts li { padding: .85rem; }
  .hero-cta .btn { flex: 1 1 auto; min-width: 9.5rem; }
}
