/* ==========================================================================
   Athathi Media — site styles
   Brand tokens taken from the live athathimedia.com build.
   ========================================================================== */

:root {
  /* Brand */
  --green-950: #0f2219;
  --green-900: #142a1f;       /* dark card base */
  --green-800: #1a3527;
  --green-700: #1e3b2c;       /* primary buttons, active tabs */
  --green-600: #2a4d3a;
  --green-500: #3f7a3a;       /* positive / accent text on white */
  --lime: #7cc05a;            /* status dots */
  --sand: #dbe8cb;            /* pale sage: accents on dark, selected states */
  --sand-soft: #e9f1df;
  --sage-tint: #f2f6ec;
  --bronze: #55704a;          /* muted green for eyebrows on white */
  --paper: #ffffff;
  --paper-2: #f7f8f5;
  --ink: #161816;

  /* Derived */
  --ink-muted: rgba(22, 24, 22, 0.66);
  --ink-faint: rgba(22, 24, 22, 0.48);
  --line: #ebe9e3;
  --line-strong: #d9d7cf;
  --paper-muted: rgba(255, 255, 255, 0.72);
  --paper-faint: rgba(255, 255, 255, 0.5);
  --line-dark: rgba(255, 255, 255, 0.14);
  --error: #a3271f;
  --ok: #1d6b4f;

  /* Type */
  --font: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 3.5vw, 40px);
  --section: clamp(56px, 3rem + 3.5vw, 96px);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 64px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 1680px) {
  :root { --container: 1320px; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: var(--sand); }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--green-700);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--paper-2); }
.section--dark {
  background: transparent;
  color: var(--paper);
  padding-block: clamp(16px, 2.5vw, 32px);
}
.section--dark > .container {
  width: calc(100% - var(--gutter) * 2);
  max-width: calc(var(--container) + clamp(40px, 6vw, 112px));
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px);
  border-radius: 24px;
  background: linear-gradient(165deg, var(--green-800), var(--green-900) 60%, var(--green-950));
}
@media (max-width: 520px) {
  .section--dark > .container { width: calc(100% - 20px); border-radius: 22px; }
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}
.on-dark .eyebrow,
.section--dark .eyebrow { color: var(--sand); }

.h1 {
  font-size: clamp(2.125rem, 1.2rem + 3.2vw, 3.5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.h2 {
  font-size: clamp(1.625rem, 1rem + 1.9vw, 2.5rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.h3 {
  font-size: 1.125rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--green-500);
}
.section--dark .accent,
.on-dark .accent { color: var(--sand); }

.lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 60ch;
}
.section--dark .lead,
.on-dark .lead { color: var(--paper-muted); }

.muted { color: var(--ink-muted); }
.section--dark .muted { color: var(--paper-muted); }

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head--split {
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}

.note {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-faint);
}
.section--dark .note { color: var(--paper-faint); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); background: var(--green-600); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--sand { --btn-bg: var(--sand); --btn-fg: var(--green-900); }
.btn--sand:hover { background: #fff; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(17, 17, 17, 0.04); border-color: var(--ink); }
.on-dark .btn--ghost,
.section--dark .btn--ghost { --btn-fg: var(--paper); border-color: rgba(255, 255, 255, 0.3); }
.on-dark .btn--ghost:hover,
.section--dark .btn--ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--paper); }

.btn--sm { min-height: 38px; padding: 6px 16px; font-size: 0.875rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px -20px rgba(20, 42, 31, 0.5);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  flex: none;
}
.brand__ar {
  font-size: 1.4375rem;
  font-weight: 900;
  color: var(--green-700);
}
.brand__en {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav { display: none; }
.nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover { color: var(--ink); background: var(--paper-2); }
.nav__link[aria-current="true"] { color: var(--green-700); background: var(--sand-soft); }

.header-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: #fff;
  color: var(--ink);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a:not(.btn) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
body.nav-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #fff;
  color: var(--ink);
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 72px));
  padding-bottom: clamp(48px, 6vw, 88px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(30, 59, 44, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 59, 44, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 70vw;
  height: 70vw;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(168, 205, 130, 0.16), transparent);
}

.hero__grid {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
}

.hero__title { margin-top: 18px; max-width: 14ch; }
.hero__lead { margin-top: 20px; }
.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__micro {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--ink-faint);
}
.hero__pillars {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding-left: 0;
}
.hero__pillars li { display: grid; gap: 2px; }
.hero__pillars strong { font-size: 0.875rem; font-weight: 700; line-height: 1.3; }
.hero__pillars span { font-size: 0.8125rem; color: var(--ink-faint); line-height: 1.4; }
@media (max-width: 520px) {
  .hero__pillars { grid-template-columns: 1fr; }
}

/* Opportunity tracker (hero visual) */
.tracker {
  position: relative;
  background: linear-gradient(160deg, var(--green-800), var(--green-900) 70%);
  color: var(--paper);
  border: 1px solid var(--green-900);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 40px 80px -44px rgba(20, 42, 31, 0.65);
}
@media (max-width: 999px) {
  .tracker { max-width: 560px; width: 100%; margin-inline: auto; }
}
.tracker__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}
.tracker__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-faint);
  font-weight: 700;
}
.tracker__title { font-size: 1rem; font-weight: 700; margin-top: 4px; line-height: 1.35; }
.tracker__meta { font-size: 0.875rem; color: var(--paper-muted); }
.tracker__pause {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--paper-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.tracker__pause:hover { color: var(--paper); border-color: var(--paper-faint); }
.tracker__pause svg { width: 12px; height: 12px; }

.tracker__steps { list-style: none; margin: 12px 0 0; padding: 0; }
.tracker__step {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
  color: var(--paper-faint);
  transition: color 0.35s var(--ease);
}
.tracker__step::before {
  /* connector */
  content: "";
  position: absolute;
  inset-inline-start: 10px;
  top: -6px;
  height: 12px;
  width: 1px;
  background: var(--line-dark);
}
.tracker__step:first-child::before { display: none; }
.tracker__dot {
  width: 11px;
  height: 11px;
  margin-inline-start: 5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  transition: all 0.35s var(--ease);
}
.tracker__name { font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.tracker__when { font-size: 0.75rem; color: var(--paper-faint); white-space: nowrap; }
.tracker__step.is-done { color: var(--paper-muted); }
.tracker__step.is-done .tracker__dot { background: var(--sand); border-color: var(--sand); }
.tracker__step.is-current { color: var(--paper); }
.tracker__step.is-current .tracker__dot {
  background: var(--sand);
  border-color: var(--sand);
  box-shadow: 0 0 0 5px rgba(168, 205, 130, 0.18);
}
.tracker__handoff {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
}
.tracker__handoff::before,
.tracker__handoff::after { content: ""; flex: 1; height: 1px; background: rgba(168, 205, 130, 0.35); }
.tracker__owner {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-top: 4px;
}
.tracker__foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--paper-muted);
}
.tracker__foot em { font-style: normal; color: var(--paper-faint); }

/* ---------- Problem recognition / self-check ---------- */
.gaps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .gaps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gaps { grid-template-columns: repeat(3, 1fr); } }

.gap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
}
.gap-card:hover { border-color: var(--line-strong); box-shadow: 0 14px 30px -24px rgba(7, 40, 30, 0.5); }
.gap-card__num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bronze);
  letter-spacing: 0.06em;
}
.gap-card__scene { color: var(--ink-muted); font-size: 0.9375rem; line-height: 1.6; }
.gap-card__check {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-muted);
}
.gap-card input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-content: center;
  cursor: pointer;
  flex: none;
}
.gap-card input::after {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.gap-card input:checked { background: var(--green-700); border-color: var(--green-700); }
.gap-card input:checked::after { opacity: 1; }
.gap-card:has(input:checked) { border-color: var(--green-700); background: var(--sage-tint); }
.gap-card:has(input:checked) .gap-card__check { color: var(--green-700); }

.selfcheck {
  margin-top: 24px;
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--green-700);
  color: var(--paper);
}
@media (min-width: 800px) { .selfcheck { grid-template-columns: auto 1fr auto; gap: 28px; } }
.selfcheck__count {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--sand);
  font-variant-numeric: tabular-nums;
}
.selfcheck__count small { font-size: 1rem; color: var(--paper-faint); font-weight: 600; }
.selfcheck__msg { color: var(--paper-muted); line-height: 1.55; }
.selfcheck__msg strong { color: var(--paper); display: block; font-size: 1.0625rem; }

/* ---------- Cost of the current situation ---------- */
.cost {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) { .cost { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.cost__sticky { align-self: start; }
@media (min-width: 960px) { .cost__sticky { position: sticky; top: calc(var(--header-h) + 40px); } }
.cost__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cost__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cost__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(30, 59, 44, 0.07);
  color: var(--green-700);
}
.cost__icon svg { width: 22px; height: 22px; }
.cost__item p { color: var(--ink-muted); margin-top: 6px; }

.compare {
  margin-top: clamp(36px, 4.5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.compare__head,
.compare__row {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .compare__head,
  .compare__row { grid-template-columns: 0.8fr 1fr 1fr; }
}
.compare__head { background: var(--paper-2); }
.compare__head > div {
  padding: 16px 24px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.compare__head > div:last-child { color: var(--green-700); }
.compare__row { border-top: 1px solid var(--line); }
.compare__row > div { padding: 16px 22px; }
.compare__topic { font-weight: 700; }
.compare__before { color: var(--ink-muted); }
.compare__after { color: var(--ink); background: rgba(30, 59, 44, 0.04); position: relative; }
.compare__tag {
  display: none;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
@media (max-width: 819px) {
  .compare__head { display: none; }
  .compare__row > div { padding: 14px 20px; }
  .compare__topic { padding-top: 20px !important; }
  .compare__tag { display: block; color: var(--ink-faint); }
  .compare__after .compare__tag { color: var(--green-700); }
}

/* ---------- Growth system ---------- */
.system {
  display: grid;
  gap: 24px;
}
@media (min-width: 1040px) { .system { grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; } }

.system__map {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: clamp(16px, 2.4vw, 24px);
  background: rgba(255, 255, 255, 0.025);
}
.phases {
  display: grid;
  gap: 14px;
}
@media (min-width: 640px) { .phases { grid-template-columns: repeat(2, 1fr); } }

.phase {
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark);
}
.phase__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.phase__label span:first-child {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}
.phase__label span:last-child { font-size: 0.9375rem; font-weight: 700; color: var(--paper); text-align: end; }
.phase__nodes { display: grid; gap: 8px; }

.node {
  display: grid;
  grid-template-columns: 34px 1fr 16px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper-muted);
  text-align: start;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s, border-color 0.2s;
}
.node:hover { background: rgba(255, 255, 255, 0.09); color: var(--paper); }
.node__num {
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--paper-faint);
}
.node__name { font-size: 0.9375rem; font-weight: 700; line-height: 1.3; }
.node__arrow { width: 16px; height: 16px; opacity: 0; transition: opacity 0.2s, transform 0.2s; }
.node[aria-selected="true"] {
  background: var(--sand);
  color: var(--green-900);
  border-color: var(--sand);
}
.node[aria-selected="true"] .node__num { color: var(--green-700); }
.node[aria-selected="true"] .node__arrow { opacity: 1; }

.system__loop {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed rgba(168, 205, 130, 0.4);
  color: var(--paper-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.system__loop svg { width: 22px; height: 22px; color: var(--sand); flex: none; }

.stage-panel {
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(20px, 2.6vw, 28px);
  min-height: 100%;
}
@media (min-width: 1040px) { .stage-panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.stage-panel__phase {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
}
.stage-panel__title { margin-top: 6px; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
.stage-panel__summary { margin-top: 12px; color: var(--ink-muted); }
.stage-panel dl { margin-top: 18px; display: grid; gap: 14px; }
.stage-panel dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.stage-panel dd ul { margin: 0; padding-inline-start: 18px; color: var(--ink-muted); }
.stage-panel dd li + li { margin-top: 4px; }
.stage-panel dd li::marker { color: var(--bronze); }
.stage-panel__next {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
}
.stage-panel__next span { color: var(--ink-muted); }
.stage-panel__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 6px 0;
  font-weight: 700;
  color: var(--green-700);
  cursor: pointer;
}
.stage-panel__btn svg { width: 16px; height: 16px; }
.stage-panel[data-animating] { animation: panel-in 0.35s var(--ease); }
@keyframes panel-in { from { opacity: 0.4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.rule {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
@media (min-width: 860px) { .rule { grid-template-columns: 0.6fr 1fr; gap: 48px; } }
.rule__title { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }

/* ---------- Journey ---------- */
.journey { position: relative; }
.journey__owners {
  display: none;
  grid-template-columns: 5fr 3fr;
  gap: 12px;
  margin-bottom: 12px;
}
.journey__owner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.journey__owner--us { background: var(--green-700); color: var(--paper); }
.journey__owner--you { background: var(--sand); color: var(--green-900); }

.journey__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.jstep {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.jstep__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 800;
  background: rgba(30, 59, 44, 0.08);
  color: var(--green-700);
  transition: background-color 0.3s, color 0.3s;
}
.jstep[data-owner="you"] .jstep__num { background: rgba(168, 205, 130, 0.35); color: var(--bronze); }
.jstep__title { font-weight: 700; line-height: 1.3; }
.jstep__desc { font-size: 0.9375rem; color: var(--ink-muted); margin-top: 4px; line-height: 1.5; }
.jstep__who {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}
.jstep[data-owner="you"] .jstep__who { color: var(--bronze); }
.jstep.is-active {
  border-color: var(--green-700);
  box-shadow: 0 16px 30px -22px rgba(7, 40, 30, 0.6);
  transform: translateY(-3px);
}
.jstep.is-active .jstep__num { background: var(--green-700); color: var(--paper); }
.jstep[data-owner="you"].is-active { border-color: var(--bronze); }
.jstep[data-owner="you"].is-active .jstep__num { background: var(--sand); color: var(--green-900); }

.journey__handoff-mobile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
}
.journey__handoff-mobile::before,
.journey__handoff-mobile::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

@media (min-width: 1180px) {
  .journey__owners { display: grid; }
  .journey__steps { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
  .journey__handoff-mobile { display: none; }
  .jstep { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px 20px; align-content: start; }
  .jstep__who { display: none; }
}

.layers {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}
.layer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: center;
}
.layer__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-muted);
}
.layer__track {
  position: relative;
  height: 30px;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.04);
}
.layer__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: calc(var(--from) / 8 * 100%);
  width: calc((var(--to) - var(--from)) / 8 * 100%);
  border-radius: 8px;
  background: rgba(30, 59, 44, 0.12);
  border: 1px solid rgba(30, 59, 44, 0.22);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.layer__bar--shared {
  background: repeating-linear-gradient(135deg, rgba(30, 59, 44, 0.1) 0 8px, rgba(168, 205, 130, 0.28) 8px 16px);
}
@media (min-width: 640px) and (max-width: 1179px) {
  .journey__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey__handoff-mobile { grid-column: 1 / -1; }
}

.journey__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

/* ---------- Deliverables ---------- */
.deliverables {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) { .deliverables { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .deliverables { grid-template-columns: repeat(3, 1fr); } }

.deliv {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.deliv__objection {
  display: inline-flex;
  align-self: flex-start;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.35;
}
.deliv__objection b { color: var(--bronze); font-weight: 700; }
.deliv .h3 { margin-top: 14px; }
.deliv p { margin-top: 6px; color: var(--ink-muted); font-size: 0.9375rem; }
.deliv__stage {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green-700);
}

.channels {
  margin-top: clamp(36px, 4.5vw, 56px);
  display: grid;
  gap: 24px;
}
@media (min-width: 960px) { .channels { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }
.channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.channel {
  display: grid;
  gap: 4px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .channel { grid-template-columns: 200px 1fr; } }
.channel__name { font-weight: 700; }
.channel__name small { display: block; font-weight: 600; font-size: 0.8125rem; color: var(--bronze); }
.channel p { color: var(--ink-muted); font-size: 1rem; }

.versus {
  margin-top: clamp(36px, 4.5vw, 56px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.versus table { width: 100%; border-collapse: collapse; background: #fff; }
.versus caption {
  text-align: start;
  padding: 16px 22px;
  font-weight: 800;
  font-size: 1.125rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.versus th,
.versus td {
  text-align: start;
  vertical-align: top;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.versus thead th {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.versus thead th:last-child { color: var(--green-700); }
.versus tbody th { font-weight: 700; width: 22%; }
.versus td:nth-child(2) { color: var(--ink-muted); }
.versus td:last-child { background: rgba(30, 59, 44, 0.04); }
.versus tr:last-child th,
.versus tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .versus thead { display: none; }
  .versus tr { display: block; border-bottom: 1px solid var(--line); }
  .versus tr:last-child { border-bottom: 0; }
  .versus tbody th,
  .versus td { display: block; width: auto; border: 0; padding: 6px 20px; }
  .versus tbody th { padding-top: 18px; }
  .versus td:last-child { padding-bottom: 18px; background: none; }
  .versus td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
  .versus td:last-child::before { color: var(--green-700); }
}

/* ---------- Industries ---------- */
.tabs__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}
.tab {
  flex: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--green-700); border-color: var(--green-700); color: var(--paper); }

.industry {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
@media (min-width: 960px) { .industry { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.industry[hidden] { display: none; }
.industry__title { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
.industry__intro { margin-top: 12px; color: var(--ink-muted); }
.industry__grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.industry__row {
  display: grid;
  gap: 4px 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .industry__row { grid-template-columns: 170px 1fr; } }
.industry__row dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  padding-top: 3px;
}
.industry__row dd { color: var(--ink); font-size: 0.9375rem; }

/* ---------- Proof ---------- */
.cases {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .cases { grid-template-columns: repeat(4, 1fr); } }
.case {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
}
.case__sector {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
}
.case__headline {
  margin-top: 14px;
  font-size: clamp(1.625rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.case__headline-sub { margin-top: 6px; color: var(--paper-muted); font-size: 0.9375rem; }
.case__stats {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 8px;
}
.case__stats div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; }
.case__stats dt { color: var(--paper-muted); }
.case__stats dd { font-weight: 700; text-align: end; font-variant-numeric: tabular-nums; }
.case__stack {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--paper-faint);
}
.proof-note {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 80ch;
}
.proof-note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--sand); }

/* ---------- Engagement / responsibilities ---------- */
.resp {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) { .resp { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .resp { grid-template-columns: repeat(4, 1fr); } }
.resp__col {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.resp__col--us { background: var(--green-700); color: var(--paper); border-color: var(--green-700); }
.resp__col h3 { font-size: 1.125rem; font-weight: 800; }
.resp__col > p { margin-top: 4px; font-size: 0.875rem; color: var(--ink-faint); }
.resp__col--us > p { color: var(--paper-faint); }
.resp__col ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.resp__col li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.resp__col--us li { color: var(--paper-muted); }
.resp__col li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 10px;
  height: 1.5px;
  background: var(--bronze);
}
.resp__col--us li::before { background: var(--sand); }

.terms {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 16px;
}
@media (min-width: 860px) { .terms { grid-template-columns: repeat(2, 1fr); } }
.term {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.term__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
}
.term p:not(.term__label) { margin-top: 6px; font-size: 1rem; line-height: 1.55; }
.term .note { margin-top: 10px; }

/* ---------- Metrics ---------- */
.metric-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.scoreboard {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.scoreboard table { width: 100%; border-collapse: collapse; }
.scoreboard th,
.scoreboard td {
  text-align: start;
  vertical-align: top;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.scoreboard thead th {
  background: var(--paper-2);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scoreboard tbody th { font-weight: 700; white-space: nowrap; }
.scoreboard td { color: var(--ink-muted); }
.scoreboard tr:last-child th,
.scoreboard tr:last-child td { border-bottom: 0; }
.scoreboard tr[hidden] { display: none; }
.stage-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-faint);
  white-space: nowrap;
}
.owner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}
.owner--us { background: rgba(30, 59, 44, 0.1); color: var(--green-700); }
.owner--you { background: rgba(168, 205, 130, 0.4); color: #33502a; }
.owner--both { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
@media (max-width: 760px) {
  .scoreboard thead { display: none; }
  .scoreboard tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .scoreboard tr:last-child { border-bottom: 0; }
  .scoreboard th,
  .scoreboard td { padding: 0; border: 0; }
  .scoreboard tbody th { white-space: normal; }
  .scoreboard td:nth-of-type(1) { grid-column: 1 / -1; grid-row: 2; }
  .scoreboard td:nth-of-type(2) { grid-column: 1 / -1; grid-row: 3; }
  .scoreboard td:nth-of-type(3) { grid-column: 2; grid-row: 1; }
}

.metrics-split {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}
@media (min-width: 860px) { .metrics-split { grid-template-columns: repeat(3, 1fr); } }
.metrics-split > div {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.metrics-split h3 { font-size: 1rem; font-weight: 800; }
.metrics-split p { margin-top: 6px; font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 40px;
}
@media (min-width: 960px) { .faq { grid-template-columns: 0.75fr 1.25fr; gap: 64px; } }
.faq__aside { align-self: start; }
@media (min-width: 960px) { .faq__aside { position: sticky; top: calc(var(--header-h) + 40px); } }
.faq__aside .btn { margin-top: 28px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 17px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--green-700); border-color: var(--green-700); color: var(--paper); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item summary:hover .faq__icon { border-color: var(--ink); }
.faq__answer {
  padding-block: 0 20px;
  padding-inline: 0 52px;
  color: var(--ink-muted);
  display: grid;
  gap: 12px;
}
.faq__answer a { color: var(--green-700); }

/* ---------- Final CTA & form ---------- */
.final {
  display: grid;
  gap: 48px;
}
@media (min-width: 1000px) { .final { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.final__points {
  margin-top: 24px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}
.final__points li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  color: var(--paper-muted);
}
.final__points svg { width: 20px; height: 20px; color: var(--sand); margin-top: 4px; }
.final__points strong { color: var(--paper); }
.final__direct {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: var(--paper-muted);
  font-size: 0.9375rem;
}
.final__direct a { color: var(--sand); }

.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 30px);
}
.form-card__title { font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
.form-card__sub { margin-top: 6px; font-size: 0.9375rem; color: var(--ink-muted); }

.form { margin-top: 20px; display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; }
.field > label,
.field > legend {
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0;
}
.field .opt { font-weight: 500; color: var(--ink-faint); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23111' stroke-width='1.6'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(17, 17, 17, 0.4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(30, 59, 44, 0.15);
}
.field.is-invalid input,
.field.is-invalid select { border-color: var(--error); }
.field__error {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--error);
  min-height: 0;
}
.field__error:empty { display: none; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.radio {
  position: relative;
  display: inline-flex;
}
.radio input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  min-height: 0;
}
.radio span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.15s;
}
.radio input:checked + span { background: var(--green-700); border-color: var(--green-700); color: var(--paper); }
.radio input:focus-visible + span { outline: 2px solid var(--green-700); outline-offset: 2px; }

.form__flags {
  font-size: 0.875rem;
  color: var(--green-700);
  background: rgba(30, 59, 44, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.form__flags[hidden] { display: none; }
.form__submit { margin-top: 4px; width: 100%; }
.form__privacy { font-size: 0.8125rem; color: var(--ink-faint); line-height: 1.5; }

.form-status {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-status[hidden] { display: none; }
.form-status--error { background: rgba(163, 39, 31, 0.08); color: var(--error); }
.form-status--info { background: var(--paper-2); color: var(--ink); }
.form-status a { font-weight: 700; color: inherit; }

.form-success { text-align: start; }
.form-success[hidden] { display: none; }
.form-success__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-700);
  color: var(--paper);
}
.form-success__icon svg { width: 24px; height: 24px; }
.form-success h3 { margin-top: 18px; font-size: 1.5rem; font-weight: 800; }
.form-success p { margin-top: 8px; color: var(--ink-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  padding-block: 44px 28px;
  font-size: 0.875rem;
}
.footer__top {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.2fr 1fr auto; align-items: start; } }
.footer__tag { margin-top: 12px; max-width: 36ch; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; justify-content: start; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: flex;
  transform: translateY(140%);
  transition: transform 0.35s var(--ease);
}
.sticky-cta .btn { width: 100%; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); }
.sticky-cta.is-visible { transform: none; }
@media (min-width: 600px) { .sticky-cta { left: calc(50% - 220px); right: calc(50% - 220px); } }
@media (min-width: 1000px) { .sticky-cta { display: none; } }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Activity vs outcomes ---------- */
.layers-explainer { margin-top: clamp(40px, 5vw, 64px); }
.purpose {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
@media (min-width: 720px) { .purpose { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .purpose { grid-template-columns: repeat(4, 1fr); } }
.purpose__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.purpose__num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 800;
  background: rgba(30, 59, 44, 0.08);
  color: var(--green-700);
}
.purpose__item h4 { font-size: 1.0625rem; font-weight: 800; line-height: 1.3; margin-top: 4px; }
.purpose__item p { color: var(--ink-muted); font-size: 0.9875rem; line-height: 1.55; }
.purpose__measure {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green-700);
}
.purpose__item--you { background: var(--green-700); border-color: var(--green-700); color: var(--paper); }
.purpose__item--you p { color: var(--paper-muted); }
.purpose__item--you .purpose__num { background: var(--sand); color: var(--green-900); }
.purpose__item--you .purpose__measure { color: var(--sand); border-color: var(--line-dark); }

/* ---------- Qualification ---------- */
.qual {
  display: grid;
  gap: 24px;
}
@media (min-width: 960px) { .qual { grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; } }
.qual__criteria {
  padding: 22px;
  border-radius: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.qual__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
}
.qual__label span { text-transform: none; letter-spacing: 0; color: var(--ink-faint); font-weight: 600; }
.qual__criteria ul { margin: 16px 0 18px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.qual__criteria li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9875rem;
  color: var(--ink-muted);
}
.qual__criteria b { color: var(--ink); font-size: 0.875rem; }

.qual__switch { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.qual__tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
}
.qual__tab:hover { border-color: var(--ink); }
.qual__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.inquiry {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -45px rgba(7, 40, 30, 0.6);
  overflow: hidden;
}
.inquiry__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.inquiry__src { font-size: 0.8125rem; font-weight: 600; color: var(--ink-muted); }
.inquiry__badge {
  flex: none;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-faint);
}
.inquiry__fields { padding: 6px 20px; }
.inquiry__fields > div {
  display: grid;
  grid-template-columns: 130px 1fr 22px;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.inquiry__fields > div:last-child { border-bottom: 0; }
.inquiry__fields dt { font-size: 0.8125rem; font-weight: 700; color: var(--ink-faint); }
.inquiry__fields dd { font-size: 0.9875rem; font-weight: 600; }
@media (max-width: 480px) {
  .inquiry__fields > div { grid-template-columns: 1fr 22px; gap: 2px 12px; }
  .inquiry__fields dt { grid-column: 1; }
  .inquiry__fields dd { grid-column: 1; }
  .inquiry__mark { grid-column: 2; grid-row: 1 / span 2; }
}
.inquiry__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.inquiry__mark[data-ok="true"] { background: rgba(30, 59, 44, 0.1); }
.inquiry__mark[data-ok="true"]::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(-45deg) translate(1px, -1px);
}
.inquiry__mark[data-ok="false"] { background: rgba(163, 39, 31, 0.1); }
.inquiry__mark[data-ok="false"]::after {
  content: "";
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--error);
}
.inquiry__route {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  background: var(--green-700);
  color: var(--paper);
}
.inquiry__route span { color: var(--paper-muted); font-size: 0.9375rem; }
.inquiry__route[data-fit="false"] { background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--line); }
.inquiry__route[data-fit="false"] span { color: var(--ink-muted); }
.qual__foot {
  margin-top: 22px;
  max-width: 70ch;
  font-size: 1rem;
  color: var(--ink-muted);
}
.qual__foot em { font-style: normal; font-weight: 700; color: var(--ink); }

/* ---------- Proposal box ---------- */
.proposal-box {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 28px;
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
@media (min-width: 960px) { .proposal-box { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.proposal-list {
  list-style: none;
  counter-reset: p;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.proposal-list li {
  counter-increment: p;
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.9375rem;
}
.proposal-list li::before {
  content: counter(p, decimal-leading-zero);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bronze);
  padding-top: 2px;
}
.proposal-list b { color: var(--ink); }

/* ---------- Language switch ---------- */
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.lang-switch:hover { background: var(--paper-2); }

/* ---------- Arabic / RTL ---------- */
[dir="rtl"] body { line-height: 1.75; }
[dir="rtl"] .h1 { line-height: 1.25; letter-spacing: 0; }
[dir="rtl"] .h2 { line-height: 1.3; letter-spacing: 0; max-width: 24ch; }
[dir="rtl"] .h3,
[dir="rtl"] .stage-panel__title,
[dir="rtl"] .industry__title,
[dir="rtl"] .rule__title,
[dir="rtl"] .case__headline { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .eyebrow,
[dir="rtl"] .phase__label span:first-child,
[dir="rtl"] .stage-panel__phase,
[dir="rtl"] .stage-panel dt,
[dir="rtl"] .industry__row dt,
[dir="rtl"] .case__sector,
[dir="rtl"] .term__label,
[dir="rtl"] .qual__label,
[dir="rtl"] .tracker__label,
[dir="rtl"] .tracker__owner,
[dir="rtl"] .tracker__handoff,
[dir="rtl"] .journey__owner,
[dir="rtl"] .journey__handoff-mobile,
[dir="rtl"] .jstep__who,
[dir="rtl"] .compare__head > div,
[dir="rtl"] .compare__tag,
[dir="rtl"] .versus thead th,
[dir="rtl"] .scoreboard thead th,
[dir="rtl"] .inquiry__badge { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .eyebrow { font-size: 0.8125rem; }
[dir="rtl"] .accent {
  font-family: inherit;
  font-style: normal;
  font-weight: 800;
}
[dir="rtl"] .h1 .accent { font-weight: 800; }

/* Arrows point the reading direction */
[dir="rtl"] .btn svg:not(.no-flip),
[dir="rtl"] .node__arrow,
[dir="rtl"] .stage-panel__btn svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg:not(.no-flip) { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .field select { background-position: left 14px center; }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
[dir="rtl"] input[dir="ltr"]::placeholder { text-align: right; }
.num { unicode-bidi: isolate; direction: ltr; display: inline-block; }
[dir="rtl"] .case__headline { font-size: clamp(1.5rem, 2vw, 1.75rem); }
