:root {
  --paper: #f4f5ef;
  --paper-2: #e8eae4;
  --ink: #10131b;
  --ink-soft: #555d69;
  --line: rgba(16, 18, 19, 0.16);
  --white: #fbfcf8;
  --night: #0b0e18;
  --night-2: #151a28;
  --lime: #73e4ff;
  --violet: #7567f8;
  --cyan: #73e4ff;
  --shell: 1180px;
  --radius-sm: 8px;
  --radius: 18px;
  --radius-lg: 28px;
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, .7, .25, 1);
  --shadow: 0 24px 60px rgba(14, 18, 20, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
p { color: var(--ink-soft); }
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 74px;
  border-bottom: 1px solid transparent;
  background: rgba(239, 241, 235, .82);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(239, 241, 235, .94);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.brand-mark { width: 35px; height: 35px; fill: var(--ink); }
.brand-mark-cut { fill: var(--paper); transform: rotate(45deg); transform-origin: center; }
.brand strong {
  display: block;
  font-size: .96rem;
  line-height: 1;
  letter-spacing: .08em;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font: 500 .66rem/1 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 7px; }
.nav a {
  padding: 10px 12px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}
.nav a:not(.nav-cta):hover { background: rgba(16, 18, 19, .07); }
.nav .nav-cta {
  margin-left: 6px;
  padding-inline: 17px;
  color: var(--white);
  background: var(--ink);
}
.nav .nav-cta:hover { background: var(--violet); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

/* Shared */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font: 600 .72rem/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(121, 104, 255, .13);
}
.eyebrow-light { color: rgba(249, 250, 246, .58); }
.eyebrow-light > span {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(199, 255, 74, .14);
}
.section-heading { max-width: 690px; margin-bottom: 54px; }
.section-heading h2,
.architecture h2,
.dev-build-card h2 {
  font-size: clamp(2.3rem, 5vw, 4.75rem);
}
.section-heading > p:last-child {
  max-width: 600px;
  margin-top: 20px;
  font-size: 1.06rem;
}
.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .75fr);
  align-items: end;
  gap: 60px;
}
.split-heading > p:last-child { margin: 0; }
.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { background: var(--violet); }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, .32); }
.button-secondary:hover { background: var(--white); }
.button-lime { color: var(--ink); background: var(--lime); }
.button-lime:hover { background: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  background: var(--lime);
  filter: blur(1px);
  opacity: .58;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000, transparent 66%);
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  padding-block: 76px;
}
.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.45rem, 7.2vw, 7rem);
}
.hero-copy h1 em {
  display: inline-block;
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: .64em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -.06em;
}
.hero-lede {
  max-width: 650px;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 620px;
  margin: 52px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.hero-facts li { padding-right: 18px; }
.hero-facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; font: 600 1.1rem/1 var(--font-mono); }
.hero-facts span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .78rem; }
.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.visual-orbit {
  position: absolute;
  border: 1px dashed rgba(16, 18, 19, .21);
  border-radius: 50%;
  animation: orbit 26s linear infinite;
}
.visual-orbit-a { width: 510px; height: 510px; }
.visual-orbit-b { width: 380px; height: 380px; animation-direction: reverse; animation-duration: 18s; }
.visual-orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 50%;
  top: -6px;
  border-radius: 50%;
  background: var(--violet);
}
@keyframes orbit { to { transform: rotate(360deg); } }
.console-card {
  position: relative;
  z-index: 2;
  width: min(100%, 530px);
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: var(--night);
  box-shadow: 0 34px 80px rgba(12, 15, 18, .28);
  transform: rotateY(-7deg) rotateX(2deg);
  transition: transform 360ms var(--ease);
}
.hero-visual:hover .console-card { transform: rotateY(-3deg) translateY(-5px); }
.console-head {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 17px;
  color: rgba(249, 250, 246, .52);
  border-bottom: 1px solid rgba(255,255,255,.09);
  font: 500 .7rem/1 var(--font-mono);
}
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(249,250,246,.18); }
.console-dots i:first-child { background: var(--violet); }
.console-branch { justify-self: end; color: var(--lime); }
.console-body {
  min-height: 310px;
  padding: 30px 25px;
  font: 400 .78rem/1.9 var(--font-mono);
}
.console-body p { color: rgba(249,250,246,.82); overflow-wrap: anywhere; }
.prompt { color: var(--lime); }
.code-accent { color: var(--cyan); }
.console-divider { height: 1px; margin: 22px 0 18px; background: rgba(255,255,255,.08); }
.console-output { padding-left: 15px; color: rgba(249,250,246,.42) !important; }
.console-output::before { content: "✓"; margin-left: -15px; margin-right: 8px; color: var(--lime); }
.console-ready {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--lime) !important;
}
.console-ready span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.copy-command {
  width: calc(100% - 34px);
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 17px 17px;
  padding: 0 15px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px;
  background: rgba(255,255,255,.05);
  font: 500 .72rem/1 var(--font-mono);
  cursor: pointer;
}
.copy-command:hover { background: rgba(255,255,255,.1); }
.copy-command svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.target-chip {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font: 600 .65rem/1 var(--font-mono);
  box-shadow: 5px 5px 0 var(--ink);
}
.target-chip-one { top: 38px; right: 32px; }
.target-chip-two { bottom: 52px; left: -12px; }
.target-chip-three { bottom: 4px; right: 64px; color: var(--white); background: var(--violet); }

/* Signal bar */
.signal-bar { overflow: hidden; color: var(--white); background: var(--ink); }
.signal-track {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  white-space: nowrap;
  font: 500 .7rem/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.signal-track i { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); }

/* Entry paths */
.section-start { background: var(--white); }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.path-card-featured { color: var(--white); background: var(--violet); border-color: var(--violet); }
.path-card-featured p { color: rgba(249,250,246,.74); }
.path-index { margin-bottom: 50px; font: 500 .7rem/1 var(--font-mono); color: var(--ink-soft); }
.path-card-featured .path-index { color: rgba(249,250,246,.58); }
.path-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.path-card-featured .path-icon { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.path-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.path-card h3 { font-size: 1.55rem; }
.path-card p { margin-top: 16px; font-size: .95rem; }
.path-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
  font-weight: 700;
  text-decoration: none;
  border-top: 1px solid var(--line);
}
.path-card-featured a { border-top-color: rgba(249,250,246,.22); }

/* Architecture */
.architecture { color: var(--white); background: var(--night); }
.architecture-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(480px, 1.2fr);
  align-items: center;
  gap: clamp(70px, 10vw, 150px);
}
.architecture-copy > p:not(.eyebrow) { margin-top: 24px; color: rgba(249,250,246,.58); font-size: 1.05rem; }
.text-link-light {
  display: inline-flex;
  gap: 10px;
  margin-top: 30px;
  color: var(--lime);
  font-weight: 700;
  text-decoration: none;
}
.pipeline { position: relative; margin: 0; padding: 0; list-style: none; }
.pipeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 46px;
  bottom: 46px;
  width: 1px;
  background: linear-gradient(var(--violet), var(--lime));
}
.pipeline li {
  position: relative;
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  gap: 22px;
  min-height: 95px;
  padding: 14px 20px 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pipeline-number {
  position: relative;
  z-index: 1;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: var(--night);
  font: 500 .68rem/1 var(--font-mono);
}
.pipeline li:last-child .pipeline-number { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.pipeline strong { display: block; font-size: 1.12rem; letter-spacing: -.02em; }
.pipeline small { display: block; margin-top: 5px; color: rgba(249,250,246,.48); font: 400 .74rem/1.4 var(--font-mono); }

/* Contribution */
.contribution { background: var(--paper-2); }
.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.workflow-line {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 25px;
  height: 1px;
  background: var(--line);
}
.workflow article { position: relative; padding-right: 24px; }
.workflow article > span {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-2);
  font: 600 .72rem/1 var(--font-mono);
}
.workflow article:nth-child(3) > span { color: var(--white); background: var(--violet); border-color: var(--violet); }
.workflow h3 { font-size: 1.25rem; }
.workflow p { margin-top: 12px; font-size: .9rem; }
.resource-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 76px;
  border-block: 1px solid var(--line);
}
.resource-row a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  min-height: 130px;
  padding: 24px;
  text-decoration: none;
  transition: background 180ms ease;
}
.resource-row a + a { border-left: 1px solid var(--line); }
.resource-row a:hover { background: var(--white); }
.resource-label { grid-column: 1 / -1; color: var(--ink-soft); font: 500 .68rem/1 var(--font-mono); text-transform: uppercase; }
.resource-row strong { align-self: end; font-size: 1.1rem; }

/* Dev builds */
.dev-builds { padding-top: 0; background: var(--paper-2); }
.dev-build-card {
  position: relative;
  min-height: 370px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  padding: 58px;
  color: var(--white);
  border-radius: var(--radius-lg);
  background: var(--violet);
}
.dev-build-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -160px;
  bottom: -200px;
  border: 55px solid rgba(199,255,74,.2);
  border-radius: 50%;
}
.dev-build-card > * { position: relative; z-index: 1; }
.build-symbol {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(17,21,27,.12);
}
.build-symbol svg { width: 90px; fill: none; stroke: var(--lime); stroke-width: 1.8; }
.dev-build-card h2 { max-width: 650px; font-size: clamp(2.3rem, 4.5vw, 4.25rem); }
.dev-build-card p:not(.eyebrow) { max-width: 700px; margin-top: 20px; color: rgba(249,250,246,.72); }
.dev-build-card .button { white-space: nowrap; }

/* Footer */
.footer { color: var(--white); background: var(--ink); }
.footer-top {
  min-height: 220px;
  display: grid;
  grid-template-columns: .7fr 1fr auto;
  align-items: center;
  gap: 50px;
}
.brand-footer .brand-mark { fill: var(--white); }
.brand-footer .brand-mark-cut { fill: var(--ink); }
.brand-footer small { color: rgba(249,250,246,.5); }
.footer-top p { max-width: 460px; color: rgba(249,250,246,.5); font-size: .9rem; }
.footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.footer nav a { color: rgba(249,250,246,.78); text-decoration: none; font-size: .88rem; }
.footer nav a:hover { color: var(--lime); }
.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(249,250,246,.38);
  border-top: 1px solid rgba(255,255,255,.1);
  font: 400 .65rem/1.4 var(--font-mono);
}

/* Reveal and toast */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  padding: 11px 16px;
  color: var(--white);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: var(--shadow);
  font: 500 .72rem/1 var(--font-mono);
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1020px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-visual { min-height: 470px; }
  .console-card { transform: none; }
  .hero-visual:hover .console-card { transform: translateY(-5px); }
  .path-grid { grid-template-columns: 1fr 1fr; }
  .path-card:last-child { grid-column: 1 / -1; min-height: 340px; }
  .architecture-layout { grid-template-columns: 1fr; gap: 65px; }
  .architecture-copy { max-width: 720px; }
  .dev-build-card { grid-template-columns: 120px 1fr; }
  .dev-build-card .button { grid-column: 2; justify-self: start; }
  .build-symbol { width: 120px; height: 120px; }
}

@media (max-width: 780px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header { height: 66px; backdrop-filter: none; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    padding: 90px 28px 30px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 12px; font-size: 1.5rem; }
  .nav .nav-cta { margin: 18px 0 0; text-align: center; }
  .hero { min-height: auto; }
  .hero-layout { padding-block: 72px; }
  .hero-copy h1 { font-size: clamp(3rem, 13vw, 5.4rem); }
  .hero-facts { margin-top: 40px; }
  .hero-visual { min-height: 430px; }
  .target-chip-one { right: 8px; }
  .target-chip-two { left: 4px; }
  .target-chip-three { right: 20px; }
  .signal-track { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card, .path-card:last-child { grid-column: auto; min-height: 360px; }
  .workflow { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .workflow-line { display: none; }
  .resource-row { grid-template-columns: 1fr; }
  .resource-row a + a { border-left: 0; border-top: 1px solid var(--line); }
  .dev-build-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 38px 28px;
  }
  .dev-build-card .button { grid-column: auto; }
  .build-symbol { width: 95px; height: 95px; }
  .build-symbol svg { width: 62px; }
  .footer-top { grid-template-columns: 1fr; padding-block: 55px; gap: 28px; }
}

@media (max-width: 520px) {
  .section { padding-block: 74px; }
  .hero-layout { padding-top: 52px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .hero-copy h1 em { font-size: .58em; }
  .hero-actions { display: grid; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li { padding: 11px 0; }
  .hero-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-facts strong, .hero-facts span { display: inline; }
  .hero-facts span { margin-left: 10px; }
  .hero-visual { min-height: 370px; }
  .visual-orbit-a { width: 360px; height: 360px; }
  .visual-orbit-b { width: 280px; height: 280px; }
  .console-body { min-height: 270px; padding: 22px 17px; font-size: .67rem; }
  .target-chip { box-shadow: 3px 3px 0 var(--ink); }
  .target-chip-two { bottom: 26px; }
  .target-chip-three { bottom: -8px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .architecture h2 { font-size: clamp(2.25rem, 12vw, 3.4rem); }
  .workflow { grid-template-columns: 1fr; }
  .pipeline li { grid-template-columns: 45px 1fr; gap: 14px; }
  .pipeline-number { width: 45px; height: 45px; }
  .pipeline::before { left: 22px; }
  .dev-build-card { border-radius: var(--radius); }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Consumer homepage shell */
.site-header--consumer {
  color: #f7f8fc;
  border-bottom-color: rgba(255, 255, 255, .09);
  background: rgba(7, 9, 19, .94);
}
.site-header--consumer.is-stuck {
  border-bottom-color: rgba(255, 255, 255, .14);
  background: rgba(7, 9, 19, .98);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .22);
}
.brand-logo { width: 38px; height: 38px; }
.site-header--consumer .brand strong { color: #f7f8fc; }
.site-header--consumer .brand small { color: #8f97aa; }
.site-header--consumer .nav a { color: #c8cede; }
.site-header--consumer .nav a:not(.nav-cta):hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.site-header--consumer .nav .nav-cta {
  color: #090b13;
  background: linear-gradient(120deg, #effdff, #9beafb);
}
.site-header--consumer .nav .nav-cta:hover { background: #fff; }
.site-header--consumer .menu-toggle {
  border-color: rgba(255, 255, 255, .18);
}
.site-header--consumer .menu-toggle span:not(.sr-only) { background: #f7f8fc; }

@media (max-width: 780px) {
  .site-header--consumer .nav { background: #070913; }
  .site-header--consumer .nav a { color: #f7f8fc; }
  .site-header--consumer .nav .nav-cta { color: #090b13; }
}

/* Language switcher */
.lang-switch {
  position: relative;
  flex: 0 0 auto;
}

.lang-switch-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: #c8cede;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font: 700 0.68rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.lang-switch-icon { color: var(--cyan); flex: 0 0 auto; }

.lang-switch-chevron {
  font-size: 0.72rem;
  opacity: 0.55;
  transition: transform 180ms ease;
}

.lang-switch-btn:hover,
.lang-switch.is-open .lang-switch-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch.is-open .lang-switch-chevron { transform: rotate(180deg); }

.lang-switch-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 11.5rem;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #0b0e18;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.lang-switch-menu a {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  color: #c8cede;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.lang-switch-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch-menu a[aria-current="true"] {
  color: #090b13;
  background: linear-gradient(120deg, #effdff, #9beafb);
}

.header-inner {
  gap: 16px;
}

@media (max-width: 780px) {
  .lang-switch { margin-left: auto; }
  .lang-switch-menu {
    inset-inline-end: 0;
    min-width: 10.5rem;
  }
}

/* RTL (Hebrew) */
html[dir="rtl"] body { direction: rtl; }

html[dir="rtl"] .header-inner,
html[dir="rtl"] .page-breadcrumb,
html[dir="rtl"] .page-hero__grid,
html[dir="rtl"] .page-layout,
html[dir="rtl"] .page-btn-row,
html[dir="rtl"] .platform-picks,
html[dir="rtl"] .gold-band,
html[dir="rtl"] .gold-compare,
html[dir="rtl"] .closing-footer-main,
html[dir="rtl"] .closing-footer-links a,
html[dir="rtl"] .link-card,
html[dir="rtl"] .downloads__header,
html[dir="rtl"] .psp-showcase__headline,
html[dir="rtl"] .sf-guide__heading,
html[dir="rtl"] .sf-fixes__header {
  direction: rtl;
}

html[dir="rtl"] .plain-list li,
html[dir="rtl"] .sf-step,
html[dir="rtl"] .step {
  padding-left: 0;
  padding-right: 1.1rem;
}

html[dir="rtl"] .plain-list li::before,
html[dir="rtl"] .preset-card li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .step {
  grid-template-columns: auto minmax(0, 1fr);
}

html[dir="rtl"] .lang-switch-menu {
  inset-inline-end: 0;
  inset-inline-start: auto;
}

html[dir="rtl"] .data-table th,
html[dir="rtl"] .data-table td {
  text-align: right;
}

html[dir="rtl"] .link-card::after {
  transform: scaleX(-1);
}
