/* Umbra — umbra.resyst.cl
   Tokens are the app's own semantic colour system. Light means signal
   (live, secure, focused, actionable), never decoration. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url(/fonts/IBMPlexSans-Regular.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url(/fonts/IBMPlexSans-SemiBold.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/fonts/IBMPlexMono-Regular.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/fonts/IBMPlexMono-Medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg0: #05070c;
  --bg1: #0a0f19;
  --bg2: #101726;
  --bg3: #182134;
  --line: #1b2436;
  --line2: #2a3650;
  --signal: #00e5ff;
  --signal-ink: #7cefff;
  --secure: #2fe6a8;
  --warn: #f5b950;
  --risk: #ff5f00;
  --ink: #e9eef6;
  --ink2: #9aa7bd;
  --ink3: #7c8aa2;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --c: 14px; /* chamfer */
  --chamfer: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 1.0625rem;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--signal-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--signal);
}

code,
.mono {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
/* clip-path swallows outlines, so chamfered controls get an inset ring instead */
.btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--bg0), inset 0 0 0 4px var(--ink);
}
.btn.ghost:focus-visible,
.btn[aria-disabled="true"]:focus-visible,
.nav .lang:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--signal);
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  background: var(--signal);
  color: var(--bg0);
  font-weight: 600;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}

/* ---------------------------------------------------------------- readouts */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--ink3);
}
.dot.secure {
  background: var(--secure);
  box-shadow: 0 0 8px rgba(47, 230, 168, 0.6);
}
.dot.warn {
  background: var(--warn);
  box-shadow: 0 0 8px rgba(245, 185, 80, 0.55);
}
.dot.live {
  background: var(--signal);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
}
.readout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink2);
}
.readout .dot {
  flex: none;
}

/* ------------------------------------------------------------------ header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 12, 0.92);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.brand .readout {
  margin-left: 4px;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
}
.nav a {
  color: var(--ink2);
  text-decoration: none;
  font-size: 0.9375rem;
}
.nav a:hover {
  color: var(--ink);
}
.nav .lang {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--signal-ink);
  border: 1px solid var(--line2);
  padding: 6px 10px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.nav .lang:hover {
  border-color: var(--signal);
  color: var(--signal);
}
@media (max-width: 640px) {
  .nav a:not(.lang) {
    display: none;
  }
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  font: 600 1rem/1 var(--sans);
  color: var(--bg0);
  background: var(--signal);
  border: 0;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 0.15s ease;
}
.btn:hover {
  background: var(--signal-ink);
  color: var(--bg0);
}
.btn-glow {
  position: relative;
  display: inline-block;
}
.btn-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--signal);
  opacity: 0.35;
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line2);
}
.btn.ghost:hover {
  box-shadow: inset 0 0 0 1px var(--signal);
  color: var(--signal-ink);
}
.btn[aria-disabled="true"] {
  background: var(--bg3);
  color: var(--ink2);
  cursor: not-allowed;
}
.btn[aria-disabled="true"]:hover {
  background: var(--bg3);
  color: var(--ink2);
}
.btn .tag {
  font: 500 0.75rem/1 var(--mono);
  color: var(--warn);
  padding: 4px 6px;
  border: 1px solid rgba(245, 185, 80, 0.5);
}

/* ---------------------------------------------------------------- FUI panel */
.fui {
  background: var(--line2);
  padding: 1px;
  clip-path: var(--chamfer);
}
.fui-in {
  background: var(--bg1);
  clip-path: var(--chamfer);
  height: 100%;
}
.fui.live {
  background: linear-gradient(160deg, var(--signal) 0%, var(--line2) 35%, var(--line2) 70%, var(--signal) 100%);
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow-x: clip;
  padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 128px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.kicker {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--signal-ink);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--signal);
  vertical-align: middle;
  margin-right: 12px;
}
h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 12ch;
}
.lead {
  margin-top: 26px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--ink2);
  text-wrap: pretty;
}
.cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink3);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eclipse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(640px, 118%);
  aspect-ratio: 1;
  transform: translate(-42%, -55%);
  border-radius: 50%;
  background: var(--bg0);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.55),
    0 0 36px rgba(0, 229, 255, 0.22),
    0 0 140px rgba(0, 229, 255, 0.12),
    inset 0 0 80px rgba(0, 229, 255, 0.05);
  pointer-events: none;
}
.eclipse::after {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.18);
  filter: blur(2px);
}
.eclipse::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  box-shadow: 0 0 60px 6px rgba(0, 229, 255, 0.35);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

/* ---------------------------------------------------------------- demo chat */
.demo {
  position: relative;
  width: min(380px, 100%);
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink);
}
.demo .fui-in {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  overflow: hidden;
}
.demo .fui-in::after {
  /* scanlines: cheap, only here */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.025) 0 1px,
    transparent 1px 3px
  );
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--bg3);
  color: var(--signal-ink);
  font-weight: 500;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.demo-head .who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.demo-head .name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
}
.demo-head .verified {
  color: var(--secure);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.demo-head .verified::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--secure);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}
.demo-head .callico {
  margin-left: auto;
  color: var(--signal);
}
.demo-msgs {
  flex: 1;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  max-width: 82%;
  padding: 10px 12px 8px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 10px 10px 10px 3px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.msg.out {
  align-self: flex-end;
  background: rgba(0, 229, 255, 0.07);
  border-color: rgba(0, 229, 255, 0.45);
  border-radius: 10px 10px 3px 10px;
}
.msg.show {
  opacity: 1;
  transform: none;
}
.msg p {
  margin: 0;
  line-height: 1.45;
}
.msg .meta {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
  font-size: 0.6875rem;
  color: var(--ink3);
}
.tick {
  display: inline-block;
  width: 14px;
  height: 10px;
  position: relative;
}
.tick::before,
.tick::after {
  content: "";
  position: absolute;
  bottom: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--ink3);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  left: 2px;
}
.tick::after {
  left: 7px;
  opacity: 0;
}
.msg.read .tick::before,
.msg.read .tick::after {
  border-color: var(--secure);
  opacity: 1;
}
.typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  align-self: flex-start;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 10px 10px 10px 3px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.typing.show {
  opacity: 1;
}
.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink2);
  animation: blink 1s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.25;
  }
  30% {
    opacity: 1;
  }
}
.demo-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.6875rem;
  color: var(--ink3);
  border-top: 1px solid var(--line);
}
.demo-status .key {
  margin-left: auto;
  color: var(--signal-ink);
}
.callbar {
  margin: 10px 12px 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.12);
}
.callbar .who {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.callbar .who b {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8125rem;
}
.callbar .who span {
  font-size: 0.6875rem;
  color: var(--secure);
}
.callbar .timer {
  margin-left: auto;
  color: var(--signal-ink);
  font-variant-numeric: tabular-nums;
}
.callbar .ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg3);
  color: var(--ink2);
}
.callbar .ico.end {
  background: var(--risk);
  color: var(--bg0);
}

/* ---------------------------------------------------------------- sections */
.section {
  padding-block: clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.section-head p {
  color: var(--ink2);
  max-width: 42rem;
  font-size: 1.0625rem;
  text-wrap: pretty;
}

/* three statements */
.why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.why > div {
  padding: 28px 28px 32px 0;
  border-top: 1px solid var(--line2);
}
.why > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.why h3 {
  font-size: 1.5rem;
  max-width: 14ch;
}
.why p {
  margin-top: 14px;
  color: var(--ink2);
  text-wrap: pretty;
}
.why .readout {
  margin-bottom: 18px;
}

/* capability readout */
.legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.works {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 56px);
  row-gap: 0;
}
.works li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.works .dot {
  margin-top: 9px;
  justify-self: center;
}
.works b {
  display: block;
  font-weight: 600;
  font-size: 1.0625rem;
}
.works span {
  display: block;
  color: var(--ink2);
  font-size: 0.9375rem;
  margin-top: 3px;
  text-wrap: pretty;
}
.works li.exp b::after {
  content: attr(data-tag);
  margin-left: 10px;
  font: 500 0.6875rem/1 var(--mono);
  color: var(--warn);
  padding: 3px 6px;
  border: 1px solid rgba(245, 185, 80, 0.5);
  vertical-align: middle;
}

/* palomar */
.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split .copy p {
  color: var(--ink2);
  margin-top: 16px;
  text-wrap: pretty;
}
.split .copy p.honest {
  color: var(--ink);
  border-left: 2px solid var(--warn);
  padding-left: 14px;
}
.tag-warn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 0.8125rem/1 var(--mono);
  color: var(--warn);
  padding: 7px 10px;
  border: 1px solid rgba(245, 185, 80, 0.5);
  margin-bottom: 18px;
}
.hops {
  width: 100%;
  height: auto;
  color: var(--ink3);
}
.hops .dev {
  fill: var(--bg1);
  stroke: var(--ink3);
  stroke-width: 1.5;
}
.hops .scr {
  fill: var(--bg2);
  stroke: var(--line2);
}
.hops .path {
  fill: none;
  stroke: var(--ink3);
  stroke-width: 1.5;
  stroke-dasharray: 3 7;
}
.hops text {
  font-family: var(--mono);
  font-size: 12px;
  fill: var(--ink2);
}
.hops .pkt {
  fill: var(--signal);
  r: 6;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.9));
  offset-path: path("M 112 106 L 300 106 L 488 106");
  offset-distance: 0%;
  animation: hop 5s linear infinite;
}
.hops .ring {
  fill: none;
  stroke: var(--signal);
  opacity: 0.5;
  animation: ping 5s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.hops .ring.r2 {
  animation-delay: 2.5s;
}
@keyframes hop {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  45% {
    offset-distance: 50%;
  }
  55% {
    offset-distance: 50%;
  }
  95% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}
@keyframes ping {
  0%,
  40% {
    transform: scale(0.4);
    opacity: 0.6;
  }
  70%,
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* realms */
.realm {
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.realm .fui-in {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 300px;
}
.realm .chan {
  background: var(--bg2);
  border-right: 1px solid var(--line);
  padding: 14px 0;
}
.realm .chan .cat {
  padding: 8px 14px 4px;
  font-size: 0.6875rem;
  color: var(--ink3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.realm .chan div:not(.cat) {
  padding: 6px 14px;
  color: var(--ink2);
}
.realm .chan .on {
  color: var(--ink);
  background: var(--bg3);
  box-shadow: inset 2px 0 0 var(--signal);
}
.realm .chan .spk {
  color: var(--secure);
}
.realm .feed {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.realm .line {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.realm .line .avatar {
  width: 26px;
  height: 26px;
  font-size: 0.75rem;
}
.realm .line .role {
  color: var(--signal-ink);
}
.realm .line .role.mod {
  color: var(--warn);
}
.realm .line p {
  color: var(--ink2);
  margin-top: 2px;
}
.realm .audit {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink3);
  font-size: 0.6875rem;
}
.realm .audit b {
  color: var(--ink2);
  font-weight: 500;
}

/* download */
.dl {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.release .fui-in {
  padding: clamp(22px, 3vw, 32px);
}
.release .status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--warn);
}
.release[data-state="available"] .status {
  color: var(--secure);
}
.release .status .dot {
  flex: none;
}
.release .body {
  margin-top: 14px;
  color: var(--ink2);
  text-wrap: pretty;
}
.release .meta {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}
.release .meta div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.release dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink3);
}
.release dd {
  margin-top: 2px;
  font-weight: 600;
}
.release .sha {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.release .sha dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink3);
}
.release .sha dd {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.release .sha code {
  flex: 1;
  word-break: break-all;
  color: var(--signal-ink);
  line-height: 1.5;
}
.release .copy {
  flex: none;
  font: 500 0.75rem/1 var(--mono);
  color: var(--ink2);
  background: var(--bg3);
  border: 1px solid var(--line2);
  padding: 8px 10px;
  cursor: pointer;
}
.release .copy:hover {
  color: var(--ink);
  border-color: var(--signal);
}
.release .act {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.release .linux {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink3);
}
[hidden] {
  display: none !important;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--ink2);
  text-wrap: pretty;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font: 500 0.8125rem/1.7 var(--mono);
  color: var(--signal-ink);
}
.install h3 {
  margin-bottom: 14px;
}
.install .verify {
  margin-top: 18px;
  color: var(--ink);
  border-left: 2px solid var(--secure);
  padding-left: 14px;
  text-wrap: pretty;
}

/* footer */
.foot {
  border-top: 1px solid var(--line);
  padding-block: 40px 56px;
  color: var(--ink2);
  font-size: 0.9375rem;
}
.foot .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}
.foot .brand {
  margin-bottom: 12px;
}
.foot .principles {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink3);
  margin-top: 10px;
}
.foot .links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 0;
    margin-top: 24px;
    padding-block: 32px;
  }
  .eclipse {
    width: min(420px, 96vw);
    transform: translate(-50%, -50%);
  }
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .why {
    grid-template-columns: 1fr;
  }
  .why > div,
  .why > div + div {
    padding: 24px 0 28px;
    border-left: 0;
  }
  .works {
    grid-template-columns: 1fr;
  }
  .split,
  .dl {
    grid-template-columns: 1fr;
  }
  .foot .wrap {
    grid-template-columns: 1fr;
  }
  .foot .links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
    text-align: left;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }
  h1 {
    max-width: none;
  }
  .demo .fui-in {
    min-height: 420px;
  }
  .realm .fui-in {
    grid-template-columns: 116px minmax(0, 1fr);
  }
  .release .meta {
    grid-template-columns: 1fr;
  }
  .btn[aria-disabled="true"] {
    flex-wrap: wrap;
    padding-block: 12px;
    text-align: left;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .eclipse::before,
  .typing i,
  .hops .pkt,
  .hops .ring {
    animation: none;
  }
  .hops .pkt {
    offset-distance: 50%;
    opacity: 1;
  }
  .hops .ring {
    opacity: 0.35;
    transform: scale(0.8);
  }
  .msg,
  .typing {
    transition: none;
  }
  .btn {
    transition: none;
  }
}
