/* ==========================================================================
   Alausa Global International — corporate site
   Design system. Static: no framework, no build step, no dependencies.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Surfaces */
  --bg: #f7f9f7;
  --bg-alt: #eef2ee;
  --surface: #ffffff;
  --surface-2: #f4f7f4;
  --surface-3: #e7ece7;

  --border: rgba(16, 42, 24, 0.10);
  --border-strong: rgba(16, 42, 24, 0.20);

  /* Text */
  --text: #0d1f14;
  --text-soft: #35473b;
  --muted: #5e6d63;
  --faint: #8b978e;

  /* Brand — taken from the recycling mark */
  --green-900: #0b3d18;
  --green-700: #14532d;
  --green-600: #1a6b3c;
  --green-500: #2d8b52;
  --green-400: #4aa96d;
  --green-300: #7cc793;
  --green-100: #dcefe3;
  --green-50: #eff8f2;

  --accent: #1a6b3c;
  --accent-strong: #14532d;
  --accent-soft: rgba(26, 107, 60, 0.09);
  --accent-line: rgba(26, 107, 60, 0.28);
  --accent-ink: #ffffff;

  --blue: #1668b8;
  --blue-soft: rgba(22, 104, 184, 0.09);
  --blue-line: rgba(22, 104, 184, 0.26);

  --red: #b4321f;
  --red-soft: rgba(180, 50, 31, 0.08);
  --red-line: rgba(180, 50, 31, 0.26);

  --gold: #a8720a;
  --gold-soft: rgba(168, 114, 10, 0.10);
  --gold-line: rgba(168, 114, 10, 0.28);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1rem;
  --fs-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-xl: clamp(1.25rem, 1.13rem + 0.6vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-3xl: clamp(1.85rem, 1.5rem + 1.8vw, 2.875rem);
  --fs-4xl: clamp(2.2rem, 1.6rem + 3vw, 4rem);

  /* Space */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
  --sp-9: 5.5rem; --sp-10: 7.5rem;

  /* Geometry */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 999px;

  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 70px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(13, 31, 20, 0.06);
  --shadow: 0 10px 28px -12px rgba(13, 31, 20, 0.18);
  --shadow-lg: 0 30px 70px -28px rgba(13, 31, 20, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 240ms;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

h1, h2, h3, h4 {
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.021em;
  text-wrap: balance;
}

p { text-wrap: pretty; }
ul[class], ol[class] { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: 860px; }

.section {
  padding-block: clamp(3.5rem, 7vw, var(--sp-9));
}

.section--tight { padding-block: clamp(2.5rem, 5vw, var(--sp-7)); }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: linear-gradient(165deg, var(--green-900), #071f0f);
  color: #eef5ef;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 300;
  padding: var(--sp-3) var(--sp-5);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: var(--sp-4); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
  max-width: 68ch;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section--dark .eyebrow { color: var(--green-300); }

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-title { font-size: var(--fs-2xl); }
.section-lede {
  font-size: var(--fs-lg);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
}
.section--dark .section-lede { color: rgba(238, 245, 239, 0.78); }

.prose p + p { margin-top: var(--sp-4); }
.prose p { color: var(--text-soft); font-size: var(--fs-lg); line-height: 1.7; }
.prose strong { color: var(--text); font-weight: 620; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-7); margin-bottom: var(--sp-3); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.prose li { display: flex; gap: var(--sp-3); color: var(--text-soft); }
.prose li::before { content: ""; width: 6px; height: 6px; margin-top: 0.62em; border-radius: 50%; background: var(--accent); flex: none; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.4rem;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.004em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  box-shadow: 0 8px 22px -12px rgba(26, 107, 60, 0.7), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--primary:hover { box-shadow: 0 14px 32px -14px rgba(26, 107, 60, 0.75); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }

.btn--light {
  background: #fff;
  color: var(--green-900);
}
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.55); }

.btn--sm { padding: 0.55rem 1rem; min-height: 38px; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn__icon { width: 16px; height: 16px; flex: none; }
.btn:hover .btn__icon { transform: translate(2px, -2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --------------------------------------------------------------------------
   5. Text links
   -------------------------------------------------------------------------- */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--accent);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }
.section--dark .link-arrow { color: var(--green-300); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 249, 247, 0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  background: rgba(247, 249, 247, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.brand__name { font-size: var(--fs-md); line-height: 1.15; }
.brand__tag {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1px;
}

.nav { display: flex; align-items: center; gap: var(--sp-1); }

.nav__link {
  padding: 0.5rem 0.72rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 520;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--surface-3); }
.nav__link[aria-current="page"] { color: var(--accent); font-weight: 620; }

.header__actions { display: flex; align-items: center; gap: var(--sp-2); flex: none; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-3); }
.icon-btn svg { width: 18px; height: 18px; }

.nav-toggle { display: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: grid; }
  .header__actions .btn { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-3) var(--gutter) var(--sp-5);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--border); border-radius: 0; font-size: var(--fs-md); }
  .nav__link:last-of-type { border-bottom: 0; }
  .nav__cta { margin-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
  background:
    radial-gradient(60rem 34rem at 8% -10%, var(--green-50), transparent 62%),
    radial-gradient(44rem 30rem at 96% 4%, rgba(22, 104, 184, 0.07), transparent 60%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 90px 100%, 100% 90px;
  mask-image: radial-gradient(120% 90% at 50% 0%, rgba(0,0,0,0.55), transparent 76%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, rgba(0,0,0,0.55), transparent 76%);
  opacity: 0.7;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.42rem 0.9rem 0.42rem 0.55rem;
  margin-bottom: var(--sp-5);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-strong);
}
.hero__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-line); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero__title {
  font-size: var(--fs-4xl);
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-5);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--green-500), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--faint);
  margin-bottom: var(--sp-5);
}

.hero__lede {
  font-size: var(--fs-lg);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.62;
  margin-bottom: var(--sp-6);
}

.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-6) var(--sp-5) var(--sp-4);
  background: linear-gradient(to top, rgba(7, 31, 15, 0.92), transparent);
  color: #eef5ef;
  font-size: var(--fs-sm);
}
.hero__media figcaption strong { display: block; font-size: var(--fs-md); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16 / 11; order: -1; }
}

/* --------------------------------------------------------------------------
   8. Trust strip
   -------------------------------------------------------------------------- */

.strip {
  border-block: 1px solid var(--border);
  background: var(--surface);
  padding-block: var(--sp-5);
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4) var(--sp-7);
}
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted);
}
.strip__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: var(--sp-4);
}
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a.card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }

.card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: var(--sp-4);
  flex: none;
}
.card__icon svg { width: 21px; height: 21px; }
.card__icon--blue { border-color: var(--blue-line); background: var(--blue-soft); color: var(--blue); }
.card__icon--gold { border-color: var(--gold-line); background: var(--gold-soft); color: var(--gold); }

.card__title { font-size: var(--fs-md); font-weight: 640; margin-bottom: var(--sp-2); letter-spacing: -0.014em; }
.card__text { font-size: var(--fs-sm); color: var(--muted); line-height: 1.62; flex-grow: 1; }
.card__meta {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.tag {
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}
.tag--accent { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.tag--blue { color: var(--blue); border-color: var(--blue-line); background: var(--blue-soft); }
.tag--gold { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }

/* Dark section cards */
.section--dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.11);
}
.section--dark .card__title { color: #fff; }
.section--dark .card__text { color: rgba(238, 245, 239, 0.72); }
.section--dark .card__meta { border-color: rgba(255, 255, 255, 0.11); }
.section--dark .card__icon { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: var(--green-300); }
.section--dark .tag { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: rgba(238,245,239,0.72); }
.section--dark a.card:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.07); }

/* --------------------------------------------------------------------------
   10. Feature split (image + text)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.fact-list { display: flex; flex-direction: column; gap: 0; margin-top: var(--sp-5); }
.fact-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--sp-4);
  padding: 0.7rem 0;
  font-size: var(--fs-sm);
}
.fact-row + .fact-row { border-top: 1px solid var(--border); }
.fact-row dt { color: var(--muted); }
.fact-row dd { font-weight: 550; color: var(--text-soft); min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 520px) { .fact-row { grid-template-columns: 1fr; gap: 2px; } }

/* --------------------------------------------------------------------------
   11. Stat row
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--surface); padding: var(--sp-5); display: flex; flex-direction: column; gap: 2px; }
.stat__value { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.stat__label { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.stat__note { font-family: var(--font-mono); font-size: 11px; color: var(--faint); margin-top: var(--sp-1); }

.section--dark .stats { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.12); }
.section--dark .stat { background: #0a2c14; }
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: rgba(238,245,239,0.7); }

/* --------------------------------------------------------------------------
   12. Page hero (interior pages)
   -------------------------------------------------------------------------- */

.fact-card {
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.fact-card--accent { border-color: var(--accent-line); }
.fact-card--feature { padding: var(--sp-6); text-align: center; }

.fact-card__title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}

.fact-card .fact-list { margin-top: 0; }

.fact-card__price {
  font-size: clamp(2.4rem, 6vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--green-600);
}

.fact-card__sub { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--sp-2); }

.fact-card__note {
  font-size: var(--fs-xs);
  color: var(--faint);
  line-height: 1.6;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.page-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(48rem 26rem at 6% -20%, var(--green-50), transparent 62%),
    radial-gradient(40rem 24rem at 94% 0%, rgba(22, 104, 184, 0.06), transparent 60%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 68ch; }
.page-hero__title { font-size: var(--fs-3xl); margin-bottom: var(--sp-4); }
.page-hero__lede { font-size: var(--fs-lg); color: var(--muted); line-height: 1.6; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  color: var(--faint);
}
.breadcrumbs a { color: var(--accent); }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs span { opacity: 0.5; }

/* --------------------------------------------------------------------------
   13. Notice / callout
   -------------------------------------------------------------------------- */

.notice {
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.62;
}
.notice strong { color: var(--text); }
.notice--gold { border-left-color: var(--gold); background: var(--gold-soft); }
.notice--blue { border-left-color: var(--blue); background: var(--blue-soft); }

/* --------------------------------------------------------------------------
   14. Accordion
   -------------------------------------------------------------------------- */

.accordion { display: flex; flex-direction: column; gap: var(--sp-2); }
.acc-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.acc-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  font-size: var(--fs-md);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--dur) var(--ease);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { background: var(--surface-2); }
.acc-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
  flex: none;
  transition: transform var(--dur) var(--ease);
}
.acc-item[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 var(--sp-5) var(--sp-5); color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */

.form { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: var(--sp-4); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-soft); }
.field .req { color: var(--red); }
.field .hint { font-size: var(--fs-xs); color: var(--faint); }

.input, .select, .textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  min-height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-base);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e6d63' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}

.checkbox { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--text-soft); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }

/* Honeypot — hidden from humans, catches naive bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.form__status {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 550;
  display: none;
}
.form__status[data-state="ok"] { display: block; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-strong); }
.form__status[data-state="err"] { display: block; background: var(--red-soft); border: 1px solid var(--red-line); color: var(--red); }

/* --------------------------------------------------------------------------
   16. Programme timeline (AI Mastery)
   -------------------------------------------------------------------------- */

.phase { margin-top: var(--sp-7); }
.phase__head { display: flex; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.phase__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-600);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}
.phase__title { font-size: var(--fs-xl); }
.phase__range { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--muted); margin-left: auto; }

.days { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.day {
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.day__range {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.day__title { font-size: var(--fs-md); font-weight: 620; margin-bottom: var(--sp-2); }
.day__text { font-size: var(--fs-sm); color: var(--muted); line-height: 1.58; }

/* --------------------------------------------------------------------------
   17. Timeline
   -------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: var(--sp-5); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-5); border-top: 2px solid var(--border); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -0.8rem;
  left: 0;
  padding: 0 0.4rem;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
}
.section--alt .step::before { background: var(--bg-alt); }
.section--dark .step { border-color: rgba(255,255,255,0.16); }
.section--dark .step::before { background: #0b3d18; color: var(--green-300); }
.step__title { font-size: var(--fs-md); font-weight: 640; margin-bottom: var(--sp-2); }
.step__text { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }
.section--dark .step__text { color: rgba(238,245,239,0.72); }

/* --------------------------------------------------------------------------
   18. Testimonial / proof
   -------------------------------------------------------------------------- */

.quote-panel {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.quote-panel::before {
  content: "\201C";
  position: absolute;
  top: -1.6rem; left: var(--sp-5);
  font-size: 9rem; line-height: 1;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.13;
  pointer-events: none;
}
.quote-panel__text { position: relative; font-size: var(--fs-xl); font-weight: 500; line-height: 1.45; letter-spacing: -0.016em; max-width: 48ch; }
.quote-panel__attr { position: relative; margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--muted); }

/* --------------------------------------------------------------------------
   19. Blog (Eternal Faith)
   -------------------------------------------------------------------------- */

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--sp-4); }

.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a.post-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.post-card__thumb { aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex-grow: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.post-card__title { font-size: var(--fs-lg); font-weight: 640; letter-spacing: -0.016em; }
.post-card__excerpt { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; flex-grow: 1; }
.post-card__more { margin-top: var(--sp-2); }

.post { max-width: 760px; margin-inline: auto; }
.post__header { margin-bottom: var(--sp-6); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--border); }
.post__title { font-size: var(--fs-3xl); margin-block: var(--sp-3); }
.post__meta { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; font-size: var(--fs-sm); color: var(--muted); }
.post__hero { margin-bottom: var(--sp-6); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.post__hero img { width: 100%; }

.post__content { font-size: var(--fs-md); line-height: 1.75; color: var(--text-soft); }
.post__content h2 { font-size: var(--fs-xl); margin-top: var(--sp-7); margin-bottom: var(--sp-3); color: var(--text); }
.post__content h3 { font-size: var(--fs-lg); margin-top: var(--sp-6); margin-bottom: var(--sp-2); color: var(--text); }
.post__content p + p { margin-top: var(--sp-4); }
.post__content ul, .post__content ol { margin: var(--sp-4) 0; padding-left: 1.4rem; display: flex; flex-direction: column; gap: var(--sp-2); }
.post__content blockquote {
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.post__content img, .post__content video, .post__content iframe { border-radius: var(--radius); margin-block: var(--sp-5); }
.post__content iframe { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--border); }
.post__content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post__content table { width: 100%; border-collapse: collapse; margin-block: var(--sp-5); font-size: var(--fs-sm); }
.post__content th, .post__content td { padding: var(--sp-3); border: 1px solid var(--border); text-align: left; }
.post__content th { background: var(--surface-2); font-weight: 620; }

.post__files { margin-top: var(--sp-6); padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.post__files h3 { font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.file-link { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) 0; font-size: var(--fs-sm); }
.file-link + .file-link { border-top: 1px solid var(--border); }
.file-link svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding-block: var(--sp-7) var(--sp-5);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}
.footer__brand { display: flex; gap: var(--sp-3); align-items: flex-start; margin-bottom: var(--sp-4); }
.footer__brand img { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); flex: none; }
.footer__brand-name { font-weight: 700; letter-spacing: -0.02em; }
.footer__brand-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.footer__about { font-size: var(--fs-sm); color: var(--muted); line-height: 1.62; max-width: 42ch; }

.footer__col h3 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: var(--sp-4); }
.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__col a { font-size: var(--fs-sm); color: var(--muted); transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.footer__legal { flex-basis: 100%; font-size: var(--fs-xs); color: var(--faint); line-height: 1.6; max-width: 100ch; }

.social-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.social-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-soft);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.social-btn:hover { color: var(--accent); border-color: var(--accent-line); transform: translateY(-2px); }
.social-btn svg { width: 17px; height: 17px; }

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

@media (max-width: 480px) {
  /* Two columns of link lists are too narrow to read on a small phone. */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   21. Reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 580ms var(--ease), transform 580ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="in"] { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   22. Print
   -------------------------------------------------------------------------- */

@media print {
  .header, .footer__links, .btn, .hero__grid, .lang, .nav { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.25rem; page-break-inside: avoid; }
  .card, .post-card, .panel { page-break-inside: avoid; border-color: #ccc; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; color: #555; }
}
