/* HexEdge landing.
   The owner's design code (repos/hexedge/docs/DESIGN.md): black ground, white and silver only,
   one motif, the hexagon. The look follows the bot's own pictures; reasons in ../DECISIONS.md. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #000;
  --ink: #f1f1f2;
  --text: #d9dadc;
  --text-soft: #bfc0c2;
  --text-dim: #a3a5a9;
  --line: rgba(255, 255, 255, .16);
  --line-mid: rgba(255, 255, 255, .3);
  /* the silver of the owner's TITLE card */
  --metal: linear-gradient(180deg, #fff 0%, #ecedee 40%, #b9bbbe 78%, #9ea0a4 100%);
  --metal-flat: linear-gradient(180deg, #fff 0%, #dedfe1 52%, #b3b5b9 100%);
  --title-glow: drop-shadow(0 0 .22em rgba(255, 255, 255, .16));
  --gutter: 16px;
  --wrap: 1200px;
  --header-h: 56px;
  color-scheme: dark;
}
@media (min-width: 700px) {
  :root { --gutter: 32px; --header-h: 64px; }
}
@media (min-width: 1240px) {
  :root { --gutter: 48px; }
}

/* Both languages live in the page. The one not chosen is neither shown nor read aloud.
   Keyed on data-l, so a real lang tag elsewhere never collides with it. */
html[lang="en"] [data-l="ru"],
html[lang="ru"] [data-l="en"] { display: none !important; }

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

html {
  background: var(--ground);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* anchors and focus scrolling stop below the sticky header, never under it */
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; fill: none; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 60;
  padding: 12px 18px;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.skip:focus-visible { outline-color: #fff; outline-offset: 3px; }

.wrap {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------------------------------------------------------------- shared pieces */

/* silver capitals with a soft glow: the bot's TITLE lettering. The glow budget is spent here only. */
.tc-title, .tw, .hero h1 > span, .wm-edge, .xplate-t {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.tc-title, .head-title, .info-h, .hero h1 { filter: var(--title-glow); }

/* hairline with a glint in the middle, as on every card of the bot */
.hairline {
  position: relative;
  display: block;
  width: 46cqi;
  max-width: 100%;
  height: 9px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3) 22%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, .3) 78%, transparent) center / 100% 1px no-repeat;
}
.hairline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26%;
  height: 5px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
}
/* the same line read from the left, for left-set titles */
.hairline-l {
  width: min(100%, 520px);
  background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .95) 30%, rgba(255, 255, 255, .25) 70%, transparent) center / 100% 1px no-repeat;
}
.hairline-l::before { left: 30%; }
/* one glint passes along the line when the title comes into view (not under reduced motion) */
.sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 30%;
  opacity: 0;
  background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0));
}
@keyframes sweep {
  0% { transform: translateX(0); opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translateX(433%); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .sweep,
  .is-lit .sweep { animation: sweep 1.7s cubic-bezier(.5, .05, .25, 1) .25s 1 both; }
}

/* plate: a stretched hexagon in a thin silver line (the bot's HEXEDGE tag) */
.plate {
  --cut: 12px;
  --tr: .3em;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0;
  padding: 5px calc(var(--cut) + 14px) 5px calc(var(--cut) + 14px + var(--tr));
  font-weight: 400;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: var(--tr);
  text-transform: uppercase;
  text-align: center;
  color: #eeeff0;
}
.plate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, .55));
  clip-path: polygon(evenodd,
    var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%, var(--cut) 0,
    calc(var(--cut) + .5px) 1px, 1.3px 50%, calc(var(--cut) + .5px) calc(100% - 1px), calc(100% - var(--cut) - .5px) calc(100% - 1px), calc(100% - 1.3px) 50%, calc(100% - var(--cut) - .5px) 1px, calc(var(--cut) + .5px) 1px);
}
.plate-lg {
  --cut: 18px;
  --tr: .14em;
  min-height: 58px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
}

/* buttons: the kit's slanted shape. The filled silver one is the action of its screen. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  transform: skewX(-18deg);
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 6px;
  background:
    radial-gradient(60% 140% at 16% 0, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn > span { display: inline-block; transform: skewX(18deg); }
.btn:hover { border-color: #fff; background-color: rgba(255, 255, 255, .1); }
.btn:active { filter: brightness(.86); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.btn-primary {
  border-color: #fff;
  background: var(--metal-flat);
  color: #0b0b0c;
}
.btn-primary:hover { background: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .2s, border-color .2s, filter .2s; }
}

/* list of rules: the kit's list card, hexagon bullets and a fading line */
.rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.rules li {
  position: relative;
  padding: 14px 0 15px 28px;
  color: var(--text);
}
.rules li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 19px;
  width: 14px;
  height: 16px;
  background: rgba(255, 255, 255, .85);
  clip-path: polygon(evenodd,
    50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%, 50% 0,
    50% 1.6px, 1.4px calc(25% + .8px), 1.4px calc(75% - .8px), 50% calc(100% - 1.6px), calc(100% - 1.4px) calc(75% - .8px), calc(100% - 1.4px) calc(25% + .8px), 50% 1.6px);
}
.rules li::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .05) 75%, transparent);
}
.rules li:last-child::after { display: none; }

.big {
  font-weight: 300;
  font-size: clamp(19px, 1.05rem + .7vw, 25px);
  line-height: 1.5;
  color: var(--ink);
}

/* glass panel: the kit's faint fill, a diagonal reflection, a glint on the top edge,
   two corners cut at the 60 degrees of the frame's sides */
.glass {
  --cx: 14px;
  --cy: 24px;
  --shape: polygon(0 0, calc(100% - var(--cx)) 0, 100% var(--cy), 100% 100%, var(--cx) 100%, 0 calc(100% - var(--cy)));
  --edge:
    radial-gradient(200px 4px at 72% 0, #fff, rgba(255, 255, 255, 0) 70%),
    radial-gradient(160px 4px at 20% 100%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%),
    linear-gradient(165deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .16) 24%, rgba(255, 255, 255, .12) 70%, rgba(255, 255, 255, .34));
  --fill:
    linear-gradient(116deg, rgba(255, 255, 255, .032) 0 23%, rgba(255, 255, 255, 0) 23.1%),
    linear-gradient(180deg, #0f0f11 0%, #09090b 50%, #050506 100%);
  position: relative;
  isolation: isolate;
  padding: 26px 14px 26px;
}
.glass::before,
.glass::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  clip-path: var(--shape);
}
.glass::before { inset: 0; background: var(--edge); }
.glass::after { inset: 1px; background: var(--fill); }
.glass-tl {
  --shape: polygon(var(--cx) 0, 100% 0, 100% calc(100% - var(--cy)), calc(100% - var(--cx)) 100%, 0 100%, 0 var(--cy));
  --edge:
    radial-gradient(200px 4px at 28% 0, #fff, rgba(255, 255, 255, 0) 70%),
    radial-gradient(160px 4px at 80% 100%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%),
    linear-gradient(195deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .16) 24%, rgba(255, 255, 255, .12) 70%, rgba(255, 255, 255, .34));
  --fill:
    linear-gradient(244deg, rgba(255, 255, 255, .032) 0 21%, rgba(255, 255, 255, 0) 21.1%),
    linear-gradient(180deg, #0f0f11 0%, #09090b 50%, #050506 100%);
}
@media (min-width: 400px) {
  .glass { padding: 30px 22px; }
}
@media (min-width: 700px) {
  .glass { --cx: 20px; --cy: 34px; padding: 44px 40px; }
}
@media (min-width: 1024px) {
  .glass { padding: 56px 56px 58px; }
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #000;
}
@media (prefers-reduced-motion: no-preference) {
  .site-header { transition: transform .3s ease; }
}
/* steps aside while the page is read downwards, comes back on the way up or on focus */
.site-header.is-tucked { transform: translateY(-100%); }
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22) 25%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, .22) 75%, transparent);
}
.bar {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}
.brand img { width: 30px; height: 30px; }
.wordmark {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .34em;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 379px) {
  .wordmark { display: none; }
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 6px var(--gutter) 28px;
  background: #000;
  border-bottom: 1px solid var(--line-mid);
}
.site-nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0 0 22px; padding: 0; }
.nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  padding-left: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: var(--text);
  font-size: 16px;
  letter-spacing: .04em;
  text-decoration: none;
}
.nav-list a::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 9px;
  height: 10px;
  margin-top: -5px;
  background: rgba(255, 255, 255, .45);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.nav-list a:hover { color: #fff; }
.nav-cta { margin-left: 10px; }

.head-cta { display: none; }

.lang-switch { display: flex; align-items: center; }
.lang-switch button {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  padding: 0 2px 0 calc(2px + .2em);
  background: none;
  border: 0;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  cursor: pointer;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button[aria-pressed="true"] { color: #fff; }
.lang-switch button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 11px;
  bottom: 9px;
  height: 1px;
  background: #fff;
}
.lang-switch button:focus-visible { outline-offset: -2px; }
/* the full names «English» / «Русский» carry their own lang for the voice; fixed, so the hidden
   span has no offset parent and is not counted as visible text of the other language */
.lang-switch .vh { position: fixed !important; }
.lang-dot { color: var(--text-dim); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px 0 10px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 13px;
  letter-spacing: .1em;
  cursor: pointer;
}
.menu-toggle svg { flex: none; color: #fff; }
.menu-toggle path { stroke: currentColor; stroke-width: 2.6; }
.menu-toggle .mt-x { display: none; }
.menu-toggle[aria-expanded="true"] .mt-bars { display: none; }
.menu-toggle[aria-expanded="true"] .mt-x { display: inline; }

/* no script: no switch and no toggle, the sections are listed under the bar */
html:not(.js) .lang-switch,
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .site-header { position: relative; }
html:not(.js) .site-nav { display: block; position: static; max-height: none; }
html:not(.js) .bar { height: auto; min-height: var(--header-h); flex-wrap: wrap; }
html:not(.js) .site-nav { order: 5; width: 100%; padding-left: 0; padding-right: 0; }

@media (min-width: 700px) {
  .head-cta { display: inline-flex; margin-right: 14px; }
  .nav-cta { display: none; }
  .wordmark { font-size: 14px; }
}

@media (min-width: 1240px) {
  .site-nav,
  html:not(.js) .site-nav {
    display: block;
    position: static;
    order: 0;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin-right: 22px;
    background: none;
    border: 0;
  }
  html:not(.js) .bar { flex-wrap: nowrap; height: var(--header-h); }
  .nav-list { display: flex; gap: 14px; margin: 0; }
  .nav-list a {
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    color: var(--text-soft);
    font-size: 13px;
    letter-spacing: .05em;
  }
  .nav-list a::before { display: none; }
  .menu-toggle { display: none; }
  html:not(.js) .site-header { position: sticky; }
}

/* ---------------------------------------------------------------- hero: the title album in the bot's frame */

.hero {
  position: relative;
  padding: 24px 0 16px;
}
.hero-band { position: relative; }
/* the album's two light ribbons, kept to the band of the frame so they never reach the text below */
.hero-art { display: none; }
.hero-card {
  position: relative;
  container-type: inline-size;
  width: calc(100% - 2 * var(--gutter));
  margin: 0 auto;
}
.frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}
.hero-card .frame-169 { display: none; }
.hero-in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* phone: the owner's TITLE card, hexagon corners top left and bottom right */
.hero-top {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 10px 44px;
}
.corner {
  position: absolute;
  width: 52px;
  height: 52px;
  overflow: visible;
  pointer-events: none;
}
/* the corners bleed to the screen edge as on the TITLE card; the lower one stays 28 px above the plate */
.corner-tl { left: calc(-1 * var(--gutter)); top: 0; }
.corner-br { right: calc(-1 * var(--gutter)); bottom: 24px; transform: rotate(180deg); }
.lockup { width: clamp(100px, 34cqi, 156px); }
/* «automated execution» belongs to the lockup, as in the title album */
.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: .14em;
  line-height: 1.3;
  white-space: nowrap;
  color: #e6e7e8;
}
.kicker-rule {
  flex: none;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .8));
}
.kicker-rule:last-child { transform: scaleX(-1); }
@media (max-width: 359px) {
  .kicker { font-size: 13px; letter-spacing: .08em; gap: 8px; }
  .kicker-rule { width: 12px; }
}
.hero h1 {
  margin: 26px 0 18px;
  max-width: 100%;
  font-weight: 600;
  font-size: clamp(20px, 6.6cqi, 34px);
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-wrap: balance;
  padding-left: .1em;
}
.hero .hairline { width: 62%; }
.hero .status {
  --cut: 10px;
  --tr: .06em;
  margin-top: 4px;
  padding-left: calc(var(--cut) + 10px + var(--tr));
  padding-right: calc(var(--cut) + 10px);
  white-space: nowrap;
  text-transform: none;
}
@media (min-width: 360px) {
  .hero .status { --tr: .08em; text-transform: uppercase; }
}
@media (max-width: 319px) {
  .hero .status { white-space: normal; }
}
.hero-cap {
  max-width: calc(720px + 2 * var(--gutter));
  margin: 30px auto 0;
  padding: 0 var(--gutter);
}
.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
}
.actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
/* full-width slanted buttons on a phone; the slant needs 9px each side inside the gutter */
.actions .btn { width: calc(100% - 18px); margin: 0 auto; }

@media (min-width: 560px) {
  .actions { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 16px 28px; }
  .actions .btn { width: auto; margin: 0; }
}

@media (min-width: 700px) {
  .hero { padding: 28px 0 40px; }
  .hero-card {
    aspect-ratio: 16 / 9;
    max-width: none;
    width: min(calc(100% - 2 * var(--gutter)), max(720px, min(1180px, calc((100svh - 300px) * 1.7778))));
    /* the content keeps clear of the frame's top and bottom edges; taller content stretches the frame */
    padding: clamp(22px, 3vw, 44px) 0;
    display: grid;
    place-items: center;
  }
  .hero-card .frame-169 { display: block; }
  .corner { display: none; }
  .hero-in { width: 70%; }
  .hero-top { padding: 0; }
  .lockup { width: 12.5cqi; }
  .kicker { margin-top: 1.1cqi; font-size: clamp(13px, 1.45cqi, 19px); gap: 1.4cqi; letter-spacing: .24em; }
  .kicker-rule { width: 4.2cqi; }
  .hero h1 { margin: 3.2cqi 0 2.4cqi; font-size: clamp(24px, 4.1cqi, 52px); }
  .hero .hairline { width: 40cqi; }
  .hero .status { --cut: 12px; --tr: .26em; margin-top: 2.4cqi; padding-left: calc(var(--cut) + 18px + var(--tr)); padding-right: calc(var(--cut) + 18px); font-size: clamp(12px, .95cqi, 13px); }
  .hero-cap { text-align: center; }
  .lead { font-size: 18px; }
}
/* on a small frame the hexagon narrows under the plate: tighter tracking keeps the plate inside it */
@container (min-width: 600px) and (max-width: 860px) {
  .hero .status { --tr: .14em; }
}
/* a narrow frame holds the three-line Russian title only when it is a little taller */
@media (min-width: 700px) and (max-width: 899px) {
  .hero-card { aspect-ratio: 3 / 2; }
}
@media (min-width: 1024px) {
  .hero-art {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    /* the ribbons fade out before the frame ends: no edge, and nothing reaches the text below */
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 200px), transparent calc(100% - 20px));
    mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 200px), transparent calc(100% - 20px));
  }
  .ribbon { position: absolute; height: auto; max-width: none; }
  .ribbon-tl { left: 0; top: 0; width: clamp(360px, 42vw, 760px); }
  .ribbon-br { right: 0; bottom: 0; width: clamp(360px, 42vw, 760px); }
}

/* ---------------------------------------------------------------- sections */

.sec { padding-top: 72px; }
.sec-card { padding-top: 84px; }
@media (min-width: 1024px) {
  .sec { padding-top: 120px; }
  .sec-card { padding-top: 136px; }
}

/* compact title: B's left-set silver capitals on a hexagon node, a glinted hairline */
.head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}
.head-node { width: 18px; height: 21px; color: #fff; }
.head-node svg { width: 100%; height: 100%; }
.head-title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(27px, .9rem + 3.6vw, 56px);
  line-height: 1.1;
  letter-spacing: .14em;
}
.tw { margin-right: -.14em; }
.head-line {
  grid-column: 2;
  margin-top: 8px;
  font-weight: 300;
  font-size: clamp(14px, .82rem + .45vw, 19px);
  line-height: 1.4;
  letter-spacing: .2em;
  color: #d4d5d7;
}
.head .hairline { grid-column: 1 / -1; margin-top: 16px; }
@media (min-width: 700px) {
  .head { column-gap: 20px; margin-bottom: 36px; }
  .head-node { width: 24px; height: 28px; }
  .head .hairline { margin-top: 22px; }
}

/* full title card: the bot's section picture, 16:9 on a phone, 3:1 on wide screens */
.tc {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: radial-gradient(56% 64% at 50% 50%, rgba(255, 255, 255, .05), transparent 72%);
}
.tc .frame-wide { display: none; }
.tc-in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 84%;
}
.tc-h { margin: 2.4cqi 0 0; font-weight: 400; line-height: 1; }
.tc-title {
  display: block;
  font-weight: 600;
  font-size: clamp(22px, 8.6cqi, 112px);
  line-height: 1.08;
  letter-spacing: .14em;
  margin-right: -.14em;
  white-space: nowrap;
}
.tc-line {
  margin: 1.6cqi 0 2.2cqi;
  font-weight: 300;
  font-size: clamp(13px, 3.4cqi, 24px);
  line-height: 1.35;
  letter-spacing: .14em;
  color: #e4e5e6;
  text-wrap: balance;
}
.tc-plate { margin-top: 3cqi; min-height: 28px; --tr: .34em; font-size: 12px; }
.tc + .glass { margin-top: 28px; }
/* 16:9 on a phone: the content keeps 8% of the card's height clear of the frame's inner lines;
   when a short line wraps, the card grows instead of the plate touching the frame */
@media (max-width: 699px) {
  .tc { padding-block: 8.2%; }
}

@media (min-width: 700px) {
  .tc { aspect-ratio: 3 / 1; }
  .tc .frame-wide { display: block; }
  .tc .frame-169 { display: none; }
  .tc-in { width: 70%; }
  .tc .hairline { width: 34cqi; }
  .tc-h { margin-top: 1.4cqi; }
  .tc-title { font-size: clamp(30px, 5.4cqi, 72px); }
  .tc-line { margin: .8cqi 0 1.3cqi; font-size: clamp(14px, 1.7cqi, 22px); letter-spacing: .22em; }
  .tc-plate { margin-top: 1.9cqi; min-height: clamp(28px, 2.9cqi, 34px); }
  /* the panel under a full card ends where the frame's corner marks stand (28 of 1200 in from each side) */
  .tc + .glass { margin-top: 44px; width: 95.3333%; margin-left: auto; margin-right: auto; }
}

/* ---------------------------------------------------------------- PILOT */

.pilot { display: grid; gap: 24px; }
.pilot-side p { color: var(--text-soft); }
.pilot-side p + p { margin-top: 16px; }
.pilot-eco {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  color: var(--ink);
}
.pilot-eco-node { width: 18px; height: 21px; margin-top: 3px; color: rgba(255, 255, 255, .85); }
.pilot-eco-node svg { width: 100%; height: 100%; }
@media (min-width: 1024px) {
  .pilot {
    grid-template-columns: 7fr 5fr;
    gap: 40px 64px;
  }
  .pilot-side {
    padding-left: 36px;
    border-left: 1px solid var(--line);
  }
  .pilot-eco { grid-column: 1 / -1; padding-top: 30px; font-size: 18px; }
}

/* ---------------------------------------------------------------- TRADE PATH: five stages, uneven */

.path {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stage {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 12px;
  padding-bottom: 26px;
}
.stage:last-child { padding-bottom: 0; }
.node {
  grid-row: 1 / span 2;
  position: relative;
  display: block;
  width: 26px;
  height: 30px;
  color: rgba(255, 255, 255, .8);
}
.node svg { position: relative; z-index: 1; width: 100%; height: 100%; fill: #0b0b0d; }
/* the hairline joining the stages, inside this section only */
.stage::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 32px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(rgba(255, 255, 255, .42), rgba(255, 255, 255, .14));
}
.stage:last-child::after { display: none; }
.stage-name {
  margin: 6px 0 6px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
}
.stage p { grid-column: 2; color: var(--text); }
/* Check protects the deposit: the one raised cut panel */
.stage-key { isolation: isolate; padding-top: 16px; padding-bottom: 42px; }
.stage-key::after {
  top: 48px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .45) 0 4px, transparent 4px 9px);
}
.stage-panel {
  --c: 14px;
  --shape: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  position: absolute;
  z-index: -1;
  inset: 0 -10px 16px -10px;
  pointer-events: none;
}
.stage-panel::before,
.stage-panel::after {
  content: "";
  position: absolute;
  clip-path: var(--shape);
}
.stage-panel::before {
  inset: 0;
  background:
    radial-gradient(140px 4px at 64% 0, #fff, rgba(255, 255, 255, 0) 70%),
    linear-gradient(120deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .16) 40%, rgba(255, 255, 255, .3));
}
.stage-panel::after {
  inset: 1px;
  background: linear-gradient(180deg, #19191c, #0e0e10);
}
/* a narrow phone has no room for an inset: the panel runs to the outer panel's edge, top and
   bottom rules only, so no second side line runs 4 px inside the first */
@media (max-width: 399px) {
  .stage-panel { inset: 0 -13px 16px; }
  .stage-panel::after { inset: 1px 0; }
}
.stage-key .node { color: #fff; }
.stage-key .node svg { fill: #19191c; }
.stage-key p { color: var(--ink); }
/* Hold is quiet: nothing is polled between events */
.stage-quiet .node { color: rgba(255, 255, 255, .55); }
.stage-quiet .node svg { stroke-dasharray: 3 4; }
.stage-quiet p { color: var(--text-soft); }

@media (min-width: 1024px) {
  .path {
    /* 36 = the Check panel's 18 px bleed plus the same 18 px clear of the text beside it */
    --gap: 36px;
    display: grid;
    grid-template-columns: .95fr 1.05fr 1.4fr .85fr 1.15fr;
    align-items: start;
    column-gap: var(--gap);
    padding-top: 10px;
  }
  .stage { display: block; padding: 0; }
  .node { width: 40px; height: 46px; }
  .stage::after {
    left: 40px;
    top: 23px;
    bottom: auto;
    width: calc(100% + var(--gap) - 40px);
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .25));
  }
  .stage-key { padding: 0; }
  .stage-key::after {
    top: 23px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 4px, transparent 4px 9px);
  }
  .stage-panel { inset: -24px -18px -28px -18px; }
  .stage-name { margin: 22px 0 12px; }
  .stage p { font-size: 15px; line-height: 1.7; }
}

/* ---------------------------------------------------------------- CONTROL */

.control { display: grid; gap: 30px; }

/* the example: the kit's card with a tab, two rows under a hairline. The tab is the kit's lit
   metal bar with a slanted end, the one bright form of the card; the body stays dark */
.example {
  --tab: min(46%, 220px);
  --bar: 12px;
  --slant: 7px;
  --shape: polygon(0 0, var(--tab) 0, calc(var(--tab) + var(--slant)) var(--bar), calc(100% - 14px) var(--bar), 100% calc(var(--bar) + 24px), 100% 100%, 0 100%);
  position: relative;
  isolation: isolate;
  padding: 32px 18px 22px;
}
.example::before,
.example::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: var(--shape);
}
.example::before {
  inset: 0;
  background: linear-gradient(170deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .16) 40%, rgba(255, 255, 255, .26));
}
.example::after {
  inset: 1px;
  background: linear-gradient(170deg, #161619, #0d0d0f 55%, #101012);
}
.example-tab {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--tab) + var(--slant));
  height: var(--bar);
  clip-path: polygon(0 0, calc(100% - var(--slant)) 0, 100% 100%, 0 100%);
  background:
    radial-gradient(22px 12px at calc(100% - 6px) 50%, #fff, rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(10, 10, 12, .8), rgba(10, 10, 12, .38) 45%, rgba(10, 10, 12, 0) 88%),
    var(--metal-flat);
  pointer-events: none;
}
.example p { font-size: 17px; line-height: 1.5; color: var(--ink); }
.example-rule {
  display: block;
  height: 1px;
  margin: 14px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .42), transparent);
}

/* modes: hexagon nodes on a hairline; 1% on the kit's square tile, 3% dashed and struck through */
.modes {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.modes::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: calc(10px + 31px);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .2));
}
.mode {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mode-hex {
  position: relative;
  isolation: isolate;
  width: 54px;
  height: 62px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .62);
}
.mode-hex svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #0b0b0d; }
.mode-v {
  position: relative;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  color: #e8e9ea;
}
.mode-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .04em;
  color: var(--text-soft);
}
.mode-rec .mode-note { white-space: nowrap; color: #fff; }
.mode-rec .mode-hex { color: #fff; }
.mode-rec .mode-hex svg { fill: #141416; }
.mode-rec .mode-hex::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8px -7px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 60%), #0b0b0d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34);
}
.mode-rec .mode-v { color: #fff; font-size: 17px; }
.mode-closed .mode-hex { color: rgba(255, 255, 255, .5); }
.mode-closed .mode-hex svg { stroke-dasharray: 3 4; fill: #000; }
.mode-closed .mode-v { color: #a3a5a9; text-decoration: line-through; text-decoration-thickness: 1px; }
.mode-closed .mode-note { color: var(--text-dim); }

@media (min-width: 700px) {
  .mode-hex { width: 80px; height: 92px; }
  .modes::before { top: calc(10px + 46px); }
  .mode-v { font-size: 19px; }
  .mode-rec .mode-v { font-size: 21px; }
  .mode-note { margin-top: 22px; font-size: 13px; }
  .mode-rec .mode-hex::before { inset: -12px -16px; border-radius: 16px; }
  .example { padding: 36px 30px 28px; }
  .example p { font-size: 18px; }
}
@media (min-width: 1024px) {
  .control {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "lead example"
      "modes modes"
      "rules rules";
    gap: 56px 64px;
    align-items: center;
  }
  .control-lead { grid-area: lead; }
  .example { grid-area: example; }
  .modes { grid-area: modes; max-width: 900px; width: 100%; justify-self: center; }
  .control-rules { grid-area: rules; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .control-rules li:nth-last-child(2)::after { display: none; }
}

/* ---------------------------------------------------------------- EXCHANGES */

.exchanges { display: grid; }
.ex-lead { max-width: 760px; }
.xplates {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.xplate {
  --p: 20px;
  --shape: polygon(0 50%, var(--p) 0, calc(100% - var(--p)) 0, 100% 50%, calc(100% - var(--p)) 100%, var(--p) 100%);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 66px;
  padding: 10px calc(var(--p) + 12px);
}
.xplate::before,
.xplate::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: var(--shape);
}
.xplate::before {
  inset: 0;
  background:
    radial-gradient(130px 4px at 28% 0, #fff, rgba(255, 255, 255, 0) 70%),
    radial-gradient(130px 4px at 72% 100%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%),
    linear-gradient(100deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, .45));
}
.xplate::after {
  inset: 1px;
  background: linear-gradient(180deg, #141417, #08080a);
}
.xplate-t {
  font-weight: 400;
  font-size: clamp(22px, 1rem + 2vw, 38px);
  line-height: 1.1;
  letter-spacing: .26em;
  margin-right: -.26em;
  text-transform: uppercase;
}
/* one bracket from both plates down to one list: the four facts hold for both exchanges */
.bracket {
  position: relative;
  display: block;
  justify-self: stretch;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: 52px;
  color: rgba(255, 255, 255, .8);
  background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .12)) 50% 0 / 1px 100% no-repeat;
}
.bracket svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 16px;
  transform: translate(-50%, -50%);
  fill: #0b0b0d;
}
.ex-rules { max-width: 720px; width: 100%; margin: 0 auto; }
@media (min-width: 560px) {
  .xplates { grid-template-columns: 1fr 1fr; gap: 20px; }
  .bracket {
    height: 64px;
    background:
      linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) calc(25% - 5px) 0 / 1px 16px no-repeat,
      linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) calc(75% + 5px) 0 / 1px 16px no-repeat,
      linear-gradient(90deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) 50% 16px / calc(50% + 10px) 1px no-repeat,
      linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .1)) 50% 16px / 1px calc(100% - 16px) no-repeat;
  }
  .bracket svg { top: 16px; }
}
@media (min-width: 700px) {
  .exchanges { justify-items: center; text-align: center; }
  .ex-lead { margin: 0 auto; }
  .xplates { width: 100%; max-width: 900px; margin-top: 40px; }
  .xplate { --p: 28px; min-height: 92px; }
  .ex-rules { text-align: left; }
}

/* ---------------------------------------------------------------- ECOSYSTEM */

.eco { display: grid; }
.eco-lead { max-width: 780px; }
.eco-map {
  display: grid;
  justify-items: center;
  margin: 34px 0 0;
}
.eco-map .plate-lg { width: 100%; max-width: 380px; }
.eco-link {
  display: block;
  width: 1px;
  height: 26px;
  background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .7));
}
.eco-link-b { transform: scaleY(-1); }
.eco-mark { width: 64px; height: 64px; margin: 8px 0; }
.eco-note { max-width: 640px; margin-top: 34px; color: var(--text-soft); }
@media (max-width: 399px) {
  .eco-map .plate-lg { --cut: 14px; --tr: .08em; font-size: 13px; padding-left: calc(var(--cut) + 10px + var(--tr)); padding-right: calc(var(--cut) + 10px); }
}
@media (min-width: 700px) {
  .eco { justify-items: center; text-align: center; }
  .eco-lead, .eco-note { margin-left: auto; margin-right: auto; }
}
/* on wide screens the Ecosystem panel takes the frame's hexagon ends: a symmetric section. The point
   depth gives the owner's 60-degree sides for the panel's height there (412 px: 206 x tan 30 = 119) */
@media (min-width: 1180px) {
  .glass-hex {
    --p: 119px;
    --shape: polygon(0 50%, var(--p) 0, calc(100% - var(--p)) 0, 100% 50%, calc(100% - var(--p)) 100%, var(--p) 100%);
    --edge:
      radial-gradient(240px 4px at 30% 0, #fff, rgba(255, 255, 255, 0) 70%),
      radial-gradient(240px 4px at 70% 100%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%),
      linear-gradient(120deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .15) 30%, rgba(255, 255, 255, .12) 70%, rgba(255, 255, 255, .45));
    --fill: radial-gradient(120% 70% at 50% 0%, #121215, #060607 70%);
    padding-left: calc(var(--p) + 48px);
    padding-right: calc(var(--p) + 48px);
  }
}
/* the names either side of the mark only where both fit; the mark stays on the page axis */
@media (min-width: 1180px) {
  .eco-map {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 56px auto 56px minmax(0, 1fr);
    align-items: center;
    margin-top: 48px;
  }
  .eco-map .plate-lg { width: auto; max-width: none; white-space: nowrap; }
  .eco-a { justify-self: end; }
  .eco-b { justify-self: start; }
  .eco-link {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .75));
  }
  .eco-link-b { transform: scaleX(-1); }
  .eco-mark { width: 88px; height: 88px; margin: 0 16px; }
  .eco-map .plate-lg { --tr: .2em; font-size: 15px; min-height: 64px; }
}

/* ---------------------------------------------------------------- ACCESS: the bot's SETUP screen */

.info {
  --c: 22px;
  position: relative;
  isolation: isolate;
  padding: 36px 12px 30px;
}
.info::after,
.info-ring,
.info-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.info::after {
  background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .012) 45%, rgba(255, 255, 255, .035));
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.info-ring::before {
  background:
    radial-gradient(150px 26px at 32% 0, #fff, rgba(255, 255, 255, 0) 70%),
    radial-gradient(26px 130px at 100% 62%, #fff, rgba(255, 255, 255, 0) 70%),
    radial-gradient(180px 26px at 74% 100%, #fff, rgba(255, 255, 255, 0) 70%),
    linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34));
  clip-path: polygon(evenodd,
    var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c), var(--c) 0,
    calc(var(--c) + .42px) 1px, 1px calc(var(--c) + .42px), 1px calc(100% - var(--c) - .42px), calc(var(--c) + .42px) calc(100% - 1px), calc(100% - var(--c) - .42px) calc(100% - 1px), calc(100% - 1px) calc(100% - var(--c) - .42px), calc(100% - 1px) calc(var(--c) + .42px), calc(100% - var(--c) - .42px) 1px, calc(var(--c) + .42px) 1px);
}
.info-tile { display: none; }
.info-in { position: relative; }
.info-h { margin: 0; font-weight: 400; line-height: 1; }
.info-h .tc-title { font-size: clamp(32px, 9vw, 64px); }
.info-line {
  margin-top: 10px;
  font-weight: 300;
  font-size: clamp(14px, .85rem + .4vw, 20px);
  letter-spacing: .2em;
  color: #e4e5e6;
}
.info .hairline-l { margin: 20px 0 6px; width: min(100%, 420px); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.num {
  position: relative;
  width: 30px;
  height: 35px;
  /* the hexagon's centre on the centre of the first line (line height 1.5) */
  margin-top: calc(.75em - 17.5px);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .85);
}
.num svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.num > span { position: relative; font-weight: 600; font-size: 13px; color: #fff; }
.info-foot { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.after { color: var(--text-soft); }
/* the manager comes first: the code comes before the bot */
.info-actions { display: grid; gap: 14px; margin-top: 24px; }
.info-actions .btn { width: calc(100% - 18px); margin: 0 auto; padding: 0 14px; font-size: 14px; letter-spacing: .02em; }

@media (min-width: 400px) {
  .info { padding: 40px 20px 34px; }
  .steps li { grid-template-columns: 36px minmax(0, 1fr); gap: 16px; font-size: 17px; }
  .num { width: 36px; height: 41px; margin-top: calc(.75em - 20.5px); }
  .info-actions .btn { padding: 0 20px; font-size: 15px; letter-spacing: .04em; }
}
/* stacked from 560 px as on wide screens, both as wide as the longer one: no ragged pair */
@media (min-width: 560px) {
  .info-actions { grid-template-columns: max-content; justify-content: start; }
  .info-actions .btn { width: auto; margin: 0 9px; }
}
/* up to 1179 px the panel keeps the cut-corner card: a hexagon here would stand taller than wide */
@media (min-width: 900px) {
  .info { padding: 64px 56px 60px; }
  .steps li { font-size: 19px; padding: 12px 0; grid-template-columns: 44px minmax(0, 1fr); gap: 22px; }
  .num { width: 44px; height: 50px; margin-top: calc(.75em - 25px); }
  .num > span { font-size: 15px; }
  .info-foot { margin-top: 28px; padding-top: 28px; }
}
@media (min-width: 1100px) {
  .info-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
  }
  .info-foot .after { max-width: 460px; }
  /* the kit's two slanted buttons, stacked */
  .info-actions { display: grid; grid-template-columns: 1fr; margin-top: 0; gap: 14px; }
  .info-actions .btn { width: calc(100% - 18px); margin: 0 9px; }
}
/* the bot's SETUP frame: wide, its points about 60 degrees. The five steps go in two columns so
   the panel stays about 690 px tall, and the 200 px points match that height */
@media (min-width: 1180px) {
  .info {
    --s: 200px;
    padding: 64px calc(var(--s) + 24px) 60px;
  }
  .steps { columns: 2; column-gap: 40px; }
  .steps li { break-inside: avoid; }
  .info::after {
    clip-path: polygon(0 50%, var(--s) 0, calc(100% - var(--s)) 0, 100% 50%, calc(100% - var(--s)) 100%, var(--s) 100%);
  }
  .info-ring::before {
    background:
      radial-gradient(260px 30px at 30% 0, #fff, rgba(255, 255, 255, 0) 70%),
      radial-gradient(90px 200px at calc(100% - 50px) 64%, #fff, rgba(255, 255, 255, 0) 70%),
      radial-gradient(280px 30px at 72% 100%, #fff, rgba(255, 255, 255, 0) 70%),
      radial-gradient(70px 160px at 42px 34%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%),
      linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .3));
    clip-path: polygon(evenodd,
      0 50%, var(--s) 0, calc(100% - var(--s)) 0, 100% 50%, calc(100% - var(--s)) 100%, var(--s) 100%, 0 50%,
      1.8px 50%, calc(var(--s) + .6px) 1px, calc(100% - var(--s) - .6px) 1px, calc(100% - 1.8px) 50%, calc(100% - var(--s) - .6px) calc(100% - 1px), calc(var(--s) + .6px) calc(100% - 1px), 1.8px 50%);
  }
  .info-tile {
    display: block;
    position: absolute;
    z-index: -2;
    max-width: none;
    overflow: visible;
    pointer-events: none;
  }
  .info-tile-a { width: 220px; height: 191px; right: calc(-1 * (var(--gutter) - 6px)); top: -78px; }
  .info-tile-b { width: 150px; height: 130px; left: calc(-1 * (var(--gutter) - 6px)); bottom: -58px; opacity: .75; }
}

/* ---------------------------------------------------------------- QUESTIONS */

.faq { padding-top: 8px; padding-bottom: 8px; }
/* the kit's list card: narrower than the slabs around it, set under the left-set title */
@media (min-width: 1024px) {
  .glass.faq { max-width: 980px; }
}
.faq details + details { border-top: 1px solid var(--line-mid); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px 2px;
  cursor: pointer;
  list-style: none;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary:focus-visible { outline-offset: 2px; }
.q-hex {
  flex: none;
  width: 22px;
  height: 25px;
  color: rgba(255, 255, 255, .8);
}
.q-hex path { stroke: currentColor; stroke-width: 2.6; }
.q-v { transform-origin: 20px 23px; }
details[open] .q-v { transform: scaleY(0); }
details[open] .q-hex { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .q-v { transition: transform .2s; }
}
.answer { padding: 0 2px 20px 34px; color: var(--text-soft); }
@media (min-width: 700px) {
  .faq summary { gap: 16px; }
  .answer { padding-left: 38px; }
}
@media (min-width: 1024px) {
  .faq { padding-top: 22px; padding-bottom: 22px; }
  .faq summary { font-size: 19px; min-height: 76px; }
  .answer { font-size: 17px; padding-bottom: 28px; max-width: 820px; }
}

/* ---------------------------------------------------------------- risk notice */

.risk { padding: 72px 0 80px; }
/* a symmetric composition, so it sits on the page axis like the footer under it */
.risk-panel {
  --c: 16px;
  position: relative;
  isolation: isolate;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px;
  text-align: center;
}
.risk-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(255, 255, 255, .36), rgba(255, 255, 255, .36));
  clip-path: polygon(evenodd,
    var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c), var(--c) 0,
    calc(var(--c) + .42px) 1px, 1px calc(var(--c) + .42px), 1px calc(100% - var(--c) - .42px), calc(var(--c) + .42px) calc(100% - 1px), calc(100% - var(--c) - .42px) calc(100% - 1px), calc(100% - 1px) calc(100% - var(--c) - .42px), calc(100% - 1px) calc(var(--c) + .42px), calc(100% - var(--c) - .42px) 1px, calc(var(--c) + .42px) 1px);
}
.risk-panel p { font-size: 16px; line-height: 1.7; color: #d4d5d7; text-align: left; }
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, .8);
}
.divider::before,
.divider::after {
  content: "";
  width: min(120px, 28%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6));
}
.divider::after { transform: scaleX(-1); }
.divider svg { width: 16px; height: 18px; }
.divider:first-child { margin-bottom: 18px; }
.divider:last-child { margin-top: 18px; }
@media (min-width: 700px) {
  .risk { padding: 112px 0 112px; }
  .risk-panel { padding: 36px 56px; }
  .risk-panel p { text-align: center; }
}

/* ---------------------------------------------------------------- footer: the title album, small */

.site-footer {
  position: relative;
  isolation: isolate;
  /* on a phone the links span the width: the lower ribbon gets its own band under them */
  padding: 64px 0 84px;
  text-align: center;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22) 25%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, .22) 75%, transparent);
}
/* the album's ornaments live in their own clipped layer; the footer text is never clipped */
.foot-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.foot-art .ribbon { position: absolute; height: auto; max-width: none; opacity: .85; }
.foot-ribbon-tl { left: 0; top: 0; width: clamp(220px, 40vw, 560px); }
/* the lower ribbon sits low and, under 1024 px, narrow: its lit edge passes below and right of the links */
.foot-ribbon-br { right: 0; bottom: -28px; width: clamp(220px, 30vw, 300px); }
.foot-hex { position: absolute; width: 170px; height: 196px; max-width: none; }
.foot-hex-a { top: -84px; right: -110px; }
.foot-hex-b { bottom: -110px; left: -124px; }
.foot { position: relative; display: flex; flex-direction: column; align-items: center; }
.foot-lockup { width: 92px; }
.site-footer .kicker { margin-top: 16px; font-size: 13px; letter-spacing: .16em; }
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 26px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-dim);
}
.foot-copy { display: block; width: 100%; padding-bottom: 6px; }
.foot-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255, 255, 255, .4);
}
.foot-meta a:hover { color: #fff; text-decoration-color: #fff; }
@media (min-width: 700px) {
  .site-footer { padding: 80px 0 48px; }
  .foot-lockup { width: 120px; }
  .site-footer .kicker { letter-spacing: .22em; }
  .site-footer .kicker-rule { width: 40px; }
  .foot-copy { width: auto; padding-bottom: 0; }
  .foot-hex { width: 220px; height: 254px; }
  .foot-hex-a { top: -96px; right: -96px; }
  /* far enough off the edge that its right side clears «© 2026 HexEdge» at 700 px */
  .foot-hex-b { bottom: -110px; left: -140px; }
}
@media (min-width: 1024px) {
  .foot-ribbon-br { width: clamp(220px, 40vw, 560px); }
}

/* ---------------------------------------------------------------- 404 */

.nf {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 36px;
  padding-top: 40px;
  padding-bottom: 56px;
  text-align: center;
}
.nf .tc { width: 100%; max-width: 900px; aspect-ratio: 16 / 9; }
.nf .tc .frame-169 { display: block; }
.nf .tc-in { width: 84%; }
.nf .tc .hairline { width: 46cqi; }
.nf .tc-title { font-size: clamp(22px, 7.6cqi, 96px); }
.nf .tc-line { margin: 1.6cqi 0 2.2cqi; font-size: clamp(13px, 3cqi, 24px); letter-spacing: .14em; }
.nf .tc-plate { margin-top: 3cqi; }

@media (prefers-reduced-motion: reduce) {
  .site-header.is-tucked { transform: none; }
}
