/*
 * Self-hosted typefaces keep the visual system compatible with Hostinger's
 * restrictive production CSP. The files are bundled with the site, so no
 * visitor data or page rendering depends on an external font service.
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/archivo-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/archivo-500.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/archivo-600.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-700.woff2") format("woff2");
}

@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorantgaramond-500.woff2") format("woff2");
}

@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cormorantgaramond-600.woff2") format("woff2");
}

@font-face {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorantgaramond-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cormorantgaramond-600-italic.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/splinesansmono-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/splinesansmono-500.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cairo-400-arabic.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cairo-600-arabic.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/cairo-700-arabic.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/amiri-400-arabic.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/amiri-700-arabic.woff2") format("woff2");
}

:root {
  --ink: #10241d;
  --ink-deep: #07140f;
  --forest: #043c00;
  --leaf: #79d953;
  --leaf-soft: #c8f2b1;
  --paper: #f4f2eb;
  --paper-deep: #e9e5d9;
  --white: #fffefa;
  --clay: #7e3c2e;
  --amber: #d9a441;
  --blue: #5b7ea8;
  --muted: #617069;
  --line: rgba(16, 36, 29, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 60px rgba(16, 36, 29, 0.12);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Spectral", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  z-index: -1;
  background-image: radial-gradient(rgba(16, 36, 29, 0.22) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
  mask-image: linear-gradient(to bottom, black, transparent 60%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 12px;
  z-index: 120;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow,
.status,
.index,
.micro-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 44px;
}

.section-intro h2,
.feature-copy h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-intro > p,
.feature-copy > p,
.closing > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
}

.section-intro.light > p {
  color: rgba(255, 255, 255, 0.68);
}

.section-intro.light h2,
.section-intro.light .eyebrow {
  color: var(--white);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn::after {
  content: "↗";
  font-size: 18px;
  font-weight: 500;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16, 36, 29, 0.16);
}

.btn-primary {
  color: var(--ink-deep);
  background: var(--leaf);
  border-color: var(--leaf);
}

.btn-secondary {
  background: transparent;
}

.btn-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--leaf);
  text-underline-offset: 5px;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 20, 15, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.09em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.brand span {
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--leaf);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.23em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
}

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

.language {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  font-size: 11px;
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
}

.language-menu summary {
  min-width: 46px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  list-style: none;
  text-align: center;
  color: var(--ink-deep);
  background: var(--leaf);
  border-radius: 3px;
  cursor: pointer;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "▾";
  margin-left: 6px;
  font-size: 9px;
}

.language-menu[open] summary::after {
  content: "▴";
}

.language-options {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 110;
  width: min(310px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px;
  color: var(--white);
  background: var(--ink-deep);
  border: 1px solid var(--line-dark);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
}

.language-options a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}

.language-options a:hover,
.language-options a[aria-current="page"] {
  color: var(--ink-deep);
  background: var(--leaf);
}

[dir="rtl"] .language-options {
  right: auto;
  left: 0;
}

[dir="rtl"] .language-menu summary::after {
  margin-right: 6px;
  margin-left: 0;
}

[dir="rtl"] .text-link::after,
[dir="rtl"] .btn::after {
  transform: scaleX(-1);
}

.locale-note {
  display: inline-block;
  margin-top: 24px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.language a {
  padding: 5px 7px;
}

.language a[aria-current="page"] {
  color: var(--ink-deep);
  background: var(--leaf);
}

.nav-cta {
  padding: 10px 14px;
  color: var(--ink-deep) !important;
  background: var(--leaf);
  border-radius: 3px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  cursor: pointer;
}

body.menu-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 22%, rgba(121, 217, 83, 0.16), transparent 27%),
    radial-gradient(circle at 16% 84%, rgba(91, 126, 168, 0.14), transparent 25%),
    var(--ink-deep);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 780px;
  aspect-ratio: 1;
  right: -270px;
  top: -260px;
  border: 1px solid rgba(121, 217, 83, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(121, 217, 83, 0.035),
    0 0 0 180px rgba(121, 217, 83, 0.025);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(470px, 0.85fr);
  gap: 72px;
  align-items: center;
  padding-block: clamp(76px, 10vw, 136px);
}

.hero-grid > * {
  min-width: 0;
}

.hero-grid > :first-child {
  container-type: inline-size;
}

.hero .eyebrow {
  color: var(--leaf);
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 6.2vw, 88px);
  font-size: clamp(50px, min(6.2vw, 13cqi), 88px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--leaf);
  font-weight: 500;
}

.hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-trust span::before {
  content: "+";
  margin-right: 7px;
  color: var(--leaf);
}

.knowledge-model {
  position: relative;
  min-height: 570px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.model-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.model-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 5px rgba(121, 217, 83, 0.12);
}

.model-canvas {
  position: relative;
  min-height: 515px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
}

.model-center {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: 286px;
  height: 286px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(214, 173, 97, 0.7);
  border-radius: 50%;
  color: var(--white);
  background: radial-gradient(circle at 50% 42%, rgba(52, 78, 40, 0.96), rgba(7, 20, 15, 0.96) 70%);
  box-shadow:
    0 0 0 12px rgba(214, 173, 97, 0.06),
    0 0 0 30px rgba(121, 217, 83, 0.025),
    0 0 70px rgba(214, 173, 97, 0.17);
  text-align: center;
}

.solar-logo {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 268px;
  height: 250px;
  margin: 0 auto 1px;
  place-items: center;
}

.solar-logo img {
  position: relative;
  z-index: 2;
  width: 256px;
  height: 256px;
  margin: 0;
  border-radius: 50%;
  filter: drop-shadow(0 0 14px rgba(214, 173, 97, 0.32));
  animation: solar-logo-float 6s ease-in-out infinite;
}

.solar-logo::before,
.solar-logo::after {
  content: "";
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.solar-logo::before {
  inset: 7px;
  border: 1px solid rgba(214, 173, 97, 0.52);
  background: radial-gradient(circle, rgba(214, 173, 97, 0.17), transparent 66%);
  box-shadow: 0 0 26px rgba(214, 173, 97, 0.2);
  animation: solar-halo 6s ease-in-out infinite;
}

.solar-logo::after {
  inset: -1px;
  border: 1px dashed rgba(121, 217, 83, 0.25);
  animation: solar-corona 26s linear infinite;
}

@keyframes solar-logo-float {
  0%, 100% { transform: translateY(2px) scale(1); }
  50% { transform: translateY(-5px) scale(1.025); }
}

@keyframes solar-halo {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes solar-corona {
  to { transform: rotate(360deg); }
}

.model-center b {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
}

.model-orbit {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(121, 217, 83, 0.34);
  border-radius: 50%;
  box-shadow: inset 0 0 42px rgba(121, 217, 83, 0.025);
  animation: knowledge-orbit 42s linear infinite;
}

.model-orbit::before,
.model-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.model-orbit::before {
  inset: 38px;
  border: 1px solid rgba(214, 173, 97, 0.14);
}

.model-orbit::after {
  inset: -18px;
  border: 1px dashed rgba(121, 217, 83, 0.1);
}

.model-planet {
  position: absolute;
  width: 96px;
  height: 96px;
}

.planet-1 { top: -48px; left: calc(50% - 48px); }
.planet-2 { top: calc(50% - 48px); right: -48px; }
.planet-3 { bottom: -48px; left: calc(50% - 48px); }
.planet-4 { top: calc(50% - 48px); left: -48px; }

.model-node {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 13px 10px;
  border: 1px solid rgba(121, 217, 83, 0.55);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(7, 20, 15, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 0 22px rgba(121, 217, 83, 0.035);
  text-align: center;
  animation: knowledge-counter-orbit 42s linear infinite;
}

.model-node b {
  display: block;
  color: var(--white);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.model-node span {
  font-size: 9px;
  line-height: 1.3;
}

.planet-1 .model-node { border-color: rgba(214, 173, 97, 0.62); }
.planet-2 .model-node { border-color: rgba(121, 217, 83, 0.62); }
.planet-3 .model-node { border-color: rgba(137, 219, 226, 0.52); }
.planet-4 .model-node { border-color: rgba(184, 151, 226, 0.48); }

.model-orbit:hover,
.model-orbit:hover .model-node {
  animation-play-state: paused;
}

@keyframes knowledge-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes knowledge-counter-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Pathways */
.pathways {
  position: relative;
  margin-top: -1px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.path-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease;
}

.path-card:first-child {
  border-left: 1px solid var(--line);
}

.path-card:hover {
  color: var(--white);
  background: var(--ink);
}

.path-card .index {
  color: var(--muted);
  font-size: 10px;
}

.path-card:hover .index {
  color: var(--leaf);
}

.path-card h2 {
  margin: 36px 0 12px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.path-card p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.path-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.path-card .arrow {
  margin-top: auto;
  font-size: 24px;
}

/* General sections */
.section {
  padding-block: clamp(84px, 10vw, 142px);
}

.section-compact {
  padding-block: clamp(70px, 8vw, 105px);
}

.surface-white {
  background: var(--white);
}

.surface-dark {
  color: var(--white);
  background: var(--ink-deep);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ecosystem-card {
  grid-column: span 4;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.58);
}

.ecosystem-card:nth-child(1),
.ecosystem-card:nth-child(5) {
  grid-column: span 8;
}

.ecosystem-card .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ecosystem-card .index {
  color: var(--muted);
  font-size: 10px;
}

.status {
  padding: 5px 7px;
  color: var(--forest);
  background: rgba(121, 217, 83, 0.22);
  font-size: 8px;
  font-weight: 700;
}

.status-building {
  color: #5b4b28;
  background: rgba(217, 164, 65, 0.22);
}

.ecosystem-card h3 {
  max-width: 480px;
  margin: 48px 0 13px;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

.ecosystem-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ecosystem-card .text-link {
  margin-top: auto;
  padding-top: 30px;
  font-size: 13px;
}

.journey {
  overflow: clip;
}

.journey-scroller {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--leaf) rgba(255, 255, 255, 0.12);
  scrollbar-width: thin;
}

.journey-scroller:focus-visible {
  outline-offset: 8px;
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(10, minmax(115px, 1fr));
  min-width: 1120px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.journey-step {
  position: relative;
  min-height: 175px;
  padding: 20px 16px;
  border-right: 1px solid var(--line-dark);
}

.journey-step:first-child {
  border-left: 1px solid var(--line-dark);
}

.journey-step::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 49px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf);
}

.journey-step .index {
  color: var(--leaf);
  font-size: 9px;
}

.journey-step b {
  display: block;
  margin-top: 55px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.journey-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Offers */
.offer-list {
  border-top: 1px solid var(--line);
}

.offer {
  display: grid;
  grid-template-columns: 90px minmax(230px, 0.75fr) minmax(280px, 1.1fr) 170px;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.offer .index {
  color: var(--muted);
  font-size: 10px;
}

.offer h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1;
}

.offer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.offer .text-link {
  justify-self: end;
  font-size: 13px;
}

/* Feature panels */
.feature-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 640px;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 7vw, 100px);
  background: var(--paper-deep);
}

.feature-copy h2 {
  font-size: clamp(42px, 5vw, 72px);
}

.feature-copy > p {
  margin-top: 26px;
}

.feature-copy .text-link {
  margin-top: 32px;
  align-self: flex-start;
}

.feature-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 40px;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--ink);
  background-size: 48px 48px;
  overflow: hidden;
}

.research-orbit {
  position: relative;
  width: min(460px, 86%);
  aspect-ratio: 1;
  border: 1px solid rgba(121, 217, 83, 0.35);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(121, 217, 83, 0.06),
    0 0 0 70px rgba(121, 217, 83, 0.035),
    0 0 0 140px rgba(121, 217, 83, 0.02);
}

.research-orbit::before,
.research-orbit::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.research-orbit::after {
  inset: 40%;
  background: var(--leaf);
  border-color: var(--leaf);
  box-shadow: 0 0 50px rgba(121, 217, 83, 0.42);
}

.orbit-label {
  position: absolute;
  z-index: 2;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink-deep);
  border-left: 2px solid var(--leaf);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-a { left: 2%; top: 46%; }
.orbit-b { right: -3%; top: 22%; }
.orbit-c { right: 7%; bottom: 12%; }

.duo-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.duo-panel {
  min-height: 460px;
  padding: clamp(42px, 6vw, 82px);
}

.duo-panel:first-child {
  color: var(--white);
  background: var(--clay);
}

.duo-panel:last-child {
  background: var(--leaf-soft);
}

.duo-panel .eyebrow {
  margin-bottom: 44px;
}

.duo-panel h2 {
  max-width: 630px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.duo-panel p {
  max-width: 560px;
  margin: 24px 0 0;
  opacity: 0.78;
}

.duo-panel .text-link {
  margin-top: 28px;
}

/* International */
.international-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: 70px;
  align-items: center;
}

.international-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.international-copy p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.language-board {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.language-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.language-row:last-child {
  border-bottom: 0;
}

.language-row b {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.language-row span {
  color: var(--muted);
  font-size: 14px;
}

.language-row i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf);
}

.language-row.pending i {
  background: var(--amber);
}

/* FAQ */
.faq-list {
  max-width: 920px;
  margin-left: auto;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.2;
}

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

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--forest);
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 400;
}

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

.faq-list details p {
  max-width: 760px;
  margin: -4px 0 28px;
  color: var(--muted);
}

/* Newsletter */
.newsletter-section {
  padding-block: clamp(72px, 9vw, 112px);
  background:
    radial-gradient(circle at 12% 18%, rgba(121, 217, 83, 0.12), transparent 34%),
    var(--paper-deep);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.newsletter-copy h2 {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.newsletter-copy p {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.newsletter-form {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.newsletter-field > label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsletter-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.newsletter-input-row input {
  min-width: 0;
  min-height: 54px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(16, 36, 29, 0.28);
  border-right: 0;
  border-radius: 0;
  direction: ltr;
}

[dir="rtl"] .newsletter-input-row input {
  border-right: 1px solid rgba(16, 36, 29, 0.28);
  border-left: 0;
}

.newsletter-input-row .btn {
  min-height: 54px;
  border-radius: 0;
  white-space: nowrap;
}

.newsletter-input-row .btn:disabled {
  cursor: wait;
  opacity: 0.62;
}

.newsletter-optin {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.newsletter-optin input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--forest);
}

.newsletter-optin a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.newsletter-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.newsletter-status[data-state="success"] {
  color: var(--forest);
}

.newsletter-status[data-state="error"] {
  color: var(--clay);
}

/* Closing and footer */
.closing-section {
  padding-block: clamp(84px, 10vw, 130px);
  color: var(--white);
  background: var(--forest);
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 90px;
  align-items: end;
}

.closing h2 {
  max-width: 800px;
  font-size: clamp(48px, 6vw, 84px);
}

.closing > div:last-child p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.7);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  color: var(--white);
  background: var(--ink-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 0.65fr;
  gap: 60px;
  padding-block: 60px 42px;
}

.footer-brand p {
  max-width: 430px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.54);
}

.footer-column h3 {
  margin: 0 0 16px;
  color: var(--leaf);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Diagnostic page */
.page-hero {
  padding-block: 90px 70px;
  color: var(--white);
  background: var(--ink-deep);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
}

.form-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 70px;
  padding-block: 80px 120px;
}

.form-note {
  position: sticky;
  top: 108px;
  align-self: start;
  padding: 26px;
  color: var(--white);
  background: var(--ink);
}

.form-note h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.form-note p,
.form-note li {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.form-note ul {
  margin: 22px 0 0;
  padding-left: 18px;
}

.diagnostic-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.fieldset-title {
  font-weight: 700;
  font-size: 13px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(16, 36, 29, 0.28);
  border-radius: 0;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field small {
  color: var(--muted);
}

.checks {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}

.check input {
  margin-top: 4px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.form-status {
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

/* Privacy */
.privacy-nav-cta {
  margin-inline-start: auto;
}

.legal {
  width: min(850px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 70px 110px;
}

.legal h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.legal h2 {
  margin: 44px 0 10px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal .summary-box {
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--leaf);
  background: var(--white);
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Knowledge center */
.knowledge-hero {
  position: relative;
  padding-block: clamp(74px, 9vw, 124px);
  color: var(--white);
  background: var(--ink-deep);
  overflow: hidden;
}

.knowledge-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 15, 0.96) 0%, rgba(7, 20, 15, 0.82) 48%, rgba(7, 20, 15, 0.18) 100%),
    url("/assets/blog-hero.jpg") center / cover;
  opacity: 0.7;
}

.knowledge-hero .wrap {
  position: relative;
  z-index: 1;
}

.knowledge-hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 8vw, 106px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.knowledge-hero h1 em {
  color: var(--leaf);
  font-weight: 500;
}

.knowledge-hero p {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 2vw, 21px);
}

.knowledge-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.knowledge-tools a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.knowledge-tools a:hover {
  color: var(--ink-deep);
  background: var(--leaf);
  border-color: var(--leaf);
}

.knowledge-index {
  padding-block: clamp(70px, 9vw, 118px);
}

.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  min-height: 510px;
  margin-bottom: 26px;
  color: var(--white);
  background: var(--forest);
}

.featured-story-visual {
  min-height: 420px;
  background:
    linear-gradient(0deg, rgba(7, 20, 15, 0.14), rgba(7, 20, 15, 0.14)),
    url("/assets/blog-hero.jpg") center / cover;
}

.featured-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 58px);
}

.featured-story-copy h2 {
  margin: 26px 0 18px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.featured-story-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.featured-story-copy .text-link {
  margin-top: 28px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.story-browser {
  margin-top: 48px;
}

.content-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1.25fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 24px;
}

.content-toolbar h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.content-toolbar p {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
}

.content-controls {
  display: none;
  gap: 14px;
}

.js .content-controls {
  display: grid;
}

.content-search {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.content-search input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(16, 36, 29, 0.28);
  border-radius: 0;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-chip:hover,
.filter-chip[aria-pressed="true"] {
  color: var(--ink-deep);
  background: var(--leaf);
  border-color: var(--leaf);
}

.article-results {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.story-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.story-card:hover {
  z-index: 1;
  transform: translateY(-4px);
  background: #fbfff7;
  box-shadow: var(--shadow);
}

.story-card h2 {
  margin: 44px 0 16px;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.story-card p {
  margin: 0;
  color: var(--muted);
}

.story-card .text-link {
  margin-top: auto;
  padding-top: 28px;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-meta span + span::before {
  content: "·";
  margin-right: 18px;
}

.knowledge-principles {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  padding-block: clamp(70px, 9vw, 116px);
}

.knowledge-principles h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.principle-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.principle-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.principle-list h3,
.principle-list p {
  margin: 0;
}

.principle-list h3 {
  font-size: 17px;
}

.principle-list p {
  margin-top: 6px;
  color: var(--muted);
}

/* Article */
.article-header {
  padding-block: clamp(66px, 8vw, 104px) clamp(52px, 7vw, 84px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(121, 217, 83, 0.14), transparent 30%),
    var(--ink-deep);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--leaf);
}

.article-header h1 {
  max-width: 960px;
  margin: 18px 0 24px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.article-deck {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(18px, 2vw, 22px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 250px;
  justify-content: center;
  gap: 90px;
  padding-block: clamp(62px, 8vw, 108px);
}

.article-body {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  margin: 9px 9px 0 0;
  color: var(--forest);
  font-size: 76px;
  font-weight: 600;
  line-height: 0.72;
}

.article-body h2 {
  margin: 64px 0 18px;
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.article-body h3 {
  margin: 38px 0 10px;
  font-size: 25px;
  line-height: 1.2;
}

.article-body p,
.article-body li {
  color: #31443c;
}

.article-body strong {
  color: var(--ink);
}

.article-body a {
  text-decoration: underline;
  text-decoration-color: var(--leaf);
  text-underline-offset: 4px;
}

.article-body blockquote {
  margin: 46px 0;
  padding: 28px 32px;
  color: var(--ink);
  background: var(--leaf-soft);
  border-left: 4px solid var(--forest);
  font-size: 25px;
  line-height: 1.35;
}

.article-body .article-checklist {
  margin: 34px 0;
  padding: 28px 30px 28px 52px;
  background: var(--white);
  border: 1px solid var(--line);
}

.article-aside {
  position: sticky;
  top: 106px;
  align-self: start;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.article-aside h2 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-aside a {
  display: block;
  min-height: 44px;
  margin: 2px 0;
  padding-block: 11px;
  color: var(--muted);
  font-size: 13px;
}

.article-aside a:hover {
  color: var(--forest);
}

.article-cta {
  margin-top: 54px;
  padding: 34px;
  color: var(--white);
  background: var(--forest);
  font-family: var(--sans);
}

.article-cta h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 34px;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.7);
}

.article-cta .btn {
  margin-top: 10px;
}

.reading-progress {
  --reading-progress: 0%;
  position: fixed;
  top: 72px;
  left: 0;
  z-index: 89;
  width: var(--reading-progress);
  height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--amber));
  pointer-events: none;
}

.breadcrumbs a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.knowledge-model.is-paused .model-orbit,
.knowledge-model.is-paused .model-node,
.knowledge-model.is-paused .solar-logo img,
.knowledge-model.is-paused .solar-logo::before,
.knowledge-model.is-paused .solar-logo::after,
.feature-visual.is-paused * {
  animation-play-state: paused !important;
}

.model-orbit:focus-within,
.model-orbit:focus-within .model-node {
  animation-play-state: paused;
}

:where([lang="ar"], [lang="hi"], [lang^="zh"], [lang="ja"], [lang="ko"]) :is(h1, h2, h3, .brand, .eyebrow, .index) {
  letter-spacing: normal;
}

:where([lang="ar"], [lang="hi"], [lang^="zh"], [lang="ja"], [lang="ko"]) :is(.hero h1, .section-intro h2, .international-copy h2, .closing h2, .knowledge-hero h1, .article-header h1) {
  line-height: 1.12;
}

:where([lang="ar"], [lang="hi"], [lang^="zh"], [lang="ja"], [lang="ko"]) em {
  font-style: normal;
}

.topic-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0 26px;
  background: var(--line);
  border: 1px solid var(--line);
}

.topic-nav a {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--paper-deep);
  transition: background 180ms ease, color 180ms ease;
}

.topic-nav a:hover {
  color: var(--white);
  background: var(--forest);
}

.topic-nav b {
  margin-top: 34px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.05;
}

.topic-nav small {
  margin-top: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.topic-nav a:hover small {
  color: rgba(255, 255, 255, 0.6);
}

.topic-hero {
  padding-block: clamp(70px, 9vw, 116px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(121, 217, 83, 0.14), transparent 28%),
    var(--ink-deep);
}

.topic-hero h1 {
  max-width: 930px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 8vw, 102px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.topic-hero > .wrap > p {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(18px, 2vw, 22px);
}

.topic-index {
  padding-block: clamp(70px, 9vw, 116px);
}

.topic-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 48px;
}

.topic-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.topic-intro p {
  margin: 0;
  color: var(--muted);
}

.related-reading {
  margin-top: 72px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
}

.related-reading h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 38px;
}

.related-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.related-links a {
  display: block;
  padding: 24px;
  background: var(--white);
  text-decoration: none;
}

.related-links a:hover {
  background: var(--leaf-soft);
}

.related-links b,
.related-links span {
  display: block;
}

.related-links span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.policy-page {
  max-width: 920px;
  padding-block: clamp(70px, 9vw, 116px);
}

.policy-page > section {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.policy-page h2,
.policy-page p {
  grid-column: 2;
}

.policy-page h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
}

.policy-page p {
  margin: 10px 0 0;
  color: var(--muted);
}

.policy-page a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: var(--leaf);
  text-underline-offset: 4px;
}

.home-knowledge {
  background: var(--paper-deep);
}

.knowledge-all-link {
  margin-top: 32px;
}

@media (max-width: 900px) {
  .featured-story,
  .knowledge-principles,
  .article-shell,
  .topic-intro,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-toolbar {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .topic-nav {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    grid-row: 1;
    padding: 0 0 24px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .knowledge-hero::after {
    background:
      linear-gradient(rgba(7, 20, 15, 0.88), rgba(7, 20, 15, 0.9)),
      url("/assets/blog-hero.jpg") 66% center / cover;
  }

  .featured-story {
    display: flex;
    flex-direction: column;
  }

  .featured-story-visual {
    min-height: 260px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .policy-page > section {
    grid-template-columns: 1fr;
  }

  .policy-page h2,
  .policy-page p {
    grid-column: 1;
  }

  .story-card {
    min-height: auto;
  }

  .newsletter-input-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .newsletter-input-row input,
  [dir="rtl"] .newsletter-input-row input {
    border: 1px solid rgba(16, 36, 29, 0.28);
  }

  .newsletter-input-row .btn {
    justify-content: center;
  }

  .article-body {
    font-size: 18px;
  }

  .article-body blockquote {
    margin-inline: 0;
    padding: 24px;
    font-size: 22px;
  }
}

@media (max-width: 1050px) {
  .js .nav-links {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 24px;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--line-dark);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .js .nav-links.open {
    display: flex;
    flex-direction: column;
  }

  html:not(.js) .nav {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  html:not(.js) .nav-links {
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
  }

  html:not(.js) .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }

  .nav-links a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-cta {
    margin-top: 10px;
    text-align: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

  .knowledge-model {
    min-height: 460px;
  }

  .pathways-grid {
    grid-template-columns: 1fr 1fr;
  }

  .path-card:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .path-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .ecosystem-card,
  .ecosystem-card:nth-child(1),
  .ecosystem-card:nth-child(5) {
    grid-column: span 6;
  }

  .offer {
    grid-template-columns: 60px 0.7fr 1fr;
  }

  .offer .text-link {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .feature-split {
    grid-template-columns: 1fr;
  }

  .international-grid,
  .closing,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .form-note {
    position: static;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .language {
    margin-left: auto;
  }

  .language-menu {
    margin-left: auto;
  }

  [dir="rtl"] .language-menu {
    margin-right: auto;
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 54px;
    padding-block: 72px 64px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .journey-scroller {
    overflow: visible;
  }

  .journey-track {
    min-width: 0;
    grid-template-columns: 1fr 1fr;
  }

  .journey-step {
    min-height: 118px;
    border-bottom: 1px solid var(--line-dark);
  }

  .journey-step b {
    margin-top: 28px;
  }

  .journey-step::after {
    display: none;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pathways-grid,
  .duo-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .path-card,
  .path-card:first-child,
  .path-card:nth-child(3) {
    min-height: auto;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .path-card h2 {
    margin-top: 26px;
  }

  .ecosystem-card,
  .ecosystem-card:nth-child(1),
  .ecosystem-card:nth-child(5) {
    grid-column: span 12;
    min-height: 280px;
  }

  .offer {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .offer p,
  .offer .text-link {
    grid-column: 2;
  }

  .international-grid {
    gap: 44px;
  }

  .language-row {
    grid-template-columns: 48px 1fr auto;
    padding: 18px;
  }

  .footer-grid {
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
  }

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

  .field-wide,
  .checks,
  .form-actions {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(40px, 12vw, 62px);
  }

  .brand span {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .language {
    gap: 0;
  }

  .language-options {
    position: fixed;
    top: 66px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .knowledge-model {
    min-height: 0;
  }

  .model-canvas {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 28px 16px;
  }

  .model-center {
    position: static;
    order: -1;
    width: 218px;
    height: 218px;
    transform: none;
  }

  .solar-logo {
    width: 196px;
    height: 186px;
  }

  .solar-logo img {
    width: 184px;
    height: 184px;
  }

  .model-center b {
    font-size: 16px;
  }

  .model-orbit {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border: 0;
    border-radius: 0;
    animation: none;
    transform: none;
  }

  .model-orbit::before,
  .model-orbit::after {
    display: none;
  }

  .model-planet {
    position: static;
    width: auto;
    height: auto;
  }

  .model-node {
    min-height: 86px;
    gap: 3px;
    padding: 9px 7px;
    border-radius: 6px;
    animation: none;
  }

  .model-node b,
  .model-node span {
    font-size: 10px;
  }

  .feature-copy,
  .duo-panel {
    padding: 44px 24px;
  }

  .feature-visual {
    min-height: 430px;
    padding: 28px;
  }

  .research-orbit {
    width: 82%;
  }

  .orbit-label {
    font-size: 8px;
  }

  .content-toolbar h2 {
    font-size: 40px;
  }
}

@media (max-width: 360px) {
  .journey-track {
    grid-template-columns: 1fr;
  }
}

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