@font-face {
  font-family: "IRANYekanX";
  src: url("fonts/iranyekanx/IRANYekanXFaNum-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("fonts/iranyekanx/IRANYekanXFaNum-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("fonts/iranyekanx/IRANYekanXFaNum-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("fonts/iranyekanx/IRANYekanXFaNum-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root,
[data-theme="dark"] {
  color-scheme: dark;
  /* پیش‌فرض: دارک — Clarity Path */
  --bg-white: #ffffff;
  --bg: #0a1018;
  --bg-soft: #152031;
  --bg-paper: #0e1520;
  --bg-mist: #121a28;
  --bg-calm: #0f1a18;
  --bg-trust: #111927;
  --bg-outcome: #131b2a;
  --bg-slate: #152031;
  --ink: #e8eef7;
  --muted: #94a1b6;
  --line: #2a364a;
  --navy: #d6e0ee;
  --navy-deep: #eef3fa;
  --blue: #6b9fd4;
  --blue-soft: #82add9;
  --teal: #5aaba0;
  --accent: #8ec0ff;
  --accent-hover: #a8d0ff;
  --accent-soft: #6b9fd4;
  --accent-mist: color-mix(in srgb, #8ec0ff 14%, #151e2d);
  --surface: #151e2d;
  --surface-elevated: #1a2435;
  --btn-primary-bg: var(--accent);
  --btn-primary-fg: #0a1018;
  --btn-primary-hover: var(--accent-hover);
  --hero-glow-a: rgba(142, 192, 255, 0.14);
  --hero-glow-b: rgba(90, 171, 160, 0.08);
  --hero-glow-c: rgba(142, 192, 255, 0.1);
  --hero-base-start: #101825;
  --hero-base-mid: var(--bg-paper);
  --hero-base-end: #0e1716;
  --hero-dot: rgba(232, 238, 247, 0.045);
  --outcome-glow: #4a5a72;
  --outcome-start: #151e2e;
  --outcome-end: #121b2a;
  --voice-bg-start: #070b12;
  --voice-bg-end: #0c1420;
  --voice-fg: #ffffff;
  --voice-muted: #c8d3e4;
  --voice-glow: rgba(107, 159, 212, 0.18);
  --work-grad-a: #152033;
  --work-grad-b: #131c2c;
  --work-grad-c: #162235;
  --cta-grad-a: #121b2b;
  --cta-grad-b: #0e1622;
  --cta-grad-c: #111a28;
  --svg-label: #eef3fa;
  --svg-label-muted: #b7c3d6;
  --space: clamp(1.25rem, 3vw, 2rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --wrap: 1120px;
  --measure: 38rem;
  --radius-btn: 999px;
  --theme-ease: color 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8fb;
  --bg-soft: #f2f2f2;
  --bg-paper: #fbfcfe;
  --bg-mist: #f6f8fb;
  --bg-calm: #fbfcfe;
  --bg-trust: #f6f8fb;
  --bg-outcome: #ffffff;
  --bg-slate: #f2f2f2;
  --ink: #142033;
  --muted: #5a6578;
  --line: #d5dde8;
  --navy: #15233d;
  --navy-deep: #0f1a2e;
  --blue: #2f5f9a;
  --blue-soft: #5b8ec4;
  --teal: #3d8f84;
  --accent: #3b7cc9;
  --accent-hover: #2f6bb0;
  --accent-soft: #6b9fd4;
  --accent-mist: color-mix(in srgb, #3b7cc9 12%, #fff);
  --surface: var(--bg-white);
  --surface-elevated: var(--bg-white);
  --btn-primary-bg: var(--navy);
  --btn-primary-fg: #ffffff;
  --btn-primary-hover: var(--navy-deep);
  --hero-glow-a: rgba(91, 142, 196, 0.22);
  --hero-glow-b: rgba(61, 143, 132, 0.12);
  --hero-glow-c: rgba(59, 124, 201, 0.1);
  --hero-base-start: #eaf1f9;
  --hero-base-mid: var(--bg-paper);
  --hero-base-end: #eef5f3;
  --hero-dot: rgba(20, 32, 51, 0.055);
  --outcome-glow: #9aa8bc;
  --outcome-start: #e2e8f0;
  --outcome-end: #e8eef8;
  --voice-bg-start: #121c2e;
  --voice-bg-end: #172438;
  --voice-fg: #ffffff;
  --voice-muted: #e8eef6;
  --voice-glow: rgba(91, 142, 196, 0.22);
  --work-grad-a: #dde7f3;
  --work-grad-b: #e8eef8;
  --work-grad-c: #e3ebf5;
  --cta-grad-a: #eef3fb;
  --cta-grad-b: #f8fafd;
  --cta-grad-c: #e9eef8;
  --svg-label: #1a2744;
  --svg-label-muted: #5c6370;
}

/* Dark theme: keep light-ish “capsule” sections dark too */
[data-theme="dark"] .band-capability {
  background: var(--bg-paper);
}

[data-theme="dark"] .band-work {
  background: var(--bg-mist);
}

[data-theme="dark"] .section-cta {
  background: var(--bg-paper);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IRANYekanX", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: var(--theme-ease);
}

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

img {
  max-width: 100%;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.narrow-block {
  max-width: 42rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg-paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.logo:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.4rem 1rem !important;
  font-weight: 500;
  color: var(--btn-primary-fg) !important;
  background: var(--btn-primary-bg);
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  color: var(--btn-primary-fg) !important;
  background: var(--btn-primary-hover);
}

.nav-cta i {
  font-size: 1.05rem;
  line-height: 1;
}

.nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--accent);
}

.nav-cta[aria-current="page"] {
  color: var(--btn-primary-fg) !important;
  background: var(--btn-primary-hover);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.header-tools .theme-toggle {
  flex-shrink: 0;
  margin-inline-start: 0.15rem;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: var(--radius-btn);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: var(--surface);
}

.theme-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 2px;
}

.theme-toggle i {
  font-size: 1.15rem;
  line-height: 1;
}

.theme-toggle .theme-icon-moon {
  display: none;
}

.theme-toggle .theme-icon-sun {
  display: block;
}

[data-theme="light"] .theme-toggle .theme-icon-moon {
  display: block;
}

[data-theme="light"] .theme-toggle .theme-icon-sun {
  display: none;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: var(--radius-btn);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: var(--surface);
}

.nav-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 2px;
}

.nav-toggle i {
  font-size: 1.25rem;
  line-height: 1;
}

.nav-toggle .nav-toggle-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
  display: block;
}

.nav-cta span {
  white-space: nowrap;
}

/* Sections */
.section {
  padding-block: var(--section);
}

.is-fullpage .fullpage-section {
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.is-fullpage .fullpage-section > .wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.is-fullpage .hero.fullpage-section {
  justify-content: center;
}

/* Tall sections: keep natural top alignment so reading starts from top */
.is-fullpage .fullpage-section.is-tall {
  justify-content: flex-start;
}

.section-alt {
  background: var(--bg-mist);
}

.band-paper {
  background: var(--bg-paper);
}

.band-mist {
  background: var(--bg-mist);
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.band-calm {
  background: var(--bg-calm);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

/* اعتماد نهادی — آبی پایدار برای مسیر همکاری */
.band-trust {
  background: var(--bg-trust);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

/* از وضعیت مبهم تا نتیجه روشن */
.band-outcome {
  background: var(--bg-outcome);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.band-outcome > .wrap {
  position: relative;
  z-index: 1;
}

.assessment {
  text-align: center;
}

.assessment-wrap {
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  max-width: 40rem;
  margin-inline: auto;
  padding-block: clamp(1rem, 3vw, 2rem);
}

.assessment-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.15rem;
  color: var(--teal);
  font-size: 2rem;
  line-height: 1;
  border: 1px solid color-mix(in srgb, var(--teal) 35%, transparent);
  border-radius: 999px;
}

.assessment-icon i {
  display: block;
  line-height: 1;
}

.assessment-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.assessment-title {
  margin: 0;
  max-width: 25ch;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.assessment-text {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 400;
  line-height: 2;
  color: var(--muted);
  text-wrap: pretty;
}

.assessment-output {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.35rem;
  margin: 0.85rem 0 0;
  max-width: 38rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.assessment-output span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.assessment-output span:not(:last-child)::after {
  content: "←";
  margin-right: 0.35rem;
  color: var(--teal);
  font-weight: 400;
  opacity: 0.75;
}

.band-slate {
  background: var(--bg-slate);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.band-continuity {
  background: var(--bg-calm);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.band-capability {
  background: var(--bg-white);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.band-work {
  background: var(--bg-soft);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.cap-list {
  display: grid;
  gap: 0;
}

.cap {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.25rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.cap:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cap-num {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-top: 0.2rem;
}

.cap h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cap p {
  margin: 0;
  max-width: 42rem;
}

.cap p + p {
  margin-top: 0.85rem;
}

.cap strong {
  color: var(--ink);
  font-weight: 500;
}

.cap .work-tags {
  margin-top: 1rem;
}

.cap p.work-tags {
  max-width: none;
}

/* Work / cases */
.work-list {
  display: grid;
  gap: 0;
}

.work {
  display: grid;
  gap: 0.75rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
  justify-items: start;
}

.work:last-child {
  border-bottom: none;
}

.work h3 {
  margin: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: var(--navy);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.work-icon {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.9;
}

.work p {
  margin: 0;
  max-width: 46rem;
  font-size: 0.98rem;
  line-height: 1.85;
}

.work strong {
  color: var(--ink);
  font-weight: 500;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  margin: 0.15rem 0 0;
}

.work-tags span {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--muted);
  background: color-mix(in srgb, var(--bg-mist) 85%, var(--line));
  border: 0;
}

.band-work .work-tags span {
  background: color-mix(in srgb, var(--bg-paper) 78%, transparent);
}

.work-link {
  margin-top: 0.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.work-link i {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.85;
}

.work-link:hover {
  color: var(--accent-hover);
}

.work-dossier {
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 40rem;
}

.work-dossier a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid color-mix(in srgb, var(--navy) 25%, transparent);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.work-dossier a i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
}
}

.work-dossier a:hover {
  color: var(--blue);
  border-bottom-color: color-mix(in srgb, var(--blue) 45%, transparent);
}

/* Case study pages */
.case-page {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.case-page .wrap {
  max-width: 44rem;
}

.case-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue);
}

.case-back i {
  font-size: 1em;
  line-height: 1;
}

.case-back:hover {
  color: var(--navy);
}

.case-page .eyebrow {
  margin-bottom: 0.85rem;
}

.case-page h1 {
  display: flex;
  align-items: flex-start;
  gap: 0.45em;
  max-width: none;
  margin-bottom: 2.5rem;
  font-size: clamp(1.75rem, 3.8vw, 2.55rem);
}

.case-page h1 i {
  flex-shrink: 0;
  font-size: 1em;
  color: var(--accent);
  line-height: 1.35;
}

.case-page h1 span {
  max-width: 18ch;
}

.case-block {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.case-block h2 {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.case-block h2 i {
  font-size: 1em;
  color: var(--accent);
  letter-spacing: 0;
}

.case-block p {
  margin: 0;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
}

.case-block p strong {
  color: var(--ink);
  font-weight: 500;
}

.case-scale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-scale div {
  display: grid;
  gap: 0.35rem;
}

.case-scale i {
  font-size: 1.15rem;
  color: var(--accent);
  line-height: 1;
}

.case-scale strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.case-scale span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.case-tech {
  margin: 0 0 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-tech summary {
  display: flex;
  align-items: center;
  gap: 0.45em;
  cursor: pointer;
  list-style: none;
  padding-block: 1.15rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
}

.case-tech summary i {
  font-size: 1em;
  color: var(--accent);
}

.case-tech summary::-webkit-details-marker {
  display: none;
}

.case-tech summary::after {
  content: "+";
  margin-inline-start: auto;
  color: var(--blue);
  font-weight: 400;
}

.case-tech[open] summary::after {
  content: "−";
}

.case-tech-body {
  display: grid;
  gap: 1.15rem;
  padding: 0 0 1.5rem;
}

.case-tech-body p,
.case-tech-body li {
  margin: 0;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}

.case-tech-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.case-tech-body li {
  display: flex;
  align-items: flex-start;
  gap: 0.45em;
}

.case-tech-body li::before {
  content: none;
}

.case-tech-body li i {
  flex-shrink: 0;
  margin-top: 0.2em;
  font-size: 1em;
  color: var(--accent);
}

.case-dossier {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0 0;
}

.case-dossier h2 {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.case-dossier h2 i {
  font-size: 1em;
  color: var(--accent);
}

.case-dossier dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.case-dossier div {
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  gap: 0.75rem;
  align-items: center;
}

.case-dossier dt {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.case-dossier dt i {
  font-size: 1em;
  color: var(--accent);
}

.case-dossier dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
}

.case-dossier .btn {
  justify-self: start;
  margin-top: 0.5rem;
}

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

  .case-dossier div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.section-problems {
  background: var(--bg-mist);
  border-top: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}

.section-head-wide .lead {
  max-width: 42rem;
}

.section-head {
  display: grid;
  gap: 1.15rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 46rem;
}

.section-head h2,
.about-split-head h2,
.about-shaped > h2,
.about-people-copy h2 {
  display: flex;
  align-items: flex-start;
  gap: 0.45em;
}

.section-head h2 > i,
.about-split-head h2 > i,
.about-shaped > h2 > i,
.about-people-copy h2 > i {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1em;
  line-height: 1.45;
}

.section-head h2 > span,
.about-split-head h2 > span,
.about-shaped > h2 > span,
.about-people-copy h2 > span {
  min-width: 0;
}

.section-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-paper));
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: 999px;
}

.section-mark-center {
  margin-inline: auto;
}

.section-mark i {
  display: block;
  line-height: 1;
}

.section-head.narrow {
  max-width: 32rem;
}

.section-head-wide {
  max-width: 52rem;
}

.section-head-wide h2 {
  max-width: none;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.hero .eyebrow-brand,
.about-hero .eyebrow-brand,
.case-page .eyebrow-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero .eyebrow-brand i,
.about-hero .eyebrow-brand i,
.case-page .eyebrow-brand i {
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.92;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  max-width: min(36rem, 100%);
}

h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: var(--measure);
}

p:last-child {
  margin-bottom: 0;
}

.hero-copy strong {
  color: var(--ink);
  font-weight: 500;
}

.lead {
  font-size: 1.1rem;
  max-width: 40rem;
}

.lead strong,
.section-head strong {
  color: var(--ink);
  font-weight: 500;
}

.note {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.note.center {
  text-align: center;
  margin-inline: auto;
}

.meta {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.meta.wide {
  max-width: none;
}

.closing {
  margin-top: 1.5rem;
  color: var(--ink);
  font-weight: 500;
}

.sub {
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.divider {
  height: 1px;
  background: var(--line);
  margin-block: clamp(3rem, 6vw, 5rem);
}

/* Hero */
.hero {
  position: relative;
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--bg-paper);
}

.hero .wrap {
  position: relative;
}

.hero-title {
  margin: 0 0 0.85rem;
  max-width: 22ch;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy > p:not(.note) {
  text-align: justify;
}

.hero-visual {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-height: 100%;
}

.hero-iso {
  width: 118%;
  max-width: 46rem;
  height: auto;
  min-height: 22rem;
  display: block;
  overflow: visible;
  margin-inline-start: -6%;
}

/* Enterprise isometric hero ecosystem */
.hero-iso .iso-floor {
  fill: color-mix(in srgb, var(--svg-ink) 3.5%, transparent);
  stroke: color-mix(in srgb, var(--svg-ink) 8%, transparent);
  stroke-width: 0.6;
}

.hero-iso .iso-floor-outer {
  fill: color-mix(in srgb, var(--svg-ink) 2%, transparent);
}

.hero-iso .iso-axis {
  stroke: color-mix(in srgb, var(--svg-ink) 10%, transparent);
  stroke-width: 0.6;
  stroke-linecap: round;
}

.hero-iso .iso-shadow {
  fill: color-mix(in srgb, var(--svg-ink) 10%, transparent);
}

.hero-iso .iso-glow {
  fill: color-mix(in srgb, var(--svg-blue) 16%, transparent);
  filter: blur(8px);
  animation: soft-pulse 6s ease-in-out infinite;
}

.hero-iso .iso-cables {
  fill: none;
}

.hero-iso .iso-flow {
  fill: none;
  stroke: var(--svg-blue);
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0.62;
  stroke-dasharray: 5 7;
  animation: dash-flow 16s linear infinite;
}

.hero-iso .iso-flow-ops {
  stroke-width: 1;
  opacity: 0.48;
}

.hero-iso .iso-flow-sys {
  opacity: 0.72;
}

.hero-iso .iso-flow.delay-1 {
  animation-delay: -5s;
}

.hero-iso .iso-flow.delay-2 {
  animation-delay: -10s;
}

.hero-iso .iso-left {
  fill: color-mix(in srgb, var(--svg-ink) 72%, var(--svg-blue));
}

.hero-iso .iso-right {
  fill: color-mix(in srgb, var(--svg-ink) 48%, var(--svg-blue));
}

.hero-iso .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 24%, var(--bg-paper));
  stroke: color-mix(in srgb, var(--svg-ink) 14%, transparent);
  stroke-width: 0.55;
}

.hero-iso .iso-legacy .iso-top {
  fill: color-mix(in srgb, var(--svg-ink) 16%, var(--bg-paper));
}

.hero-iso .iso-legacy .iso-left,
.hero-iso .iso-legacy .iso-right {
  fill: color-mix(in srgb, var(--svg-ink) 62%, var(--bg-paper));
  opacity: 0.82;
}

.hero-iso .iso-ops .iso-top {
  fill: color-mix(in srgb, var(--svg-ink) 10%, var(--bg-paper));
}

.hero-iso .iso-ops .iso-left,
.hero-iso .iso-ops .iso-right {
  fill: color-mix(in srgb, var(--svg-ink) 68%, var(--svg-blue));
}

.hero-iso .iso-sys .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 30%, var(--bg-paper));
}

.hero-iso .iso-sys .iso-left,
.hero-iso .iso-sys .iso-right {
  fill: color-mix(in srgb, var(--svg-ink) 58%, var(--svg-blue));
}

.hero-iso .iso-glass .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 18%, var(--bg-paper));
  stroke: color-mix(in srgb, var(--svg-blue) 35%, transparent);
  stroke-width: 0.65;
  opacity: 0.92;
}

.hero-iso .iso-glass .iso-left,
.hero-iso .iso-glass .iso-right {
  fill: color-mix(in srgb, var(--svg-blue) 22%, var(--bg-paper));
  opacity: 0.78;
}

.hero-iso .iso-hub-base .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 38%, var(--bg-paper));
}

.hero-iso .iso-hub-base .iso-left,
.hero-iso .iso-hub-base .iso-right {
  fill: color-mix(in srgb, var(--svg-ink) 42%, var(--svg-blue));
}

.hero-iso .iso-hub .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 42%, var(--bg-paper));
}

.hero-iso .iso-hub .iso-left,
.hero-iso .iso-hub .iso-right {
  fill: color-mix(in srgb, var(--svg-ink) 38%, var(--svg-blue));
}

.hero-iso .iso-hq .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 16%, var(--bg-paper));
}

.hero-iso .iso-core .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 62%, var(--bg-paper));
  stroke: color-mix(in srgb, var(--svg-blue) 50%, transparent);
}

.hero-iso .iso-core .iso-left,
.hero-iso .iso-core .iso-right {
  fill: var(--svg-blue);
}

.hero-iso .iso-accent .iso-top {
  fill: var(--svg-blue);
  stroke: none;
  opacity: 0.88;
}

.hero-iso .iso-accent .iso-left,
.hero-iso .iso-accent .iso-right {
  fill: color-mix(in srgb, var(--svg-blue) 72%, var(--svg-ink));
}

.hero-iso .iso-cyl .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 34%, var(--bg-paper));
}

.hero-iso .iso-cyl .iso-left {
  fill: color-mix(in srgb, var(--svg-ink) 52%, var(--svg-blue));
}

.hero-iso .iso-hex .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 46%, var(--bg-paper));
}

.hero-iso .iso-hex .iso-left,
.hero-iso .iso-hex .iso-right {
  fill: color-mix(in srgb, var(--svg-ink) 46%, var(--svg-blue));
}

.hero-iso .iso-ring {
  fill: none;
  stroke: color-mix(in srgb, var(--svg-blue) 42%, transparent);
  stroke-width: 0.85;
  opacity: 0.55;
}

.hero-iso .iso-ring-2 {
  stroke-width: 0.65;
  opacity: 0.38;
}

.hero-iso .iso-ring-3 {
  stroke-width: 0.9;
  opacity: 0.7;
}

.hero-iso .iso-win {
  fill: color-mix(in srgb, var(--svg-blue) 22%, var(--bg-paper));
  stroke: none;
  opacity: 0.7;
}

.hero-iso .iso-sheen {
  fill: color-mix(in srgb, #ffffff 55%, var(--svg-blue));
  opacity: 0.28;
  pointer-events: none;
}

.hero-iso .iso-roof {
  opacity: 0.94;
}

.hero-iso .iso-dot {
  fill: var(--svg-blue);
}

.hero-iso .iso-port {
  fill: color-mix(in srgb, var(--bg-paper) 70%, var(--svg-blue));
  stroke: var(--svg-blue);
  stroke-width: 0.9;
}

.hero-iso .iso-antenna {
  stroke: color-mix(in srgb, var(--svg-ink) 35%, var(--svg-blue));
  stroke-width: 1;
  stroke-linecap: round;
  opacity: 0.65;
}

.hero-iso .iso-panel .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 20%, var(--bg-paper));
}

.hero-iso .iso-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: soft-pulse 5.5s ease-in-out infinite;
}

.visual-caption {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}

.svg-label,
.svg-label-md {
  fill: var(--svg-label-muted);
  font-family: "IRANYekanX", sans-serif;
  font-size: 11px;
}

.hero-svg-label {
  fill: var(--svg-label);
  font-family: "IRANYekanX", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.hero-svg-sub {
  fill: var(--svg-label-muted);
  font-family: "IRANYekanX", sans-serif;
  font-size: 11px;
  font-weight: 400;
}

.hero-label-group {
  pointer-events: none;
}

.svg-label-md {
  font-size: 12px;
  fill: var(--svg-label);
}

.flow-line {
  stroke-linecap: round;
  animation: dash-flow 12s linear infinite;
}

.flow-line.delay-1 {
  animation-delay: -4s;
}

.flow-line.delay-2 {
  animation-delay: -8s;
}

.pulse-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: soft-pulse 6s ease-in-out infinite;
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -42;
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.22;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-line,
  .pulse-ring,
  .hero-iso .iso-flow,
  .hero-iso .iso-pulse,
  .hero-iso .iso-glow {
    animation: none;
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
}

.btn i {
  font-size: 1.1rem;
  line-height: 1;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid-3 article h3 {
  max-width: 14ch;
}

.problem-grid {
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.problem-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.problem-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.problem-card .mini-visual {
  margin: 0;
  flex-shrink: 0;
  width: auto;
  max-width: none;
  color: var(--navy);
  opacity: 0.85;
  font-size: 4.75rem;
  line-height: 1;
  padding-top: 0;
}

.problem-card .mini-visual i {
  display: block;
}

.problem-card h3 {
  max-width: none;
  width: 100%;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin: 0;
  text-align: right;
}

.problem-card p {
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: none;
  margin: 0;
  text-align: justify;
}

.mini-visual {
  margin-bottom: 1.25rem;
  max-width: 10rem;
}

.mini-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.quote-visual {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  color: var(--navy);
  font-size: 1.75rem;
  opacity: 0.8;
}

.quote-arrow {
  width: 1.75rem;
  height: 1px;
  background: var(--blue);
  opacity: 0.45;
}

.cap-mark {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  align-content: start;
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1;
  background: color-mix(in srgb, var(--accent) 9%, var(--bg-paper));
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 0.65rem;
}

.cap-icon i {
  display: block;
  line-height: 1;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.inline-title {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.checklist li {
  font-size: 0.95rem;
  color: var(--ink);
  padding-right: 0.9rem;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.7em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--teal);
  border-radius: 50%;
}

/* Path */
.band-trust .section-head h2 {
  color: var(--navy);
}

.band-trust .lead {
  color: color-mix(in srgb, var(--ink) 78%, var(--blue));
}

.path-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
}

.path-list li {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.path-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-paper));
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 999px;
}

.path-icon i {
  display: block;
  line-height: 1;
}

.path-body {
  display: grid;
  gap: 0.55rem;
}

.path-body > strong {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.55;
  color: var(--ink);
}

.path-body p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--muted);
}

.path-body .inline-strong {
  color: var(--ink);
  font-weight: 500;
}

/* Outcome — قبل / بعد */
.outcome-head h2 {
  color: var(--navy);
}

.outcome-head .lead {
  max-width: 44rem;
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
}

.outcome-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.outcome-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.outcome-after .outcome-label {
  border-bottom-color: color-mix(in srgb, var(--blue) 28%, transparent);
}

.outcome-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  color: color-mix(in srgb, var(--ink) 55%, var(--muted));
  font-size: 1.45rem;
  line-height: 1;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 999px;
}

.outcome-icon i {
  display: block;
  line-height: 1;
}

.outcome-after .outcome-icon {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 35%, transparent);
  background: color-mix(in srgb, var(--blue-soft) 10%, transparent);
}

.outcome-label-text {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.outcome-kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.outcome-after .outcome-kicker {
  color: color-mix(in srgb, var(--blue) 70%, var(--muted));
}

.outcome-label h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 1.95rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: color-mix(in srgb, var(--ink) 68%, var(--muted));
}

.outcome-after .outcome-label h3 {
  color: var(--navy);
}

.outcome-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.outcome-col li {
  display: grid;
  gap: 0.4rem;
  padding-block: 1.15rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}

.outcome-col li:first-child {
  border-top: none;
  padding-top: 0;
}

.outcome-col li:last-child {
  padding-bottom: 0;
}

.outcome-col strong {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.55;
  color: var(--ink);
}

.outcome-col strong i {
  flex-shrink: 0;
  margin-top: 0.18rem;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.88;
}

.outcome-before strong i {
  color: color-mix(in srgb, var(--muted) 55%, var(--ink));
  opacity: 0.75;
}

.outcome-before strong {
  color: color-mix(in srgb, var(--ink) 72%, var(--muted));
  font-weight: 500;
}

.outcome-after strong {
  color: var(--navy);
}

.outcome-col p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
}

.outcome-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.35rem;
  margin: clamp(2.75rem, 6vw, 4rem) 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--blue) 18%, var(--line));
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-align: center;
}

.outcome-summary span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.outcome-summary span i {
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1;
}

.outcome-summary span:not(:last-child)::after {
  content: "·";
  position: absolute;
  left: -0.85rem;
  color: color-mix(in srgb, var(--blue) 55%, var(--muted));
  font-weight: 400;
}

@media (prefers-reduced-motion: no-preference) {
  .outcome-col li {
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .outcome-compare:hover .outcome-col li {
    opacity: 0.55;
  }

  .outcome-compare:hover .outcome-col li:hover {
    opacity: 1;
    transform: translateY(-1px);
  }
}

/* Insights */
.insight-list {
  display: grid;
  margin-bottom: 1.5rem;
}

.assessment-output span i {
  color: var(--teal);
  font-size: 0.92rem;
  line-height: 1;
}

.insight-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: padding-right 0.2s ease, color 0.2s ease;
}

.insight-list a > i:first-child {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.88;
}

.insight-list a > span {
  flex: 1;
  min-width: 0;
}

.insight-arrow {
  flex-shrink: 0;
  margin-right: auto;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1;
  opacity: 0.45;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.insight-list a:hover {
  padding-right: 0.75rem;
  color: var(--blue);
}

.insight-list a:hover .insight-arrow {
  opacity: 0.85;
  color: var(--blue);
  transform: translateX(-3px);
}

.note-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.note-icon i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
}

.continuity-icon {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 2.6rem;
  height: 2.6rem;
  margin: 0;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-paper));
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: 999px;
}

.continuity-icon i {
  display: block;
  line-height: 1;
}

/* Continuity */
.continuity-wrap {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 1.25rem;
  padding-block: clamp(0.5rem, 2vw, 1.25rem);
}

.continuity-wrap h2 {
  margin: 0;
  max-width: 24ch;
  margin-inline: auto;
  color: var(--navy);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  line-height: 1.45;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.continuity-wrap p {
  margin: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 2;
  color: var(--muted);
  text-wrap: pretty;
}

/* CEO voice */
.section-voice {
  text-align: center;
  color: var(--voice-muted);
  background: var(--voice-bg-start);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.voice-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  max-width: 40rem;
  margin-inline: auto;
  padding-block: clamp(1rem, 3vw, 2rem);
}

.voice-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.35rem;
  color: var(--blue-soft);
  font-size: 1.75rem;
  line-height: 1;
  border: 1px solid color-mix(in srgb, var(--blue-soft) 40%, transparent);
  border-radius: 999px;
}

.voice-icon i {
  display: block;
  line-height: 1;
}

.voice-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: color-mix(in srgb, var(--blue-soft) 85%, var(--voice-fg));
}

.voice-quote {
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
}

.voice-quote p {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -0.03em;
  color: var(--voice-fg);
  text-wrap: balance;
}

.voice-body {
  margin: 0.5rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 2;
  color: color-mix(in srgb, var(--voice-muted) 72%, transparent);
  text-wrap: pretty;
}

.voice-sign {
  display: grid;
  gap: 0.35rem;
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--voice-fg) 14%, transparent);
}

.voice-sign strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--voice-fg);
}

.voice-sign span {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--voice-fg) 55%, transparent);
}

/* CTA */
.section-cta {
  text-align: center;
  color: var(--ink);
  background: var(--bg-white);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.section-cta > .wrap {
  position: relative;
}

.section-cta h2 {
  color: var(--navy);
  max-width: 22ch;
  margin-inline: auto;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.section-cta .lead {
  color: var(--muted);
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.section-cta .lead strong {
  color: var(--navy);
  font-weight: 500;
}

.section-cta .btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}

.section-cta .btn-primary:hover {
  background: var(--btn-primary-hover);
}

.section-cta .note {
  color: color-mix(in srgb, var(--muted) 88%, var(--blue));
}

/* Footer */
.site-footer {
  position: relative;
  padding-block: clamp(2.75rem, 5.5vw, 4rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--bg-paper);
  color: var(--muted);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--accent) 55%, transparent) 28%,
    color-mix(in srgb, var(--blue) 40%, transparent) 72%,
    transparent 100%
  );
}

.footer-inner {
  display: grid;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(14rem, 1.35fr) repeat(3, minmax(9rem, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.footer-col {
  display: grid;
  gap: 0.95rem;
  align-content: start;
}

.footer-brand .logo {
  margin: 0;
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
}

.footer-brand .logo:hover {
  color: var(--navy);
}

.footer-tag {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.footer-slogan {
  margin: 0;
  max-width: 22rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--muted);
}

.footer-cta {
  justify-self: start;
  margin-top: 0.35rem;
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--navy);
  border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line));
  border-radius: var(--radius-btn);
  background: color-mix(in srgb, var(--surface) 70%, var(--bg-mist));
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-cta:hover {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 55%, var(--line));
  background: var(--surface-elevated);
}

.footer-heading {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease, padding-right 0.2s ease;
}

.footer-nav a:hover {
  color: var(--blue);
  padding-right: 0.25rem;
}

.footer-offices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.footer-offices li {
  display: grid;
  gap: 0.2rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-office-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.footer-postal {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--muted) 88%, var(--blue));
}

.footer-reach {
  display: grid;
  gap: 0.7rem;
}

.footer-reach a {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s ease;
}

.footer-reach a:hover {
  color: var(--blue);
}

.footer-icon {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 85%, var(--blue));
}

.footer-bottom-meta {
  display: grid;
  gap: 0.35rem;
  min-width: min(100%, 28rem);
}

.footer-copy,
.footer-legal,
.footer-years {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-legal {
  letter-spacing: 0.02em;
}

.footer-years {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .grid-3,
  .outcome-compare {
    grid-template-columns: 1fr;
  }

  .path-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .path-list li {
    grid-template-columns: 2.5rem 1fr;
    column-gap: 1.15rem;
    row-gap: 0.35rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 32rem;
  }

  .path-body > strong {
    font-size: 1.08rem;
  }

  .path-body p {
    font-size: 0.95rem;
    line-height: 1.85;
    max-width: 44rem;
  }

  .outcome-summary {
    justify-content: flex-start;
    text-align: right;
  }

  .outcome-summary span:not(:last-child)::after {
    display: none;
  }

  .hero-visual {
    max-width: 38rem;
    margin-inline: auto;
  }

  .hero-iso {
    width: 100%;
    max-width: none;
    min-height: 20rem;
    margin-inline-start: 0;
  }

  .nav {
    gap: 1rem;
    font-size: 0.82rem;
  }
}

/* Tablet / mobile: drawer nav — login CTA always visible */
@media (max-width: 960px) {
  .header-inner {
    position: relative;
    min-height: 3.75rem;
    gap: 0.65rem;
  }

  .header-tools {
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: inline-grid;
    flex-shrink: 0;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    inset-inline: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.65rem;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--surface-elevated);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 14px 36px color-mix(in srgb, #000 28%, transparent);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
    border-radius: 0.75rem;
    color: var(--ink);
  }

  .nav a:hover,
  .nav a[aria-current="page"] {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
  }

  .nav-cta {
    flex-shrink: 0;
    min-height: 2.15rem;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.82rem;
  }

  .theme-toggle,
  .nav-toggle {
    width: 2.15rem;
    height: 2.15rem;
  }
}

@media (max-width: 420px) {
  .nav-cta {
    padding: 0.35rem 0.7rem !important;
    gap: 0.3rem;
  }

  .nav-cta span {
    font-size: 0.78rem;
  }

  .logo {
    font-size: 1.05rem;
  }
}

@media (max-width: 720px) {
  .cap,
  .path-list li {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    max-width: none;
  }
}

/* Page guide — side section navigator */
.page-guide-shell {
  position: fixed;
  top: 50%;
  right: 1.1rem;
  z-index: 40;
  transform: translateY(-50%);
  direction: rtl;
}

.page-guide-toggle {
  display: none;
}

.page-guide-title {
  display: none;
}

.page-guide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.35rem 0;
}

.page-guide a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  min-height: 1.35rem;
  color: var(--muted);
  text-decoration: none;
}

.page-guide-dot {
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-guide-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  transform: translateX(0.35rem);
  transition:
    max-width 0.25s ease,
    opacity 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.page-guide:hover .page-guide-label,
.page-guide:focus-within .page-guide-label,
.page-guide a.is-active .page-guide-label {
  max-width: 8rem;
  opacity: 1;
  transform: translateX(0);
}

.page-guide a:hover .page-guide-label,
.page-guide a.is-active .page-guide-label {
  color: var(--navy);
}

.page-guide a:hover .page-guide-dot,
.page-guide a.is-active .page-guide-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.35);
}

.page-guide a.is-active .page-guide-label {
  font-weight: 600;
}

/* Dark section contrast (CEO voice, etc.) */
.page-guide-shell.is-on-dark .page-guide-dot {
  background: color-mix(in srgb, #fff 35%, transparent);
  border-color: color-mix(in srgb, #fff 40%, transparent);
}

.page-guide-shell.is-on-dark .page-guide a:hover .page-guide-dot,
.page-guide-shell.is-on-dark .page-guide a.is-active .page-guide-dot {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.page-guide-shell.is-on-dark .page-guide-label {
  color: color-mix(in srgb, #fff 72%, transparent);
  text-shadow: 0 1px 10px rgba(15, 26, 46, 0.55);
}

.page-guide-shell.is-on-dark .page-guide a:hover .page-guide-label,
.page-guide-shell.is-on-dark .page-guide a.is-active .page-guide-label {
  color: #fff;
}

@media (max-width: 1100px) {
  .page-guide-shell {
    top: auto;
    bottom: 1.15rem;
    right: 1.15rem;
    transform: none;
  }

  .page-guide-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.95rem 0.55rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-paper) 92%, transparent);
    color: var(--navy);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent),
      0 10px 28px rgba(20, 32, 51, 0.12);
    backdrop-filter: blur(12px);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
  }

  .page-guide-shell.is-on-dark .page-guide-toggle {
    background: color-mix(in srgb, #121c2e 88%, transparent);
    color: #fff;
    box-shadow:
      0 0 0 1px color-mix(in srgb, #fff 14%, transparent),
      0 10px 28px rgba(0, 0, 0, 0.28);
  }

  .page-guide-toggle-mark {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--navy);
  }

  .page-guide-shell.is-on-dark .page-guide-toggle-mark {
    background: #fff;
  }

  .page-guide-shell.is-open .page-guide-toggle-text {
    display: none;
  }

  .page-guide-shell.is-open .page-guide-toggle::after {
    content: "بستن";
    font-size: 0.88rem;
    font-weight: 500;
  }

  .page-guide {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.65rem);
    min-width: 11.5rem;
    max-height: min(70vh, 28rem);
    overflow: auto;
    gap: 0.15rem;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    background: color-mix(in srgb, var(--bg-paper) 96%, transparent);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent),
      0 18px 40px rgba(20, 32, 51, 0.14);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .page-guide-shell.is-on-dark .page-guide {
    background: color-mix(in srgb, #121c2e 94%, transparent);
    box-shadow:
      0 0 0 1px color-mix(in srgb, #fff 12%, transparent),
      0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .page-guide-shell.is-open .page-guide {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .page-guide-title {
    display: block;
    margin: 0 0 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--muted);
  }

  .page-guide-shell.is-on-dark .page-guide-title {
    border-bottom-color: color-mix(in srgb, #fff 12%, transparent);
    color: color-mix(in srgb, #fff 55%, transparent);
  }

  .page-guide a {
    justify-content: flex-start;
    width: 100%;
    min-height: 2.15rem;
    padding-inline: 0.2rem;
    border-radius: 0.45rem;
  }

  .page-guide a.is-active {
    background: color-mix(in srgb, var(--blue-soft) 12%, transparent);
  }

  .page-guide-shell.is-on-dark .page-guide a.is-active {
    background: color-mix(in srgb, #fff 8%, transparent);
  }

  .page-guide-label {
    max-width: none;
    opacity: 1;
    transform: none;
    font-size: 0.9rem;
  }

  .page-guide:hover .page-guide-label,
  .page-guide:focus-within .page-guide-label,
  .page-guide a.is-active .page-guide-label {
    max-width: none;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-guide-dot,
  .page-guide-label,
  .page-guide {
    transition: none;
  }
}

/* Inner pages */
.inner-page {
  padding-block: clamp(3rem, 7vw, 5rem);
  min-height: calc(100dvh - 4rem);
}

.is-fullpage .inner-page,
.is-fullpage .case-page {
  padding-block: 0;
  min-height: 0;
}

.inner-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.inner-copy h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
}

.inner-copy .lead {
  margin-bottom: 1rem;
}

.contact-aside {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-aside p {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.65rem;
  align-items: start;
  margin: 0;
  max-width: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-aside i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.contact-aside a {
  color: var(--navy);
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: 1.75rem;
  background: var(--bg-paper);
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.form-row textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form .form-row {
  position: relative;
}

.contact-form .select2-container {
  width: 100% !important;
  font: inherit;
}

.contact-form .select2-container--default .select2-selection--single {
  height: auto;
  min-height: 2.85rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.contact-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.6;
  color: var(--ink);
  font-size: 0.95rem;
}

.contact-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--muted);
}

.contact-form .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  left: 0.75rem;
  right: auto;
  height: 1.25rem;
  transform: translateY(-50%);
}

.contact-form .select2-container--default.select2-container--focus .select2-selection--single,
.contact-form .select2-container--default.select2-container--open .select2-selection--single {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.contact-form .select2-dropdown {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface-elevated);
  z-index: 30;
}

.contact-form .select2-container--default .select2-results__option {
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.contact-form .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: color-mix(in srgb, var(--blue-soft) 18%, var(--surface));
  color: var(--navy);
}

.contact-form .select2-container--default .select2-results__option--selected {
  background: color-mix(in srgb, var(--bg-mist) 80%, var(--surface));
  color: var(--navy);
}

.contact-form-notice {
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.93rem;
  line-height: 1.5;
}

.contact-form-notice--success {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.contact-form-notice--error {
  background: color-mix(in srgb, #e53e3e 10%, transparent);
  color: #c53030;
  border: 1px solid color-mix(in srgb, #e53e3e 30%, transparent);
}

.required-mark {
  color: #e53e3e;
  margin-right: 0.15rem;
}

.form-note {
  margin: 0;
  max-width: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-note a,
.note a,
.text-link {
  color: var(--accent);
  font-weight: 500;
}

.login-page {
  display: grid;
  align-items: center;
  background: var(--bg-mist);
}

.login-wrap {
  max-width: 28rem;
}

.login-card {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
}

.login-card h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.login-card .lead {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
}

.login-form {
  padding: 0;
  border: 0;
  background: transparent;
}

.login-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}

.rasad-hero {
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.rasad-hero h1 {
  max-width: 21ch;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
}

.rasad-list {
  display: grid;
  gap: 0;
}

.rasad-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding-block: 1.65rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding-right 0.2s ease;
}

.rasad-item:hover {
  padding-right: 0.5rem;
}

.rasad-num {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  padding-top: 0.25rem;
}

.rasad-item h2 {
  margin: 0 0 0.45rem;
  max-width: none;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rasad-item p {
  margin: 0;
  max-width: 40rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.article-wrap {
  max-width: 42rem;
}

.article-wrap h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
}

.article-dek {
  margin: 0 0 2rem;
  max-width: 38rem;
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--muted);
}

.article-body {
  display: grid;
  gap: 1.15rem;
}

.article-body p,
.article-body li {
  margin: 0;
  max-width: none;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--muted);
}

.article-body h2 {
  margin: 0.85rem 0 0;
  max-width: none;
  font-size: 1.15rem;
  color: var(--navy);
}

.article-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.article-body li {
  padding-right: 0.85rem;
  border-right: 2px solid color-mix(in srgb, var(--blue) 35%, transparent);
}

.article-nav {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: none;
}

.article-nav a {
  font-weight: 500;
  color: var(--blue);
}

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

@media (max-width: 720px) {
  .rasad-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}


/* Theme polish */
.svg-illu {
  --svg-ink: var(--ink);
  --svg-blue: var(--blue);
  --svg-dot: var(--surface);
}

[data-theme="dark"] .svg-illu {
  --svg-ink: #dce5f2;
  --svg-blue: #9bc0e6;
  --svg-dot: #1a2435;
}

[data-theme="dark"] .hero-svg-label {
  fill: #f4f7fb;
}

[data-theme="dark"] .hero-svg-sub,
[data-theme="dark"] .visual-caption {
  fill: #c9d4e4;
  color: #c9d4e4;
}

[data-theme="dark"] .hero-iso .iso-glow {
  fill: color-mix(in srgb, var(--svg-blue) 20%, transparent);
}

[data-theme="dark"] .hero-iso .iso-flow {
  opacity: 0.78;
}

[data-theme="dark"] .hero-iso .iso-flow-ops {
  opacity: 0.58;
}

[data-theme="dark"] .hero-iso .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 20%, var(--bg-paper));
}

[data-theme="dark"] .hero-iso .iso-left {
  fill: color-mix(in srgb, var(--svg-ink) 32%, var(--bg-paper));
}

[data-theme="dark"] .hero-iso .iso-right {
  fill: color-mix(in srgb, var(--svg-ink) 16%, var(--svg-blue));
}

[data-theme="dark"] .hero-iso .iso-legacy .iso-top {
  fill: color-mix(in srgb, var(--svg-ink) 22%, var(--bg-paper));
}

[data-theme="dark"] .hero-iso .iso-glass .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 14%, var(--bg-paper));
}

[data-theme="dark"] .hero-iso .iso-hub-base .iso-top,
[data-theme="dark"] .hero-iso .iso-hub .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 32%, var(--bg-paper));
}

[data-theme="dark"] .hero-iso .iso-core .iso-top {
  fill: color-mix(in srgb, var(--svg-blue) 48%, var(--bg-paper));
}

[data-theme="dark"] .hero-iso .iso-core .iso-left,
[data-theme="dark"] .hero-iso .iso-core .iso-right {
  fill: var(--svg-blue);
}

[data-theme="dark"] .hero-iso .iso-ring {
  opacity: 0.72;
}

[data-theme="dark"] .hero-iso .iso-floor {
  fill: color-mix(in srgb, var(--svg-ink) 5%, transparent);
  stroke: color-mix(in srgb, var(--svg-ink) 12%, transparent);
}

[data-theme="dark"] .hero-iso .iso-shadow {
  fill: color-mix(in srgb, #000 28%, transparent);
}

[data-theme="dark"] .hero-iso .iso-win {
  fill: color-mix(in srgb, var(--svg-blue) 28%, var(--bg-paper));
  opacity: 0.8;
}

[data-theme="dark"] .hero-iso .iso-sheen {
  fill: color-mix(in srgb, var(--svg-blue) 40%, #fff);
  opacity: 0.22;
}

[data-theme="dark"] .hero-svg-label,
[data-theme="dark"] .hero-svg-sub {
  filter: none;
}

[data-theme="dark"] .site-header {
  background: color-mix(in srgb, var(--bg-paper) 88%, transparent);
}

[data-theme="dark"] .band-work .work-tags span {
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border-color: color-mix(in srgb, var(--line) 80%, transparent);
}

[data-theme="dark"] .contact-form .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: color-mix(in srgb, var(--blue) 22%, var(--surface));
  color: var(--ink);
}

[data-theme="dark"] .contact-form .select2-container--default .select2-selection--single {
  background-color: var(--surface);
  border-color: var(--line);
}

[data-theme="dark"] .contact-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--ink);
}

[data-theme="dark"] .contact-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--muted);
}

[data-theme="dark"] .contact-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--muted) transparent transparent transparent;
}

[data-theme="dark"] .contact-form .select2-dropdown {
  background-color: var(--surface-elevated);
  border-color: var(--line);
}

[data-theme="dark"] .contact-form .select2-container--default .select2-results__option {
  color: var(--ink);
  background-color: var(--surface-elevated);
}

[data-theme="dark"] .contact-form .select2-container--default .select2-results__option--selected {
  background: color-mix(in srgb, var(--blue) 15%, var(--surface));
  color: var(--ink);
}

[data-theme="dark"] .contact-form .select2-container--default.select2-container--focus .select2-selection--single,
[data-theme="dark"] .contact-form .select2-container--default.select2-container--open .select2-selection--single {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

@media (max-width: 720px) {
  .header-tools {
    gap: 0.45rem;
  }
}

/* About page */
.about-hero {
  padding-top: clamp(4rem, 8vw, 6rem);
}

.about-hero-inner {
  max-width: 42rem;
}

.about-hero h1 {
  max-width: 18ch;
  margin-bottom: 1.15rem;
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(12rem, 0.9fr) 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-split-head h2 {
  max-width: none;
  margin-bottom: 1rem;
}

.about-split-head h2 > span {
  max-width: 12ch;
}

.about-kind-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about-kind-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted);
  line-height: 1.85;
}

.about-kind-list li i {
  flex-shrink: 0;
  margin-top: 0.22rem;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

.about-kind-close,
.about-shaped-close {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink);
}

.about-shaped p {
  color: var(--muted);
}

.about-shaped .lead {
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.about-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1.5rem;
}

.about-trust-item {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.about-trust-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  background: color-mix(in srgb, var(--accent) 9%, var(--bg-paper));
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 0.65rem;
}

.about-trust-icon i {
  display: block;
  line-height: 1;
}

.about-trust-value {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.about-trust-label {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.about-trust-link {
  margin: 2rem 0 0;
}

.about-trust-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-trust-link a:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.about-principles {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.about-principles li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.15rem;
  padding-block: 1.45rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.about-principle-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  background: color-mix(in srgb, var(--accent) 9%, var(--bg-paper));
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 0.65rem;
}

.about-principle-icon i {
  display: block;
  line-height: 1;
}

.about-principles h3 {
  margin: 0 0 0.4rem;
  max-width: none;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about-principles p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
}

.about-people-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about-people-copy h2 {
  max-width: none;
  margin-bottom: 1rem;
}

.about-people-copy h2 > span {
  max-width: 14ch;
}

.about-people-copy .lead {
  margin-bottom: 1rem;
}

.about-people-copy p {
  color: var(--muted);
}

.about-people-visual {
  margin: 0;
}

.about-people-visual .svg-illu {
  width: 100%;
  height: auto;
  display: block;
}

.about-people-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.about-person {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  align-items: center;
}

.about-person-mark {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-paper));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
}

.about-person h3 {
  margin: 0 0 0.2rem;
  max-width: none;
  font-size: 1.02rem;
}

.about-person p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .about-split,
  .about-people-intro,
  .about-trust {
    grid-template-columns: 1fr;
  }

  .about-trust {
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .about-principles li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .about-people-list {
    grid-template-columns: 1fr;
  }
}
