:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #040a13;
  --surface: #0c192b;
  --surface-soft: rgba(13, 28, 48, 0.76);
  --surface-raised: #10213a;
  --line: rgba(168, 190, 224, 0.16);
  --line-strong: rgba(168, 190, 224, 0.28);
  --text: #f7f9fd;
  --muted: #aebcd0;
  --quiet: #8495ae;
  --primary: #77a5ff;
  --primary-bright: #a7c3ff;
  --teal: #61d8ba;
  --positive: #65dfb5;
  --negative: #ff8495;
  --content-width: 1280px;
  --radius: 20px;
  --shadow: 0 38px 110px rgba(0, 0, 0, 0.44);
  font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -8rem, rgba(68, 117, 207, 0.18), transparent 40rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

body::before {
  position: fixed;
  z-index: -4;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0) 70%, rgba(4, 10, 19, 0.9));
  content: "";
  pointer-events: none;
}

a,
button {
  cursor: pointer;
}

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

button {
  color: inherit;
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  z-index: 1000;
  transform: translateY(-180%);
  border-radius: 9px;
  background: var(--text);
  color: var(--bg);
  padding: 0.7rem 1rem;
  font-weight: 750;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-grid {
  position: fixed;
  z-index: -3;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(143, 170, 214, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 170, 214, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
  pointer-events: none;
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.13;
  pointer-events: none;
}

.page-glow-one {
  inset-block-start: 19%;
  inset-inline-start: -18rem;
  background: #3879f5;
}

.page-glow-two {
  inset-block-start: 45%;
  inset-inline-end: -20rem;
  background: #3cd7ad;
}

.site-header,
main,
.site-footer {
  width: min(var(--content-width), calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.72rem;
  font-size: 1.16rem;
  font-weight: 780;
  letter-spacing: -0.025em;
  font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", sans-serif;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(79, 124, 255, 0.25);
}

.header-actions,
.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
  gap: 0.68rem;
}

.button,
.language-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0.68rem 1.08rem;
  font-size: 0.89rem;
  font-weight: 730;
  line-height: 1.2;
  font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", sans-serif;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.language-trigger:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.language-trigger:focus-visible,
.language-options button:focus-visible,
.text-link:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(167, 195, 255, 0.85);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(135deg, #8db4ff, #6e98f2);
  color: #061126;
  box-shadow: 0 12px 30px rgba(87, 132, 225, 0.28);
}

.button-primary:hover {
  background: linear-gradient(135deg, #aac7ff, #83a9f5);
  box-shadow: 0 16px 36px rgba(87, 132, 225, 0.38);
}

.button-quiet,
.language-trigger {
  border-color: var(--line-strong);
  background: rgba(14, 29, 50, 0.7);
  color: var(--text);
}

.button-quiet:hover,
.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  border-color: rgba(145, 180, 248, 0.54);
  background: rgba(29, 50, 82, 0.82);
}

.button-large {
  min-height: 52px;
  border-radius: 13px;
  padding-inline: 1.42rem;
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

html[dir="rtl"] .hero-actions .button svg,
html[dir="rtl"] .text-link svg {
  transform: scaleX(-1);
}

.language-menu {
  position: relative;
}

.language-trigger {
  min-width: 78px;
  padding-inline: 0.82rem;
}

.language-trigger > svg:first-child {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.language-trigger .chevron {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--quiet);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.language-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  z-index: 100;
  inset-block-start: calc(100% + 0.7rem);
  inset-inline-end: 0;
  width: 210px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(11, 24, 42, 0.98);
  padding: 0.42rem;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.language-options button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 0.62rem 0.72rem;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: start;
}

.language-options button:hover,
.language-options button[aria-selected="true"] {
  background: rgba(119, 165, 255, 0.12);
  color: var(--text);
}

.language-options button[aria-selected="true"] span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-end: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  content: "";
  vertical-align: 0.08em;
}

.language-options button[data-locale="en"],
.language-options button[data-locale="es"],
.language-options button[data-locale="ru"] {
  direction: ltr;
}

.language-options button[data-locale="ar"],
.language-options button[data-locale="he"] {
  direction: rtl;
}

.language-options small {
  color: var(--quiet);
  font-size: 0.65rem;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.market-tape {
  position: relative;
  z-index: 5;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 11, 21, 0.58);
  direction: ltr;
}

.market-tape::before,
.market-tape::after {
  position: absolute;
  z-index: 2;
  inset-block: 0;
  width: min(10vw, 110px);
  content: "";
  pointer-events: none;
}

.market-tape::before {
  inset-inline-start: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.market-tape::after {
  inset-inline-end: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.market-tape-track {
  display: flex;
  width: max-content;
  animation: tape-scroll 96s linear infinite;
  will-change: transform;
}

.market-tape:hover .market-tape-track {
  animation-play-state: paused;
}

.tape-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.tape-group > span {
  display: inline-flex;
  height: 42px;
  align-items: center;
  gap: 0.7rem;
  border-inline-end: 1px solid var(--line);
  padding-inline: 1.15rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-style: normal;
  white-space: nowrap;
}

.tape-group b,
.tape-group em,
.tape-group small {
  font-style: normal;
}

.tape-group b {
  color: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.tape-group .tape-status {
  color: var(--muted);
}

.tape-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(97, 216, 186, 0.08);
}

.positive {
  color: var(--positive) !important;
}

.negative {
  color: var(--negative) !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  min-height: 735px;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(5.4rem, 9vw, 8rem);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin: 0 0 1.4rem;
  color: var(--primary-bright);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow-mark {
  position: relative;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.eyebrow-mark::after {
  position: absolute;
  inset-block-start: -2px;
  inset-inline-end: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", sans-serif;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-block-end: 1.55rem;
  font-size: clamp(3.3rem, 5.6vw, 5.55rem);
  line-height: 1;
  font-weight: 720;
  letter-spacing: -0.058em;
}

html[dir="rtl"] h1 {
  letter-spacing: -0.035em;
}

h1 span {
  background: linear-gradient(110deg, #c4d7ff 2%, #78a7ff 46%, #6de1c0 104%);
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 38rem;
  margin-block-end: 2.1rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.68;
}

.access-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-block-start: 1.35rem;
  color: var(--quiet);
  font-size: 0.79rem;
}

.access-note svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.visual-shell {
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.visual-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(122, 162, 236, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 115%;
  aspect-ratio: 1;
  inset-block-start: -28%;
  inset-inline-start: -16%;
  animation: orbit-spin 35s linear infinite;
}

.orbit-two {
  width: 86%;
  aspect-ratio: 1;
  inset-block-start: -10%;
  inset-inline-start: 4%;
  border-style: dashed;
  animation: orbit-spin 28s linear infinite reverse;
}

.market-window {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  background:
    linear-gradient(145deg, rgba(19, 40, 68, 0.92), rgba(8, 18, 33, 0.96)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.market-window::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(145, 180, 248, 0.08), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(97, 216, 186, 0.08), transparent 16rem);
  content: "";
  pointer-events: none;
}

.window-head {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 104px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.55rem 1.65rem 0.75rem;
}

.window-kicker {
  margin-block-end: 0.35rem;
  color: var(--quiet);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.window-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.window-value {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-variant-numeric: tabular-nums;
  font-weight: 770;
  letter-spacing: -0.04em;
}

.window-change {
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  font-weight: 780;
}

.window-value,
.window-change,
.region-row strong,
.market-clock {
  direction: ltr;
  unicode-bidi: isolate;
}

.simulated-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(97, 216, 186, 0.26);
  border-radius: 999px;
  background: rgba(97, 216, 186, 0.08);
  color: var(--positive);
  padding: 0.4rem 0.68rem;
  font-size: 0.65rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.simulated-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: signal-pulse 2.2s ease-in-out infinite;
}

.window-head-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.78rem;
}

.timeframe {
  display: flex;
  direction: ltr;
  gap: 0.2rem;
}

.timeframe span {
  display: grid;
  min-width: 28px;
  height: 24px;
  place-items: center;
  border-radius: 6px;
  color: var(--quiet);
  font-size: 0.55rem;
  font-variant-numeric: tabular-nums;
  font-weight: 780;
}

.timeframe .active {
  background: rgba(119, 165, 255, 0.14);
  color: var(--primary-bright);
}

.chart-wrap {
  position: relative;
  height: 335px;
  padding-inline: 2.2rem 0.75rem;
}

.chart-axis {
  position: absolute;
  z-index: 2;
  inset-block: 1.1rem 1.25rem;
  inset-inline-start: 0.55rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(167, 185, 213, 0.46);
  font-size: 0.55rem;
  font-variant-numeric: tabular-nums;
}

.hero-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.grid-lines path {
  fill: none;
  stroke: rgba(155, 178, 213, 0.085);
  stroke-width: 1;
}

.chart-area {
  fill: url(#chart-fill);
}

.chart-line {
  fill: none;
  stroke: url(#chart-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  filter: drop-shadow(0 0 9px rgba(98, 167, 255, 0.42));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: chart-reveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) 180ms forwards;
}

.benchmark-line {
  fill: none;
  stroke: rgba(173, 191, 220, 0.34);
  stroke-dasharray: 4 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.chart-crosshair {
  stroke: rgba(143, 176, 232, 0.2);
  stroke-dasharray: 3 5;
  stroke-width: 1;
}

.volume-bars rect {
  fill: rgba(119, 165, 255, 0.14);
}

.chart-halo {
  fill: rgba(119, 165, 255, 0.16);
  animation: point-pulse 2.4s ease-in-out infinite;
}

.chart-point {
  fill: #eff4ff;
  stroke: #76a5ff;
  stroke-width: 3;
}

.region-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(4, 12, 23, 0.33);
}

.region-row > div {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.85rem 0.9rem;
}

.region-row > div + div {
  border-inline-start: 1px solid var(--line);
}

.region-row span,
.region-row strong {
  overflow: hidden;
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-row span {
  color: var(--muted);
}

.region-row strong {
  font-variant-numeric: tabular-nums;
}

.region-row i {
  grid-column: 1 / -1;
  height: 2px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(145, 167, 202, 0.12);
}

.region-row i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--primary));
}

.region-row i .negative-bar {
  background: var(--negative);
}

.window-footer {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-start: 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 11, 21, 0.34);
  padding-inline: 1.65rem;
  color: var(--quiet);
  font-size: 0.65rem;
}

.window-footer > span {
  display: flex;
  align-items: center;
  gap: 0.48rem;
}

.window-footer > span > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

#market-clock {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.principles {
  padding-block: clamp(5rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.36fr);
  gap: 1.5rem 5rem;
  align-items: end;
  margin-block-end: 2.4rem;
}

.section-intro .window-kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.section-intro h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.048em;
}

html[dir="rtl"] .section-intro h2,
html[dir="rtl"] .final-cta h2 {
  letter-spacing: -0.025em;
}

.section-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.principle-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(17, 35, 59, 0.78), rgba(8, 18, 32, 0.74));
  padding: 1.55rem;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.14);
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.principle-card::after {
  position: absolute;
  width: 10rem;
  height: 10rem;
  inset-block-end: -7rem;
  inset-inline-end: -5rem;
  border-radius: 50%;
  background: rgba(100, 151, 255, 0.11);
  filter: blur(30px);
  content: "";
}

.principle-card:hover {
  transform: translateY(-3px);
  border-color: rgba(145, 180, 248, 0.42);
}

.principle-number {
  position: absolute;
  inset-block-start: 1.2rem;
  inset-inline-end: 1.3rem;
  color: rgba(175, 194, 223, 0.36);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
}

.principle-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-block-end: 3rem;
  place-items: center;
  border: 1px solid rgba(145, 180, 248, 0.28);
  border-radius: 12px;
  background: rgba(119, 165, 255, 0.09);
  color: var(--primary-bright);
}

.principle-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.principle-card h3 {
  margin-block-end: 0.65rem;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.principle-card p {
  max-width: 22rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.perspective-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(5rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}

.perspective-statement {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 1.5rem;
  align-content: start;
}

.perspective-index {
  display: flex;
  min-height: 250px;
  align-items: center;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--quiet);
  direction: ltr;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
}

.perspective-index i {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, var(--primary), rgba(119, 165, 255, 0.08));
}

.perspective-statement h2 {
  max-width: 600px;
  margin-block-end: 1.15rem;
  font-size: clamp(2.25rem, 4.5vw, 4.2rem);
  line-height: 1.04;
  font-weight: 680;
  letter-spacing: -0.05em;
}

.perspective-statement > div:last-child > p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block-start: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.process-grid article {
  position: relative;
  min-height: 210px;
  border-block-end: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  padding: 1.6rem;
  transition: background-color 180ms ease;
}

.process-grid article:hover {
  background: rgba(119, 165, 255, 0.045);
}

.process-grid article > span {
  display: block;
  margin-block-end: 3.2rem;
  color: var(--quiet);
  direction: ltr;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6rem;
}

.process-grid h3 {
  margin-block-end: 0.5rem;
  font-size: 1.08rem;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.process-grid p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.final-cta {
  position: relative;
  display: flex;
  min-height: 250px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-block: 1rem 7rem;
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  background:
    radial-gradient(circle at 88% 25%, rgba(97, 216, 186, 0.14), transparent 20rem),
    linear-gradient(120deg, rgba(18, 42, 73, 0.94), rgba(9, 21, 38, 0.92));
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.final-cta::before {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: linear-gradient(90deg, transparent 49.8%, var(--line) 50%, transparent 50.2%);
  background-size: 72px 100%;
  content: "";
  pointer-events: none;
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.048em;
}

.final-actions {
  flex: 0 0 auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  transition: color 160ms ease, transform 160ms ease;
}

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

.site-footer {
  display: grid;
  min-height: 110px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.72rem;
}

.not-found-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.not-found-main {
  display: grid;
  flex: 1;
  place-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.not-found-card {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.error-code {
  margin-block-end: 0.7rem;
  color: rgba(155, 185, 244, 0.26);
  direction: ltr;
  font-size: clamp(4.8rem, 10vw, 8.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.not-found-copy h1 {
  max-width: 610px;
  margin-block-end: 1.2rem;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1.02;
  font-weight: 700;
}

.not-found-description {
  max-width: 520px;
  margin-block-end: 2rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.not-found-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(19, 40, 68, 0.92), rgba(8, 18, 33, 0.96));
  box-shadow: var(--shadow);
}

.error-window-bar,
.error-window-footer {
  display: flex;
  align-items: center;
  border-color: var(--line);
  color: var(--quiet);
  direction: ltr;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.error-window-bar {
  min-height: 54px;
  gap: 0.42rem;
  border-bottom: 1px solid var(--line);
  padding-inline: 1.2rem;
}

.error-window-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(160, 183, 219, 0.26);
}

.error-window-bar span:first-child {
  background: rgba(255, 132, 149, 0.8);
}

.error-window-bar b {
  margin-inline-start: auto;
  color: var(--primary-bright);
}

.not-found-visual > svg {
  width: 100%;
  height: 360px;
}

.error-grid path {
  fill: none;
  stroke: rgba(155, 178, 213, 0.08);
  stroke-width: 1;
}

.error-area {
  fill: url(#error-fill);
}

.error-line {
  fill: none;
  stroke: url(#error-line);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  filter: drop-shadow(0 0 9px rgba(98, 167, 255, 0.4));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: chart-reveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.error-marker {
  stroke: rgba(119, 165, 255, 0.26);
  stroke-dasharray: 4 6;
}

.error-window-footer {
  min-height: 56px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-inline: 1.2rem;
}

.error-window-footer span:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.error-window-footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.footer-brand {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-languages {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  direction: ltr;
}

.footer-languages span {
  display: grid;
  min-width: 28px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--quiet);
  font-size: 0.58rem;
  font-weight: 780;
  letter-spacing: 0.06em;
}

@keyframes tape-scroll {
  to { transform: translateX(-50%); }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes signal-pulse {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 0 0 rgba(97, 216, 186, 0); }
  50% { opacity: 1; box-shadow: 0 0 0 5px rgba(97, 216, 186, 0.08); }
}

@keyframes point-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.75); transform-origin: center; }
  50% { opacity: 0.75; transform: scale(1.15); transform-origin: center; }
}

@keyframes chart-reveal {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 4.5rem;
    padding-block: 6rem;
  }

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

  .visual-shell {
    width: min(100%, 820px);
    margin-inline: auto;
  }

  .section-intro {
    grid-template-columns: 1fr 0.5fr;
    gap: 1.4rem 3rem;
  }

  .not-found-card {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .not-found-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(var(--content-width), calc(100% - 1.5rem));
  }

  .site-header {
    min-height: 78px;
  }

  .button,
  .language-trigger {
    min-height: 42px;
    padding-inline: 0.82rem;
    font-size: 0.8rem;
  }

  .hero {
    gap: 3.4rem;
    padding-block: 4.7rem 5.2rem;
  }

  h1 {
    font-size: clamp(3.15rem, 13.5vw, 5.4rem);
  }

  .chart-wrap {
    height: 270px;
  }

  .principles {
    padding-block: 4.8rem;
  }

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

  .section-intro .window-kicker {
    grid-column: auto;
  }

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

  .perspective-section {
    grid-template-columns: 1fr;
    gap: 3.8rem;
  }

  .perspective-statement {
    max-width: 760px;
  }

  .principle-card {
    min-height: 235px;
  }

  .principle-icon {
    margin-block-end: 2.2rem;
  }

  .final-cta {
    min-height: 320px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    margin-block: 0 4.5rem;
  }

  .site-footer {
    min-height: 150px;
    grid-template-columns: 1fr auto;
    padding-block: 1.5rem;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: start;
  }
}

@media (max-width: 560px) {
  .brand > span {
    display: none;
  }

  .header-actions {
    gap: 0.38rem;
  }

  .header-login {
    display: none;
  }

  .language-trigger {
    min-width: 68px;
  }

  .language-options {
    width: min(210px, calc(100vw - 1.5rem));
  }

  .hero {
    padding-block-start: 4rem;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.2rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .window-head {
    min-height: 94px;
    padding: 1.2rem 1.05rem 0.5rem;
  }

  .timeframe {
    display: none;
  }

  .window-kicker {
    font-size: 0.6rem;
  }

  .simulated-pill {
    padding: 0.34rem 0.5rem;
    font-size: 0.56rem;
  }

  .chart-wrap {
    height: 220px;
    padding-inline: 1.8rem 0.5rem;
  }

  .region-row {
    margin-inline: 0.85rem;
  }

  .region-row > div {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.72rem 0.5rem;
  }

  .region-row i {
    width: 100%;
  }

  .window-footer {
    min-height: 54px;
    margin-block-start: 0.9rem;
    padding-inline: 1rem;
  }

  .principle-card {
    padding: 1.3rem;
  }

  .perspective-statement {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 1rem;
  }

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

  .process-grid article {
    min-height: 175px;
  }

  .process-grid article > span {
    margin-block-end: 2rem;
  }

  .final-cta {
    gap: 2rem;
    border-radius: 20px;
    padding: 1.6rem;
  }

  .final-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .final-actions .button,
  .final-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .not-found-main {
    padding-block: 3.5rem;
  }

  .not-found-card {
    gap: 3rem;
  }

  .not-found-copy h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .not-found-visual {
    border-radius: 18px;
  }

  .not-found-visual > svg {
    height: 250px;
  }
}

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