@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/urbanist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --canvas: #eeeded;
  --surface: #f8f8f7;
  --ink: #17171a;
  --ink-soft: #3f3f46;
  --muted: #6e6e76;
  --dim: #76767f;
  --line: rgb(9 9 11 / .08);
  --brand: #e8291b;
  --brand-strong: #ff4530;
  --mono: 'SF Mono', 'Cascadia Mono', Consolas, monospace;
  --font: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  --gel-light: radial-gradient(62% 62% at 28% -10%, rgb(255 255 255 / .85) 0%, rgb(255 255 255 / 0) 100%), linear-gradient(0deg, #f7f6f6, #f7f6f6);
  --gel-light-shadow: inset 0 -2px 0 #dedddd, inset 0 1px 0 rgb(255 255 255 / .95), 0 2px 3px rgb(0 0 0 / .04);
  --gel-dark: radial-gradient(62% 62% at 28% -10%, rgb(255 255 255 / .22) 0%, rgb(255 255 255 / 0) 100%), linear-gradient(0deg, #27272a, #27272a);
  --gel-dark-shadow: inset 0 -3px 0 #0c0c0e, inset 0 1px 0 rgb(255 255 255 / .24), 0 2px 3px rgb(0 0 0 / .12), 0 8px 16px rgb(0 0 0 / .10);
  --clay: inset 0 -8px 0 rgb(0 0 0 / .05), inset 0 4px 0 rgb(255 255 255 / .6), 0 7.77px 16px rgb(0 0 0 / .059), 0 3px 3px rgb(0 0 0 / .102);
  --panel-gutter: 24px;
  --panel-radius: 28px;
}
* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  color: var(--ink);
  overflow-x: clip;
  font: 400 15px/1.7 var(--font);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.container { width: min(100% - 80px, 1120px); margin-inline: auto; }
.mono, .eyebrow { font-family: var(--mono); }
.gradient-ink {
  background: linear-gradient(168deg, #17171a 0%, #4d4d56 52%, #a3a3ab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* The navigation sits inside the opening artwork, on the same center line. */
header { position: absolute; inset: 36px 0 auto; z-index: 5; }
.header-inner {
  width: min(100% - 112px, 880px);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 10px 8px 22px;
  border-radius: 99px;
  background: rgb(255 255 255 / .58);
  border: 1px solid rgb(255 255 255 / .60);
  box-shadow: 0 2px 6px rgb(38 39 43 / .025);
  backdrop-filter: blur(24px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.brand img { object-fit: contain; }
nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 550; color: var(--muted); }
nav [aria-current] {
  position: relative;
  color: var(--ink);
}
nav [aria-current]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.nav-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 99px;
  color: #fafafa;
  background: var(--gel-dark);
  box-shadow: var(--gel-dark-shadow);
  transition: transform .18s ease, filter .18s ease;
}
.nav-cta:hover { color: #fafafa; filter: brightness(1.12); transform: translateY(-1px); }

/* Original soft-focus glass artwork; quiet center for the message. */
.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 16px var(--panel-gutter) 0;
  border-radius: var(--panel-radius);
  background: #e3e5ea url('assets/intro-atmosphere.svg') center 48% / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3);
}
.intro-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 0 30px;
  text-align: center;
}
.intro-title { position: relative; margin-top: 18px; }
.intro-title h1 { margin-top: 0; text-align: center; }
.title-cards { position: absolute; left: calc(100% + 24px); top: 36px; width: 172px; height: 112px; }
.title-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 148px;
  height: 50px;
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(-7deg);
  background: linear-gradient(180deg, #ea2b16 0%, #ff3b26 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), inset 0 -2px 6px rgb(120 20 6 / .18), 0 12px 24px rgb(255 59 38 / .18);
}
.float-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f3f1ef);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(0 0 0 / .04), 0 10px 20px rgb(20 12 8 / .12);
}
.float-card img { display: block; width: 22px; height: 22px; }
.fc-a { left: 18px; top: 0; transform: rotate(-9deg); animation: card-bob 6.4s ease-in-out infinite; }
.fc-b { left: 112px; top: 28px; transform: rotate(8deg); animation: card-bob 7.2s ease-in-out .8s infinite; }
.fc-c { left: 48px; top: 74px; transform: rotate(4deg); animation: card-bob 6.8s ease-in-out 1.6s infinite; }
.fc-d { left: 118px; top: 72px; transform: rotate(-6deg); animation: card-bob 7.6s ease-in-out 2.4s infinite; }
@keyframes card-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
/* Section labels share one pill: light gel on the canvas, dark gel inside the hero. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--brand);
  background: var(--gel-light);
  box-shadow: var(--gel-light-shadow);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
}
.intro .eyebrow { padding: 7px 14px; font-family: var(--font); font-size: 12px; letter-spacing: .08em; }
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--brand);
  flex-shrink: 0;
}
.eyebrow span { color: var(--brand); margin-right: 2px; }
h1 {
  margin-top: 0;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: -.035em;
  background: linear-gradient(150deg, #24262a 15%, #55585e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.title-dot { -webkit-text-fill-color: var(--brand-strong); color: var(--brand-strong); background: none; }
.lede {
  margin-top: 14px;
  color: #62656d;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
  text-wrap: balance;
}
.intro-actions { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; }
.lede span { display: inline-block; }
.hero-download {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 13px 26px;
  border-radius: 99px;
  color: #fafafa;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  background: var(--gel-dark);
  box-shadow: var(--gel-dark-shadow);
  transition: transform .18s ease, filter .18s ease;
}
.hero-download:hover { color: #fafafa; filter: brightness(1.12); transform: translateY(-2px); }
.hero-download::after, .nav-cta::after, .download-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, transparent 30%, rgb(255 255 255 / .45), transparent 70%);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease;
}
.hero-download:hover::after, .nav-cta:hover::after, .download-button:hover::after { transform: translateX(120%); opacity: .6; }
.hero-download svg { flex-shrink: 0; }
.intro-actions .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 26px;
  border-radius: 99px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  background: var(--gel-light);
  box-shadow: var(--gel-light-shadow);
  transition: transform .18s ease, filter .18s ease;
}
.intro-actions .text-link:hover { transform: translateY(-2px); filter: brightness(1.02); }
.intro-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 14px; color: #696d76; font-size: 11px; letter-spacing: .02em; }
.intro-meta span + span::before { content: '/'; margin: 0 14px; color: #c3c2c2; }
.package-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid #c9c7c5;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0;
}
.package-link:hover { color: var(--brand); }
.section-heading .text-link, .product-tour > .text-link { font-size: 13px; font-weight: 550; }
.text-link { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-height: 36px; color: var(--muted); }
.text-link:hover { color: var(--brand); }

/* Both opening panels share their frame; the light direction continues into the dark. */
.zoom-stage {
  --hero-h: clamp(260px, calc(100svh - 562px), 436px);
  --hero-end-h: calc(100svh - 32px);
  --hero-travel: 60svh;
  position: relative;
  z-index: 1;
  margin: 12px var(--panel-gutter) 96px;
}
.jx-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--panel-radius);
  background: #0b0b0b;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), 0 12px 30px rgb(20 20 24 / .08);
}
.hero-motion .zoom-stage { height: calc(var(--hero-end-h) + var(--hero-travel)); }
.hero-motion .jx-hero {
  position: sticky;
  top: 16px;
  width: calc(100% + var(--bleed, 0px));
  margin-left: calc(var(--bleed, 0px) / -2);
  height: calc(var(--hero-h) + (var(--hero-end-h) - var(--hero-h)) * var(--p, 0));
  border-radius: calc(var(--panel-radius) * (1 - var(--p, 0)));
}
.hero-scene { position: relative; height: var(--hero-h); overflow: hidden; background: radial-gradient(ellipse at 78% 0%, #262124 0%, #141416 45%, #101012 78%); }
.hero-scene-label { position: absolute; top: 26px; left: 30px; color: #a3a1a6; font: 10px/1.5 var(--mono); letter-spacing: .12em; animation: scene-enter .6s ease .2s backwards; }
.hero-motion .hero-scene { position: absolute; inset: 0; height: auto; opacity: calc(1 - var(--workspace, 0)); }
.hero-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.3' filter='url(%23n)'/%3E%3C/svg%3E");
}
#hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 50% 40%; animation: janus-breathe 8s ease-in-out infinite; }
@keyframes janus-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.014); }
}
@keyframes scene-enter {
  from { opacity: 0; translate: 0 12px; }
}
.hero-atmos { position: absolute; inset: 0; pointer-events: none; }
.hero-atmos .glow { position: absolute; border-radius: 50%; }
.glow-cool {
  width: 420px;
  height: 420px;
  left: -130px;
  bottom: -160px;
  background: radial-gradient(circle, rgb(196 204 216 / .08), transparent 70%);
  filter: blur(30px);
  animation: hero-drift-a 26s ease-in-out infinite alternate;
}
.glow-warm {
  width: 480px;
  height: 480px;
  right: -150px;
  top: -190px;
  background: radial-gradient(circle, rgb(255 59 38 / .12), transparent 70%);
  filter: blur(30px);
  animation: hero-drift-b 31s ease-in-out infinite alternate;
}
@keyframes hero-drift-a {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(36px, 26px, 0); }
}
@keyframes hero-drift-b {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-30px, -22px, 0); }
}
.hero-halo {
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(72%, 720px);
  aspect-ratio: 2.15;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgb(255 59 38 / .13) 0%, rgb(255 255 255 / .04) 42%, transparent 72%);
  filter: blur(12px);
  animation: halo-pulse 8s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .75; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}
.hero-fallback {
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(37%, 370px);
  aspect-ratio: 2.05;
  transform: translate(-50%, -50%);
  border: 3px solid #d9d9de;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transform-origin: 50% 50%;
  animation: janus-breathe-fallback 8s ease-in-out infinite;
}
@keyframes janus-breathe-fallback {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) scale(1); }
  50% { transform: translate(-50%, -50%) translateY(-7px) scale(1.014); }
}
.hero-fallback span { width: 22px; height: 58px; border-radius: 11px; background: var(--brand-strong); box-shadow: 0 0 18px rgb(255 69 48 / .45); transform-origin: 50% 50%; animation: eye-blink 6.8s ease-in-out infinite; }
@keyframes eye-blink {
  0%, 94%, 100% { transform: scaleY(1); }
  96.5% { transform: scaleY(.08); }
}
.hero-canvas-ready .hero-fallback { visibility: hidden; }
.hero-wordmark {
  position: absolute;
  left: 0;
  right: 0;
  top: min(68%, calc(100% - 118px));
  text-align: center;
  color: #f3f3f3;
  font-family: var(--font);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -.05em;
  animation: scene-enter .8s ease .75s backwards, wordmark-float 8s ease-in-out infinite;
}
.hero-wordmark span {
  color: var(--brand-strong);
  -webkit-text-fill-color: var(--brand-strong);
}
@keyframes wordmark-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero-tagline {
  position: absolute;
  top: min(calc(68% + 63px), calc(100% - 72px));
  left: 0;
  right: 0;
  text-align: center;
  color: #a7a4ab;
  font-size: 12px;
  letter-spacing: .12em;
  animation: scene-enter .8s ease 1s backwards, wordmark-float 8s ease-in-out .25s infinite;
}
.hero-scene-footer { position: absolute; bottom: 24px; left: 30px; right: 30px; display: flex; justify-content: space-between; gap: 20px; color: #888; font-size: 10px; animation: scene-enter .7s ease 1.25s backwards; }
.scene-scroll { color: #b6b2b9; }
.scene-scroll span { display: inline-block; margin-left: 12px; color: var(--brand-strong); }
.hero-scene-footer .mono { letter-spacing: .12em; }
.hero-workspace {
  padding: 36px 40px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #090909;
}
.hero-motion .hero-workspace { position: absolute; inset: 0; opacity: var(--workspace, 0); visibility: hidden; transform: translateY(calc(20px * (1 - var(--workspace, 0)))); }
.hero-motion .hero-workspace.is-visible { visibility: visible; }
.hero-workspace-heading { text-align: center; }
.jx-hero .eyebrow {
  color: var(--brand-strong);
  background: var(--gel-dark);
  box-shadow: var(--gel-dark-shadow);
}
.jx-hero .eyebrow::before { background: var(--brand-strong); }
.jx-hero .eyebrow span { color: var(--brand-strong); }
.hero-workspace-heading h2 {
  margin-top: 12px;
  color: #f1f1f1;
  background: none;
  -webkit-text-fill-color: #f1f1f1;
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 550;
  letter-spacing: -.035em;
}
.hero-workspace-heading > p:last-child { margin-top: 8px; color: #a1a1a1; font-size: 12px; }
.workspace-image { display: flex; justify-content: center; align-items: center; min-height: 0; width: 100%; max-width: 1400px; }
.hero-workspace img {
  display: block;
  min-height: 0;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid #303030;
  border-radius: 10px;
  box-shadow: 0 20px 60px #0008;
}
.hero-motion .workspace-image { flex: 1; overflow: hidden; }
.hero-motion .workspace-image img { max-height: 100%; }
.workspace-controls {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
  padding: 5px;
  border: 1px solid #292929;
  border-radius: 99px;
  background: #111;
}
.workspace-controls[hidden] { display: none; }
.workspace-controls button {
  border: 1px solid transparent;
  border-radius: 99px;
  padding: 10px 17px;
  background: transparent;
  color: #999;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color .18s, background .18s;
}
.workspace-controls button:hover { color: #eee; background: #1b1b1b; }
.workspace-controls button[aria-pressed='true'] { color: #fafafa; border-color: #3b3b3b; background: #252525; }
.workspace-controls button .mono { margin-right: 10px; color: #777; font-size: 10px; }
.workspace-controls button[aria-pressed='true'] .mono { color: var(--brand-strong); }
.workspace-controls button:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; }
.workspace-caption { display: flex; align-items: baseline; justify-content: center; gap: 18px; max-width: 100%; color: #929292; font-size: 11px; text-align: center; }
.workspace-original { white-space: nowrap; color: #c5c5c5; }
.workspace-original:hover { color: #fff; }

/* Quiet section labels and one consistent vertical rhythm below the opening. */
section { scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -.03em;
  background: linear-gradient(150deg, #24262a 0%, #55585e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-heading h2 { margin-top: 12px; }
.release-bar {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: .05em;
}
.release-label { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--dim); }
[data-release-state='ready'] .status-dot { background: #2f9e74; }

/* Package options use the same surface; the primary action establishes priority. */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.download-option {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px 34px 34px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--clay);
}
.download-option.featured { background: #fcfcfb; }
.package-kind { margin-bottom: 24px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.option-heading { display: flex; gap: 12px; align-items: center; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.tag {
  padding: 4px 11px;
  border-radius: 99px;
  color: var(--brand);
  background: rgb(232 41 27 / .1);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
}
.tag.neutral { color: var(--muted); background: rgb(9 9 11 / .06); }
.description { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.package-meta { min-height: 20px; margin: 28px 0 14px; color: var(--dim); font-size: 11px; letter-spacing: .05em; }
.download-button {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid #dedddd;
  border-radius: 99px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 650;
  transition: transform .18s ease, filter .18s ease;
}
.download-button svg { flex-shrink: 0; }
.download-button { margin-top: auto; color: var(--ink); background: var(--gel-light); box-shadow: var(--gel-light-shadow); }
.download-button:hover { color: var(--ink); filter: brightness(1.03); transform: translateY(-2px); }
.featured .download-button { border-color: transparent; color: #fafafa; background: var(--gel-dark); box-shadow: var(--gel-dark-shadow); }
.featured .download-button:hover { color: #fafafa; filter: brightness(1.12); }
.release-note { margin-top: 16px; color: var(--dim); font-size: 12px; min-height: 20px; }
.platform-note { display: flex; gap: 28px; padding: 22px 0 0; margin-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
.platform-note > span { color: var(--muted); flex-shrink: 0; font-weight: 600; }

/* Steps: three clay cards with a ghost numeral, the way Aigocy counts a process. */
.install-section { padding: 104px 0 24px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; overflow: hidden; padding: 28px 28px 34px; border-radius: 28px; background: var(--surface); box-shadow: var(--clay); }
.steps li::after { counter-increment: step; content: '0' counter(step); position: absolute; right: 22px; bottom: 6px; z-index: 0; color: rgb(23 23 26 / .07); font: 650 72px/1 var(--font); letter-spacing: -.05em; pointer-events: none; }
.steps li > * { position: relative; z-index: 1; }
.step-number { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gel-light); box-shadow: var(--gel-light-shadow); color: var(--brand); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .05em; }
.steps h3 { margin: 18px 0 10px; font-size: 16px; }
.steps p { color: var(--muted); font-size: 13px; line-height: 1.95; }

/* Product tour: dark captures matted like gallery prints. */
.product-tour { padding: 104px 0; }
.tour-intro { max-width: 720px; color: var(--muted); line-height: 1.95; }
.tour-shot { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.8fr); align-items: center; gap: 48px; padding-top: 36px; margin: 36px 0; border-top: 1px solid var(--line); }
.tour-shot figcaption { min-width: 0; }
.tour-shot .eyebrow { font-size: 10px; letter-spacing: .08em; }
.tour-shot h3 { margin: 14px 0 10px; font-size: 24px; line-height: 1.4; }
.tour-shot p { color: var(--muted); font-size: 13px; line-height: 1.95; }
.tour-shot > a {
  display: block;
  padding: 10px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--clay), 0 18px 40px rgb(0 0 0 / .07);
}
.tour-shot img { display: block; width: 100%; height: auto; border-radius: 14px; }
.product-tour > .text-link { margin-top: 18px; }

.support {
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--clay);
  padding: 36px 40px;
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.support h2 { font-size: clamp(24px, 2.4vw, 32px); }
.support p { color: var(--muted); font-size: 13px; margin-top: 10px; }
.support .text-link {
  min-height: 52px;
  padding: 13px 26px;
  border-radius: 99px;
  color: #fafafa;
  font-size: 14px;
  font-weight: 650;
  background: var(--gel-dark);
  box-shadow: var(--gel-dark-shadow);
  transition: transform .18s ease, filter .18s ease;
}
.support .text-link:hover { color: #fafafa; filter: brightness(1.12); transform: translateY(-2px); }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 92px; display: flex; align-items: center; gap: 24px; color: var(--dim); font-size: 12px; }
.footer-inner .brand { color: var(--ink-soft); font-size: 13px; }
.footer-inner > a:last-child { margin-left: auto; color: var(--muted); }
.footer-inner > a:last-child:hover { color: var(--brand); }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 10px 16px; border-radius: 10px; background: #17171a; color: #fafafa; z-index: 6; }
.skip-link:focus { top: 12px; }

/* One-time entrance below the opening: headings tilt up, cards rise. reveal.js adds the classes; without it everything stays visible. */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); }
.js-reveal .reveal-flip { transform: perspective(900px) rotateX(18deg) translateY(28px); transform-origin: 50% 0; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.js-reveal .downloads .reveal.is-in:nth-child(2), .js-reveal .steps .reveal.is-in:nth-child(2) { transition-delay: .08s; }
.js-reveal .steps .reveal.is-in:nth-child(3) { transition-delay: .16s; }

/* Short desktop windows: tighten the intro so the full Janus card still lands on screen. */
@media (max-height: 860px) {
  .intro-inner { padding: 108px 0 24px; }
  .intro-title { margin-top: 10px; gap: 22px; }
  h1 { font-size: clamp(30px, 3.6vw, 48px); }
  .lede { margin-top: 10px; font-size: 15px; }
  .intro-actions { margin-top: 16px; }
  .hero-download, .intro-actions .text-link { min-height: 46px; padding: 11px 22px; }
  .intro-meta { margin-top: 10px; }
  .hero-wordmark { font-size: clamp(28px, 3.2vw, 38px); }
}
@media (max-width: 1100px) {
  .title-cards { display: none; }
}
@media (max-width: 855px), (max-height: 768px) {
  .zoom-stage { --hero-h: 360px; height: auto; margin: 12px var(--panel-gutter) 64px; }
  .hero-motion .zoom-stage { height: auto; }
  .hero-motion .jx-hero { position: relative; top: auto; width: 100%; margin-left: 0; height: auto; border-radius: var(--panel-radius); }
  .hero-fallback { width: min(48%, 300px); }
  .hero-fallback span { width: 16px; height: 44px; }
  .hero-workspace { padding: 28px 20px 24px; border-top: 1px solid #242424; }
  .workspace-controls { flex-wrap: wrap; justify-content: center; }
  .workspace-controls button { padding: 9px 12px; }
  .workspace-caption { flex-direction: column; align-items: center; gap: 6px; }
  .scene-scroll { display: none; }
}
@media (max-width: 855px) {
  .tour-shot { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tour-shot figcaption { max-width: 600px; }
}
@media (max-width: 640px) {
  :root { --panel-gutter: 10px; --panel-radius: 22px; }
  .container { width: calc(100% - 40px); }
  header { inset-block-start: 28px; }
  .header-inner { width: calc(100% - 48px); min-height: 54px; gap: 10px; padding: 7px 8px 7px 14px; }
  nav { gap: 14px; font-size: 12px; }
  nav > a:nth-child(2) { display: none; }
  nav [aria-current]::after { bottom: -5px; }
  .brand { gap: 8px; font-size: 14px; }
  .nav-cta { min-height: 38px; padding: 0 14px; font-size: 12px; }
  .intro { margin-top: 12px; background-position: 44% center; }
  .intro-inner { padding: 100px 0 26px; }
  .intro-title { margin-top: 20px; }
  h1 { margin-inline: auto; font-size: clamp(29px, 8.2vw, 40px); line-height: 1.32; letter-spacing: -.045em; }
  .lede { max-width: 280px; font-size: 13px; margin-top: 16px; }
  .intro-actions { flex-direction: column; gap: 10px; margin-top: 20px; }
  .hero-download, .intro-actions .text-link { min-width: 218px; min-height: 46px; }
  .intro-meta { max-width: 290px; margin-top: 12px; font-size: 10px; }
  .intro-meta span + span::before { margin-inline: 8px; }
  .package-link { margin: 6px 0 0; padding-left: 0; border-left: 0; }
  h2 { font-size: 26px; }
  .section-heading { gap: 12px; margin-bottom: 20px; }
  .downloads { grid-template-columns: 1fr; }
  .download-option { padding: 26px 24px 28px; }
  .package-meta { margin-top: 20px; }
  .release-bar { flex-wrap: wrap; padding: 10px 0; gap: 4px 12px; }
  .platform-note { gap: 16px; }
  .install-section { padding: 52px 0 8px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { padding: 24px 22px 28px; }
  .steps li::after { font-size: 56px; }
  .product-tour { padding: 52px 0; }
  .tour-shot { margin: 32px 0; }
  .tour-shot h3 { font-size: 21px; }
  .support { align-items: flex-start; flex-direction: column; padding: 28px 24px; margin-bottom: 32px; }
  .footer-inner { flex-wrap: wrap; padding-block: 26px; gap: 14px 20px; }
  .footer-inner > span { order: 3; width: 100%; }
}
@media (max-width: 640px) {
  .zoom-stage { --hero-h: 310px; margin-bottom: 48px; }
  .hero-scene-label { top: 20px; left: 20px; font-size: 9px; }
  .hero-fallback { width: 54%; gap: 18px; }
  .hero-fallback span { width: 14px; height: 36px; }
  .hero-wordmark { top: 65%; font-size: 34px; }
  .hero-tagline { top: calc(65% + 48px); font-size: 10px; letter-spacing: .04em; }
  .hero-scene-footer { left: 18px; right: 18px; bottom: 16px; font-size: 8px; }
  .hero-scene-footer > span:last-child { display: none; }
  .hero-workspace { padding-inline: 12px; }
  .hero-workspace-heading > p:last-child { font-size: 11px; }
  .workspace-controls { width: 100%; gap: 4px; padding: 4px; }
  .workspace-controls button { flex: 1 0 45%; padding: 9px 5px; font-size: 11px; }
  .workspace-controls button .mono { margin-right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .hero-motion .zoom-stage { height: auto; }
  .hero-motion .jx-hero { position: relative; top: auto; width: 100%; margin-left: 0; height: auto; border-radius: var(--panel-radius); }
  .hero-scene { opacity: 1; }
  .hero-wordmark { background: none; -webkit-text-fill-color: #f3f3f3; color: #f3f3f3; }
  .hero-wordmark span { -webkit-text-fill-color: var(--brand-strong); filter: none; }
  .scene-scroll { display: none; }
  .hero-download:hover, .nav-cta:hover, .download-button:hover, .support .text-link:hover, .intro-actions .text-link:hover { transform: none; }
}
