/* =========================================================
   Revanalyticx — site stylesheet
   Direction: "survey-grade instrument sheet". White paper,
   hairline grids, dimension lines, mono annotations. Brand
   blue→green is reserved for the deviation/heat language.
   ========================================================= */

:root {
  /* paper + ink */
  --white: #ffffff;
  --paper: #f6f8fc;
  --paper-2: #eef2f9;
  --ink: #0b1630;
  --ink-2: #22304d;
  --muted: #5b6880;
  --muted-2: #8a95ab;
  --line: #dde4f0;
  --line-2: #c9d3e6;

  /* brand */
  --blue: #1a4fd6;
  --blue-2: #1240b4;
  --blue-pale: #e6eefc;
  --blue-soft: #cfdcf9;
  --cyan: #1596c6;
  --green: #1c9d4c;
  --green-2: #15843e;
  --green-pale: #e3f5ea;
  --amber: #e79a12;
  --amber-pale: #fff4dd;

  --grad: linear-gradient(135deg, #1a4fd6 0%, #1596c6 52%, #1c9d4c 100%);
  --heat: linear-gradient(90deg, #1a4fd6 0%, #2a8fe0 28%, #5cc8d6 50%, #55c47e 72%, #1c9d4c 100%);

  /* type */
  --font-display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* shape + depth */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-1: 0 1px 2px rgba(11, 22, 48, .04), 0 12px 32px -16px rgba(26, 79, 214, .18);
  --shadow-2: 0 2px 4px rgba(11, 22, 48, .05), 0 24px 48px -20px rgba(26, 79, 214, .28);
  --ring: 0 0 0 3px rgba(26, 79, 214, .22);

  /* layout */
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --nav-h: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }
code, kbd, pre { font-family: var(--font-mono); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
::selection { background: var(--blue-soft); color: var(--ink); }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------- type utils */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); font-weight: 500;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--dot::before { width: 7px; height: 7px; border-radius: 50%; background: var(--green); opacity: 1; box-shadow: 0 0 0 4px rgba(28, 157, 76, .16); animation: ping 2.4s infinite; }
@keyframes ping { 0%, 100% { box-shadow: 0 0 0 3px rgba(28, 157, 76, .18); } 50% { box-shadow: 0 0 0 7px rgba(28, 157, 76, .06); } }

.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); line-height: 1.65; max-width: 56ch; }
.accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--blue); }
.mono { font-family: var(--font-mono); }
.num { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: .1em; }

/* section header with "dimension line" */
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 20px clamp(20px, 4vw, 56px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; max-width: 16ch; }
.sec-head .sec-side { padding-bottom: 6px; max-width: 46ch; color: var(--muted); }
.sec-head .sec-side p { font-size: 16.5px; }
.sec-head .eyebrow { margin-bottom: 14px; }
.dim { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); letter-spacing: .1em; margin-top: 18px; }
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.dim span { position: relative; padding: 0 2px; }
.dim span::before, .dim span::after { content: ""; position: absolute; top: 50%; width: 1px; height: 9px; background: var(--line-2); transform: translateY(-50%); }
.dim span::before { left: -9px; } .dim span::after { right: -9px; }

/* ------------------------------------------------------- buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; line-height: 1;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .2s;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--blue); }
.btn--primary:hover { background: var(--blue-2); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { --fg: var(--blue); background: var(--blue-pale); border-color: transparent; box-shadow: none; }
.btn--white { --bg: #fff; --fg: var(--ink); box-shadow: var(--shadow-1); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.is-stuck { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(11, 22, 48, .35); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: inherit; }
.brand img { height: 42px; width: auto; }
.brand__by { display: flex; flex-direction: column; line-height: 1.15; padding-left: 14px; border-left: 1px solid var(--line-2); }
.brand__by small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.brand__by span { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: -.01em; }
.brand__by:hover span { color: var(--blue); }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; display: block; padding: 10px 12px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; letter-spacing: -.005em; white-space: nowrap; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--blue); }
.nav__links a.is-active::after { transform: scaleX(1); }
@media (min-width: 961px) { .nav__mobile-only { display: none; } }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; place-items: center; }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s, opacity .3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg .grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(26, 79, 214, .16) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero__bg .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero__bg .blob--b { width: 46vw; height: 46vw; left: -14vw; top: -18vw; background: radial-gradient(circle, #cfe0ff, transparent 65%); }
.hero__bg .blob--g { width: 40vw; height: 40vw; right: -10vw; bottom: -18vw; background: radial-gradient(circle, #cff1dc, transparent 65%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__copy h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 20px 0 22px; max-width: 15ch; }
.hero__copy h1 .accent { font-size: 1.06em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__meta li { list-style: none; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.hero__meta ul { display: contents; }
.hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); }

/* the 3D "sheet" */
.sheet {
  position: relative; aspect-ratio: 1.08 / 1; max-height: 640px; width: 100%;
  border-radius: var(--r-lg); background: linear-gradient(180deg, #fff 0%, #f7f9fd 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden;
}
.sheet canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sheet__fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; }
.sheet__fallback svg { width: 100%; height: 100%; }
.sheet__tick { position: absolute; width: 18px; height: 18px; border: 1.5px solid var(--blue); opacity: .7; }
.sheet__tick.tl { left: 16px; top: 16px; border-right: 0; border-bottom: 0; }
.sheet__tick.tr { right: 16px; top: 16px; border-left: 0; border-bottom: 0; }
.sheet__tick.bl { left: 16px; bottom: 16px; border-right: 0; border-top: 0; }
.sheet__tick.br { right: 16px; bottom: 16px; border-left: 0; border-top: 0; }
.sheet__label { position: absolute; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sheet__label.tl { left: 44px; top: 20px; }
.sheet__label.tr { right: 44px; top: 20px; }
.sheet__label.bl { left: 44px; bottom: 20px; }
.sheet__label b { color: var(--ink); font-weight: 500; }
.sheet__label .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: ping 2.4s infinite; }
.legend { position: absolute; right: 44px; bottom: 20px; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.legend i { width: 96px; height: 8px; border-radius: 4px; background: var(--heat); box-shadow: inset 0 0 0 1px rgba(11, 22, 48, .08); }
.sheet__chip {
  position: absolute; right: 44px; top: 54px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; box-shadow: var(--shadow-1); font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); line-height: 1.5;
  animation: floaty 6s ease-in-out infinite;
}
.sheet__chip b { display: block; color: var(--ink); font-size: 14px; font-weight: 500; }
.sheet__chip .ok { color: var(--green); }
.sheet__chip .warn { color: var(--amber); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ------------------------------------------------------- trust strip */
.strip { border-block: 1px solid var(--line); background: var(--paper); }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 18px 0; }
.strip__by { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); }
.strip__by img { height: 30px; width: auto; flex: none; }
.strip__by a { font-weight: 600; color: var(--ink); }
.strip__by a:hover { color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.chip--g::before { background: var(--green); }

/* ------------------------------------------------------- generic section */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--paper); border-block: 1px solid var(--line); }

/* ------------------------------------------------------- features bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 28px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--blue-soft); }
.card--wide { grid-column: span 2; }
.card--tall { grid-row: span 2; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-pale); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 22px; height: 22px; }
.card--g .card__icon { background: var(--green-pale); color: var(--green); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding: 0; list-style: none; }
.card__tags li { font-family: var(--font-mono); font-size: 11.5px; padding: 4px 9px; border-radius: 6px; background: var(--paper-2); color: var(--muted); }
.card__num { position: absolute; right: 22px; top: 22px; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); letter-spacing: .12em; }
.card__dots { position: absolute; right: -30px; bottom: -30px; width: 160px; height: 160px; background-image: radial-gradient(var(--blue-soft) 1.2px, transparent 1.4px); background-size: 12px 12px; mask-image: radial-gradient(circle at 70% 70%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 70% 70%, #000, transparent 70%); opacity: .8; pointer-events: none; }
.card--wide .card__body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.heat { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); aspect-ratio: 16 / 10; }
.heat canvas { width: 100%; height: 100%; }
.heat__scale { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.heat__scale i { flex: 1; height: 6px; border-radius: 3px; background: var(--heat); }

/* colour mode chips (point cloud panel card) */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.mode { border-radius: 10px; border: 1px solid var(--line); padding: 10px 10px 8px; background: #fff; font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-align: center; }
.mode i { display: block; height: 26px; border-radius: 6px; margin-bottom: 8px; }
.mode--rgb i { background: linear-gradient(90deg, #e4572e, #f1b73a, #37a35b, #2a63d1); }
.mode--elev i { background: linear-gradient(0deg, #1a4fd6, #2fb0d8, #6cc985, #e2e600); }
.mode--int i { background: linear-gradient(90deg, #0b1630, #5b6880, #dde4f0); }
.mode--norm i { background: linear-gradient(90deg, #ff6b6b, #6bff95, #6b8bff); }

/* ------------------------------------------------------- how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); z-index: 0; }
.step__n { z-index: 1; }
.step { position: relative; padding: 0 8px; }
.step__n { width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: 14px; color: var(--blue); font-weight: 500; margin-bottom: 22px; position: relative; box-shadow: var(--shadow-1); }
.step__n::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed var(--blue-soft); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.scanline { margin-top: clamp(40px, 5vw, 64px); }
.scanline .frame { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; aspect-ratio: 21 / 6; }
.scanline canvas { width: 100%; height: 100%; }
.scanline .cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }

/* ------------------------------------------------------- ribbon showcase */
.window { border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper); font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window__bar i:nth-child(1) { background: #ff8a80; } .window__bar i:nth-child(2) { background: #ffd54f; } .window__bar i:nth-child(3) { background: #7bd88f; }
.window__bar span { margin-left: 10px; }
.window__bar .tab { margin-left: auto; padding: 3px 10px; border-radius: 6px; background: var(--blue-pale); color: var(--blue); }
.window img { width: 100%; background: #f3f4f6; }
.panels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.panel { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; }
.panel b { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.panel span { color: var(--muted); }

/* ------------------------------------------------------- video */
.video { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-2); cursor: pointer; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__poster { position: absolute; inset: 0; background: radial-gradient(ellipse at 28% 18%, #dbe6fb 0%, #f3f6fc 55%, #e8f6ee 100%); }
.yt__poster::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(26, 79, 214, .22) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 60% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000, transparent 70%); }
.yt__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 20px 50px -14px rgba(26, 79, 214, .6), 0 0 0 10px rgba(26, 79, 214, .08); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.yt:hover .yt__play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 24px 50px -14px rgba(26, 79, 214, .7), 0 0 0 16px rgba(26, 79, 214, .08); }
.yt__play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }
.yt__cap { position: absolute; left: 20px; bottom: 18px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.yt__poster .yt__frame { position: absolute; inset: 14px; border: 1px solid rgba(26, 79, 214, .18); border-radius: 12px; pointer-events: none; }
.video__side h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 14px 0 14px; }
.video__side p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px; background: var(--green-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6' fill='none' stroke='%231c9d4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ------------------------------------------------------- compatibility */
.compat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.spec { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow-1); }
.spec table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 38%; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.spec td { color: var(--ink-2); }
.spec .ver { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.spec .ver i { font-style: normal; font-family: var(--font-mono); font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--blue-pale); color: var(--blue); }
.compat__copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 14px 0 14px; }
.compat__copy p { color: var(--muted); }
.note { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--amber-pale); border: 1px solid #f5dfae; color: #6d4a06; font-size: 14.5px; display: flex; gap: 12px; }
.note svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }

/* ------------------------------------------------------- request access */
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff;
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%235b6880' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #d64545; }
.field .err { display: none; font-size: 12.5px; color: #c23a3a; }
.field.is-invalid .err { display: block; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-foot small { color: var(--muted-2); font-size: 12.5px; max-width: 34ch; }
.form-msg { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; }
.form-msg.is-ok { display: block; background: var(--green-pale); color: #145a2d; border: 1px solid #bfe8cc; }
.form-msg.is-err { display: block; background: #fdeaea; color: #8a2222; border: 1px solid #f3c2c2; }
.form-done { display: none; text-align: center; padding: 30px 10px; }
.form-done.is-shown { display: block; }
.form-done .big { width: 72px; height: 72px; border-radius: 50%; background: var(--green-pale); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
.form-done .big svg { width: 32px; height: 32px; }
.form-done h3 { font-size: 26px; margin-bottom: 8px; }
.form-done p { color: var(--muted); max-width: 44ch; margin-inline: auto; }

.aside h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 14px 0 14px; }
.aside > p { color: var(--muted); }
.next { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: n; }
.next li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: start; }
.next li::before { counter-increment: n; content: "0" counter(n); grid-row: 1 / span 2; font-family: var(--font-mono); font-size: 12px; color: var(--blue); padding-top: 4px; letter-spacing: .1em; }
.next b, .next span { grid-column: 2; }
.next b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.next span { color: var(--muted); font-size: 15px; }
.direct { margin-top: 28px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.direct b { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.direct a { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; padding: 6px 0; }
.direct a:hover { color: var(--blue); }
.direct a svg { width: 18px; height: 18px; color: var(--blue); }

/* ------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); background: var(--paper); padding: clamp(44px, 6vw, 72px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; max-width: 40ch; }
.footer h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer li a, .footer address a { color: var(--ink-2); font-size: 15px; }
.footer li a:hover, .footer address a:hover { color: var(--blue); }
.footer address { font-style: normal; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); background: #fff; transition: color .2s, border-color .2s, transform .3s var(--ease-out); }
.social a:hover { color: var(--blue); border-color: var(--blue-soft); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; font-size: 13px; color: var(--muted-2); }
.footer__bottom a { color: var(--muted); }
.parent-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink); font-weight: 500; }
.parent-link:hover { border-color: var(--blue-soft); color: var(--blue); }
.parent-link svg { width: 16px; height: 16px; }

/* ------------------------------------------------------- guide page */
.guide-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); }
.guide-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.03em; margin: 16px 0 14px; max-width: 16ch; }
.guide-hero .lead { max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; margin: 0 0 6px; padding: 0; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: .06em; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--muted); }
.guide { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.toc b { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 14.5px; transition: color .2s, border-color .2s; }
.toc li a:hover { color: var(--ink); }
.toc li a.is-active { color: var(--blue); border-left-color: var(--blue); font-weight: 500; }
.toc__cta { margin-top: 22px; padding: 16px; border-radius: 14px; background: var(--blue-pale); font-size: 14px; color: var(--ink-2); }
.toc__cta a { display: inline-flex; margin-top: 10px; }
.doc { max-width: 76ch; min-width: 0; }
.doc section { scroll-margin-top: calc(var(--nav-h) + 24px); padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.doc section:last-child { border-bottom: 0; }
.doc h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; display: flex; align-items: baseline; gap: 14px; }
.doc h2 .num { font-size: 13px; }
.doc h3 { font-size: 20px; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc ol.proc { list-style: none; padding: 0; counter-reset: p; display: grid; gap: 12px; margin: 18px 0; }
.doc ol.proc li { position: relative; padding: 14px 16px 14px 58px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0; }
.doc ol.proc li::before { counter-increment: p; content: counter(p); position: absolute; left: 16px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-pale); color: var(--blue); font-family: var(--font-mono); font-size: 12.5px; display: grid; place-items: center; }
.doc code { font-size: 13.5px; padding: 2px 6px; border-radius: 6px; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.doc pre { margin: 14px 0; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: #dfe7f5; font-size: 13.5px; overflow-x: auto; line-height: 1.6; }
.doc pre code { background: none; border: 0; padding: 0; color: inherit; }
.doc kbd { font-size: 12.5px; padding: 2px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 1px 0 var(--line-2); color: var(--ink); }
.callout { margin: 18px 0; padding: 14px 16px 14px 18px; border-radius: 12px; border: 1px solid var(--line); border-left: 3px solid var(--blue); background: var(--paper); font-size: 15px; }
.callout--tip { border-left-color: var(--green); }
.callout--warn { border-left-color: var(--amber); background: var(--amber-pale); border-color: #f5dfae; }
.callout b { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc .tbl { overflow-x: auto; }
.tool { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.tool:last-of-type { border-bottom: 1px dashed var(--line); }
.tool b { font-family: var(--font-mono); font-size: 13px; color: var(--blue); font-weight: 500; }
.tool span { color: var(--ink-2); }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--blue); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 14px; color: var(--ink-2); }
.guide-fig { margin: 20px 0; }
.guide-fig figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }

/* ------------------------------------------------------- motion */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .rv.is-in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .08s; } .rv[data-d="2"] { transition-delay: .16s; } .rv[data-d="3"] { transition-delay: .24s; } .rv[data-d="4"] { transition-delay: .32s; } .rv[data-d="5"] { transition-delay: .4s; } .rv[data-d="6"] { transition-delay: .48s; }
.hero .rv { transition-duration: 1s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .eyebrow--dot::before, .sheet__label .live, .sheet__chip { animation: none; }
  .btn, .card, .social a { transition: none; }
}

/* ------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .panels { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .nav__cta .btn { display: none; }
  .nav.is-open .nav__links { display: grid; position: absolute; left: 0; right: 0; top: var(--nav-h); background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; gap: 2px; box-shadow: 0 30px 40px -30px rgba(11, 22, 48, .3); }
  .nav.is-open .nav__links a { padding: 12px 10px; font-size: 16px; border-radius: 10px; }
  .nav.is-open .nav__links a::after { display: none; }
  .nav.is-open .nav__links a:hover, .nav.is-open .nav__links a.is-active { background: var(--paper-2); }
  .nav.is-open .nav__links li:last-child a { margin-top: 8px; background: var(--blue); color: #fff; text-align: center; border-radius: 12px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy h1 { max-width: 16ch; }
  .sheet { max-height: none; aspect-ratio: 1.2 / 1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: span 2; }
  .card--tall { grid-row: auto; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .video, .compat, .contact { grid-template-columns: 1fr; }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; order: -1; min-width: 0; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 4px; border: 0; }
  .toc li a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; margin: 0; }
  .toc li a.is-active { background: var(--blue-pale); border-color: var(--blue-soft); }
  .toc__cta { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --nav-h: 66px; }
  .brand img { height: 34px; }
  .brand__by { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card--wide .card__body { grid-template-columns: 1fr; }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .panels { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .sheet__chip, .sheet__label.tr, .sheet__label.bl { display: none; }
  .legend { right: 40px; }
  .sheet__label.tl { left: 40px; }
  .sheet__label, .legend { font-size: 10px; }
  .scanline .frame { aspect-ratio: 16 / 7; }
  .tool { grid-template-columns: 1fr; gap: 2px; }
  .hero__meta { gap: 8px 14px; }
}

/* ------------------------------------------------------- releases */
.release { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; }
.release__ver { padding: 28px 28px 30px; background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.release__badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--green-pale); color: var(--green-2); }
.release__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.release__badge--upcoming { background: var(--blue-pale); color: var(--blue); }
.release__badge--previous, .release__badge--retired { background: var(--paper-2); color: var(--muted); }
.release__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); letter-spacing: -.04em; line-height: 1; color: var(--ink); margin-top: 6px; }
.release__meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.release__chips { margin-top: 6px; }
.release__ver .btn { margin-top: auto; padding-top: 10px; }
.release__ver .btn:not(:only-child) { margin-top: 14px; }
.release__body { padding: 28px 32px 30px; }
.release__body h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
.release__body .checks { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.release-next { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 20px; border: 1px dashed var(--line-2); border-radius: 14px; background: #fff; font-size: 15px; color: var(--muted); }
.release-next b { color: var(--ink); }
.release-next a { margin-left: auto; font-weight: 500; white-space: nowrap; }

/* releases page */
.rel-list { display: grid; gap: 20px; }
.rel { scroll-margin-top: calc(var(--nav-h) + 24px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; }
.rel.is-upcoming { border-style: dashed; box-shadow: none; }
.rel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 22px 28px; border-bottom: 1px solid var(--line); background: var(--paper); }
.rel__head h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; margin: 0; }
.rel__head h2 small { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); font-weight: 400; margin-left: 10px; }
.rel__head .chips { margin-left: auto; }
.rel__body { padding: 24px 28px 28px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; }
.rel__body h3 { font-size: 21px; margin-bottom: 8px; }
.rel__body > div > p { color: var(--muted); font-size: 15.5px; }
.rel__changes h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.rel__changes h4:first-child { margin-top: 0; }
.rel__changes h4::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.rel__changes h4.improved::before { background: var(--blue); }
.rel__changes h4.fixed::before { background: var(--amber); }
.rel__changes ul { margin: 0; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.rel__changes li { margin-bottom: 4px; }
.rel__foot { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 16px 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.rel__foot .btn { margin-left: auto; }

/* "since version" marker for the guide */
.since { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: var(--blue-pale); color: var(--blue); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.since::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* plugins grid (only rendered when more than one product exists) */
.plugins { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.plugin { display: flex; flex-direction: column; gap: 6px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: inherit; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.plugin:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--blue-soft); color: inherit; }
.plugin.is-current { outline: 2px solid var(--blue-soft); outline-offset: -2px; }
.plugin img { height: 36px; width: auto; margin-bottom: 10px; }
.plugin b { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.plugin span { color: var(--blue); font-size: 14px; font-weight: 500; }
.plugin p { color: var(--muted); font-size: 15px; margin: 6px 0 10px; }
.plugin small { font-size: 11.5px; color: var(--muted-2); letter-spacing: .06em; }

.footer__ver { font-size: 12.5px; color: var(--muted); margin: -6px 0 14px; }

@media (max-width: 960px) {
  .release { grid-template-columns: 1fr; }
  .release__ver { border-right: 0; border-bottom: 1px solid var(--line); }
  .release__body .checks { grid-template-columns: 1fr; }
  .rel__body { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- next-release teaser + early access */
.announce { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-1); transition: border-color .2s, transform .35s var(--ease-out); max-width: 100%; }
.announce:hover { border-color: var(--blue-soft); color: var(--ink); transform: translateY(-1px); }
.announce svg { width: 15px; height: 15px; color: var(--blue); flex: none; }
.announce__tag { flex: none; padding: 4px 9px; border-radius: 999px; background: var(--grad); color: #fff; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; }
.perks { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--green-pale); border: 1px solid #bfe8cc; }
.perks b { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-2); margin-bottom: 8px; font-weight: 500; }
.perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.perks li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.perks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(28, 157, 76, .15); }
.perks li:first-child { font-weight: 600; color: var(--ink); }
.rel__changes h4.perk::before { background: var(--green); box-shadow: 0 0 0 3px rgba(28, 157, 76, .15); }

.tease-wrap { padding-top: 0; }
.tease { position: relative; overflow: hidden; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.tease::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.tease__bg { position: absolute; inset: 0; pointer-events: none; }
.tease__bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.tease__bg i:nth-child(1) { width: 380px; height: 380px; left: -120px; top: -160px; background: radial-gradient(circle, #d6e3ff, transparent 65%); }
.tease__bg i:nth-child(2) { width: 320px; height: 320px; right: -80px; bottom: -160px; background: radial-gradient(circle, #d3f2de, transparent 65%); }
.tease__bg i:nth-child(3) { inset: 0; border-radius: 0; filter: none; opacity: 1; background-image: radial-gradient(rgba(26, 79, 214, .14) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 15% 40%, #000, transparent 55%); -webkit-mask-image: radial-gradient(ellipse at 15% 40%, #000, transparent 55%); }
.tease__left, .tease__body { position: relative; }
.tease__left { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tease__ver { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 8vw, 104px); letter-spacing: -.05em; line-height: .95; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tease__body h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; max-width: 18ch; }
.tease__body > p { color: var(--muted); font-size: 16.5px; max-width: 62ch; }
.tease__quiet { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--ink); max-width: 48ch; margin-top: 14px; }
.tease__perk { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--blue-pale); border: 1px solid var(--blue-soft); max-width: 60ch; }
.tease__perk svg { flex: none; width: 24px; height: 24px; color: var(--blue); margin-top: 2px; }
.tease__perk b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.tease__perk span { color: var(--ink-2); font-size: 15px; }
.tease__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.ea-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px dashed var(--blue-soft); font-size: 15px; color: var(--ink-2); }
.ea-note .release__badge { flex: none; margin-top: 1px; }
.field--check { margin-top: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 400 !important; font-size: 15px !important; color: var(--ink-2) !important; }
.check input { flex: none; width: 20px !important; height: 20px; margin: 1px 0 0; padding: 0 !important; border-radius: 5px !important; appearance: auto !important; -webkit-appearance: checkbox !important; accent-color: var(--blue); cursor: pointer; }
.check small { color: var(--muted); }

@media (max-width: 960px) { .tease { grid-template-columns: 1fr; } .tease__left { flex-direction: row; align-items: center; flex-wrap: wrap; } }
@media (max-width: 640px) { .announce { font-size: 13px; padding-right: 12px; } .announce > span:not(.announce__tag) { white-space: normal; } }

/* ------------------------------------------------------- clash illustration */
.clash { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; aspect-ratio: 16 / 10; }
.clash svg { width: 100%; height: 100%; }
.modes--2 { grid-template-columns: repeat(2, 1fr); }
.card kbd { font-size: 12px; padding: 1px 6px; border-radius: 5px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 1px 0 var(--line-2); color: var(--ink); }

/* ------------------------------------------------------- AxisBuildBIM wordmark + WhatsApp button */
.bim, .brand__by span.bim, .parent-link .bim, .footer h4 .bim { color: var(--blue); }
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(37, 211, 102, .7), 0 2px 6px rgba(11, 22, 48, .15);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.wa-fab:hover { color: #fff; transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px -10px rgba(37, 211, 102, .8), 0 2px 6px rgba(11, 22, 48, .15); }
.wa-fab svg { width: 32px; height: 32px; fill: currentColor; }
.wa-fab__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px);
  white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease-out);
}
.wa-fab:hover .wa-fab__tip, .wa-fab:focus-visible .wa-fab__tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 640px) { .wa-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; } .wa-fab__tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-fab, .wa-fab__tip { transition: none; } }

/* ------------------------------------------------------- "In action" gallery */
.gal { position: relative; max-width: 980px; margin-inline: auto; }
.gal__viewport { position: relative; }
.gal__stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.gal__track { display: flex; transition: transform .7s var(--ease-out); will-change: transform; }
.gal__slide { flex: 0 0 100%; min-width: 0; margin: 0; position: relative; }
.win-r { background: #f3f4f6; }
.win-r__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 150px; background: #fff; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.win-r__bar img { width: 16px; height: 16px; }
.win-r__bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-r__ctl { margin-left: auto; display: flex; gap: 6px; }
.win-r__ctl b { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.win-r__body { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.win-r__body .ill, .win-r__shot { position: absolute; inset: 0; width: 100%; height: 100%; }
.win-r__shot { object-fit: cover; object-position: top left; }
.ill text { font-family: var(--font-body); fill: var(--ink-2); }
.ill text.m, .ill .m text, .ill text.m tspan { font-family: var(--font-mono); }
.ill text.h { font-family: var(--font-display); font-weight: 700; fill: var(--ink); letter-spacing: -.01em; }
.ill .mu { fill: var(--muted); }
.gal__cap {
  position: absolute; left: 22px; bottom: 22px; max-width: min(440px, calc(100% - 44px));
  display: grid; gap: 4px; padding: 16px 18px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transform: translateY(12px); opacity: 0; transition: opacity .6s var(--ease-out) .25s, transform .6s var(--ease-out) .25s;
}
.gal__slide.is-active .gal__cap { opacity: 1; transform: none; }
.gal__path { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.gal__path img { width: 16px; height: 16px; }
.gal__cap b { font-family: var(--font-display); font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.gal__cap > span:last-child { font-size: 14px; color: var(--muted); line-height: 1.5; }
.gal__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-1); transition: transform .3s var(--ease-out), background .2s, color .2s; z-index: 2;
}
.gal__arrow svg { width: 20px; height: 20px; }
.gal__arrow:hover { background: var(--blue); color: #fff; border-color: transparent; transform: translateY(-50%) scale(1.06); }
.gal__arrow--prev { left: 16px; } .gal__arrow--next { right: 16px; }
@media (min-width: 1120px) { .gal__arrow--prev { left: -23px; } .gal__arrow--next { right: -23px; } }
.gal__ver { position: absolute; left: 14px; top: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.gal__ver b { color: var(--blue); font-weight: 600; }
.gal__ver img { width: 14px; height: 14px; }
.gal__path em { font-style: normal; color: var(--muted-2); letter-spacing: .06em; }
.gal__count { position: absolute; right: 18px; bottom: 16px; font-size: 11.5px; letter-spacing: .12em; color: var(--muted); background: rgba(255, 255, 255, .9); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); z-index: 2; }
.gal__count b { color: var(--ink); font-weight: 500; }
.gal__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(11, 22, 48, .06); z-index: 2; }
.gal__bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.gal.is-playing .gal__bar i { animation: galbar var(--gal-ms, 7000ms) linear forwards; }
@keyframes galbar { from { width: 0; } to { width: 100%; } }
.gal__thumbs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.gal__thumb {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; font-size: 12px; line-height: 1.2; text-align: center;
  transition: border-color .2s, color .2s, transform .3s var(--ease-out), box-shadow .3s;
}
.gal__thumb img { width: 24px; height: 24px; opacity: .75; transition: opacity .2s; }
.gal__thumb:hover { border-color: var(--blue-soft); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.gal__thumb.is-active { border-color: var(--blue); color: var(--ink); box-shadow: 0 0 0 3px var(--blue-pale); }
.gal__thumb.is-active img { opacity: 1; }
/* scene motion, only on the active slide */
.gr-node { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
.gal__slide.is-active .gr-node { animation: galpop .5s var(--ease-out) forwards; animation-delay: calc(var(--d, 0ms) + 250ms); }
@keyframes galpop { to { opacity: 1; transform: scale(1); } }
.st-bar { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; }
.gal__slide.is-active .st-bar { animation: galgrow .7s var(--ease-out) forwards; animation-delay: calc(var(--d, 0ms) + 200ms); }
@keyframes galgrow { to { transform: scaleY(1); } }
.st-line { stroke-dashoffset: 1200; }
.gal__slide.is-active .st-line { animation: galdraw 1.6s var(--ease-out) .9s forwards; }
@keyframes galdraw { to { stroke-dashoffset: 0; } }
.gal__slide.is-active .pr-cursor { animation: galdrift 6s ease-in-out infinite; }
@keyframes galdrift { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(60px, -30px); } 65% { transform: translate(120px, 40px); } }
.gal__slide.is-active .cl-hit { animation: galpulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes galpulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.gal__slide.is-active .hm-wall { animation: galfade .9s var(--ease-out) forwards; opacity: 0; }
@keyframes galfade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .gal__track { transition: none; }
  .gal__slide .gr-node, .gal__slide .st-bar, .gal__slide .st-line, .gal__slide .hm-wall { animation: none !important; opacity: 1; transform: none; stroke-dashoffset: 0; }
  .gal__slide.is-active .pr-cursor, .gal__slide.is-active .cl-hit { animation: none; }
  .gal__cap { transition: none; }
}
@media (max-width: 960px) { .gal__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); } .gal__thumb span { display: none; } .gal__thumb { padding: 10px 6px; } }
@media (max-width: 640px) {
  .gal__slide { display: flex; flex-direction: column; }
  .gal__cap { position: static; max-width: none; margin: 0; padding: 12px 14px 16px; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 1; transform: none; transition: none; }
  .gal__cap b { font-size: 16px; } .gal__cap > span:last-child { font-size: 13px; }
  .gal__arrow { top: 28vw; }
  .gal__arrow { width: 38px; height: 38px; } .gal__arrow--prev { left: 8px; } .gal__arrow--next { right: 8px; }
  .gal__count { display: none; }
  .win-r__bar { font-size: 11px; height: 32px; padding-left: 132px; }
  .gal__ver { top: 6px; left: 10px; font-size: 9.5px; }
  .gal__thumbs { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; } .gal__thumb img { width: 20px; height: 20px; } .gal__thumb { padding: 8px 4px; border-radius: 8px; }
}

/* ------------------------------------------------------- version page (unused: main page is the current version) */
.vhero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.vhero .crumbs { margin-bottom: 26px; }
.vhero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.vhero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 18px 0 20px; }
.vhero h1 .accent { font-size: 1.05em; }
.vhero .hero__actions { margin-top: 26px; }
.vhero__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 26px 26px 24px; position: relative; overflow: hidden; }
.vhero__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.vhero__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 5vw, 64px); letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vhero__num small { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.vhero__facts { margin: 20px 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.vhero__facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.vhero__facts dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.vhero__facts dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.wn { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.wn__col h3 { font-size: 22px; margin-bottom: 12px; }
.wn .checks { margin: 0 0 8px; }
.wn .rel__changes { padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 12px 0 12px; }
.cta p { color: var(--muted); max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) { .vhero__grid, .wn, .cta { grid-template-columns: 1fr; } }
