@import "https://fonts.googleapis.com/css2?family=Overpass+Mono:wght@400;500;600;700&display=swap";

/* src/lossVariants.css */
:root {
  color: #f4efe5;
  background: #02040a;
  font-family:
    "Overpass Mono",
    "SFMono-Regular",
    Consolas,
    monospace;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
  background: #02040a;
}
a {
  color: inherit;
  text-decoration: none;
}
.page,
.canvas,
.shade {
  position: absolute;
  inset: 0;
}
.page {
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}
.canvas {
  width: 100%;
  height: 100%;
}
.shade {
  z-index: 1;
  background:
    radial-gradient(
      circle at 62% 44%,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.48) 58%),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.78),
      rgba(0, 0, 0, 0.18) 58%,
      rgba(0, 0, 0, 0.5)),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18),
      rgba(0, 0, 0, 0.76));
  pointer-events: none;
}
.nav,
.hero,
.side-nav,
.links,
.probe {
  position: relative;
  z-index: 2;
}
.nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 28px;
  color: rgba(244, 239, 229, 0.68);
  font-size: 12px;
  text-transform: uppercase;
}
.nav div {
  display: flex;
  gap: 18px;
}
.hero {
  width: min(760px, calc(100% - 56px));
  margin: 28px 0 0 28px;
}
.side-nav {
  position: absolute;
  top: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  border: 1px solid rgba(240, 208, 101, 0.18);
  background: rgba(2, 7, 14, 0.18);
  padding: 10px 12px;
  color: rgba(244, 239, 229, 0.68);
  font-size: 12px;
  text-transform: uppercase;
}
.side-nav a {
  transition: color 160ms ease;
}
.side-nav a:hover {
  color: #f0d065;
}
.eyebrow {
  margin: 0;
  color: #f0d065;
  font-size: 12px;
  text-transform: uppercase;
}
h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}
.hero p:last-child {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(244, 239, 229, 0.75);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.4;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.tags span,
.links a {
  border: 1px solid rgba(240, 208, 101, 0.28);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(244, 239, 229, 0.8);
}
.tags span {
  padding: 8px 11px;
  font-size: 12px;
}
.links {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 10px;
}
.links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-height: 42px;
  padding: 0;
  color: rgba(244, 239, 229, 0.72);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}
.links a:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 208, 101, 0.5);
  background: rgba(240, 208, 101, 0.1);
  color: rgba(240, 208, 101, 0.9);
}
.links svg {
  width: 18px;
  height: 18px;
}
.probe {
  position: fixed;
  top: 28px;
  right: 142px;
  width: min(188px, calc(100vw - 40px));
  height: 154px;
  border: 1px solid rgba(240, 208, 101, 0.28);
  background: rgba(2, 7, 14, 0.22);
  backdrop-filter: blur(12px);
  color: rgba(240, 208, 101, 0.76);
  padding: 8px 10px 9px;
  font-size: 10px;
  line-height: 1.45;
  pointer-events: auto;
  overflow: hidden;
  transform-origin: top right;
  transition:
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background 240ms ease,
    border-color 240ms ease;
}
.probe-collapsed {
  width: 36px;
  height: 36px;
  padding: 0;
  border-color: rgba(240, 208, 101, 0.2);
  background: rgba(2, 7, 14, 0.14);
}
.probe-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 240ms ease;
}
.probe-collapsed .probe-content {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}
.probe-toggle {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: rgba(240, 208, 101, 0.34);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  opacity: 0;
  transform: rotate(180deg);
  transition:
    opacity 220ms ease,
    color 160ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.probe-toggle span {
  position: absolute;
  display: block;
  content: "";
}
.probe-toggle span {
  left: 6px;
  top: 5px;
  width: 19px;
  height: 19px;
  background: transparent;
  border-left: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
}
.probe:hover .probe-toggle,
.probe-collapsed .probe-toggle {
  opacity: 1;
}
.probe-collapsed .probe-toggle {
  color: rgba(240, 208, 101, 0.5);
  transform: rotate(0deg);
  top: 3px;
  right: 3px;
}
.probe-collapsed .probe-toggle span {
  left: 7px;
  top: 4px;
}
.probe-toggle:hover {
  color: rgba(240, 208, 101, 0.86);
}
.probe-title {
  padding-right: 24px;
  margin-bottom: 2px;
  color: rgba(240, 208, 101, 0.82);
  text-transform: uppercase;
}
.probe-state {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 0 0 5px;
  padding: 0;
  color: rgba(240, 208, 101, 0.48);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-transform: uppercase;
}
.probe-row,
.probe-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 5px;
}
.probe-row span,
.probe-control span {
  color: rgba(240, 208, 101, 0.62);
}
.probe-row strong,
.probe-control strong {
  color: rgba(240, 208, 101, 0.84);
  font-weight: 600;
}
.probe-control input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: #f0d065;
  cursor: pointer;
}
@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
  .side-nav {
    top: 20px;
    right: 20px;
  }
  .hero {
    width: min(100% - 40px, 760px);
    margin: 18vh 0 0 20px;
  }
  .links {
    left: 20px;
    right: 20px;
    justify-content: flex-start;
  }
  .probe {
    top: 20px;
    right: 132px;
  }
}
