:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #e4e7eb;
  --surface: #f3f4f6;
  --surface-alt: #c8ccd2;
  --accent: #002147;
  --accent-secondary: #8e959d;
  --ink: #001833;
  --ink-muted: #5a6270;
  --outline: #b8bcc0;
  --success: #2e7d52;
  --blue: #4a7ec7;
  --warning: #c1770e;
  --danger: #b3392b;
  --on-accent: #ffffff;
  --band-bg: #0a1f35;
  --band-surface: #122840;
  --band-surface-alt: #1e3348;
  --band-ink: #e8eaed;
  --band-ink-muted: #9aa3ad;
  --band-outline: #2e3640;
  --shadow: 0 12px 32px rgba(0, 33, 71, 0.08);
  --shadow-lg: 0 20px 48px rgba(0, 33, 71, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(1280px, calc(100vw - 96px));
  --radius: 12px;
  --radius-lg: 16px;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1f35;
  --surface: #122840;
  --surface-alt: #1e3348;
  --accent: #c8ccd2;
  --accent-secondary: #4a7ec7;
  --ink: #e8eaed;
  --ink-muted: #9aa3ad;
  --outline: #2e3640;
  --success: #4cb27e;
  --blue: #4a7ec7;
  --on-accent: #0a1f35;
  --band-bg: #061522;
  --band-surface: #0f2238;
  --band-surface-alt: #162b42;
  --band-ink: #e8eaed;
  --band-ink-muted: #9aa3ad;
  --band-outline: #243447;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.theme-band {
  --bg: var(--band-bg);
  --surface: var(--band-surface);
  --surface-alt: var(--band-surface-alt);
  --ink: var(--band-ink);
  --ink-muted: var(--band-ink-muted);
  --outline: var(--band-outline);
  background: var(--band-bg);
  color: var(--band-ink);
}

html[data-theme="light"] .theme-band .section-num {
  color: #ffffff;
  background: var(--accent-secondary);
}

html[data-theme="dark"] .theme-band .section-num {
  color: #ffffff;
  background: var(--accent-secondary);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--accent-secondary) var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-200%);
  transition: transform 0.2s;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  width: min(1380px, calc(100vw - 36px));
  height: 68px;
  padding: 0 12px 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  transform: translateX(-50%);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    top 0.35s var(--ease);
}

.site-header.is-scrolled {
  top: 10px;
  border-color: var(--outline);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  line-height: 1;
}

.brand-mark {
  display: grid;
  overflow: hidden;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--outline);
  border-radius: 10px;
  background: var(--surface);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a {
  position: relative;
  padding: 10px 14px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.25s;
}

.desktop-nav a::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta svg {
  width: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.header-app-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--outline);
  border-radius: 10px;
  background: var(--surface);
}

.lang-btn {
  min-width: 36px;
  padding: 7px 10px;
  color: var(--ink-muted);
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-btn[aria-pressed="true"] {
  color: var(--on-accent);
  background: var(--accent);
}

html[data-theme="dark"] .lang-btn[aria-pressed="true"] {
  color: var(--on-accent);
  background: var(--accent-secondary);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--outline);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.theme-toggle svg {
  width: 18px;
}

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

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

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.header-cta-primary {
  color: var(--on-accent);
  background: var(--accent);
}

.header-cta-secondary {
  color: var(--ink);
  border: 1px solid var(--outline);
  background: var(--surface);
}

html[data-theme="dark"] .header-cta-primary {
  color: #ffffff;
  background: var(--accent-secondary);
}

html[data-theme="dark"] .header-cta-secondary {
  color: var(--on-hero-surface, #e8eaed);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta-primary:hover {
  background: #001833;
}

.header-cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

html[data-theme="dark"] .header-cta-primary:hover {
  background: #3d6fad;
}

html[data-theme="dark"] .header-cta-secondary:hover {
  border-color: var(--accent-secondary);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  position: relative;
  justify-self: end;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--outline);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  flex-direction: column;
  padding: 108px 24px 32px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--outline);
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mobile-nav-num {
  min-width: 28px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.mobile-nav-label {
  flex: 1;
}

.mobile-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 32px;
}

.mobile-app-links {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

.mobile-app-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
}

.mobile-app-link-primary {
  color: var(--on-accent);
  background: var(--accent);
}

.mobile-app-link-secondary {
  color: var(--ink);
  border: 1px solid var(--outline);
  background: var(--surface);
}

html[data-theme="dark"] .mobile-app-link-primary {
  color: #ffffff;
  background: var(--accent-secondary);
}

html[data-theme="dark"] .mobile-app-link-secondary {
  color: var(--on-hero-surface, #e8eaed);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.82fr);
  align-items: center;
  min-height: 100svh;
  padding: 145px max(48px, calc((100vw - 1380px) / 2)) 92px;
  background: var(--bg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.hero h1,
.section-heading h2,
.impact-title h2,
.built-copy h2,
.platform-heading h2 {
  max-width: 950px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(43px, 5.4vw, 78px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 1.03;
}

.hero h1 {
  max-width: 800px;
  margin: 30px 0 28px;
  font-size: clamp(57px, 6vw, 104px);
  font-weight: 650;
  letter-spacing: -0.072em;
  line-height: 0.95;
}

html[lang="uz"] .hero h1 {
  line-height: 1.12;
  letter-spacing: -0.055em;
}

html[lang="ru"] .hero h1,
html[lang="ru"] .section-heading h2,
html[lang="ru"] .impact-title h2,
html[lang="ru"] .built-copy h2,
html[lang="ru"] .platform-heading h2,
html[lang="ru"] .process-explanation h3,
html[lang="ru"] .cta-inner h2 {
  letter-spacing: -0.04em;
}

html[lang="ru"] .hero h1 {
  line-height: 1.02;
}

.hero h1 span,
.section-heading h2 span,
.impact-title h2 span,
.built-copy h2 span,
.platform-heading h2 span {
  color: var(--ink-muted);
  font-weight: 450;
}

.hero-lead {
  max-width: 630px;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 750;
  transition:
    color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}

.button svg {
  width: 18px;
}

.button-primary {
  color: var(--on-accent);
  background: var(--accent);
  box-shadow: var(--shadow);
}

.button-primary:hover {
  background: #001833;
  box-shadow: var(--shadow-lg);
}

.button-secondary {
  color: var(--ink);
  border: 1px solid var(--outline);
  background: var(--surface);
  box-shadow: none;
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

html[data-theme="dark"] .button-secondary {
  color: var(--on-hero-surface, #e8eaed);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .button-secondary:hover {
  border-color: var(--accent-secondary);
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 650;
}

.text-link-label {
  line-height: 1.3;
  white-space: nowrap;
}

.text-link-icon {
  display: grid;
  flex-shrink: 0;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid var(--outline);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.text-link:hover .text-link-icon {
  border-color: var(--accent);
  transform: translateY(4px);
}

.hero-stage {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, 600px);
  perspective: 1100px;
}

.project-preview {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 88%;
  margin-left: auto;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.25s ease-out;
}

.project-image {
  position: relative;
  height: clamp(250px, 29vw, 360px);
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 1.2s var(--ease);
}

.project-preview:hover .project-image img {
  transform: scale(1.04);
}

.image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0, 24, 51, 0.35));
}

.verified-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--ink);
  border: 1px solid var(--outline);
  border-radius: 100px;
  background: var(--surface);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.verified-pill svg {
  width: 16px;
  color: var(--success);
}

.project-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
}

.project-info > div {
  min-width: 0;
}

.micro-label {
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-info h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.project-status {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--success);
  border: 1px solid var(--outline);
  border-radius: 100px;
  background: var(--bg);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.project-status::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--success);
}

.progress-block {
  display: grid;
  gap: 16px;
  padding: 0 24px 25px;
}

.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--ink-muted);
  font-size: 10px;
}

.progress-label strong {
  color: var(--ink);
  font-size: 11px;
}

.track {
  height: 6px;
  overflow: hidden;
  border-radius: 100px;
  background: var(--bg);
}

.track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--success);
  transition: width 1.5s var(--ease);
}

.hero-stage.is-visible .track i {
  width: var(--progress);
}

.planned .track i {
  background: var(--blue);
}

.scroll-cue {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: grid;
  width: 32px;
  height: 52px;
  place-items: start center;
  padding-top: 9px;
  border: 1px solid var(--outline);
  border-radius: 100px;
}

.scroll-cue span {
  width: 3px;
  height: 9px;
  border-radius: 100px;
  background: var(--accent);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(20px); }
}

.section {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 150px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.section-num {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  color: var(--on-accent);
  border-radius: 8px;
  background: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 10%;
  align-items: end;
}

.vision-copy p {
  margin: 0 0 20px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.8;
}

.comparison {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: stretch;
  margin-top: 82px;
}

.comparison-side {
  position: relative;
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.comparison-side.new-way {
  padding-bottom: 120px;
}

.comparison-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
}

.new-way .status-dot {
  background: var(--success);
}

.comparison-content {
  margin-top: 70px;
}

.comparison-content strong {
  display: block;
  color: var(--ink);
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 550;
  letter-spacing: -0.05em;
}

.old-way .comparison-content strong {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
}

.comparison-content strong small {
  color: var(--ink-muted);
  font-size: 0.5em;
  font-weight: 450;
}

.comparison-content p {
  margin: 7px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
}

.comparison-arrow {
  display: grid;
  place-items: center;
}

.comparison-arrow svg {
  width: 24px;
  color: var(--accent);
}

.trust-float {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  width: 148px;
  padding: 16px 17px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.trust-float > span {
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-float strong {
  margin: 5px 0;
  color: var(--ink);
  font-size: 38px;
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 1;
}

.trust-float strong small {
  color: var(--success);
  font-size: 16px;
}

.trust-float em {
  color: var(--success);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.system {
  width: 100%;
  padding-right: max(48px, calc((100vw - 1280px) / 2));
  padding-left: max(48px, calc((100vw - 1280px) / 2));
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
}

.system-head {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 10%;
  align-items: end;
}

.system-head p,
.platform-heading > p {
  margin: 0 0 8px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.8;
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 84px;
}

.process-rail {
  position: absolute;
  z-index: 0;
  top: 27px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: var(--outline);
}

.process-rail i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent-secondary);
  transition: width 0.6s var(--ease);
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  color: var(--ink-muted);
  border: 0;
  background: none;
  cursor: pointer;
}

.step-num {
  position: absolute;
  top: -25px;
  color: var(--ink-muted);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 8px;
}

.step-icon {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border: 1px solid var(--outline);
  border-radius: 50%;
  background: var(--bg);
  transition: color 0.35s, border-color 0.35s, background 0.35s;
}

.step-icon svg {
  width: 21px;
}

.process-step strong {
  margin-top: 17px;
  color: var(--ink-muted);
  font-size: 13px;
  transition: color 0.35s;
}

.process-step small {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 10px;
}

.process-step:hover .step-icon,
.process-step.is-active .step-icon {
  color: var(--on-accent);
  border-color: var(--accent-secondary);
  background: var(--accent-secondary);
}

.process-step.is-active strong {
  color: var(--ink);
}

.process-display {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 500px;
  margin-top: 66px;
  overflow: hidden;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.process-visual {
  min-width: 0;
  padding: 26px;
  border-right: 1px solid var(--outline);
}

.visual-frame {
  position: relative;
  height: 100%;
  min-height: 448px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-alt);
}

[data-panel] {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}

[data-panel].is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.capture-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capture-date {
  position: absolute;
  right: 24px;
  bottom: 22px;
  padding: 6px 10px;
  color: var(--ink);
  border: 1px solid var(--outline);
  border-radius: 6px;
  background: var(--surface);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 9px;
}

.verify-visual,
.compare-visual,
.decide-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 45px;
  background: var(--surface-alt);
}

.verify-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 160px;
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--surface);
}

.verify-badge svg {
  width: 32px;
  color: var(--success);
}

.verify-badge strong {
  color: var(--ink);
  font-size: 21px;
}

.verify-badge span {
  color: var(--ink-muted);
  font-size: 9px;
}

.data-line {
  display: flex;
  justify-content: space-between;
  width: min(100%, 390px);
  padding: 10px 0;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--outline);
  font-size: 10px;
}

.data-line strong {
  color: var(--success);
  font-size: 9px;
  text-transform: uppercase;
}

.compare-visual {
  flex-direction: row;
  gap: 45px;
}

.large-bars {
  display: grid;
  gap: 34px;
  width: min(350px, 65%);
}

.large-bars div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 10px;
}

.large-bars strong {
  color: var(--ink);
  font-size: 17px;
}

.large-bars i {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--success) var(--bar), var(--outline) var(--bar));
}

.large-bars div:nth-child(2) i {
  background: linear-gradient(90deg, var(--blue) var(--bar), var(--outline) var(--bar));
}

.gap-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--surface);
}

.gap-card span {
  color: var(--ink-muted);
  font-size: 8px;
  text-transform: uppercase;
}

.gap-card strong {
  margin: 5px 0;
  color: var(--success);
  font-size: 28px;
  font-weight: 550;
}

.gap-card small {
  color: var(--success);
  font-size: 8px;
}

.decision-score {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
}

.decision-score span {
  position: absolute;
  margin-top: -26px;
  color: var(--ink-muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.decision-score strong {
  color: var(--ink);
  font-size: 110px;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1;
}

.decision-score small {
  margin-left: 8px;
  color: var(--ink-muted);
  font-size: 13px;
}

.decision-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  color: var(--success);
  border: 1px solid var(--outline);
  border-radius: 100px;
  background: var(--surface);
  font-size: 9px;
  text-transform: uppercase;
}

.decision-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.decide-visual p {
  color: var(--ink-muted);
  font-size: 10px;
}

.process-explanation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 78px);
}

.process-explanation h3 {
  margin: 12px 0 17px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.process-explanation p {
  margin: 0 0 24px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.8;
}

.process-explanation ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--outline);
  list-style: none;
}

.process-explanation li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-muted);
  font-size: 10px;
}

.process-explanation li::before {
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--accent-secondary);
}

.impact-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--outline);
  border-left: 1px solid var(--outline);
}

.stakeholder-card {
  position: relative;
  min-height: 390px;
  padding: 30px;
  border-right: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
  background: var(--surface);
  transition: background 0.45s var(--ease), transform 0.45s var(--ease);
}

.stakeholder-card::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.stakeholder-card:hover {
  z-index: 2;
  background: var(--bg);
  transform: translateY(-8px);
}

.stakeholder-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.card-number {
  display: block;
  color: var(--ink-muted);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 9px;
}

.stake-icon {
  display: grid;
  width: 55px;
  height: 55px;
  margin-top: 62px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  transition: color 0.35s, background 0.35s, border-color 0.35s;
}

.stake-icon svg {
  width: 23px;
}

.stakeholder-card:hover .stake-icon {
  color: var(--on-accent);
  border-color: var(--accent);
  background: var(--accent);
}

.stakeholder-card h3 {
  margin: 24px 0 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.04em;
}

.stakeholder-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.75;
}

.card-tag {
  position: absolute;
  bottom: 27px;
  color: var(--ink-muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.built-here {
  width: 100%;
  padding: 150px max(48px, calc((100vw - 1280px) / 2));
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
}

.built-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

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

.built-copy > p {
  max-width: 560px;
  margin: 32px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.85;
}

.market-facts {
  display: grid;
  gap: 16px;
}

.fact-card {
  padding: 24px 26px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.fact-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact-card strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.fact-card p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.7;
}

.platform-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 10%;
  align-items: end;
}

.platform-heading > p {
  justify-self: end;
  max-width: 300px;
}

.gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 80px;
}

.gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  padding: 28px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.4s, transform 0.45s var(--ease), box-shadow 0.45s;
}

.gateway-card:hover {
  z-index: 2;
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.gateway-primary {
  background: var(--surface);
}

.gateway-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.gateway-icon {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  transition: color 0.35s, background 0.35s, border-color 0.35s;
}

.gateway-icon svg {
  width: 21px;
}

.gateway-card:hover .gateway-icon {
  color: var(--on-accent);
  border-color: var(--accent);
  background: var(--accent);
}

.gateway-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink-muted);
  border: 1px solid var(--outline);
  border-radius: 50%;
  transition: color 0.35s, transform 0.35s var(--ease);
}

.gateway-arrow svg {
  width: 17px;
}

.gateway-card:hover .gateway-arrow {
  color: var(--accent);
  transform: rotate(45deg);
}

.gateway-card h3 {
  margin: 9px 0 12px;
  color: var(--ink);
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 540;
  letter-spacing: -0.05em;
}

.gateway-card p {
  max-width: 370px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.75;
}

.gateway-url {
  margin-top: 24px;
  color: var(--ink-muted);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 10px;
}

.final-cta {
  width: calc(100% - 48px);
  min-height: 560px;
  margin: 60px auto 0;
  border-radius: var(--radius-lg);
}

.final-cta.theme-band {
  background: #002147;
}

html[data-theme="dark"] .final-cta.theme-band {
  background: #061522;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding: 70px 30px;
  text-align: center;
}

.cta-mark {
  width: 70px;
  height: 70px;
  margin-bottom: 30px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
}

.final-cta .eyebrow {
  color: #c8ccd2;
}

.final-cta .eyebrow::before {
  background: #c8ccd2;
}

.cta-inner h2 {
  margin: 20px 0 12px;
  color: #e8eaed;
  font-size: clamp(54px, 8vw, 110px);
  font-weight: 530;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.cta-inner p {
  margin: 0 0 36px;
  color: #c8ccd2;
  font-size: 15px;
}

.final-cta .button-light {
  color: #002147;
  background: #f3f4f6;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.final-cta .button-light:hover {
  color: #002147;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .final-cta .button-light {
  color: #0a1f35;
  background: #e8eaed;
}

html[data-theme="dark"] .final-cta .button-light:hover {
  color: #0a1f35;
  background: #ffffff;
}

html[data-theme="dark"] .button-primary {
  color: #ffffff;
  background: var(--accent-secondary);
}

html[data-theme="dark"] .button-primary:hover {
  background: #3d6fad;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 70px 0 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  padding-bottom: 55px;
}

.footer-main p {
  color: var(--ink-muted);
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--ink-muted);
  font-size: 11px;
  transition: color 0.25s;
}

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

.footer-bottom {
  padding-top: 23px;
  color: var(--ink-muted);
  border-top: 1px solid var(--outline);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  :root {
    --container: min(100% - 64px, 1100px);
  }

  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding-right: 40px;
    padding-left: 40px;
  }

  .hero h1 {
    font-size: clamp(52px, 7vw, 82px);
  }

  html[lang="uz"] .hero h1 {
    line-height: 1.1;
  }

  .hero-stage {
    width: 105%;
  }

  .stakeholder-card {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  :root {
    --container: calc(100% - 40px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle,
  .mobile-menu {
    display: flex;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 150px 24px 100px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-stage {
    width: min(90%, 620px);
    margin: 80px auto 0;
  }

  .project-preview {
    width: 92%;
  }

  .scroll-cue {
    display: none;
  }

  .vision-grid,
  .system-head,
  .platform-heading,
  .built-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .comparison {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .comparison-arrow {
    display: none;
  }

  .comparison-side.new-way {
    padding-bottom: 28px;
  }

  .trust-float {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 220px);
    margin-top: 28px;
  }

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

  .process-visual {
    border-right: 0;
    border-bottom: 1px solid var(--outline);
  }

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

  .platform-heading > p {
    justify-self: start;
  }

  .footer-main {
    grid-template-columns: 1fr auto;
    gap: 25px;
  }

  .footer-main p {
    grid-row: 2;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100% - 32px);
  }

  .site-header {
    top: 8px;
    width: calc(100vw - 16px);
  }

  .hero {
    padding: 125px 18px 75px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(48px, 15vw, 68px);
  }

  html[lang="uz"] .hero h1 {
    line-height: 1.08;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    width: 100%;
    margin-top: 64px;
  }

  .project-preview {
    width: 95%;
    border-radius: var(--radius);
    transform: none !important;
  }

  .project-image {
    height: 225px;
  }

  .section {
    padding: 100px 0;
  }

  .system,
  .built-here {
    padding-right: 16px;
    padding-left: 16px;
  }

  .process {
    grid-template-columns: 1fr 1fr;
    gap: 28px 10px;
    margin-top: 68px;
  }

  .process-rail {
    display: none;
  }

  .visual-frame {
    min-height: 350px;
  }

  .compare-visual {
    flex-direction: column;
    gap: 25px;
  }

  .large-bars {
    width: 100%;
  }

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

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

  .final-cta {
    width: calc(100% - 16px);
  }

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

  .footer-links {
    margin-top: 14px;
  }

  .footer-main p {
    grid-row: auto;
  }
}

/* Entry chooser — shown on every landing load */
body.entry-modal-open {
  overflow: hidden;
}

.entry-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}

.entry-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.entry-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 24, 51, 0.62);
  backdrop-filter: blur(8px);
}

.entry-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 28px 28px 24px;
  border: 1px solid var(--outline);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.entry-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--ink-muted);
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.entry-modal-close svg {
  width: 18px;
}

.entry-modal-close:hover {
  color: var(--ink);
  background: var(--bg);
}

.entry-modal-eyebrow {
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.entry-modal-panel h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.entry-modal-lead {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}

.entry-modal-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.entry-choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: inherit;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.22s, transform 0.22s var(--ease), box-shadow 0.22s;
}

.entry-choice:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.entry-choice-app:hover {
  background: color-mix(in srgb, var(--accent) 6%, var(--bg));
}

.entry-choice-console:hover {
  background: color-mix(in srgb, var(--accent-secondary) 10%, var(--bg));
}

.entry-choice-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
}

.entry-choice-icon svg {
  width: 22px;
  color: var(--accent);
}

.entry-choice-body {
  display: grid;
  gap: 4px;
}

.entry-choice-body strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.entry-choice-body span {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.45;
}

.entry-choice-arrow svg {
  width: 18px;
  color: var(--ink-muted);
  transition: transform 0.22s var(--ease);
}

.entry-choice:hover .entry-choice-arrow svg {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.entry-modal-skip {
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  color: var(--ink-muted);
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.entry-modal-skip:hover {
  color: var(--ink);
  background: var(--bg);
}

@media (max-width: 1100px) {
  .header-cta-secondary span {
    display: none;
  }

  .header-cta-secondary {
    width: 40px;
    justify-content: center;
    padding-inline: 0;
  }

  .header-cta-secondary svg {
    transform: rotate(-45deg);
  }
}

/* Page loader */
.site-page {
  min-height: 100%;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: grid;
  gap: 22px;
  justify-items: center;
  width: min(280px, 80vw);
}

.page-loader-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: loader-brand-in 0.65s var(--ease) both;
}

.page-loader-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-loader-name {
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.page-loader-bar {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--outline);
  overflow: hidden;
}

.page-loader-bar i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: loader-progress 1.15s var(--ease) infinite;
}

.page-loader-label {
  margin: 0;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes loader-brand-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes loader-progress {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(320%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .page-loader-bar i {
    animation: none;
    width: 100%;
    transform: none;
  }
}
