/* xqua.dev site styles.
   Brand accent comes from the xqua theme (theme.css, --primary). Everything
   around it is the site's own layer. No framework, no build step for CSS. */

:root {
  --bg: #09090b;
  --bg2: #101014;
  --bg3: #16161c;
  --fg: #ededea;
  --mut: #a7a7b0;
  --dim: #82828e;
  --line: rgba(237, 237, 234, 0.13);
  --line2: rgba(237, 237, 234, 0.3);
  /* Fixed fallback; the theme-derived accent is set in the @supports block below. */
  --acc: #2580ff;
  --acc-hi: #84b8ff;
  --acc-ink: #09090b;
  --cy: #58ddeb;
  --warn: #ffb86b;
  --glow: rgba(37, 128, 255, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 3.4vw, 44px);
  --max: 1320px;
  --nav-h: 68px;
  color-scheme: dark;
}
/* The page is always dark, but the theme's --primary follows the OS scheme.
   Keep the theme's hue and chroma and floor the lightness, so dark ink on the
   accent stays readable under either scheme. */
@supports (color: oklch(from red l c h)) {
  :root {
    --acc: oklch(from var(--primary, #2580ff) max(l, 0.623) c h);
    --acc-hi: oklch(from var(--primary, #2580ff) 0.78 calc(c * 0.55) h);
  }
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(237, 237, 234, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 72%);
}
a { color: inherit; }
img, svg, canvas { display: block; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible {
  outline: 2px solid var(--cy);
  outline-offset: 3px;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.04em; }
h1 { font-size: clamp(46px, 6.9vw, 108px); line-height: 0.9; }
h2 { font-size: clamp(34px, 4.5vw, 64px); line-height: 0.97; letter-spacing: -0.045em; }
h3 { font-size: clamp(20px, 1.75vw, 26px); line-height: 1.12; letter-spacing: -0.025em; }
p { margin: 0; color: var(--mut); }
strong { font-weight: 500; }
code, pre, kbd { font-family: var(--mono); }
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--dim);
}
.lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  max-width: 56ch;
}
.acc { color: var(--acc-hi); }
.small { font-size: 14px; }

/* ---------- frame ---------- */
.frame {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  border-left: 1px dashed var(--line2);
  border-right: 1px dashed var(--line2);
}
.sec {
  position: relative;
  border-top: 1px solid var(--line);
}
.sec::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--line2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.sec.in::before { transform: scaleX(1); }

/* ---------- reveal ---------- */
[data-r] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease) var(--d, 0ms), transform 0.95s var(--ease) var(--d, 0ms);
}
[data-r].in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.wi {
  display: inline-block;
  transform: translateY(106%);
  transition: transform 1.05s var(--ease) calc(var(--i, 0) * 42ms + var(--d, 0ms));
}
.in .wi { transform: none; }
.sec .idx i {
  display: inline-block;
  font-style: normal;
  color: var(--acc-hi);
  margin-right: 10px;
}

/* ---------- buttons, chips ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.btn svg { flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-solid { background: var(--acc); color: var(--acc-ink); }
.btn-solid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--acc-hi);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn-solid:hover::before { transform: none; }
.btn-line { border-color: var(--line2); color: var(--fg); background: rgba(9, 9, 11,0.6); }
.btn-line:hover { border-color: var(--fg); }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px dashed var(--line2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mut);
  white-space: nowrap;
}
.chip.a { color: var(--acc-hi); border-color: rgba(132, 184, 255, 0.5); }
.chip.c { color: var(--cy); border-color: rgba(88, 221, 235, 0.45); }
.chip.soon { color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.figtag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mut);
}
.figtag i {
  font-style: normal;
  padding: 3px 7px;
  border: 1px solid var(--line2);
  color: var(--fg);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11,0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-in {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--nav-h);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-left: 1px dashed transparent;
  border-right: 1px dashed transparent;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.brand svg { color: var(--acc); transition: transform 0.7s var(--ease); }
.brand:hover svg { transform: rotate(90deg); }
.brand span { color: var(--dim); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.links { display: flex; align-items: center; gap: 0; }
.links a, .links span.soon {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  margin-left: -1px;
  background: var(--bg2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mut);
  text-decoration: none;
  transition: color 0.25s, background-color 0.25s;
}
.links a:hover, .links a.active { color: var(--bg); background: var(--fg); }
.links span.soon { color: var(--dim); cursor: default; }
.links span.soon em { font-style: normal; margin-left: 6px; color: var(--acc-hi); font-size: 9px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.ver {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px dashed var(--line2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mut);
  white-space: nowrap;
}
.ver b { color: var(--fg); font-weight: 400; }
.nav .btn { min-height: 36px; padding: 0 13px; font-size: 11px; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line2);
  background: transparent;
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 55% at 78% 28%, var(--glow), transparent 70%),
    radial-gradient(ellipse 32% 40% at 10% 0%, rgba(88, 221, 235, 0.05), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -14%;
  top: 4%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed var(--line);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 5.4vw, 72px) var(--pad) clamp(34px, 4vw, 52px);
  min-height: calc(100svh - var(--nav-h) - 118px);
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cy);
  box-shadow: 0 0 12px var(--cy);
}
.hero h1 .line { display: block; }
.hero .lead { max-width: 47ch; }
.hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero .meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero .meta span::before { content: ""; width: 4px; height: 4px; background: var(--line2); }

/* platform ring */
.ring {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin: 0 auto;
  isolation: isolate;
}
.ring::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 128, 255, 0.18), transparent 64%);
  filter: blur(14px);
}
.ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-svg .orbit { animation: orbit-dash 26s linear infinite; }
.ring-svg .orbit.rev { animation-direction: reverse; animation-duration: 34s; }
.ring-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line2);
  background: radial-gradient(circle at 50% 34%, rgba(37, 128, 255, 0.24), rgba(9, 9, 11,0.94) 68%);
  box-shadow: 0 0 0 1px rgba(37, 128, 255, 0.1), 0 40px 90px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  padding: 12px;
}
.ring-core strong { font-size: clamp(17px, 1.9vw, 23px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.ring-core small { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); line-height: 1.4; }
.pnode {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 11,0.88);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.pnode b { font-weight: 400; color: var(--dim); font-size: 8.5px; }
.pnode:hover { color: var(--fg); border-color: var(--acc); background: rgba(37, 128, 255, 0.12); }
.ring-note {
  position: absolute;
  right: 2%;
  bottom: 3%;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* hero stats */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.stat {
  padding: 20px var(--pad) 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.stat:last-child { border-right: 0; }
.stat .v {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  white-space: nowrap;
}
.stat .v.acc { color: var(--acc-hi); }
.stat .v.word { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; }
.stat .mono { font-size: 10px; line-height: 1.45; }

/* ---------- section head ---------- */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding: clamp(54px, 6.4vw, 92px) var(--pad) clamp(30px, 3.6vw, 48px);
}
.sec-head .idx { display: block; margin-bottom: 18px; }
.sec-head .idx i { color: var(--acc-hi); font-style: normal; margin-right: 10px; }
.sec-head .side { display: flex; flex-direction: column; gap: 18px; padding-bottom: 6px; }
.sec-head .side .lead { max-width: 48ch; }
.sec-body { padding: 0 var(--pad) clamp(48px, 5.4vw, 76px); }
.rule-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rule-note span:last-child { color: var(--dim); }

/* ---------- runtime ledger ---------- */
.ledger {
  border: 1px solid var(--line);
  border-bottom: 0;
}
.lrow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.15fr) minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: center;
  padding: 22px 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease);
}
.lrow:hover { background: var(--bg2); }
.lrow .n { font-family: var(--mono); font-size: 11px; color: var(--acc-hi); }
.lrow h3 { font-size: clamp(19px, 1.7vw, 24px); }
.lrow h3 span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-top: 6px; letter-spacing: 0.1em; }
.lrow p { font-size: 14px; line-height: 1.5; }
.lrow .where {
  justify-self: end;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cy);
  text-align: right;
  line-height: 1.5;
}
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-top: 0;
}
.duo article {
  padding: 30px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.duo article + article { border-left: 1px solid var(--line); }
.duo h3 { font-size: clamp(20px, 1.9vw, 27px); }
.duo p { font-size: 15px; }
.duo dl {
  margin: 6px 0 0;
  border-top: 1px dashed var(--line2);
}
.duo dl div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line2);
  font-size: 13px;
}
.duo dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); padding-top: 3px; }
.duo dd { margin: 0; color: var(--mut); }

/* ---------- split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.split.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.split .copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.split > *, .duo > *, .cards3 > *, .behave > *, .install > *, .demo > *, .checks > * { min-width: 0; }
.split .copy h3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.035em; }
.facts { display: flex; flex-direction: column; margin-top: 6px; }
.facts div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px dashed var(--line2);
  font-size: 14.5px;
  color: var(--mut);
}
.facts div:last-child { border-bottom: 1px dashed var(--line2); }
.facts b { color: var(--acc-hi); font-family: var(--mono); font-size: 10px; font-weight: 400; padding-top: 3px; }

/* ---------- code window ---------- */
.window {
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(16, 16, 20,0.86);
  overflow: hidden;
}
.win-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  min-height: 42px;
  padding-left: 4px;
}
.tabs { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--mut);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s, background-color 0.25s;
}
.tabs button[aria-selected="true"] { color: var(--fg); background: rgba(37, 128, 255, 0.1); box-shadow: inset 0 -1px 0 var(--acc); }
.tabs button:hover { color: var(--fg); }
.copybtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  margin-right: 8px;
  padding: 0 9px;
  border: 1px dashed var(--line2);
  background: transparent;
  color: var(--mut);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.copybtn:hover { color: var(--fg); border-color: var(--fg); }
.copybtn.done { color: var(--cy); border-color: rgba(88, 221, 235, 0.5); }
.code { margin: 0; max-width: 100%; overflow-x: auto; }
.code code {
  display: block;
  padding: 20px 18px 24px;
  width: max-content;
  min-width: 100%;
  font-size: 12.5px;
  line-height: 1.85;
  color: #c9c9d2;
  tab-size: 2;
}
.code .k { color: var(--acc-hi); }
.code .s { color: var(--cy); }
.code .c { color: var(--dim); }
.code .n { color: var(--warn); }
.tabpanel { display: none; }
.tabpanel.on { display: block; }
.code-note {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- platform grid ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 238px;
  padding: 22px 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 11,0.35);
  overflow: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.pcard::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.pcard:hover { background: var(--bg2); }
.pcard:hover::after { transform: scaleX(1); }
.pcard .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pcard svg { color: var(--dim); transition: color 0.3s; }
.pcard:hover svg { color: var(--acc-hi); }
.pcard .no { font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: 0.08em; }
.pcard h3 { font-size: clamp(21px, 1.8vw, 25px); }
.pcard dl { margin: auto 0 0; display: flex; flex-direction: column; gap: 7px; }
.pcard dl div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; font-size: 12.5px; line-height: 1.4; }
.pcard dt { font-family: var(--mono); font-size: 9px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--dim); padding-top: 2px; }
.pcard dd { margin: 0; color: var(--mut); }

/* ---------- device forms ---------- */
.idioms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.idiom {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  border-right: 1px solid var(--line);
}
.idiom:last-child { border-right: 0; }
.idiom .view {
  flex: 1;
  position: relative;
  display: grid;
  place-items: center;
  padding: 26px 18px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(37, 128, 255, 0.07), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.idiom .cap { min-height: 164px; padding: 16px 18px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.idiom .cap h3 { font-size: 19px; }
.idiom .cap p { font-size: 13px; line-height: 1.45; }
.idiom .cap .mono { font-size: 9px; }

/* abstract device mocks */
.mock { border: 1px solid var(--line2); background: var(--bg2); position: relative; }
.mock .bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.mock .bar i { width: 4px; height: 4px; border-radius: 50%; background: var(--line2); }
.mock .bar .t { margin-left: auto; font-family: var(--mono); font-size: 7px; letter-spacing: 0.1em; color: var(--dim); }
.mock .row { height: 7px; margin: 7px 8px 0; background: var(--line); }
.mock .row.short { width: 58%; }
.mock .row.acc { background: rgba(37, 128, 255, 0.55); }
.mock .tabs-bottom { display: flex; gap: 3px; margin-top: 10px; padding: 6px 8px 8px; border-top: 1px solid var(--line); }
.mock .tabs-bottom i { flex: 1; height: 4px; background: var(--line); }
.mock .tabs-bottom i.on { background: var(--acc); }
.mock-phone { width: 118px; height: 224px; border-radius: 16px; padding-top: 10px; }
.mock-phone .notch { width: 34px; height: 3px; background: var(--line2); border-radius: 2px; margin: 0 auto 8px; }
.mock-pad { width: 200px; height: 150px; border-radius: 8px; display: flex; }
.mock-pad .side { width: 38%; border-right: 1px solid var(--line); padding: 8px 0; }
.mock-pad .main { flex: 1; padding: 8px 0; }
.mock-desk { width: 216px; height: 140px; border-radius: 5px; }
.mock-desk .menu { display: inline-flex; gap: 6px; margin-left: 8px; }
.mock-desk .menu i { width: 14px; height: 3px; background: var(--line2); }
.mock-desk .split { display: flex; flex: 1; }
.mock-term {
  width: 218px;
  min-height: 140px;
  border-style: dashed;
  background: #060608;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  color: var(--mut);
  padding: 12px 14px;
  white-space: pre;
}
.mock-term .k { color: var(--acc-hi); }
.mock-term .d { color: var(--dim); }

/* ---------- rust tree ---------- */
.tree {
  min-width: 0;
  max-width: 100%;
  border: 1px dashed var(--line2);
  padding: 20px 20px 22px;
  background: rgba(16, 16, 20,0.6);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2;
  color: var(--mut);
  overflow-x: auto;
  white-space: pre;
}
.tree-wrap { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tree b { color: var(--fg); font-weight: 400; }
.tree .d { color: var(--dim); }
.tree .a { color: var(--acc-hi); }
.tree .c { color: var(--cy); }
.tree .hl { background: rgba(37, 128, 255, 0.12); display: inline-block; padding: 0 4px; }
.sig {
  min-width: 0;
  max-width: 100%;
  border-left: 2px solid var(--acc);
  padding: 12px 14px;
  background: var(--bg2);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.75;
  color: #c9c9d2;
  overflow-x: auto;
  white-space: pre;
}
.sig .k { color: var(--acc-hi); }

/* ---------- reactive demo ---------- */
.demo {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  border: 1px solid var(--line);
  background: var(--bg2);
}
.demo-view {
  position: relative;
  padding: 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 330px;
}
.demo-phone {
  width: min(100%, 300px);
  margin: auto;
  border: 1px solid var(--line2);
  background: var(--bg);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.demo-phone .slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--mut);
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.demo-phone .slot b { font-weight: 400; color: var(--fg); }
.demo-phone .slot .tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; }
.demo-phone .slot.hit { border-color: var(--acc); background: rgba(37, 128, 255, 0.13); color: var(--fg); }
.demo-phone .slot.hit .tag { color: var(--acc-hi); }
.demo-phone .slot.off { opacity: 0.45; }
.demo-controls {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.demo-controls label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.demo-field { display: flex; flex-direction: column; gap: 7px; }
.demo-field input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line2);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 13px;
}
.demo-field input:focus-visible { outline: 2px solid var(--cy); outline-offset: 2px; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-legend { margin-top: 4px; display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--line2); padding-top: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.03em; color: var(--dim); line-height: 1.55; }
.demo-legend b { font-weight: 400; color: var(--acc-hi); }
.demo-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line2);
  background: transparent;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.demo-actions button:hover { border-color: var(--fg); }
.demo-actions button[aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.demo-readout {
  margin-top: auto;
  border-top: 1px dashed var(--line2);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.demo-readout output { font-family: var(--mono); font-size: 12px; color: var(--acc-hi); }
.demo-readout span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* ---------- releases ---------- */
.pipe {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px 26px;
  border-right: 1px solid var(--line);
  min-height: 250px;
}
.step:last-child { border-right: 0; }
.step .no { font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: 0.1em; }
.step h3 { font-size: 20px; }
.step p { font-size: 13.5px; line-height: 1.5; }
.step .cmd {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cy);
  word-break: break-word;
  line-height: 1.6;
}
.step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -5px;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 1px solid var(--line2);
  transform: rotate(45deg);
  z-index: 1;
}
.step:last-child::after { display: none; }
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-top: 0;
}
.cards3 article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 28px;
  border-right: 1px solid var(--line);
}
.cards3 article:last-child { border-right: 0; }
.cards3 h3 { font-size: clamp(20px, 1.8vw, 25px); }
.cards3 p { font-size: 14px; }
.cards3 .mono { font-size: 9.5px; }
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-top: 0;
}
.trust div {
  padding: 15px 18px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--mut);
}
.trust div:last-child { border-right: 0; }
.trust .mono { font-size: 9px; }

/* ---------- behavior ---------- */
.behave {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.behave article {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 30px;
  border-right: 1px solid var(--line);
  min-height: 330px;
}
.behave article:last-child { border-right: 0; }
.behave h3 { font-size: clamp(21px, 1.9vw, 27px); }
.behave p { font-size: 14.5px; }
.behave .viz {
  margin-top: auto;
  border-top: 1px dashed var(--line2);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.swatch {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.07em;
  color: var(--dim);
}
.swatch i { display: block; width: 44px; height: 26px; border: 1px solid var(--line2); }
.swatch i.a { background: var(--acc); }
.swatch i.b { background: var(--acc-hi); }
.swatch i.c { background: var(--cy); }
.swatch i.d { background: var(--fg); }
.swatch i.e { background: var(--bg3); }
.behave .btn { align-self: flex-start; }
.checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-top: 0;
}
.checks div {
  padding: 18px 18px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checks div:last-child { border-right: 0; }
.checks code { font-size: 12px; color: var(--acc-hi); }
.checks span { font-size: 12.5px; color: var(--mut); line-height: 1.45; }

/* ---------- simulation ---------- */
.sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 0;
  border: 1px solid var(--line);
}
.sim-grid > * { min-width: 0; }
.sim-left { padding: 26px 24px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.sim-right { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 18px; }
.sim-cmd {
  border: 1px dashed var(--line2);
  background: #060608;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--mut);
  overflow-x: auto;
  white-space: pre;
}
.sim-cmd .p { color: var(--cy); }
.sim-cmd .k { color: var(--acc-hi); }
.sim-cmd .c { color: var(--dim); }
.sim-list { display: flex; flex-direction: column; border-top: 1px dashed var(--line2); }
.sim-list div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line2);
  font-size: 13.5px;
  color: var(--mut);
}
.sim-list b { font-family: var(--mono); font-weight: 400; font-size: 10px; color: var(--cy); padding-top: 2px; }
.sim-suites { display: flex; flex-wrap: wrap; gap: 7px; }
.sim-note { font-family: var(--mono); font-size: 10px; line-height: 1.7; letter-spacing: 0.04em; color: var(--dim); }

/* ---------- install ---------- */
.install {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  border: 1px solid var(--line);
}
.install-cmds { padding: 26px 24px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.cmdrow {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line2);
  background: #060608;
}
.cmdrow .lab {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.cmdrow code {
  flex: 1;
  min-width: 0;
  padding: 13px 12px;
  font-size: 11.5px;
  color: #d7d7de;
  overflow-x: auto;
  white-space: nowrap;
  align-self: center;
}
.cmdrow code .p { color: var(--dim); }
.cmdrow code .k { color: var(--acc-hi); }
.cmdrow .copybtn { margin: 7px; align-self: center; }
.install-next { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.nextlist { display: flex; flex-direction: column; }
.nextlist div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--line2);
  font-size: 13px;
}
.nextlist div:last-child { border-bottom: 1px dashed var(--line2); }
.nextlist code { color: var(--acc-hi); font-size: 11.5px; white-space: nowrap; }
.nextlist span { color: var(--mut); line-height: 1.45; }
.install-foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(90px, 12vw, 170px) var(--pad) clamp(84px, 11vw, 158px);
}
.cta canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 58% 55% at 50% 50%, transparent 28%, #000 100%);
  mask-image: radial-gradient(ellipse 58% 55% at 50% 50%, transparent 28%, #000 100%);
}
.cta .inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta h2 { font-size: clamp(40px, 6.8vw, 108px); line-height: 0.92; max-width: 16ch; }
.cta .lead { text-align: center; }
.cta .btns { justify-content: center; }
.cta .figtag { color: var(--mut); }

/* ---------- footer ---------- */
.foot {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.foot > * { padding: 34px var(--pad) 36px; border-right: 1px solid var(--line); }
.foot > *:last-child { border-right: 0; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-brand p { font-size: 14px; max-width: 30ch; }
.foot nav { display: flex; flex-direction: column; }
.foot nav .mono { margin-bottom: 10px; }
.foot nav a, .foot nav span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--mut);
  text-decoration: none;
}
.foot nav a:hover { color: var(--fg); }
.foot nav span.soon { color: var(--dim); }
.wordmark {
  position: relative;
  padding: 30px var(--pad) 0.2em;
  font-weight: 500;
  font-size: clamp(88px, 22vw, 310px);
  line-height: 0.78;
  letter-spacing: -0.07em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--line2);
  user-select: none;
  overflow: hidden;
}
.wordmark span {
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  color: var(--fg);
  -webkit-text-stroke: 0;
  text-align: center;
  clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0);
}
.wordmark, .wordmark span { font-kerning: none; font-feature-settings: "kern" 0; }
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 16px var(--pad) 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* ---------- motion ---------- */
@keyframes orbit-dash { to { stroke-dashoffset: -220; } }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .links a, .links span.soon { padding: 0 10px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); }
  .foot > *:nth-child(3) { border-right: 0; }
  .foot > *:nth-child(4), .foot > *:nth-child(5) { border-top: 1px solid var(--line); }
}
@media (max-width: 980px) {
  :root { --pad: clamp(20px, 4vw, 32px); }
  .links { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px var(--pad) 16px; }
  .links.open { display: flex; }
  .links a, .links span.soon { width: 100%; min-height: 46px; margin: -1px 0 0; padding: 0 12px; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(38px, 7vw, 64px); }
  .hero-copy { align-items: center; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero .btns { justify-content: center; }
  .hero .meta { justify-content: center; }
  .ring { margin-top: 18px; width: min(100%, 470px); }
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .sec-head .side { padding-bottom: 0; }
  .split, .split.flip { grid-template-columns: 1fr; }
  .lrow { grid-template-columns: 42px minmax(0, 1fr) 130px; }
  .lrow p { grid-column: 2 / -1; }
  .lrow .where { grid-column: 3; grid-row: 1; }
  .idioms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idiom:nth-child(2) { border-right: 0; }
  .idiom:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .step:nth-child(2)::after { display: none; }
  .cards3 { grid-template-columns: 1fr; }
  .cards3 article { border-right: 0; border-bottom: 1px solid var(--line); }
  .cards3 article:last-child { border-bottom: 0; }
  .behave { grid-template-columns: 1fr; }
  .behave article { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .behave article:last-child { border-bottom: 0; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks div:nth-child(2) { border-right: 0; }
  .checks div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .demo { grid-template-columns: 1fr; }
  .demo-view { border-right: 0; border-bottom: 1px solid var(--line); }
  .sim-grid, .install { grid-template-columns: 1fr; }
  .sim-left, .install-cmds { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust div:nth-child(2) { border-right: 0; }
  .trust div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(42px, 10.6vw, 64px); }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px var(--pad) 18px; }
  .stat:last-child { border-bottom: 0; }
  .stat .v, .stat .v.word { font-size: 26px; }
  .stat { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; }
  .stat .mono { text-align: right; max-width: 55%; }
  .lrow { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 18px 16px; }
  .lrow p { grid-column: 2; }
  .lrow .where { grid-column: 2; grid-row: auto; justify-self: start; text-align: left; }
  .duo { grid-template-columns: 1fr; }
  .duo article + article { border-left: 0; border-top: 1px solid var(--line); }
  .pgrid { grid-template-columns: 1fr; }
  .pcard { min-height: 0; }
  .idioms { grid-template-columns: 1fr; }
  .idiom { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .idiom .cap { min-height: 0; }
  .idiom:last-child { border-bottom: 0; }
  .pipe { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .step:last-child { border-bottom: 0; }
  .step::after { display: none; }
  .checks { grid-template-columns: 1fr; }
  .checks div { border-right: 0; border-bottom: 1px solid var(--line); }
  .checks div:last-child { border-bottom: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > * { border-right: 1px solid var(--line); border-top: 0; border-bottom: 1px solid var(--line); }
  .foot > *:nth-child(2n) { border-right: 0; }
  .foot > *:first-child { grid-column: 1 / -1; border-right: 0; }
  .foot > *:last-child { border-bottom: 0; }
  .trust { grid-template-columns: 1fr; }
  .trust div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust div:last-child { border-bottom: 0; }
  .install-foot { flex-direction: column; }
  .ring { width: min(100%, 400px); }
}
@media (max-width: 620px) {
  .ver { display: none; }
  .hero-grid { gap: 10px; }
  .ring {
    width: 100%;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 132px;
    margin-bottom: 10px;
  }
  .ring::before { inset: 0 25% auto; width: 50%; height: 150px; }
  .ring-svg { left: 50%; top: -4px; width: 140px; height: 140px; transform: translateX(-50%); }
  .ring-svg .spoke { display: none; }
  .ring-core {
    left: 50%;
    top: 66px;
    transform: translate(-50%, -50%);
    width: 82px;
    height: 82px;
    aspect-ratio: auto;
  }
  .ring-core { gap: 2px; }
  .ring-core strong { font-size: 10.5px; white-space: nowrap; }
  .ring-core small { display: none; }
  .ring-core .mono { font-size: 8px; letter-spacing: 0.06em; white-space: nowrap; }
  .pnode { position: static; transform: none; justify-content: center; min-height: 36px; }
  .ring-note { display: none; }
  .hero-copy .chips { justify-content: center; }
  .window .tabs button { padding: 0 10px; font-size: 10px; }
  .copybtn { margin-right: 5px; }
  .code code { font-size: 11.5px; }
  .demo-view, .demo-controls { padding: 18px 16px; }
  .demo-phone { padding: 12px; }
  .cmdrow { flex-wrap: wrap; }
  .cmdrow .lab { width: 100%; min-width: 0; justify-content: flex-start; padding: 5px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .cmdrow code { flex-basis: 100%; white-space: normal; overflow-wrap: anywhere; font-size: 11px; padding: 10px 12px; }
  .cmdrow .copybtn { margin: 0 8px 8px auto; }
  .nextlist div { grid-template-columns: 1fr; gap: 3px; }
  .wordmark { font-size: clamp(78px, 24vw, 120px); padding-top: 22px; padding-bottom: 0.2em; }
  .wordmark span { top: 22px; }
  .legal { flex-direction: column; gap: 6px; }
  .cta h2 { font-size: clamp(36px, 10.4vw, 58px); }
}
@media (max-width: 400px) {
  .brand { font-size: 19px; }
  .brand span { display: none; }
  .nav .btn { padding: 0 11px; }
  .ring { padding-top: 122px; }
  .ring-core { top: 62px; width: 74px; height: 74px; }
  .pnode { font-size: 8.5px; padding: 6px; }
  .pnode b { display: none; }
  .hero h1 { font-size: clamp(38px, 10.2vw, 48px); }
  .demo-actions button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-r], .wi { opacity: 1; transform: none; }
  .sec::before { transform: none; }
  .wordmark span { clip-path: none; }
}
