/* Monochrome Space console. Query-string versioning in index.html invalidates CDN caches. */
@font-face {
  font-family: "Exo 2";
  src: url("/fonts/exo-2-cyrillic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Russo One";
  src: url("/fonts/russo-one-cyrillic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000;
  --surface-0: #050505;
  --surface-1: #0a0a0a;
  --surface-2: #111;
  --surface-3: #191919;
  --ink: #f6f6f2;
  --ink-strong: #fff;
  --ink-inverse: #050505;
  --muted: #9b9b97;
  --muted-bright: #c7c7c2;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.5);
  --accent: #f6f6f2;
  --accent-rgb: 246, 246, 242;
  --signal: #f6f6f2;
  --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
  font-family: "Exo 2", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.055), transparent 31%),
    radial-gradient(circle at 88% 68%, rgba(255, 255, 255, 0.035), transparent 34%),
    linear-gradient(155deg, #080808 0%, #000 48%, #050505 100%);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.home-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 64% 34%, black 0 18%, transparent 74%);
}

.system-chrome {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  min-height: 48px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 24px;
  background: rgba(0, 0, 0, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.system-brand {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Russo One", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.system-brand img {
  width: 24px;
  height: 24px;
}

.system-center {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.system-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.system-actions .install-app-button[hidden] {
  display: none;
}

.system-session {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--muted-bright);
  border: 1px solid var(--line);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-session b {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  color: var(--ink);
  font-family: "Russo One", sans-serif;
  font-size: 9px;
  font-weight: 400;
}

.home-shell {
  width: min(1540px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 24px;
}

.home-dashboard {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100dvh - 112px));
  grid-template-columns: minmax(390px, 0.82fr) minmax(640px, 1.18fr);
  overflow: hidden;
  background: rgba(3, 3, 3, 0.92);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.48),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

.home-dashboard::before,
.home-dashboard::after {
  position: absolute;
  z-index: 5;
  width: 22px;
  height: 22px;
  content: "";
  pointer-events: none;
}

.home-dashboard::before {
  inset: -1px auto auto -1px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.home-dashboard::after {
  inset: auto -1px -1px auto;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.home-hero {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: start;
  padding: clamp(38px, 4.8vw, 76px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 46%),
    linear-gradient(20deg, #080808, #010101 66%);
  border-right: 1px solid var(--line);
}

.home-hero::before {
  position: absolute;
  inset: 0 auto 0 32px;
  width: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  animation: console-enter 560ms var(--ease) both;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-bright);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.hero-overline i {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero-copy h1 {
  max-width: 100%;
  margin: 24px 0 0;
  color: var(--ink-strong);
  font-family: "Russo One", sans-serif;
  font-size: clamp(86px, 9vw, 148px);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-wrap: nowrap;
}

.hero-copy > p {
  width: min(490px, 100%);
  margin: 38px 0 0;
  color: var(--muted-bright);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: stretch;
  margin-top: 34px;
}

.hero-auth-button {
  position: relative;
  display: grid;
  width: min(100%, 360px);
  min-height: 68px;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 17px 10px 10px;
  overflow: hidden;
  color: var(--ink-inverse);
  background: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 220ms var(--ease);
}

.hero-auth-button::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.24) 50%, transparent 68%);
  opacity: 0;
  transform: translateX(-70%);
}

.hero-auth-button:disabled {
  color: var(--muted);
  background: var(--surface-2);
  border-color: var(--line);
  cursor: wait;
}

.hero-auth-button:not(:disabled):hover,
.hero-auth-button:not(:disabled):focus-visible {
  color: var(--ink);
  background: var(--surface-1);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.hero-auth-button:not(:disabled):hover::after,
.hero-auth-button:not(:disabled):focus-visible::after {
  animation: auth-scan 560ms var(--ease) both;
}

.hero-auth-button.is-authenticated {
  color: var(--ink);
  background: var(--surface-2);
  border-color: var(--ink);
}

.hero-auth-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: currentColor;
  background: color-mix(in srgb, currentColor 9%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
}

.hero-auth-icon svg {
  width: 19px;
  height: 19px;
}

.hero-auth-button > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.hero-auth-button small {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.hero-auth-button strong {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.hero-auth-button > svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms var(--ease);
}

.hero-auth-button:not(:disabled):hover > svg,
.hero-auth-button:not(:disabled):focus-visible > svg {
  transform: translateX(4px);
}

.space-signal-console {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  display: grid;
  width: min(360px, 100%);
  gap: 5px;
  padding: 12px 14px;
  pointer-events: none;
  color: var(--ink);
  background: rgba(4, 4, 4, 0.88);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 180ms ease,
    transform 240ms var(--ease),
    visibility 180ms ease;
}

.space-signal-console.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.space-signal-console span {
  color: var(--muted-bright);
  font-family: "Russo One", sans-serif;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.space-signal-console strong {
  font-size: 13px;
  letter-spacing: 0.03em;
}

.space-signal-console small {
  color: var(--muted-bright);
  font-size: 10px;
  line-height: 1.45;
}

.space-orbit {
  position: absolute;
  z-index: 1;
  right: -17%;
  bottom: -26%;
  width: min(650px, 124%);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.64;
  transform: rotate(-10deg);
  animation: orbit-arrive 800ms 120ms var(--ease) both;
}

.orbit-ring,
.orbit-axis,
.orbit-sweep,
.orbit-node,
.orbit-core {
  position: absolute;
}

.orbit-ring {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.orbit-ring-a {
  inset: 10%;
}

.orbit-ring-b {
  inset: 24%;
  border-color: rgba(255, 255, 255, 0.16);
}

.orbit-axis-x {
  top: 50%;
  right: 4%;
  left: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.orbit-axis-y {
  top: 4%;
  bottom: 4%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.orbit-sweep {
  inset: 10%;
  border-radius: 50%;
  animation: orbit-sweep 14s linear infinite;
}

.orbit-sweep::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78), transparent);
  transform-origin: left center;
}

.orbit-core {
  inset: 36%;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  appearance: none;
  cursor: crosshair;
  pointer-events: auto;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 280ms ease,
    transform 280ms var(--ease);
  z-index: 3;
}

.orbit-core::after {
  position: absolute;
  inset: -12%;
  content: "";
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  animation: core-spin 24s linear infinite reverse;
}

.orbit-core img {
  width: 56%;
  height: 56%;
}

.orbit-core:hover,
.orbit-core:focus-visible {
  background: rgba(12, 12, 12, 0.94);
  border-color: rgba(255, 255, 255, 0.76);
  transform: scale(1.045);
}

.orbit-core:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 7px;
}

.orbit-core-status {
  position: absolute;
  right: 50%;
  bottom: 11%;
  color: var(--ink-inverse);
  background: var(--ink);
  padding: 3px 6px;
  font-family: "Russo One", sans-serif;
  font-size: 5px;
  letter-spacing: 0.18em;
  opacity: 0;
  transform: translateX(50%) translateY(5px);
  transition:
    opacity 180ms ease,
    transform 220ms var(--ease);
}

.orbit-fragment-status {
  position: absolute;
  top: 10%;
  left: 50%;
  padding: 3px 5px;
  color: var(--muted-bright);
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: "Russo One", sans-serif;
  font-size: 5px;
  line-height: 1;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.orbit-signal-map {
  position: absolute;
  inset: 7%;
  z-index: 2;
  width: 86%;
  height: 86%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms ease;
}

.signal-line,
.signal-spoke {
  fill: none;
  stroke-width: 0.48;
  stroke-linecap: square;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  vector-effect: non-scaling-stroke;
}

.signal-spoke {
  stroke-width: 0.24;
  opacity: 0.5;
}

.signal-line-video {
  stroke: #9b87ff;
}

.signal-line-audio {
  stroke: #8affe2;
}

.signal-line-voice {
  stroke: #d7ff63;
}

.signal-line-roots {
  stroke: #d6a760;
}

.orbit-node {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--muted-bright);
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  font-family: "Russo One", sans-serif;
  font-size: 10px;
  transition:
    color 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    transform 260ms var(--ease);
}

.orbit-node-video {
  top: 5%;
  left: 47%;
  --orbit-accent: #9b87ff;
}

.orbit-node-audio {
  top: 46%;
  right: 4%;
  --orbit-accent: #8affe2;
}

.orbit-node-voice {
  right: 42%;
  bottom: 3%;
  --orbit-accent: #d7ff63;
}

.orbit-node-roots {
  top: 42%;
  left: 3%;
  --orbit-accent: #d6a760;
}

.home-dashboard[data-active-service="video"] .orbit-node-video,
.home-dashboard[data-active-service="audio"] .orbit-node-audio,
.home-dashboard[data-active-service="voice"] .orbit-node-voice,
.home-dashboard[data-active-service="roots"] .orbit-node-roots {
  color: #050505;
  background: #fff;
  border-color: #fff;
  transform: scale(1.24);
}

.home-dashboard[data-signal-progress="1"] .orbit-node-video,
.home-dashboard[data-signal-progress="2"] :is(.orbit-node-video, .orbit-node-audio),
.home-dashboard[data-signal-progress="3"] :is(.orbit-node-video, .orbit-node-audio, .orbit-node-voice),
.home-dashboard.is-signal-armed .orbit-node,
.home-dashboard.is-signal-playing .orbit-node {
  color: #050505;
  background: var(--orbit-accent);
  border-color: var(--orbit-accent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--orbit-accent) 36%, transparent);
  transform: scale(1.18);
}

.orbit-node.is-fragment-collected {
  color: #050505;
  background: var(--orbit-accent);
  border-color: var(--orbit-accent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--orbit-accent) 28%, transparent);
}

.signal-line.is-fragment-collected {
  stroke-dashoffset: 0;
}

.home-dashboard.has-collected-fragments .orbit-signal-map {
  opacity: 0.14;
}

.home-dashboard.is-fragment-complete .orbit-signal-map {
  opacity: 0.62;
}

.home-dashboard.is-fragment-complete .orbit-fragment-status {
  color: #050505;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.22);
}

.home-dashboard.is-fragment-complete .orbit-core {
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 0 38px rgba(255, 255, 255, 0.14);
}

.home-dashboard.is-signal-armed .orbit-core {
  border-color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 42px rgba(255, 255, 255, 0.18);
  transform: scale(1.065);
}

.home-dashboard.is-signal-armed .orbit-core::after {
  animation-duration: 3.2s;
}

.home-dashboard.is-signal-discovered .orbit-core-status {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.home-dashboard.is-signal-discovered .orbit-signal-map {
  opacity: 0.22;
}

.home-dashboard.is-signal-discovered :is(.signal-line, .signal-spoke) {
  stroke-dashoffset: 0;
}

.home-dashboard.is-signal-playing .orbit-signal-map {
  opacity: 0.95;
}

.home-dashboard.is-signal-playing .signal-line {
  animation: signal-trace 980ms var(--ease) both;
}

.home-dashboard.is-signal-playing .signal-spoke {
  animation: signal-trace 720ms 620ms var(--ease) both;
}

.home-dashboard.is-signal-playing .orbit-core img {
  animation: signal-core-pulse 2.4s 520ms var(--ease) both;
}

.home-dashboard.is-signal-playing .home-hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0 42%,
    rgba(155, 135, 255, 0.08) 47%,
    rgba(138, 255, 226, 0.1) 50%,
    rgba(215, 255, 99, 0.08) 53%,
    transparent 58% 100%
  );
  transform: translateX(-110%);
  animation: signal-scan 2.8s 180ms var(--ease) both;
}

.home-page.is-signal-playing .custom-cursor-ring {
  border-style: dashed;
  animation: core-spin 1.8s linear infinite;
}

.service-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto repeat(2, minmax(0, 1fr));
  background: #020202;
}

.service-grid-header {
  display: flex;
  min-height: 58px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  color: var(--muted-bright);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.service-grid-header small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.service-grid-header kbd {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: "Russo One", sans-serif;
  font-size: 8px;
  font-weight: 400;
}

.service-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 330px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 16px 20px;
  padding: clamp(24px, 2.7vw, 42px);
  overflow: hidden;
  color: var(--ink);
  background: var(--surface-1);
  text-decoration: none;
  animation: card-enter 520ms var(--ease) both;
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 260ms var(--ease);
}

.service-card:nth-of-type(1) {
  animation-delay: 80ms;
}

.service-card:nth-of-type(2) {
  animation-delay: 140ms;
}

.service-card:nth-of-type(3) {
  animation-delay: 200ms;
}

.service-card:nth-of-type(4) {
  animation-delay: 260ms;
}

.service-video,
.service-voice {
  border-right: 1px solid var(--line);
}

.service-video,
.service-audio {
  border-bottom: 1px solid var(--line);
}

.service-video {
  --service-accent: #9b87ff;
  --service-accent-rgb: 155, 135, 255;
}

.service-audio {
  --service-accent: #8affe2;
  --service-accent-rgb: 138, 255, 226;
}

.service-voice {
  --service-accent: #d7ff63;
  --service-accent-rgb: 215, 255, 99;
}

.service-roots {
  --service-accent: #d6a760;
  --service-accent-rgb: 214, 167, 96;
}

.service-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: currentColor;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 300ms var(--ease);
}

.service-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 50%, transparent 58% 100%);
  opacity: 0;
  transform: translateX(-65%);
}

.service-card:hover,
.service-card:focus-visible {
  z-index: 2;
  color: var(--ink-inverse);
  background: var(--ink-strong);
  outline: 1px solid var(--ink-strong);
  outline-offset: -1px;
  transform: translateY(-3px);
}

.service-card:hover::before,
.service-card:focus-visible::before {
  transform: scaleY(1);
}

.service-card:hover::after,
.service-card:focus-visible::after {
  animation: card-scan 620ms var(--ease) both;
}

.service-topline {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-number {
  font-family: "Russo One", sans-serif;
  font-size: 11px;
}

.service-access {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  color: var(--muted-bright);
  border: 1px solid var(--line);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.service-access i {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}

.service-card:hover .service-access,
.service-card:focus-visible .service-access {
  color: var(--ink-inverse);
  border-color: rgba(0, 0, 0, 0.26);
}

.service-icon {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  grid-column: 2;
  grid-row: 2;
  place-items: center;
  color: var(--service-accent);
  background: rgba(var(--service-accent-rgb), 0.055);
  border: 1px solid rgba(var(--service-accent-rgb), 0.46);
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 300ms var(--ease);
}

.service-icon::before {
  position: absolute;
  inset: -1px;
  content: "";
  border: 1px solid currentColor;
  opacity: 0;
  pointer-events: none;
}

.service-icon svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  transform-origin: center;
  transition: transform 300ms var(--ease);
}

.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
  color: var(--service-accent);
  background: var(--ink-inverse);
  border-color: var(--ink-inverse);
  box-shadow:
    0 0 0 1px rgba(var(--service-accent-rgb), 0.16),
    0 12px 28px rgba(var(--service-accent-rgb), 0.16);
}

.service-card:hover .service-icon::before,
.service-card:focus-visible .service-icon::before {
  animation: service-icon-signal 720ms var(--ease) both;
}

.service-video:hover .service-icon svg,
.service-video:focus-visible .service-icon svg {
  animation: service-video-shuttle 640ms var(--ease) both;
}

.service-audio:hover .service-icon svg,
.service-audio:focus-visible .service-icon svg {
  animation: service-audio-spin 760ms var(--ease) both;
}

.service-voice:hover .service-icon svg,
.service-voice:focus-visible .service-icon svg {
  animation: service-voice-pulse 680ms var(--ease) both;
}

.service-roots:hover .service-icon svg,
.service-roots:focus-visible .service-icon svg {
  animation: service-roots-grow 760ms var(--ease) both;
}

@keyframes service-icon-signal {
  0% {
    opacity: 0.82;
    transform: scale(0.78);
  }
  62% {
    opacity: 0.34;
    transform: scale(1.18);
  }
  100% {
    opacity: 0;
    transform: scale(1.38);
  }
}

@keyframes service-video-shuttle {
  0% { transform: translate3d(0, 0, 0) rotate(0) scale(1); }
  30% { transform: translate3d(4px, -2px, 0) rotate(4deg) scale(1.08); }
  54% { transform: translate3d(-2px, 1px, 0) rotate(-3deg) scale(0.98); }
  78% { transform: translate3d(3px, 0, 0) rotate(2deg) scale(1.08); }
  100% { transform: translate3d(2px, 0, 0) rotate(0) scale(1.04); }
}

@keyframes service-audio-spin {
  0% { transform: rotate(0) scale(1); }
  42% { transform: rotate(190deg) scale(0.9); }
  72% { transform: rotate(330deg) scale(1.14); }
  100% { transform: rotate(360deg) scale(1.06); }
}

@keyframes service-voice-pulse {
  0% { transform: scaleX(1) scaleY(1); }
  25% { transform: scaleX(0.88) scaleY(1.35); }
  48% { transform: scaleX(1.12) scaleY(0.78); }
  72% { transform: scaleX(0.92) scaleY(1.5); }
  100% { transform: scaleX(1) scaleY(1.14); }
}

@keyframes service-roots-grow {
  0% { transform: translateY(0) rotate(0) scale(1); }
  30% { transform: translateY(-1px) rotate(-13deg) scale(1.05); }
  56% { transform: translateY(0) rotate(9deg) scale(1.12); }
  80% { transform: translateY(-1px) rotate(-6deg) scale(1.08); }
  100% { transform: translateY(0) rotate(-4deg) scale(1.08); }
}

.temp-storage {
  position: relative;
  display: grid;
  min-width: 0;
  grid-column: 1 / -1;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 38%),
    #030303;
  border-top: 1px solid var(--line-strong);
}

.temp-storage::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--ink);
}

.temp-storage-header {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.temp-storage-index {
  align-self: start;
  color: var(--muted);
  font-family: "Russo One", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.temp-storage-overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--muted-bright);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.temp-storage-overline i {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.temp-storage-header h2 {
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-size: clamp(40px, 5.8vw, 86px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.temp-storage-header > div > p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted-bright);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
}

.temp-storage-rules {
  display: grid;
  min-width: 210px;
  border-top: 1px solid var(--line);
}

.temp-storage-rules span {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.temp-storage-rules strong {
  color: var(--ink);
  font-family: "Russo One", sans-serif;
  font-size: 11px;
  font-weight: 400;
}

.temp-storage-meter {
  display: grid;
  min-height: 58px;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(24px, 4vw, 64px);
  color: var(--muted-bright);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.temp-storage-meter-track {
  height: 3px;
  overflow: hidden;
  background: var(--surface-3);
}

.temp-storage-meter-track i,
.temp-upload-progress > span i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ink);
  transition: width 240ms var(--ease);
}

.temp-storage-meter time {
  color: var(--muted);
  white-space: nowrap;
}

.temp-storage-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
}

.temp-storage-panel {
  min-width: 0;
  padding: clamp(24px, 4vw, 54px);
}

.temp-entry-panel {
  border-right: 1px solid var(--line);
}

.temp-storage-panel > header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 26px;
}

.temp-panel-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
}

.temp-panel-icon svg {
  width: 19px;
  height: 19px;
}

.temp-storage-panel header small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.temp-storage-panel h3 {
  margin: 3px 0 0;
  font-family: "Russo One", sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.temp-dropzone {
  position: relative;
  display: grid;
  min-height: 238px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 28px;
  color: var(--muted-bright);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px dashed var(--line-strong);
  cursor: pointer;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.temp-dropzone:hover,
.temp-dropzone:focus-within,
.temp-dropzone.is-dragging {
  color: var(--ink-inverse);
  background-color: var(--ink);
  border-color: var(--ink);
}

.temp-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.temp-dropzone > svg {
  width: 32px;
  height: 32px;
  margin-bottom: 7px;
}

.temp-dropzone strong {
  color: var(--ink);
  font-size: 16px;
}

.temp-dropzone:hover strong,
.temp-dropzone:focus-within strong,
.temp-dropzone.is-dragging strong {
  color: var(--ink-inverse);
}

.temp-dropzone span {
  font-size: 13px;
}

.temp-dropzone small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.temp-dropzone:hover small,
.temp-dropzone:focus-within small,
.temp-dropzone.is-dragging small {
  color: #333;
}

.temp-upload-progress {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.temp-upload-progress[hidden] {
  display: none;
}

.temp-upload-progress > span {
  height: 3px;
  overflow: hidden;
  background: var(--surface-3);
}

.temp-upload-progress p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.temp-entry-form {
  display: grid;
  gap: 18px;
}

.temp-entry-fields,
.temp-entry-note,
.temp-entry-file {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.temp-entry-fields {
  gap: 22px;
}

.temp-entry-form label,
.temp-entry-label {
  margin-top: 7px;
  color: var(--muted-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.temp-entry-form label small,
.temp-entry-label small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.temp-entry-form input[type="text"],
.temp-entry-form textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: #070707;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
}

.temp-entry-form input[type="text"] {
  min-height: 48px;
  padding: 0 14px;
}

.temp-entry-form textarea {
  min-height: 158px;
  padding: 14px;
  line-height: 1.55;
  resize: vertical;
}

.temp-entry-form input[type="text"]:focus,
.temp-entry-form textarea:focus {
  border-color: var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

.temp-entry-submit,
.temp-item-action,
.temp-storage-clear {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-inverse);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.temp-entry-submit {
  width: 100%;
}

.temp-entry-submit svg,
.temp-item-action svg,
.temp-storage-clear svg {
  width: 16px;
  height: 16px;
}

.temp-entry-submit:hover,
.temp-entry-submit:focus-visible,
.temp-item-action:hover,
.temp-item-action:focus-visible,
.temp-storage-clear:hover,
.temp-storage-clear:focus-visible {
  color: var(--ink);
  background: #000;
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

.temp-entry-submit:disabled,
.temp-storage-clear:disabled,
.temp-dropzone.is-disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.temp-entry-hint,
.temp-entries-empty {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.temp-selected-file {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #070707;
  border: 1px solid var(--line-strong);
}

.temp-selected-file[hidden] {
  display: none;
}

.temp-selected-file > svg {
  width: 18px;
  height: 18px;
}

.temp-selected-file > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.temp-selected-file strong,
.temp-selected-file small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.temp-selected-file strong {
  font-size: 12px;
}

.temp-selected-file small {
  color: var(--muted);
  font-size: 10px;
}

.temp-selected-file button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.temp-selected-file button svg {
  width: 15px;
  height: 15px;
}

.temp-selected-file button:hover,
.temp-selected-file button:focus-visible {
  background: var(--surface-3);
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

.temp-dropzone.has-file {
  min-height: 150px;
}

.temp-item-list {
  display: grid;
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.temp-item-list:empty {
  display: none;
}

.temp-item {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: #070707;
}

.temp-item-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.temp-item-kind {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
}

.temp-item-kind svg {
  width: 15px;
  height: 15px;
}

.temp-item-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.temp-item-copy strong,
.temp-item-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.temp-item-preview {
  overflow: hidden;
  color: var(--muted-bright);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.temp-item-copy strong {
  font-size: 13px;
}

.temp-item-copy small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.temp-item-actions {
  display: flex;
  gap: 6px;
}

.temp-entries-panel .temp-item {
  grid-template-columns: 1fr;
}

.temp-entries-panel .temp-item-actions {
  width: 100%;
}

.temp-entries-panel .temp-item-action {
  flex: 1 1 0;
}

.temp-item-action {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.temp-item-share {
  color: var(--ink-inverse);
  background: var(--ink);
  border-color: var(--ink);
}

.temp-item-action span {
  font-size: 9px;
}

.temp-item[data-state="uploading"] .temp-item-kind {
  border-style: dashed;
}

.temp-storage-footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line);
}

.temp-storage-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.temp-storage-footer p.is-error {
  color: var(--ink);
}

.temp-storage-clear {
  flex: 0 0 auto;
  padding: 0 16px;
  color: var(--muted-bright);
  background: transparent;
  border-color: var(--line);
}

.service-copy {
  display: grid;
  min-width: 0;
  grid-column: 1;
  grid-row: 2;
  align-content: center;
  gap: 5px;
}

.service-copy strong {
  font-family: "Russo One", sans-serif;
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.service-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card:hover .service-copy small,
.service-card:focus-visible .service-copy small {
  color: #333;
}

.service-description {
  grid-column: 1 / -1;
  color: var(--muted-bright);
  font-size: 14px;
  line-height: 1.55;
}

.service-card:hover .service-description,
.service-card:focus-visible .service-description {
  color: #202020;
}

.service-capabilities {
  display: flex;
  grid-column: 1 / -1;
  align-self: end;
  flex-wrap: wrap;
  gap: 6px;
}

.service-capabilities > span {
  min-height: 25px;
  padding: 5px 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.service-card:hover .service-capabilities > span,
.service-card:focus-visible .service-capabilities > span {
  color: #222;
  border-color: rgba(0, 0, 0, 0.22);
}

.service-action {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card:hover .service-action,
.service-card:focus-visible .service-action {
  border-color: rgba(0, 0, 0, 0.24);
}

.service-action svg {
  width: 17px;
  height: 17px;
  transition: transform 240ms var(--ease);
}

.service-card:hover .service-action svg,
.service-card:focus-visible .service-action svg {
  transform: translate(4px, -4px);
}

.home-auth-dialog {
  width: min(820px, calc(100% - 28px));
  max-height: min(780px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(218, 255, 91, 0.08), transparent 32%),
    linear-gradient(145deg, #0b0b0b, #030303 64%);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(218, 255, 91, 0.05),
    0 0 80px rgba(218, 255, 91, 0.05);
}

.home-auth-dialog::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.home-auth-dialog:not([open]) {
  display: none;
}

body.auth-dialog-open {
  overflow: hidden;
}

.home-auth-shell {
  position: relative;
  display: grid;
  overflow: hidden;
}

.home-auth-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.home-auth-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 22px 18px 28px;
  border-bottom: 1px solid var(--line);
}

.home-auth-header > span {
  display: grid;
  gap: 6px;
}

.home-auth-header small,
.home-selected-owner small {
  color: var(--muted-bright);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.17em;
}

.home-auth-header h2 {
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.home-auth-header button,
.home-auth-back {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.home-auth-header button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
}

.home-auth-header button:hover,
.home-auth-header button:focus-visible,
.home-auth-back:hover,
.home-auth-back:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

.home-auth-header svg,
.home-auth-back svg {
  width: 17px;
  height: 17px;
}

.home-owner-stage,
.home-code-stage {
  position: relative;
  padding: 28px;
}

.home-owner-stage[hidden],
.home-code-stage[hidden] {
  display: none;
}

.home-owner-stage > p {
  margin: 0 0 22px;
  color: var(--muted-bright);
  font-size: 14px;
  line-height: 1.65;
}

.home-owner-list {
  display: grid;
  gap: 8px;
}

.home-owner-option {
  display: grid;
  min-height: 72px;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  color: var(--ink);
  background: var(--surface-1);
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.home-owner-option:hover,
.home-owner-option:focus-visible {
  color: var(--ink-inverse);
  background: var(--ink);
  border-color: var(--ink);
}

.home-owner-avatar,
.home-selected-owner > span:first-child {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink-inverse);
  background: var(--ink);
  font-family: "Russo One", sans-serif;
}

.home-owner-option:hover .home-owner-avatar,
.home-owner-option:focus-visible .home-owner-avatar {
  color: var(--ink);
  background: var(--ink-inverse);
}

.home-owner-option > span:nth-child(2),
.home-selected-owner > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.home-owner-option strong,
.home-selected-owner strong {
  font-size: 14px;
}

.home-owner-option small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.home-owner-option:hover small,
.home-owner-option:focus-visible small {
  color: #333;
}

.home-owner-option > svg {
  width: 17px;
  height: 17px;
}

.home-auth-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 800;
}

.home-auth-route {
  display: grid;
  grid-template-columns: auto minmax(18px, 1fr) auto minmax(18px, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #777;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.home-auth-route i {
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line));
}

.home-auth-route .is-current {
  color: #d9ff5b;
}

.home-auth-context {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
}

.home-selected-owner {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-left: 2px solid #d9ff5b;
}

.home-selected-owner > span:first-child {
  width: 46px;
  height: 46px;
}

.home-auth-form {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(232px, 0.65fr);
  align-items: start;
  gap: 12px;
  margin-top: 18px;
}

.home-auth-form label > .home-pin-entry-label {
  color: var(--muted-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-pin-console {
  --pin-progress: 0;
  position: relative;
  display: grid;
  gap: 12px;
  padding: 15px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(218, 255, 91, 0.035), transparent 42%),
    #020202;
  border: 1px solid var(--line-strong);
  isolation: isolate;
  grid-row: 1 / span 2;
}

.home-pin-console::before,
.home-pin-console::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.home-pin-console::before {
  inset: 0 auto 0 0;
  width: calc(var(--pin-progress) * 100%);
  background: linear-gradient(90deg, rgba(218, 255, 91, 0.08), rgba(218, 255, 91, 0.015));
  border-right: 1px solid rgba(218, 255, 91, 0.38);
  transition: width 300ms var(--ease);
}

.home-pin-console::after {
  inset: 0;
  z-index: 4;
  background: linear-gradient(105deg, transparent 35%, rgba(218, 255, 91, 0.18) 50%, transparent 65%);
  transform: translateX(-120%);
}

.home-pin-console[data-pin-state="verifying"]::after {
  animation: home-pin-scan 900ms linear infinite;
}

.home-pin-console[data-pin-state="success"] {
  border-color: #d9ff5b;
  box-shadow: 0 0 38px rgba(218, 255, 91, 0.16), inset 0 0 32px rgba(218, 255, 91, 0.055);
}

.home-pin-console.is-error {
  border-color: #ff6575;
  animation: home-pin-error 320ms var(--ease);
}

.home-pin-console-head,
.home-pin-channel,
.home-pin-entry,
.home-pin-hint {
  position: relative;
  z-index: 2;
}

.home-pin-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.home-pin-console-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-pin-console-head i {
  width: 6px;
  height: 6px;
  background: #d9ff5b;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(218, 255, 91, 0.8);
  animation: home-pin-beacon 1400ms ease-in-out infinite;
}

.home-pin-console-head em {
  color: #d9ff5b;
  font-style: normal;
}

.home-pin-entry {
  position: relative;
  display: grid;
  gap: 10px;
  cursor: text;
}

.home-pin-digits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.home-pin-digit {
  position: relative;
  display: grid;
  min-width: 0;
  height: 76px;
  place-items: center;
  overflow: hidden;
  color: var(--muted-bright);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  transition: color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease), background 220ms var(--ease);
}

.home-pin-digit::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: #d9ff5b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.home-pin-digit b {
  font-family: "Russo One", sans-serif;
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 400;
  line-height: 1;
}

.home-pin-digit b:empty::before {
  display: block;
  width: 5px;
  height: 5px;
  content: "";
  background: #4f4f4b;
  border-radius: 50%;
}

.home-pin-digit small {
  position: absolute;
  inset: auto 6px 5px auto;
  color: #555;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-pin-digit.is-active {
  border-color: rgba(218, 255, 91, 0.7);
  box-shadow: inset 0 0 18px rgba(218, 255, 91, 0.045);
  animation: home-pin-focus 1300ms ease-in-out infinite;
}

.home-pin-digit.is-filled {
  color: #d9ff5b;
  background: rgba(218, 255, 91, 0.06);
  border-color: rgba(218, 255, 91, 0.48);
  transform: translateY(-2px);
}

.home-pin-digit.is-filled::before {
  transform: scaleX(1);
}

.home-auth-form input.home-pin-native {
  position: absolute;
  inset: 25px 0 0;
  z-index: 3;
  width: 100%;
  height: calc(100% - 25px);
  padding: 0;
  opacity: 0;
  border: 0;
  outline: 0;
  cursor: text;
}

.home-pin-entry:focus-within .home-pin-digits {
  outline: 1px solid rgba(218, 255, 91, 0.5);
  outline-offset: 4px;
}

.home-pin-channel {
  display: grid;
  height: 3px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.home-pin-channel span {
  overflow: hidden;
  background: #1d1d1b;
}

.home-pin-channel span::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: #d9ff5b;
  transform: scaleX(var(--pin-progress));
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.home-pin-hint {
  color: #777;
  font-size: 9px;
  line-height: 1.45;
}

.home-auth-form button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  color: var(--ink-inverse);
  background: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.home-auth-form button:hover,
.home-auth-form button:focus-visible {
  color: var(--ink);
  background: #000;
}

.home-auth-form button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.home-auth-form button svg {
  width: 18px;
  height: 18px;
}

.home-pin-pad {
  --pin-key-gap: 8px;
  position: relative;
  display: grid;
  width: min(100%, 360px);
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pin-key-gap);
  justify-self: center;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(218, 255, 91, 0.035), transparent 42%),
    #030303;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 14px 34px rgba(0, 0, 0, 0.28);
  grid-column: 2;
}

.home-pin-pad button {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 58px;
  aspect-ratio: 1.5;
  align-content: center;
  justify-content: center;
  gap: 2px;
  padding: 8px;
  overflow: hidden;
  color: #f1f1ed;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.075), transparent 35%),
    linear-gradient(180deg, #10110e, #070806 68%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.85),
    0 5px 0 #010101,
    0 8px 16px rgba(0, 0, 0, 0.28);
  font-family: "Russo One", sans-serif;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  transform: translateY(0);
  isolation: isolate;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    transform 130ms var(--ease);
}

.home-pin-pad button::before {
  position: absolute;
  inset: 16% 24%;
  z-index: -1;
  content: "";
  background: radial-gradient(circle, rgba(218, 255, 91, 0.32), transparent 68%);
  opacity: 0;
  transform: scale(0.45);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.home-pin-pad button::after {
  position: absolute;
  inset: auto 8px 6px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(218, 255, 91, 0.68), transparent);
  opacity: 0.38;
  transform: scaleX(0.45);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.home-pin-pad button > span,
.home-pin-pad button > svg,
.home-pin-pad button > small {
  position: relative;
  z-index: 1;
}

.home-pin-pad button > span {
  min-width: 1ch;
  font-size: 22px;
  text-align: center;
}

.home-pin-pad button > small {
  position: absolute;
  inset: auto 7px 7px auto;
  color: #5f6159;
  font-family: "Exo 2", sans-serif;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1;
}

.home-pin-pad .home-pin-key-action {
  color: #a8aaa2;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.05), transparent 38%),
    #060706;
}

.home-pin-pad .home-pin-key-action svg {
  width: 21px;
  height: 21px;
  transition: transform 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .home-pin-pad button:hover {
    color: #050505;
    background: #d9ff5b;
    border-color: #d9ff5b;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 5px 0 #789227,
      0 10px 26px rgba(218, 255, 91, 0.22);
    transform: translateY(-2px);
  }

  .home-pin-pad button:hover::before,
  .home-pin-pad button:hover::after {
    opacity: 1;
    transform: scale(1);
  }

  .home-pin-pad button:hover > small {
    color: rgba(5, 5, 5, 0.52);
  }

  .home-pin-pad button[data-pin-action="backspace"]:hover svg {
    transform: translateX(-3px) rotate(-7deg);
  }
}

.home-pin-pad button:focus-visible {
  color: #050505;
  background: #d9ff5b;
  border-color: #d9ff5b;
  outline: 2px solid #f4ffd0;
  outline-offset: 3px;
}

.home-pin-pad button:active,
.home-pin-pad button.is-pressed {
  color: #050505;
  background: #d9ff5b;
  border-color: #d9ff5b;
  box-shadow:
    inset 0 3px 12px rgba(5, 5, 5, 0.28),
    0 1px 0 #789227,
    0 4px 12px rgba(218, 255, 91, 0.16);
  transform: translateY(4px) scale(0.975);
}

.home-pin-pad button.is-pressed::before {
  animation: home-pin-key-pulse 260ms ease-out both;
}

.home-pin-pad button:focus-visible > small,
.home-pin-pad button:active > small,
.home-pin-pad button.is-pressed > small {
  color: rgba(5, 5, 5, 0.52);
}

.home-auth-submit > span {
  display: grid;
  gap: 3px;
  text-align: left;
}

.home-auth-submit {
  grid-column: 2;
}

.home-auth-submit strong {
  font-size: 12px;
}

.home-auth-submit small {
  opacity: 0.58;
  font-size: 7px;
  letter-spacing: 0.13em;
}

.home-pin-console[data-pin-state="ready"] + .home-pin-pad + .home-auth-submit:not(:disabled) {
  color: #050505;
  background: #d9ff5b;
  border-color: #d9ff5b;
  box-shadow: 0 0 30px rgba(218, 255, 91, 0.14);
}

@keyframes home-pin-scan {
  to { transform: translateX(120%); }
}

@keyframes home-pin-beacon {
  50% { opacity: 0.42; transform: scale(0.72); }
}

@keyframes home-pin-focus {
  50% { box-shadow: inset 0 0 24px rgba(218, 255, 91, 0.1), 0 0 14px rgba(218, 255, 91, 0.08); }
}

@keyframes home-pin-key-pulse {
  0% { opacity: 0; transform: scale(0.35); }
  45% { opacity: 0.75; }
  100% { opacity: 0; transform: scale(1.45); }
}

@keyframes home-pin-error {
  25% { transform: translateX(-5px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

.home-auth-error {
  min-height: 20px;
  margin: 0;
  padding: 0 28px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.55;
}

.home-auth-error:not(:empty) {
  border-left: 3px solid var(--ink);
}

.home-auth-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 18px 28px;
  color: var(--muted);
  background: var(--surface-1);
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.5;
}

.home-auth-footer svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--ink);
}

.home-access-dialog,
.home-registration-dialog {
  width: min(760px, calc(100% - 28px));
}

.home-access-shell,
.home-registration-form {
  gap: 0;
}

.home-access-section,
.home-registration-stage {
  display: grid;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.home-access-section[hidden],
.home-registration-stage[hidden],
.home-invite-result[hidden] {
  display: none;
}

.home-section-kicker,
.home-access-section small,
.home-registration-stage label > span {
  color: var(--muted-bright);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.home-account-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.home-account-summary > div {
  display: grid;
  gap: 6px;
}

.home-account-summary strong {
  font-family: "Russo One", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.home-account-summary span,
.home-access-help,
.home-totp-card p {
  margin: 0;
  color: var(--muted-bright);
  font-size: 12px;
  line-height: 1.6;
}

.home-access-heading,
.home-link-row,
.home-invite-result,
.home-totp-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-access-heading {
  justify-content: space-between;
}

.home-access-heading > div {
  display: grid;
  gap: 7px;
}

.home-access-heading h3 {
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.home-link-row input,
.home-invite-result input,
.home-registration-stage input {
  min-width: 0;
  height: 48px;
  padding: 0 13px;
  color: var(--ink);
  background: #000;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
}

.home-link-row input,
.home-invite-result input {
  flex: 1 1 auto;
  font-size: 11px;
}

.home-registration-stage label {
  display: grid;
  gap: 9px;
}

.home-registration-stage input:focus {
  border-color: var(--ink);
  box-shadow: inset 3px 0 var(--ink);
}

.home-primary-button,
.home-secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
}

.home-primary-button {
  color: var(--ink-inverse);
  background: var(--ink);
}

.home-secondary-button {
  color: var(--ink);
  background: transparent;
}

.home-primary-button:hover,
.home-primary-button:focus-visible {
  color: var(--ink);
  background: #000;
}

.home-secondary-button:hover,
.home-secondary-button:focus-visible {
  color: var(--ink-inverse);
  background: var(--ink);
}

.home-primary-button:disabled,
.home-secondary-button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.home-primary-button svg,
.home-secondary-button svg {
  width: 16px;
  height: 16px;
}

.home-invite-result {
  flex-wrap: wrap;
  padding: 14px;
  background: var(--surface-1);
  border: 1px solid var(--line-strong);
}

.home-invite-result small {
  flex: 1 0 100%;
}

.home-admin-directory,
.home-invitation-list,
.home-admin-audit {
  display: grid;
  gap: 8px;
}

.home-admin-row,
.home-invitation-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--surface-1);
  border: 1px solid var(--line);
  text-decoration: none;
}

.home-admin-row {
  position: relative;
  min-height: 78px;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 13px 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 42%),
    var(--surface-1);
}

.home-admin-row::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  content: "";
  background: var(--ink);
}

.home-admin-row.is-disabled {
  opacity: 0.68;
  border-style: dashed;
}

.home-admin-identity {
  display: grid;
  min-width: 0;
  align-self: center;
  gap: 7px;
}

.home-admin-identity-head {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 10px;
}

.home-admin-identity-head strong {
  font-family: "Russo One", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.15;
}

.home-admin-identity small {
  overflow: hidden;
  color: var(--muted-bright);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-admin-actions {
  display: flex;
  grid-column: 2 / -1;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 2px;
}

.home-admin-actions button,
.home-admin-actions a {
  min-height: 36px;
  padding: 0 10px;
}

.home-admin-actions .is-danger {
  border-color: #d8a3a3;
}

.home-admin-roots-state {
  display: inline-flex;
  flex: 1 0 100%;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 4px 7px;
  color: var(--muted-bright);
  border: 1px solid var(--line);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.home-admin-roots-state.is-linked {
  color: var(--ink-inverse);
  background: var(--ink);
  border-color: var(--ink);
}

.home-admin-row.is-disabled .home-admin-roots-state.is-linked {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.home-admin-status {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  gap: 6px;
  justify-self: start;
  padding: 3px 7px;
  color: var(--muted-bright);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

.home-admin-status::before {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  content: "";
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 9px currentColor;
}

.home-admin-status.is-primary {
  color: #d9ff5b;
  border-color: rgba(218, 255, 91, 0.36);
}

.home-admin-status.is-active {
  color: var(--ink);
  border-color: var(--line-strong);
}

.home-admin-status.is-disabled {
  color: #999;
  border-style: dashed;
}

.home-admin-row.is-disabled .home-admin-status {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
}

.home-admin-action-result > small {
  color: var(--muted-bright);
}

.home-admin-audit-row {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  background: var(--surface-1);
  border-left: 2px solid var(--line-strong);
}

.home-admin-audit-row strong {
  font-size: 11px;
}

.home-admin-audit-row small {
  line-height: 1.45;
}

.home-invitation-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.home-admin-avatar {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--ink-inverse);
  background: var(--ink);
  border: 1px solid var(--ink);
  font-family: "Russo One", sans-serif;
  font-size: 16px;
}

.home-admin-row > span:nth-child(2),
.home-invitation-row > span {
  display: grid;
  gap: 4px;
}

.home-admin-row em {
  color: var(--muted-bright);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.home-empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.home-access-message {
  min-height: 20px;
  margin: 0;
  padding: 16px 28px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.55;
}

.home-access-message:not(:empty) {
  border-left: 3px solid var(--ink);
}

.home-registration-stage {
  padding: 28px;
}

.home-slug-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line-strong);
  background: #000;
}

.home-slug-input small {
  padding-left: 13px;
  white-space: nowrap;
}

.home-slug-input input {
  border: 0;
}

.home-totp-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--surface-1);
  border: 1px solid var(--line-strong);
}

.home-totp-card code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.home-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(420px, calc(100% - 40px));
  padding: 14px 18px;
  color: var(--ink-inverse);
  background: var(--ink);
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.home-toast[hidden] {
  display: none;
}

.home-footer {
  display: flex;
  width: min(1540px, calc(100% - 48px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.london-bridge-descent {
  position: relative;
  z-index: 30;
  min-height: 3300vh;
  min-height: 3300svh;
  margin-top: clamp(150px, 26vh, 420px);
  pointer-events: none;
}

.london-bridge-stage {
  position: sticky;
  top: 0;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100svh;
  place-items: center;
  overflow: hidden;
  color: #f4f4ef;
  background: #000;
  opacity: 0;
  contain: layout paint style;
}

.london-bridge-grain {
  position: absolute;
  inset: -12%;
  background-image:
    repeating-radial-gradient(circle at 17% 31%, rgba(255, 255, 255, 0.3) 0 0.45px, transparent 0.8px 4px),
    repeating-radial-gradient(circle at 73% 67%, rgba(255, 255, 255, 0.16) 0 0.35px, transparent 0.7px 5px);
  background-size: 97px 83px, 131px 109px;
  mix-blend-mode: screen;
  opacity: 0.035;
  transform: rotate(0.01deg);
}

.london-bridge-kinetic {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.london-bridge-word {
  position: absolute;
  top: 45%;
  left: 50%;
  display: flex;
  max-width: 94vw;
  align-items: flex-end;
  justify-content: center;
  color: #f4f4ef;
  font-family: "Russo One", sans-serif;
  font-size: clamp(24px, 8.4vw, 136px);
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 0.88;
  text-shadow: 0 0 34px rgba(255, 255, 255, 0.08);
  transform: translate3d(-50%, -50%, 0);
  white-space: nowrap;
}

.london-bridge-letter {
  display: inline-block;
  flex: 0 0 auto;
  min-width: 0.58em;
  opacity: 0;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.london-bridge-letter.is-space {
  min-width: 0.42em;
}

.london-bridge-deck {
  position: absolute;
  top: calc(45% + clamp(22px, 4.8vw, 72px));
  left: 50%;
  display: grid;
  width: min(88vw, 1440px);
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 24px);
  transform: translateX(-50%);
}

.london-bridge-deck > span {
  height: 1px;
  background: rgba(244, 244, 239, 0.76);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  opacity: 0;
  will-change: transform, opacity;
}

.london-bridge-deck > span:first-child {
  transform-origin: 0 50%;
}

.london-bridge-deck > span:last-child {
  transform-origin: 100% 50%;
}

.london-bridge-verses {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.london-bridge-verses > article {
  position: absolute;
  width: min(92vw, 1240px);
  color: #f4f4ef;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(18px, 3.15vw, 54px);
  font-weight: 350;
  letter-spacing: 0.08em;
  line-height: 1.28;
  text-align: center;
  opacity: 0;
  transform-origin: 50% 58%;
  will-change: transform, opacity, filter;
}

.london-bridge-verses p {
  display: grid;
  gap: clamp(8px, 1.4vh, 18px);
  margin: 0;
}

.london-bridge-verses [data-bridge-line] {
  display: block;
  opacity: 0;
  will-change: transform, opacity, filter;
}

.london-bridge-verses strong {
  margin-top: clamp(10px, 2vh, 24px);
  color: #fff;
  font-family: "Russo One", sans-serif;
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: 0.26em;
}

.london-bridge-lady {
  position: absolute;
  left: 50%;
  width: min(92vw, 1280px);
  margin: 0;
  text-align: center;
  opacity: 0;
  will-change: transform, opacity;
}

.london-bridge-lady {
  top: 49%;
  color: #fff;
  font-family: "Russo One", sans-serif;
  font-size: clamp(21px, 3.4vw, 54px);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-shadow: 0 0 42px rgba(255, 255, 255, 0.09);
  transform: translate3d(-50%, -50%, 0);
}

.london-bridge-finale {
  --bridge-reveal-side: 50%;
  --bridge-signature: 0;
  --bridge-signature-y: 18px;
  --bridge-secret: 0;
  --bridge-secret-y: 12px;
  --bridge-center-opacity: 0;
  --bridge-center-rotation: -9deg;
  --bridge-center-scale: 0.68;
  --bridge-side-opacity: 0;
  --bridge-side-scale: 0.72;
  --bridge-water-opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  align-content: center;
  width: min(92vw, 1120px);
  height: min(72vh, 660px);
  gap: clamp(18px, 3vw, 34px);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  will-change: opacity;
}

.london-bridge-finale-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 340;
}

.london-bridge-finale-drawing {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  clip-path: inset(0 var(--bridge-reveal-side) 0 var(--bridge-reveal-side));
  will-change: clip-path;
}

.london-bridge-finale-drawing path {
  fill: none;
  stroke: rgba(244, 244, 239, 0.82);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.london-bridge-finale-arch {
  stroke-width: 4;
}

.london-bridge-finale-deck,
.london-bridge-finale-towers {
  stroke-width: 2;
}

.london-bridge-finale-water {
  stroke: rgba(244, 244, 239, 0.28) !important;
  stroke-width: 1;
  opacity: var(--bridge-water-opacity);
}

.london-bridge-finale-mark {
  position: absolute;
  display: block;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.12));
  opacity: var(--bridge-side-opacity);
  will-change: transform, opacity;
}

.london-bridge-finale-mark path {
  fill: none;
  stroke: rgba(244, 244, 239, 0.86);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.london-bridge-finale-mark.is-center {
  top: 39.7%;
  left: 50%;
  width: clamp(48px, 9.5vw, 116px);
  opacity: var(--bridge-center-opacity);
  transform: translate3d(-50%, -50%, 0) rotate(var(--bridge-center-rotation)) scale(var(--bridge-center-scale));
}

.london-bridge-finale-mark.is-center path {
  stroke-width: 3;
}

.london-bridge-finale-mark.is-left,
.london-bridge-finale-mark.is-right {
  top: 70%;
  width: clamp(28px, 4.8vw, 58px);
  transform: translate3d(-50%, -50%, 0) scale(var(--bridge-side-scale));
}

.london-bridge-finale-mark.is-left {
  left: 8.6%;
}

.london-bridge-finale-mark.is-right {
  left: 91.4%;
}

.london-bridge-signature {
  position: relative;
  display: grid;
  width: 100%;
  gap: 5px;
  margin: 0;
  color: #f4f4ef;
  text-align: center;
  opacity: var(--bridge-signature);
  transform: translate3d(0, var(--bridge-signature-y), 0) rotate(-0.8deg);
  will-change: transform, opacity;
}

.london-bridge-signature > span[lang="ja"] {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: "HGS行書体", "HG行書体", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Klee", "Noto Serif CJK JP", serif;
  font-size: clamp(30px, 5.4vw, 72px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  filter: url("#londonBridgeInk");
  text-shadow:
    1px 0 rgba(255, 255, 255, 0.42),
    -1px 1px rgba(255, 255, 255, 0.14);
}

.london-bridge-signature > span[lang="ja"] i {
  display: inline-block;
  font-style: normal;
}

.london-bridge-signature > span[lang="ja"] i:nth-child(1) {
  transform: rotate(-2.4deg) translateY(2px) scaleY(1.05);
}

.london-bridge-signature > span[lang="ja"] i:nth-child(2) {
  transform: rotate(1.2deg) translateY(-1px);
}

.london-bridge-signature > span[lang="ja"] i:nth-child(3) {
  transform: rotate(-1deg) translateY(1px) scaleY(1.04);
}

.london-bridge-signature > span[lang="ja"] i:nth-child(4) {
  transform: rotate(1.8deg) translateY(-2px);
}

.london-bridge-signature > span[lang="ja"] i:nth-child(5) {
  margin-left: 0.04em;
  transform: rotate(-1.6deg) translateY(2px) scale(1.07, 1.1);
}

.london-bridge-signature small {
  font-family: "Exo 2", sans-serif;
  font-size: clamp(9px, 1.1vw, 13px);
  font-weight: 520;
  letter-spacing: 0.5em;
  text-transform: lowercase;
}

.london-bridge-fragment-secret {
  position: absolute;
  top: calc(100% + clamp(18px, 2.4vw, 30px));
  left: 50%;
  display: grid;
  width: min(90vw, 560px);
  gap: 6px;
  font-family: "Exo 2", sans-serif;
  line-height: 1;
  opacity: 0;
  filter: none;
  pointer-events: none;
  transform: translate3d(-50%, var(--bridge-secret-y), 0);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.2, 0.76, 0.22, 1);
  will-change: transform, opacity;
}

.london-bridge-fragment-secret b,
.london-bridge-fragment-secret em {
  display: block;
  font-style: normal;
  font-weight: 520;
  text-shadow: none;
}

.london-bridge-fragment-secret b {
  font-size: clamp(8px, 0.9vw, 11px);
  letter-spacing: 0.42em;
}

.london-bridge-fragment-secret em {
  color: rgba(244, 244, 239, 0.48);
  font-size: clamp(7px, 0.72vw, 9px);
  letter-spacing: 0.28em;
}

body.is-fragment-archive-complete .london-bridge-fragment-secret {
  opacity: var(--bridge-secret);
  transform: translate3d(-50%, 0, 0);
}

body.is-london-bridge-active .system-chrome,
body.is-london-bridge-active .home-grid {
  opacity: var(--bridge-ui-opacity, 1);
  will-change: opacity;
}

body.is-london-bridge-active.is-london-bridge-blackout .system-chrome {
  pointer-events: none;
}

body.is-london-bridge-static .london-bridge-descent {
  min-height: 0;
  margin-top: 80px;
  background: #000;
}

body.is-london-bridge-static .london-bridge-stage {
  position: relative;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(88px, 12vw, 180px) clamp(18px, 5vw, 72px);
  overflow: visible;
  opacity: 1 !important;
  contain: none;
}

body.is-london-bridge-static .london-bridge-kinetic,
body.is-london-bridge-static .london-bridge-verses {
  position: relative;
  inset: auto;
  overflow: visible;
}

body.is-london-bridge-static .london-bridge-kinetic {
  width: min(900px, 100%);
}

body.is-london-bridge-static .london-bridge-word,
body.is-london-bridge-static .london-bridge-deck,
body.is-london-bridge-static .london-bridge-lady {
  display: none;
}

body.is-london-bridge-static .london-bridge-verses {
  display: grid;
  width: min(900px, 100%);
  gap: clamp(64px, 10vw, 120px);
}

body.is-london-bridge-static .london-bridge-verses > article {
  position: static;
  width: 100%;
  font-size: clamp(17px, 2.4vw, 30px);
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

body.is-london-bridge-static .london-bridge-verses [data-bridge-line] {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

body.is-london-bridge-static .london-bridge-finale {
  --bridge-reveal-side: 0%;
  --bridge-signature: 1;
  --bridge-signature-y: 0px;
  --bridge-secret: 1;
  --bridge-secret-y: 0px;
  --bridge-center-opacity: 1;
  --bridge-center-rotation: 0deg;
  --bridge-center-scale: 1;
  --bridge-side-opacity: 1;
  --bridge-side-scale: 1;
  --bridge-water-opacity: 1;
  position: relative;
  inset: auto;
  width: 100%;
  height: min(66vw, 560px);
  min-height: 360px;
  margin-top: clamp(90px, 14vw, 160px);
  opacity: 1 !important;
  transform: none !important;
}

html.a11y-mode {
  color-scheme: dark;
  --bg: #000;
  --surface-0: #000;
  --surface-1: #000;
  --surface-2: #000;
  --surface-3: #000;
  --ink: #fff;
  --ink-strong: #fff;
  --ink-inverse: #000;
  --muted: #fff;
  --muted-bright: #fff;
  --line: rgba(255, 255, 255, 0.78);
  --line-strong: #fff;
}

html.a11y-mode body {
  background: #000;
}

html.a11y-mode .home-grid,
html.a11y-mode .space-orbit,
html.a11y-mode .home-dashboard::before,
html.a11y-mode .home-dashboard::after,
html.a11y-mode .service-card::after {
  display: none;
}

html.a11y-mode .system-chrome {
  min-height: 64px;
  background: #000;
  border-bottom: 2px solid #fff;
  backdrop-filter: none;
}

html.a11y-mode .system-brand,
html.a11y-mode .system-center,
html.a11y-mode .system-session,
html.a11y-mode .service-grid-header,
html.a11y-mode .service-access,
html.a11y-mode .home-footer {
  color: #fff;
  font-size: 13px;
}

html.a11y-mode .system-session {
  min-height: 46px;
  border: 2px solid #fff;
}

html.a11y-mode .home-shell {
  padding-top: 82px;
}

html.a11y-mode .home-dashboard,
html.a11y-mode .home-hero,
html.a11y-mode .service-card,
html.a11y-mode .temp-storage,
html.a11y-mode .temp-storage-panel,
html.a11y-mode .home-auth-dialog,
html.a11y-mode .space-signal-console {
  color: #fff;
  background: #000;
  border-color: #fff;
}

html.a11y-mode .home-dashboard,
html.a11y-mode .home-auth-dialog {
  border-width: 2px;
}

html.a11y-mode .london-bridge-grain {
  display: none;
}

html.a11y-mode .space-signal-console {
  position: static;
  display: none;
  margin-top: 18px;
}

html.a11y-mode .space-signal-console.is-visible {
  display: grid;
}

html.a11y-mode .home-hero {
  border-right-width: 2px;
}

html.a11y-mode .hero-overline,
html.a11y-mode .hero-copy > p,
html.a11y-mode .space-signal-console :is(span, small),
html.a11y-mode .service-description,
html.a11y-mode .service-copy small,
html.a11y-mode .service-capabilities > span,
html.a11y-mode .temp-storage-header > div > p:last-child,
html.a11y-mode .temp-storage-footer p,
html.a11y-mode .temp-item-copy small,
html.a11y-mode .home-owner-stage > p {
  color: #fff;
}

html.a11y-mode .hero-overline {
  font-size: 14px;
}

html.a11y-mode .hero-copy > p {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.7;
}

html.a11y-mode .hero-auth-button {
  min-height: 74px;
  color: #000;
  background: #fff;
  border: 2px solid #fff;
}

html.a11y-mode .hero-auth-button.is-authenticated {
  color: #fff;
  background: #000;
}

html.a11y-mode .service-grid-header,
html.a11y-mode .service-video,
html.a11y-mode .service-audio,
html.a11y-mode .service-voice {
  border-color: #fff;
}

html.a11y-mode .service-card {
  min-height: 390px;
}

html.a11y-mode .service-card::before {
  width: 8px;
  transform: scaleY(1);
}

html.a11y-mode .service-card:hover,
html.a11y-mode .service-card:focus-visible {
  color: #000;
  background: #fff;
  transform: none;
}

html.a11y-mode .service-number,
html.a11y-mode .service-copy small {
  font-size: 15px;
}

html.a11y-mode .service-description {
  font-size: 19px;
  line-height: 1.7;
}

html.a11y-mode .service-capabilities > span,
html.a11y-mode .service-action {
  min-height: 44px;
  font-size: 14px;
}

html.a11y-mode .service-action,
html.a11y-mode .service-capabilities > span,
html.a11y-mode .service-icon,
html.a11y-mode .service-access,
html.a11y-mode .temp-storage,
html.a11y-mode .temp-storage-header,
html.a11y-mode .temp-storage-meter,
html.a11y-mode .temp-storage-panel,
html.a11y-mode .temp-storage-footer,
html.a11y-mode .temp-dropzone,
html.a11y-mode .temp-item,
html.a11y-mode .temp-entry-form :is(input, textarea),
html.a11y-mode .temp-item-action,
html.a11y-mode .temp-storage-clear {
  border-color: #fff;
}

html.a11y-mode .service-icon {
  color: #fff;
  background: #000;
  box-shadow: none;
}

html.a11y-mode .service-card:hover .service-icon,
html.a11y-mode .service-card:focus-visible .service-icon {
  color: #000;
  background: #fff;
  border-color: #000;
}

html.a11y-mode .temp-storage-header > div > p:last-child,
html.a11y-mode .temp-storage-footer p {
  font-size: 17px;
}

html.a11y-mode .temp-dropzone,
html.a11y-mode .temp-item,
html.a11y-mode .temp-entry-form :is(input, textarea) {
  color: #fff;
  background: #000;
  border-width: 2px;
}

html.a11y-mode .temp-entry-submit,
html.a11y-mode .temp-item-action,
html.a11y-mode .temp-storage-clear {
  min-height: 54px;
  font-size: 14px;
}

html.a11y-mode .home-owner-option,
html.a11y-mode .home-selected-owner,
html.a11y-mode .home-auth-form input,
html.a11y-mode .home-auth-back {
  color: #fff;
  background: #000;
  border: 2px solid #fff;
}

html.a11y-mode .home-pin-console,
html.a11y-mode .home-pin-digit,
html.a11y-mode .home-pin-pad,
html.a11y-mode .home-pin-pad button {
  color: #fff;
  background: #000;
  border-color: #fff;
  border-width: 2px;
}

html.a11y-mode .home-pin-hint,
html.a11y-mode .home-pin-console-head {
  color: #fff;
  font-size: 13px;
}

html.a11y-mode .home-owner-option,
html.a11y-mode .home-auth-form button {
  min-height: 64px;
}

html.a11y-mode .home-auth-form label > span,
html.a11y-mode .home-auth-footer,
html.a11y-mode .home-owner-option small {
  color: #fff;
  font-size: 14px;
}

html.a11y-mode :is(a, button):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

html.a11y-mode *,
html.a11y-mode *::before,
html.a11y-mode *::after {
  animation: none !important;
  scroll-behavior: auto !important;
  transition: none !important;
}

@keyframes console-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes orbit-arrive {
  from {
    opacity: 0;
    transform: rotate(-16deg) scale(0.9);
  }
  to {
    opacity: 0.64;
    transform: rotate(-10deg) scale(1);
  }
}

@keyframes orbit-sweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes core-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes signal-trace {
  from {
    stroke-dashoffset: 140;
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes signal-core-pulse {
  0%,
  100% {
    filter: none;
    transform: scale(1);
  }
  32% {
    filter: drop-shadow(0 0 18px rgba(138, 255, 226, 0.82));
    transform: scale(1.16) rotate(8deg);
  }
  66% {
    filter: drop-shadow(0 0 22px rgba(155, 135, 255, 0.78));
    transform: scale(1.08) rotate(-5deg);
  }
}

@keyframes signal-scan {
  0% {
    opacity: 0;
    transform: translateX(-110%);
  }
  18%,
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(110%);
  }
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes card-scan {
  0% {
    opacity: 0;
    transform: translateX(-65%);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(65%);
  }
}

@keyframes auth-scan {
  0% {
    opacity: 0;
    transform: translateX(-70%);
  }
  32% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(70%);
  }
}

@media (max-width: 1220px) {
  .home-dashboard {
    grid-template-columns: minmax(350px, 0.72fr) minmax(560px, 1.28fr);
  }

  .home-hero {
    padding: clamp(34px, 4vw, 54px);
  }

  .hero-copy h1 {
    font-size: clamp(82px, 9vw, 118px);
  }

  .service-card {
    min-height: 310px;
    padding: clamp(22px, 2.4vw, 32px);
  }
}

@media (max-width: 980px) {
  .home-shell {
    width: min(100% - 28px, 1540px);
    padding-top: 66px;
  }

  .home-dashboard {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-copy {
    max-width: 580px;
  }

  .space-orbit {
    right: -8%;
    bottom: -42%;
    width: min(650px, 74%);
  }

  .service-grid {
    min-height: 650px;
  }

  .temp-storage-header {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.42fr);
  }

  .temp-storage-index {
    display: none;
  }

  .temp-storage-workspace {
    grid-template-columns: 1fr;
  }

  .temp-entry-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-footer {
    width: calc(100% - 28px);
  }
}

@media (max-width: 680px) {
  .system-chrome {
    min-height: calc(48px + env(safe-area-inset-top));
    grid-template-columns: 1fr auto;
    padding:
      env(safe-area-inset-top)
      max(10px, env(safe-area-inset-right))
      0
      max(10px, env(safe-area-inset-left));
  }

  .system-center {
    display: none;
  }

  .system-brand {
    gap: 7px;
    font-size: 9px;
  }

  .system-brand img {
    width: 22px;
    height: 22px;
  }

  .system-actions {
    gap: 6px;
  }

  .system-session {
    max-width: 118px;
    padding-inline: 7px;
  }

  .system-session span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-shell {
    width: calc(100% - 16px);
    padding-top: calc(56px + env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .home-dashboard {
    min-height: 0;
  }

  .home-hero {
    min-height: 480px;
    padding: 30px 20px 34px;
  }

  .home-hero::before {
    left: 12px;
  }

  .hero-overline {
    font-size: 9px;
  }

  .hero-copy h1 {
    margin-top: 20px;
    font-size: clamp(68px, 24vw, 92px);
  }

  .hero-copy > p {
    width: min(100%, 400px);
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-auth-button {
    width: 100%;
    min-height: 66px;
    grid-template-columns: 42px 1fr auto;
    gap: 11px;
    padding-right: 14px;
  }

  .hero-auth-icon {
    width: 42px;
    height: 42px;
  }

  .hero-auth-button strong {
    font-size: 13px;
  }

  .space-signal-console {
    top: calc(100% + 12px);
    width: min(100%, 330px);
    padding: 10px 12px;
  }

  .space-orbit {
    right: -25%;
    bottom: -24%;
    width: 430px;
    opacity: 0.42;
  }

  .service-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .service-grid-header {
    min-height: 54px;
    padding-inline: 18px;
  }

  .service-grid-header small {
    display: none;
  }

  .service-card {
    min-height: 270px;
    padding: 24px 20px;
  }

  .service-video,
  .service-voice {
    border-right: 0;
  }

  .service-video,
  .service-audio,
  .service-voice {
    border-bottom: 1px solid var(--line);
  }

  .service-copy strong {
    font-size: clamp(38px, 13vw, 52px);
  }

  .service-description {
    font-size: 14px;
  }

  .temp-storage-header {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 20px;
  }

  .temp-storage-header h2 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .temp-storage-rules {
    min-width: 0;
  }

  .temp-storage-meter {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 20px;
  }

  .temp-storage-meter time {
    white-space: normal;
  }

  .temp-storage-panel {
    padding: 28px 20px;
  }

  .temp-dropzone {
    min-height: 210px;
    padding-inline: 18px;
  }

  .temp-item {
    grid-template-columns: 1fr;
  }

  .temp-item-actions {
    width: 100%;
  }

  .temp-item-action {
    flex: 1 1 auto;
  }

  .temp-storage-footer {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .temp-storage-clear {
    width: 100%;
  }

  .home-footer {
    width: calc(100% - 16px);
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .london-bridge-descent {
    margin-top: 120px;
  }

  .london-bridge-word {
    max-width: 96vw;
    font-size: clamp(23px, 8.2vw, 52px);
    letter-spacing: 0.035em;
  }

  .london-bridge-letter {
    min-width: 0.56em;
  }

  .london-bridge-verses > article {
    width: calc(100% - 28px);
    font-size: clamp(17px, 5.1vw, 27px);
    letter-spacing: 0.04em;
    line-height: 1.34;
  }

  .london-bridge-verses strong {
    font-size: 0.7em;
    letter-spacing: 0.16em;
  }

  .london-bridge-lady {
    font-size: clamp(20px, 6.2vw, 34px);
    letter-spacing: 0.18em;
  }

  .home-auth-header,
  .home-owner-stage,
  .home-code-stage {
    padding-inline: 18px;
  }

  .home-auth-route {
    gap: 6px;
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .home-pin-console {
    padding: 12px;
    grid-row: auto;
  }

  .home-auth-form {
    grid-template-columns: 1fr;
  }

  .home-pin-pad,
  .home-auth-submit {
    grid-column: auto;
  }

  .home-pin-pad {
    --pin-key-gap: 7px;
    width: min(100%, 340px);
    padding: 8px;
  }

  .home-pin-digits,
  .home-pin-channel {
    gap: 4px;
  }

  .home-pin-digit {
    height: 64px;
  }

  .home-pin-pad button {
    min-height: 54px;
    aspect-ratio: 1.52;
    border-radius: 7px;
  }

  .home-admin-actions {
    grid-column: 1 / -1;
  }

  .home-auth-error,
  .home-auth-footer {
    padding-inline: 18px;
  }

  .home-access-section,
  .home-registration-stage,
  .home-access-message {
    padding-inline: 18px;
  }

  .home-account-summary {
    grid-template-columns: 1fr;
  }

  .home-access-heading,
  .home-link-row,
  .home-invite-result,
  .home-totp-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-primary-button,
  .home-secondary-button,
  .home-link-row input,
  .home-invite-result input {
    width: 100%;
  }

  .home-slug-input {
    grid-template-columns: 1fr;
  }

  .home-slug-input small {
    padding: 12px 13px 0;
    white-space: normal;
  }

  html.a11y-mode .system-session {
    display: none;
  }

  html.a11y-mode .home-hero {
    min-height: 0;
  }

  html.a11y-mode .service-card {
    min-height: 340px;
  }
}

@media (max-width: 380px) {
  .system-brand span {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(64px, 23vw, 82px);
  }

  .service-capabilities > span {
    font-size: 8px;
  }

  .temp-item-action span {
    display: none;
  }

  .temp-storage-header h2 {
    font-size: 36px;
  }

  .home-pin-digit {
    height: 56px;
  }

  .home-pin-digit b {
    font-size: 22px;
  }

  .home-pin-digit small {
    display: none;
  }

  .home-pin-pad {
    --pin-key-gap: 6px;
    padding: 7px;
  }

  .home-pin-pad button {
    min-height: 50px;
  }

  .home-pin-pad button > span {
    font-size: 20px;
  }

  .home-admin-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
    padding-inline: 11px;
  }

  .home-admin-avatar {
    width: 44px;
    height: 44px;
  }

  .home-admin-status {
    white-space: normal;
  }

}

@media (prefers-reduced-motion: reduce) {
  .london-bridge-descent {
    min-height: 0;
    margin-top: 80px;
    background: #000;
  }

  .london-bridge-stage {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(88px, 12vw, 180px) clamp(18px, 5vw, 72px);
    overflow: visible;
    opacity: 1 !important;
    contain: none;
  }

  .london-bridge-kinetic,
  .london-bridge-verses {
    position: relative;
    inset: auto;
    overflow: visible;
  }

  .london-bridge-kinetic {
    width: min(900px, 100%);
  }

  .london-bridge-word,
  .london-bridge-deck,
  .london-bridge-lady {
    display: none;
  }

  .london-bridge-verses {
    display: grid;
    width: min(900px, 100%);
    gap: clamp(64px, 10vw, 120px);
  }

  .london-bridge-verses > article {
    position: static;
    width: 100%;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .london-bridge-verses [data-bridge-line] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .london-bridge-finale {
    --bridge-reveal-side: 0%;
    --bridge-signature: 1;
    --bridge-signature-y: 0px;
    --bridge-secret: 1;
    --bridge-secret-y: 0px;
    --bridge-center-opacity: 1;
    --bridge-center-rotation: 0deg;
    --bridge-center-scale: 1;
    --bridge-side-opacity: 1;
    --bridge-side-scale: 1;
    --bridge-water-opacity: 1;
    position: relative;
    inset: auto;
    width: 100%;
    height: min(66vw, 560px);
    min-height: 360px;
    margin-top: clamp(90px, 14vw, 160px);
    opacity: 1 !important;
    transform: none !important;
  }

  .london-bridge-grain {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .london-bridge-stage {
    color: CanvasText;
    background: Canvas;
    forced-color-adjust: none;
  }

  .london-bridge-deck > span {
    background: CanvasText;
  }

  .space-signal-console,
  .orbit-core,
  .orbit-node {
    border-color: CanvasText;
  }

  .signal-line,
  .signal-spoke {
    stroke: CanvasText;
  }
}

html.page-hidden .space-orbit *,
html.page-hidden .space-orbit::before,
html.page-hidden .space-orbit::after {
  animation-play-state: paused !important;
}
