@font-face {
  font-family: "MorVazir";
  src: url("./assets/fonts/MorVazir-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

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

@font-face {
  font-family: "MorVazir";
  src: url("./assets/fonts/MorVazir-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050907;
  --text: #f7fff6;
  --muted: #b8c9bb;
  --line: rgba(176, 255, 181, 0.14);
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(125, 240, 56, 0.12);
  --accent: #7df038;
  --accent-2: #22d47b;
  --accent-3: #d8ff72;
  --warm: #f5a524;
  --radius: 28px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(125, 240, 56, 0.22), transparent 30rem),
    radial-gradient(circle at 19% 80%, rgba(34, 212, 123, 0.16), transparent 26rem),
    linear-gradient(115deg, #020403 0%, #07110b 48%, #102515 100%);
  color: var(--text);
  font-family: "MorVazir", "Segoe UI", Tahoma, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.42));
}

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

button {
  font: inherit;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 80;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  box-shadow: 0 0 18px rgba(125, 240, 56, 0.7);
}

.page-shell {
  width: min(1440px, calc(100% - 28px));
  margin: 14px auto;
  border: 1px solid rgba(174, 255, 176, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 12%, rgba(125, 240, 56, 0.13), transparent 27rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(5, 18, 9, 0.75) 54%, rgba(17, 42, 22, 0.58)),
    rgba(0, 0, 0, 0.72);
  box-shadow: var(--shadow);
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, auto) minmax(190px, 0.7fr);
  grid-template-areas: "actions nav brand";
  align-items: center;
  gap: 18px;
  padding: 24px clamp(18px, 4.8vw, 76px) 16px;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5, 12, 7, 0.16), rgba(5, 12, 7, 0));
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

[dir="ltr"] .site-header {
  grid-template-areas: "brand nav actions";
}

.site-header::after {
  position: absolute;
  right: clamp(18px, 4.8vw, 76px);
  bottom: 0;
  left: clamp(18px, 4.8vw, 76px);
  height: 1px;
  pointer-events: none;
  opacity: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(125, 240, 56, 0.72), transparent);
  transition: opacity 220ms ease;
}

.site-header.is-stuck {
  border-color: rgba(176, 255, 181, 0.14);
  background:
    radial-gradient(circle at 84% 0%, rgba(125, 240, 56, 0.13), transparent 22rem),
    linear-gradient(180deg, rgba(3, 12, 7, 0.96), rgba(5, 18, 10, 0.9));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 1px 0 rgba(125, 240, 56, 0.08);
  backdrop-filter: blur(22px) saturate(1.25);
}

.site-header.is-stuck::after {
  opacity: 1;
}

.brand {
  grid-area: brand;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

[dir="ltr"] .brand {
  justify-self: start;
}

.brand__mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061109;
}

.nav {
  grid-area: nav;
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 6px;
  border: 1px solid rgba(194, 255, 198, 0.17);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  min-width: max-content;
  padding: 10px 14px;
  border-radius: 999px;
  color: #dbe8d9;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  background: rgba(125, 240, 56, 0.13);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(125, 240, 56, 0.16);
}

.header-actions {
  grid-area: actions;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
}

[dir="ltr"] .header-actions {
  justify-self: end;
}

.lang-toggle,
.download-btn {
  border: 1px solid rgba(125, 240, 56, 0.45);
  border-radius: 999px;
  color: #f6fff4;
  background: rgba(125, 240, 56, 0.07);
  cursor: pointer;
}

.lang-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.download-btn__icon {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  rotate: -45deg;
}

[dir="ltr"] .download-btn__icon {
  rotate: 135deg;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  min-height: min(808px, calc(100vh - 88px));
  padding: clamp(44px, 5.2vw, 80px) clamp(18px, 4.8vw, 76px) 44px;
  direction: ltr;
}

.hero__content {
  position: relative;
  z-index: 3;
  direction: rtl;
  text-align: right;
}

[dir="ltr"] .hero__content,
[dir="ltr"] .section,
[dir="ltr"] .contact-copy {
  direction: ltr;
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: #e7f2e4;
  font-size: clamp(15px, 1.25vw, 18px);
}

.eyebrow strong {
  color: var(--accent);
}

.hero h1 {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 82px);
  font-weight: 800;
  line-height: 1.1;
}

.hero__title-en {
  direction: ltr;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.76em;
  font-weight: 500;
}

.hero__lead {
  width: min(650px, 100%);
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 2.05;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.primary-btn,
.outline-btn,
.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  will-change: transform;
}

.primary-btn {
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  color: #071108;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-3), var(--accent), var(--accent-2));
  box-shadow: 0 18px 44px rgba(125, 240, 56, 0.28);
}

.outline-btn {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(198, 255, 192, 0.2);
  border-radius: 999px;
  color: #f3ffef;
  background: rgba(255, 255, 255, 0.055);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  border-block-start: 2px solid currentColor;
  border-inline-start: 2px solid currentColor;
  rotate: -45deg;
}

[dir="ltr"] .btn-arrow {
  rotate: 135deg;
}

.play-btn {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(198, 255, 192, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.play-btn span {
  width: 0;
  height: 0;
  margin-inline-start: 4px;
  border-block: 8px solid transparent;
  border-inline-start: 13px solid #fff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.metrics strong {
  display: block;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.hero__visual {
  position: relative;
  min-height: clamp(530px, 60vw, 720px);
  isolation: isolate;
  direction: ltr;
  perspective: 1200px;
}

.hero__visual::before {
  position: absolute;
  inset: 15% 4% 8% 10%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 240, 56, 0.23), rgba(34, 212, 123, 0.08) 42%, transparent 70%);
  filter: blur(16px);
  content: "";
}

.orbital-system {
  position: absolute;
  inset: 15% 2% 0 7%;
  z-index: 0;
  transform-style: preserve-3d;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1px solid rgba(197, 255, 196, 0.16);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.orbit-ring--one {
  width: 88%;
  height: 58%;
}

.orbit-ring--two {
  width: 72%;
  height: 45%;
  border-color: rgba(125, 240, 56, 0.22);
  transform: rotate(-24deg);
}

.orbit-ring--three {
  width: 55%;
  height: 34%;
  border-color: rgba(216, 255, 114, 0.2);
  transform: rotate(-4deg);
}

.orbit-ring i {
  position: absolute;
  top: 50%;
  left: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(125, 240, 56, 0.9), 0 0 42px rgba(125, 240, 56, 0.4);
}

.orbit-ring--two i {
  left: auto;
  right: 12%;
  top: 8%;
  background: var(--accent-3);
}

.orbit-ring--three i {
  left: 44%;
  top: auto;
  bottom: -6px;
  background: var(--accent-2);
}

.pulse-core {
  position: absolute;
  right: 24%;
  bottom: 24%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 240, 56, 0.2), transparent 68%);
  filter: blur(2px);
}

.developer {
  position: absolute;
  right: -6%;
  bottom: -18%;
  z-index: 3;
  width: min(735px, 110%);
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.55));
}

.bolt {
  position: absolute;
  top: 2%;
  right: 1%;
  z-index: 1;
  width: clamp(125px, 17vw, 235px);
  mix-blend-mode: screen;
  opacity: 0.72;
  filter: drop-shadow(0 0 24px rgba(105, 255, 41, 0.52));
  pointer-events: none;
  transform-origin: 45% 55%;
}

.marquee {
  padding: 0 clamp(18px, 4.8vw, 76px) 46px;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 12px;
  will-change: transform;
}

.marquee span {
  padding: 11px 17px;
  border: 1px solid rgba(198, 255, 192, 0.13);
  border-radius: 999px;
  color: #e8f8e6;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 4.8vw, 76px);
  border-top: 1px solid rgba(176, 255, 181, 0.09);
}

.section-heading {
  display: grid;
  gap: 12px;
  width: min(800px, 100%);
  margin-bottom: 34px;
}

.section-heading span,
.contact-copy span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.35;
}

.about-grid,
.service-grid,
.work-grid,
.article-grid,
.course-grid,
.process-list,
.contact-section {
  display: grid;
  gap: 18px;
}

.about-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: start;
}

.about-copy,
.about-points,
.service-card,
.work-card,
.article-card,
.course-card,
.process-list article {
  position: relative;
  border: 1px solid rgba(198, 255, 192, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
}

.about-copy {
  padding: 32px;
}

.about-copy p,
.service-card p,
.work-card p,
.article-card p,
.course-card p,
.process-list p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-points {
  display: grid;
  padding: 10px;
}

.about-points article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid rgba(198, 255, 192, 0.09);
  background: transparent;
}

.about-points article:last-child {
  border-bottom: 0;
}

.about-points strong,
.card-index,
.process-list span {
  color: var(--accent);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 800;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.work-card,
.article-card,
.course-card,
.process-list article {
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
}

.service-card::after,
.work-card::after,
.article-card::after,
.course-card::after {
  position: absolute;
  inset: auto -44px -64px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 240, 56, 0.24), transparent 70%);
  content: "";
}

.service-card h3,
.work-card h3,
.article-card h3,
.course-card h3,
.process-list h3 {
  margin: 22px 0 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.55;
}

.work-grid {
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
}

.work-card--featured {
  min-height: 320px;
  background:
    radial-gradient(circle at 18% 18%, rgba(125, 240, 56, 0.18), transparent 17rem),
    linear-gradient(135deg, rgba(125, 240, 56, 0.12), rgba(255, 255, 255, 0.035));
}

.work-card span,
.article-card time,
.course-card span {
  color: var(--accent-3);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  display: block;
}

.course-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-card {
  min-height: 260px;
}

.process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-section {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.48fr);
  align-items: stretch;
  background:
    radial-gradient(circle at 16% 50%, rgba(125, 240, 56, 0.16), transparent 22rem),
    rgba(255, 255, 255, 0.035);
}

.contact-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  width: min(760px, 100%);
}

.contact-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.contact-highlights article,
.contact-panel,
.contact-method {
  border: 1px solid rgba(198, 255, 192, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.contact-highlights article {
  padding: 18px;
}

.contact-highlights strong,
.contact-method strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
}

.contact-highlights span,
.contact-method small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  backdrop-filter: blur(18px);
}

.contact-method {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

a.contact-method:hover,
a.contact-method:focus-visible {
  border-color: rgba(125, 240, 56, 0.38);
  background: rgba(125, 240, 56, 0.08);
  transform: translateY(-2px);
}

.contact-method__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #061109;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-3), var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(125, 240, 56, 0.2);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-panel .contact-actions {
  justify-content: stretch;
}

.contact-panel .contact-actions a {
  flex: 1 1 160px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4.8vw, 76px);
  border-top: 1px solid rgba(176, 255, 181, 0.09);
  color: var(--muted);
  font-size: 14px;
}

.footer span:first-child {
  direction: ltr;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 800;
}

.article-page {
  padding: clamp(42px, 5vw, 72px) clamp(18px, 4.8vw, 76px) clamp(64px, 7vw, 96px);
}

.article-hero {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 62px) 0 clamp(28px, 4vw, 44px);
  text-align: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 800;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: var(--accent-3);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
}

.article-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.25;
}

.article-hero p {
  width: min(780px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 2;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  gap: 22px;
  align-items: start;
  max-width: 1180px;
  margin-inline: auto;
}

.article-body,
.article-sidebar,
.article-cta {
  border: 1px solid rgba(198, 255, 192, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.article-body {
  padding: clamp(24px, 4vw, 48px);
}

.article-body h2,
.article-body h3 {
  color: #fff;
  line-height: 1.55;
}

.article-body h2 {
  margin: 40px 0 14px;
  font-size: clamp(25px, 3vw, 38px);
}

.article-body h3 {
  margin: 28px 0 10px;
  font-size: clamp(20px, 2.2vw, 26px);
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 16px;
  line-height: 2.08;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  padding-inline-start: 24px;
  margin: 16px 0 24px;
}

.article-body strong {
  color: #fff;
}

.article-note {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid rgba(125, 240, 56, 0.18);
  border-radius: 8px;
  color: #f3ffef;
  background: rgba(125, 240, 56, 0.08);
}

.article-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  padding: 14px 16px;
  border: 1px solid rgba(198, 255, 192, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.article-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 22px;
  padding: 22px;
}

.article-sidebar h2,
.article-sidebar h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.toc,
.related-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a,
.related-list a {
  display: block;
  padding: 11px 12px;
  border: 1px solid rgba(198, 255, 192, 0.11);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.toc a:hover,
.related-list a:hover {
  border-color: rgba(125, 240, 56, 0.36);
  color: var(--accent);
  background: rgba(125, 240, 56, 0.08);
}

.article-cta {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  padding: clamp(24px, 4vw, 36px);
  background:
    radial-gradient(circle at 12% 50%, rgba(125, 240, 56, 0.16), transparent 20rem),
    rgba(255, 255, 255, 0.035);
}

.article-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 38px);
}

.article-cta p {
  width: min(760px, 100%);
  margin: 0;
  color: var(--muted);
  line-height: 2;
}

[data-animate],
[data-reveal],
.layer {
  opacity: 0;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "actions brand"
      "nav nav";
  }

  [dir="ltr"] .site-header {
    grid-template-areas:
      "brand actions"
      "nav nav";
  }

  .nav {
    justify-self: stretch;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .hero,
  .about-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero__content {
    text-align: center;
  }

  .hero__lead,
  .metrics {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    min-height: 620px;
  }

  .orbital-system {
    inset: 15% 12% 0 -16%;
  }

  .developer {
    right: -18%;
    translate: 0 0;
    bottom: -16%;
    width: min(660px, 115%);
  }

  .bolt {
    right: auto;
    left: 6%;
  }

  .work-grid,
  .article-grid,
  .process-list,
  .article-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .contact-panel .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 16px, 520px);
    margin: 8px auto;
    border-radius: 22px;
  }

  .site-header {
    gap: 14px;
    padding: 18px 14px 14px;
  }

  .brand {
    font-size: 16px;
  }

  .brand__mark {
    width: 28px;
    height: 28px;
  }

  .header-actions {
    gap: 8px;
  }

  .download-btn {
    min-height: 38px;
    padding: 8px 11px;
  }

  .download-btn__text {
    display: none;
  }

  .lang-toggle {
    width: 38px;
    height: 38px;
  }

  .nav {
    justify-content: flex-start;
    padding: 5px;
  }

  .nav a {
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero {
    padding: 38px 16px 30px;
  }

  .hero h1 {
    font-size: clamp(38px, 10.8vw, 56px);
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .metrics,
  .service-grid,
  .work-grid,
  .article-grid,
  .course-grid,
  .process-list,
  .article-checklist {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 470px;
  }

  .orbital-system {
    inset: 12% 18% 0 -24%;
  }

  .developer {
    right: -10%;
    translate: 0 0;
    bottom: -11%;
    width: min(510px, 128%);
  }

  .bolt {
    top: 0;
    right: auto;
    left: -5%;
    width: 142px;
  }

  .section {
    padding: 58px 16px;
  }

  .about-copy,
  .service-card,
  .work-card,
  .article-card,
  .course-card,
  .process-list article,
  .article-body,
  .article-sidebar {
    padding: 24px;
  }

  .contact-actions,
  .footer {
    flex-direction: column;
  }

  .contact-highlights {
    grid-template-columns: 1fr;
  }

  .contact-method {
    grid-template-columns: 38px 1fr;
    padding: 14px;
  }

  .contact-method__icon {
    width: 38px;
    height: 38px;
  }

  .contact-panel .contact-actions a {
    width: 100%;
  }
}

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

  [data-animate],
  [data-reveal],
  .layer {
    opacity: 1;
  }
}
