/* White Screen Checker. Ice page and #195AFE, in the same family as GamepadTesters. Diagnostic fields are in fields.css. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-50: #eff4ff;
  --blue-100: #eaf0ff;
  --blue-200: #cad7f6;
  --blue-400: #5b8cff;
  --blue-600: #195afe;
  --blue-700: #0b3fd1;
  --blue-800: #0a2fa8;
  --page: #fafafa;
  --surface: #ffffff;
  --surface-2: #f4f7ff;
  --text: #0b1530;
  --muted: #4a5878;
  --line: #e3e9f7;
  --control: #7583a3;
  --danger: #b91c1c;
  --warning: #92400e;
  --ok: #047857;
  --shadow: 0 12px 28px -8px rgba(25, 90, 254, 0.18);
  --radius-card: 24px;
  --header-h: 64px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--blue-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-800);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

p + p {
  margin-top: 0.75rem;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.atmosphere { display: none; }

.wrap {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .wrap { width: min(1200px, calc(100% - 48px)); }
}

@media (min-width: 1024px) {
  .wrap { width: min(1200px, calc(100% - 64px)); }
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 66px;
  display: flex;
  align-items: center;
  overflow: visible;
  background: #fff;
  border-bottom: 1px solid #e7e7e7;
}

.header__bar {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  margin-right: auto;
  line-height: 1.1;
}

.logo__word { white-space: nowrap; }
.logo__word em { font-style: normal; color: var(--blue-600); }

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  position: relative;
  flex: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px #195afe;
}

.logo__mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 11px;
  height: 12px;
  border-radius: 3px;
  background: #f7f9ff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--blue-100);
  color: var(--blue-700);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-more {
  display: none;
  position: relative;
}

.nav-more summary {
  list-style: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--blue-200);
  font-weight: 700;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more__bars,
.nav-more__bars::before,
.nav-more__bars::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  position: relative;
}

.nav-more__bars::before,
.nav-more__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-more__bars::before { top: -5px; }
.nav-more__bars::after { top: 5px; }

.mobile-nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(280px, 80vw);
  padding: 8px;
  background: #fff;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 10px 0 rgba(202, 215, 246, 0.7),
    0 22px 40px -18px rgba(25, 90, 254, 0.4);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: var(--blue-100);
}

.short-label { display: none; }

@media (max-width: 859px) {
  .nav { display: none; }
  .nav-more { display: block; }
  .wide-label { display: none; }
  .short-label { display: inline; }
}

@media (max-width: 720px) {
  .logo { font-size: 0.92rem; letter-spacing: -0.04em; }
}

@media (max-width: 420px) {
  .logo { font-size: 0.78rem; gap: 6px; }
  .logo__mark { width: 30px; height: 30px; }
  .header__bar { gap: 8px; }
  .header .btn { padding-inline: 10px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.btn--primary {
  color: #fff;
  background: #195afe;
  box-shadow: none;
}

.btn--primary:hover { color: #fff; background: #0b3fd1; }

.btn--primary:active { transform: translateY(1px); }

.btn--large { min-height: 56px; padding-inline: 28px; font-size: 1.05rem; }

.btn--primary:focus-visible {
  outline-color: var(--text);
}

.btn--secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--blue-200);
  box-shadow: 0 1px 2px rgba(11, 21, 48, 0.04);
}

.btn--secondary:hover { color: var(--text); background: var(--surface-2); }

.btn--secondary:active { transform: translateY(1px); }

.btn--ghost {
  min-height: 44px;
  padding-inline: 12px;
  background: transparent;
  color: var(--blue-700);
  box-shadow: none;
  text-decoration: underline;
}

.btn--small {
  min-height: 44px;
  padding-inline: 14px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.btn[disabled],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hero {
  position: relative;
  padding: 36px 0 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(25, 90, 254, 0.09);
  color: var(--blue-600);
  border: 1px solid rgba(25, 90, 254, 0.28);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-600);
}

.hero h1 {
  max-width: 14ch;
  margin-top: 16px;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  letter-spacing: -0.048em;
  line-height: 0.98;
}

.h1-mark { color: var(--blue-600); }

.lede {
  max-width: 62ch;
  margin-top: 12px;
  font-size: 1.08rem;
  color: var(--muted);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.trust li {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 650;
  box-shadow: inset 0 0 0 1px var(--line);
}

.device {
  margin-top: 28px;
  margin-bottom: 8px;
  padding: 0;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(22, 22, 26, 0.08);
  box-shadow:
    0 1px 2px rgba(16, 16, 24, 0.04),
    0 24px 48px -28px rgba(22, 22, 40, 0.35);
}

.device__inner {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
}

.workspace {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.workspace__stage { order: 1; }
.workspace__actions { order: 2; }
.workspace__tabs { order: 3; }
.workspace__controls { order: 4; }

@media (min-width: 1024px) {
  .workspace {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-areas:
      "tabs stage"
      "actions stage"
      "controls stage";
    column-gap: 18px;
    row-gap: 12px;
    align-items: start;
  }

  .workspace__tabs { grid-area: tabs; order: 0; }
  .workspace__actions { grid-area: actions; order: 0; }
  .workspace__controls { grid-area: controls; order: 0; }
  .workspace__stage { grid-area: stage; order: 0; align-self: stretch; }
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: var(--blue-100);
}

.tab {
  flex: 1 1 46%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #3e4c6e;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.2;
  padding: 8px 6px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .tab { flex: 1 1 40%; font-size: 0.82rem; }
}

.tab[aria-selected="true"] {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 1px 2px rgba(11, 21, 48, 0.06);
}

.panel { margin-top: 0; }
.workspace__controls .panel:first-child { margin-top: 0; }
.panel[hidden] { display: none; }

.panel__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.hint,
.field-caption,
.legend,
.disclaimer,
.capability,
.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.hint { margin-top: 8px; }

.swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.swatch {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 6px 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.swatch:hover { background: var(--blue-50); color: inherit; }

.swatch[aria-current="true"] {
  background: var(--blue-50);
  box-shadow: inset 0 0 0 2px var(--blue-600);
}

.swatch__chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(11, 21, 48, 0.18);
}

.swatch[data-tone="light"] .swatch__chip {
  box-shadow:
    inset 0 0 0 1px #7583a3,
    inset 0 0 0 3px #fff;
}

.swatch[data-tone="dark"] .swatch__chip {
  box-shadow:
    inset 0 0 0 1px #fff,
    inset 0 0 0 2px #0b1530;
}

.swatch__name {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.2;
}

.swatch__hex {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.stack { display: grid; gap: 10px; }
.stack--gap { margin-top: 10px; }
.footer__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.footer__brand em { font-style: normal; color: #8fb2ff; }

.field-label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.input,
.select,
textarea {
  width: 100%;
  border: 1px solid #d7d5de;
  border-radius: 11px;
  background: #fafafb;
  color: var(--text);
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.input:hover,
.select:hover,
textarea:hover { border-color: #b7b4c2; background: #fff; }

.input:focus,
.select:focus,
textarea:focus {
  outline: none;
  border-color: #195afe;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(25, 90, 254, 0.14);
}

.input,
.select {
  min-height: 48px;
  padding: 0 12px;
}

textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.field-error {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 650;
  margin: 6px 0 0;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 44px;
  margin-top: 8px;
  font-weight: 600;
}

.check input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--blue-600);
  flex: none;
}

.workspace__actions {
  display: grid;
  gap: 10px;
}

.workspace__actions .btn { width: 100%; }
.workspace__actions .check { margin-top: 0; }
.workspace__actions .hint { margin-top: 0; }

.disclaimer {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-800);
  border: 1px solid var(--blue-200);
  font-weight: 650;
}

.page-link { margin: 0; font-size: 0.92rem; }

.field-frame {
  background: var(--surface-2);
  padding: 8px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--blue-200);
  height: 100%;
}

.field {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 180px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  filter: none;
  opacity: 1;
  box-shadow: none;
}

.field canvas,
.session__field canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: none;
  opacity: 1;
}

canvas[hidden],
[hidden] {
  display: none !important;
}

.field-caption,
.legend {
  margin-top: 8px;
}

.legend:empty { display: none; }

.capability {
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px var(--line);
}

.section { margin-top: 64px; }

.section__head {
  max-width: 68ch;
  margin-bottom: 18px;
}

.section__head h2 + p,
.section__kicker + h2 { margin-top: 8px; }

.section__kicker {
  color: var(--blue-700);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid--sym { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .grid--6 { grid-template-columns: 1fr 1fr 1fr; }
  .grid--sym { grid-template-columns: repeat(6, 1fr); }
  .grid--sym .card:nth-child(-n + 3) { grid-column: span 2; }
  .grid--sym .card:nth-child(n + 4) { grid-column: span 3; }
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow:
    0 1px 1px rgba(11, 21, 48, 0.03),
    0 2px 6px rgba(11, 21, 48, 0.04),
    0 12px 28px -8px rgba(25, 90, 254, 0.12);
}

.card--link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  height: 100%;
  transition: transform 150ms ease;
}

.card--link:hover {
  color: inherit;
  transform: translateY(-4px);
}

.card--link:active { transform: translateY(2px); }

.icon-blob {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  box-shadow: none;
}

.icon-blob--blue,
.icon-blob--soft,
.icon-blob--deep { background: rgba(25, 90, 254, 0.1); color: var(--blue-600); }

.card h3 { font-size: 1.15rem; }

.card p { color: var(--muted); font-size: 0.98rem; }

.card .btn { margin: 8px 8px 0 0; }

.mini-frame {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(11, 21, 48, 0.12);
}

.mini {
  display: block;
  height: 84px;
}

.mini--ramp {
  background: linear-gradient(90deg, #000000, #ffffff);
}

.step-no {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 45%),
    linear-gradient(180deg, #6d97ff, #195afe);
  box-shadow: 0 8px 16px -6px rgba(25, 90, 254, 0.45);
}

.privacy-band {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(25, 90, 254, 0.1), transparent 70%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px -8px rgba(25, 90, 254, 0.12);
}

@media (min-width: 800px) {
  .privacy-band { grid-template-columns: 1.4fr 1fr; align-items: center; }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.chips li {
  background: var(--blue-50);
  color: var(--blue-800);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 20px -12px rgba(25, 90, 254, 0.18);
}

.faq + .faq { margin-top: 12px; }

.faq summary {
  cursor: pointer;
  min-height: 52px;
  padding: 14px 18px;
  font-weight: 750;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue-600);
  font-weight: 700;
}

.faq[open] summary::after { content: "–"; }

.faq__body {
  padding: 0 18px 16px;
  color: var(--muted);
  max-width: 70ch;
}

.diagram {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
}

.diagram__art {
  height: 72px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(11, 21, 48, 0.08);
}

.art-dust { background: #ffffff; }
.art-dust i,
.art-pixel i {
  position: absolute;
  border-radius: 50%;
}
.art-dust i:first-child { width: 14px; height: 10px; left: 18px; top: 26px; background: #d9dee8; transform: rotate(-18deg); }
.art-dust i:last-child { width: 4px; height: 4px; right: 22px; top: 22px; background: #111; }
.art-pixel { background: #ffffff; }
.art-pixel i { width: 4px; height: 4px; left: 40px; top: 34px; background: #111; }
.art-band {
  background: linear-gradient(90deg, #808080 0 18%, #8d8d8d 18% 36%, #808080 36% 62%, #737373 62% 80%, #808080 80% 100%);
}
.art-glow {
  background: #000;
}
.art-glow::after {
  content: "";
  position: absolute;
  inset: auto -10px -16px auto;
  width: 70px;
  height: 48px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 68%);
}

.footer {
  margin-top: 72px;
  background: #0b1530;
  color: #f3f6ff;
}

.footer__accent {
  height: 6px;
  background: linear-gradient(90deg, #0b3fd1, #195afe 55%, #5b8cff);
}

.footer__inner {
  display: grid;
  gap: 22px;
  padding: 32px 0 40px;
}

@media (min-width: 800px) {
  .footer__inner { grid-template-columns: 1.3fr 1fr 1fr; }
}

.footer a { color: #d5e2ff; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer a:focus-visible { outline-color: #fff; }

.footer p { color: #b3c2e1; max-width: 42ch; }

.footer h2 {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 6px 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.crumbs a { text-decoration: none; font-weight: 650; }

.page-head { margin-bottom: 16px; max-width: 70ch; }
.page-head h1 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.page { padding-top: 18px; }

.split {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
  .related { position: sticky; top: 88px; }
}

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { margin: 0.6em 0 0; padding-left: 1.2em; }
.prose li + li { margin-top: 0.35em; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 0.82rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); }

.callout {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1px var(--blue-200);
}

.callout--warn {
  background: #fff7ed;
  color: var(--warning);
  box-shadow: inset 0 0 0 1px #fed7aa;
}

.related ul { list-style: none; padding: 0; margin: 10px 0 0; }
.related li + li { margin-top: 10px; }
.related a { font-weight: 750; text-decoration: none; }
.related p { margin: 0; }

.summary { margin-top: 28px; }
.summary ol { margin: 8px 0 0; padding-left: 1.2em; }
.status { min-height: 1.4em; font-weight: 650; color: var(--ok); }

.guide-cols {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .guide-cols { grid-template-columns: 1fr 1fr; }
}

.session[hidden] { display: none !important; }

.session {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 2147483000;
  margin: 0;
  background: #000;
}

.session.is-fallback {
  width: 100vw;
  height: 100dvh;
}

.field[data-field] {
  cursor: pointer;
}
.field[data-field]:focus-visible {
  outline: 3px solid #195afe;
  outline-offset: 3px;
}

.session:fullscreen,
.session:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background: #000;
}

.session__field {
  position: absolute;
  inset: 0;
  border-radius: 0;
  filter: none;
  opacity: 1;
  box-shadow: none;
  background-image: none;
}

.session__field:focus,
.session__field:focus-visible {
  outline: none;
}

.session__field canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: none;
}

.session.is-paused .session__field { visibility: hidden; }

.session.is-idle,
.session.is-idle .session__field { cursor: none; }

.session__bar,
.session__warn,
.session__pause {
  font-family: var(--font);
}

.session__bar {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 20px));
  padding: 12px;
  border-radius: 20px;
  background: rgba(8, 12, 24, 0.92);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.session.is-ui-hidden .session__bar {
  visibility: hidden;
}

.session__label {
  font-weight: 800;
  font-size: 1rem;
}

.session__hint,
.session__keys,
.session__mode {
  margin: 4px 0 0;
  color: #e7ecf8;
  font-size: 0.92rem;
}

.session__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.session__bar button,
.session__warn button,
.session__pause button {
  min-height: 48px;
  min-width: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 2px solid #fff;
  background: #101828;
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

.session__bar button:hover,
.session__warn button:hover,
.session__pause button:hover {
  background: #1d2939;
}

.session__bar button:focus-visible,
.session__warn button:focus-visible,
.session__pause button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #195afe;
}

.session__bar button:disabled,
.session__warn button:disabled,
.session__pause button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.session__bar button[data-act="exit"],
.session__pause button[data-act="resume"] {
  background: #fff;
  color: #0b1530;
}

.session__help {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.session__help[hidden] { display: none; }

.session__warn {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 20px));
  background: #fff;
  color: #0b1530;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.session__warn[hidden] { display: none; }

.session__warn p { margin-bottom: 8px; }

.session__pause {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(420px 240px at 20% 10%, rgba(25, 90, 254, 0.35), transparent 70%),
    #0b1530;
  color: #fff;
  text-align: center;
}

.session__pause[hidden] { display: none; }

.session__pause h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.session__pause p { max-width: 46ch; color: #d5e2ff; }
.session__pause .session__actions { justify-content: center; }

.noscript {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

@media (max-width: 639px) {
  .section { margin-top: 48px; }
  .hero h1 { max-width: none; }
  .card { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.app {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 100vh;
  background:
    radial-gradient(720px 320px at 18% 0%, rgba(25, 90, 254, 0.06), transparent 70%),
    #f3f2f6;
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow: auto;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  border-right: 1px solid #e6e4ec;
  box-shadow: 8px 0 32px -28px rgba(22, 22, 40, 0.45);
  padding: 22px 14px 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #16161a;
  margin: 0 6px 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eeeef2;
}

.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid #16161a;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.brand__pane {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #195afe;
}

.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.side-group { margin-top: 18px; }
.side-group h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px 6px;
  font-family: var(--font);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6a78;
  font-weight: 700;
}
.side-ico { width: 16px; height: 16px; display: grid; flex: none; }
.side-ico svg { width: 16px; height: 16px; }
.side-group__links { display: grid; gap: 2px; }
.side-group a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  text-decoration: none;
  color: #1c1c22;
  font-size: 0.92rem;
  font-weight: 560;
}
.side-group a:hover { background: #f4f5f8; color: #16161a; }
.side-group a[aria-current="page"] {
  background: #eef2ff;
  color: #0b3fd1;
  box-shadow: inset 3px 0 0 #195afe;
}
.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(22, 22, 26, 0.16);
}
.nav-mark {
  width: 6px;
  height: 6px;
  margin-left: 3px;
  border-radius: 99px;
  flex: none;
  background: #195afe;
  box-shadow: none;
}

.sidebar__nav--mobile { display: none; }
.sidebar__nav--mobile summary {
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  margin-top: 4px;
  border-radius: 12px;
  border: 1px solid #e4e2ea;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 16, 24, 0.04);
  font-weight: 700;
  cursor: pointer;
}
.sidebar__nav--mobile summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #16161a;
  border-bottom: 2px solid #16161a;
  transform: rotate(45deg) translateY(-2px);
}
.sidebar__nav--mobile[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.hero .lede { margin-top: 14px; max-width: 40rem; color: #4a4658; font-size: 1.12rem; }
.sidebar__nav--mobile summary::-webkit-details-marker { display: none; }

.app-main { min-width: 0; }

.btn--ink {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2c2c32 0%, #121216 100%);
  color: #fff;
  border: 1px solid #0c0c0e;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 20px -12px rgba(0, 0, 0, 0.55);
}
.btn--ink:hover { color: #fff; background: linear-gradient(180deg, #3a3a42, #000); }
.btn--ink:active { transform: translateY(1px); }

.colour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.colour-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4e2ea;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.colour-tile {
  box-shadow: 0 1px 2px rgba(16, 16, 24, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.colour-tile:hover {
  color: inherit;
  border-color: #195afe;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(25, 90, 254, 0.45);
}
.colour-tile__face {
  display: block;
  height: 96px;
  box-shadow: inset 0 0 0 1px rgba(22, 22, 26, 0.12);
}
.colour-tile__meta {
  display: grid;
  gap: 2px;
  padding: 12px 14px 14px;
}
.colour-tile__meta strong { font-size: 1rem; }
.colour-tile__meta span { color: #5c5670; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.colour-tile__meta small { color: #5c5670; font-size: 0.85rem; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid #e6e4ec;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px -18px rgba(22, 22, 40, 0.5);
}
.steps li > span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #16161a;
  color: #fff;
  font-weight: 700;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { color: #5c5670; margin: 0; }

.footer {
  background: #fff;
  color: #16161a;
  border-top: 1px solid #e4e2ea;
}
.footer__accent { display: none; }
.footer p, .footer h2 { color: #3c3848; }
.footer a { color: #0b3fd1; }
.footer__brand, .footer__brand em { color: #16161a; }

@media (min-width: 960px) {
  .workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    grid-template-areas: "stage rail";
    align-items: stretch;
  }
  .workspace__stage { grid-area: stage; order: 0; }
  .workspace__rail {
    grid-area: rail;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .field { min-height: 460px; aspect-ratio: auto; }
}

.workspace__rail { display: flex; flex-direction: column; gap: 14px; }
.field-frame { border-radius: 18px; }

@media (max-width: 959px) {
  .workspace { display: flex; flex-direction: column; }
  .workspace__stage { order: -1; }
  .app { display: block; }
  .sidebar {
    position: sticky;
    top: 0;
    height: auto;
    overflow: visible;
    z-index: 30;
    border-right: 0;
    border-bottom: 1px solid #e4e2ea;
    padding-bottom: 8px;
  }
  .sidebar__nav--desk { display: none; }
  .sidebar__nav--mobile { display: block; position: relative; }
  .sidebar__nav--mobile[open] nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    max-height: calc(100dvh - 168px);
    overflow: auto;
    padding: 8px 0 12px;
    background: #fff;
    border: 1px solid #e4e2ea;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(16, 16, 24, 0.14);
    z-index: 2;
  }
  .colour-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero { padding-top: 22px; }
  .hero h1 { font-size: 2.35rem; }
  .colour-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .device__inner { padding: 12px; }
  .app-main { padding-bottom: 24px; }
}

.order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.order-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: #fff;
  border: 1px solid #eceaf1;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(16, 16, 24, 0.03);
}
.order-list__n {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16161a;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}
.order-list__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 4px;
}
.order-list p:last-child { color: #5c5670; margin: 0; }

.tip-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 28px;
  padding: 22px;
  background: #f7f6fb;
  border: 1px solid #eceaf1;
  border-radius: 18px;
}
.tip-card__ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e4e2ea;
}
.tip-card h2 { font-size: 1.15rem; margin-bottom: 6px; }
.tip-card p { margin: 0; color: #5c5670; }

.care-grid, .notice-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 800px) {
  .care-grid, .notice-grid { grid-template-columns: 1fr 1fr; }
}
.care-card, .notice-card {
  background: #f7f6fb;
  border: 1px solid #eceaf1;
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.notice-card { background: #fff; }
.care-card__ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  margin-bottom: 12px;
  box-shadow: inset 0 0 0 1px #e6e4ec;
}
.care-card h3, .notice-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.care-card p, .notice-card p { margin: 0; color: #5c5670; }
.notice-card__k {
  margin: 10px 0 2px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8a8496;
}
.notice-card__k--next { color: #195afe; }

.faq-sheet {
  background: #fff;
  border: 1px solid #eceaf1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 16, 24, 0.03);
}
.faq-sheet .faq {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border-bottom: 1px solid #eeeef2;
}
.faq-sheet .faq:last-child { border-bottom: 0; }
.faq-sheet .faq summary { min-height: 56px; }
.faq-sheet .faq__body { padding-top: 0; }

.footer {
  background: #fff;
  color: #16161a;
  border-top: 1px solid #eceaf1;
  margin-top: 72px;
}
.footer__grid {
  display: grid;
  gap: 28px 24px;
  padding: 36px 0 28px;
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
}
.footer__brand-col .brand { margin: 0 0 12px; padding: 0; border: 0; }
.footer__brand-col p { margin: 0 0 10px; max-width: 36ch; color: #5c5670; }
.footer h2 {
  font-family: var(--font);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: #16161a;
  margin: 0 0 10px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a { color: #3d455c; text-decoration: none; font-weight: 500; }
.footer a:hover { color: #195afe; }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 0 22px;
  border-top: 1px solid #eceaf1;
}
.footer__bar p { margin: 0; color: #6e6a78; font-size: 0.9rem; }

@media print {
  .atmosphere,
  .sidebar,
  .footer,
  .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .device, .faq { box-shadow: none; }
  a { color: #000; }
}
