/* Styles for the Venue View landing page. */
:root {
  --bg: #08050c;
  --bg-2: #0e0915;
  --line: rgba(217, 154, 255, 0.12);
  --line-2: rgba(217, 154, 255, 0.26);
  --text: #f4eff8;
  --muted: #b9adc6;
  --dim: #8c7f9b;
  --violet: #d99aff;
  --plum: #460071;
  --plum-2: #6b1fa6;
  --lime: #c2e000;
  --on-lime: #161b06;

  --radius: 20px;
  --flash: 260px;
  /* One gap for every space between sections. */
  --space: clamp(56px, 7vw, 96px);

  --font:
    Manrope, Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* A page shorter than the window still puts the footer at the bottom. */
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
body > main {
  flex: 1 0 auto;
}
/* A page that opens with a .page-top section stretches that section, so its
   background reaches the footer instead of stopping above it. */
body > main:has(> .page-top) {
  display: flex;
  flex-direction: column;
}
main > .page-top {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
  text-underline-offset: 3px;
}

canvas {
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--lime);
  color: #10140a;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

.kicker {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}
.kicker::before {
  content: ":: ";
  opacity: 0.6;
}
.kicker::after {
  content: " ::";
  opacity: 0.6;
}

h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 56ch;
  text-wrap: pretty;
}

.section-head {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  margin-bottom: var(--space);
}

/* Scroll reveal. Content stays visible when JavaScript is off. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Section rule: a hairline with a hatched corner, between sections. */
.rule {
  position: relative;
  height: 0;
  border-top: 1px solid var(--line);
}
.rule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(46vw, 520px);
  height: var(--space);
  pointer-events: none;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 21px,
    rgba(217, 154, 255, 0.07) 21px 22px
  );
  -webkit-mask: linear-gradient(135deg, #000, transparent 62%);
  mask: linear-gradient(135deg, #000, transparent 62%);
}
.rule.east::before {
  left: auto;
  right: 0;
  transform: scaleX(-1);
}

/* A surface with a gradient border and the pointer flashlight. */
.lit {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1b1128, #100a18 72%);
}
.lit::before,
.lamp::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.lit::before {
  background: linear-gradient(
    128deg,
    rgba(217, 154, 255, 0.42),
    rgba(217, 154, 255, 0.14) 22%,
    rgba(217, 154, 255, 0.08) 56%,
    rgba(217, 154, 255, 0.3)
  );
}
.lamp {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  .lit.near .lamp {
    opacity: 1;
  }
  .lamp {
    background: radial-gradient(
      circle var(--flash) at var(--x) var(--y),
      rgba(217, 154, 255, 0.12),
      rgba(217, 154, 255, 0.04) 47%,
      transparent
    );
  }
  .lamp::after {
    background: radial-gradient(
      circle var(--flash) at var(--x) var(--y),
      #f6e6ff,
      rgba(217, 154, 255, 0.6) 44%,
      transparent
    );
  }
}
@media (forced-colors: active) {
  .lit {
    border: 1px solid CanvasText;
  }
  .lit::before,
  .lamp {
    display: none;
  }
}
.glass {
  background: linear-gradient(
    150deg,
    rgba(40, 24, 58, 0.72),
    rgba(16, 10, 24, 0.72)
  );
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* Masthead */
.masthead {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 96px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand svg {
  width: 32px;
  height: 24px;
}
/* Beta status next to the product name. Remove at general availability. */
.badge {
  padding: 3px 8px;
  border: 1px solid rgba(194, 224, 0, 0.45);
  border-radius: 999px;
  font: 600 10px/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
/* On a phone the header has no room; the hero eyebrow still says Beta. */
@media (max-width: 480px) {
  .badge {
    display: none;
  }
}
.top-nav {
  display: flex;
  gap: clamp(18px, 2.6vw, 34px);
}
.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.top-nav a:hover {
  color: var(--text);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(40, 24, 58, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.pill:hover {
  border-color: var(--violet);
  background: rgba(70, 0, 113, 0.55);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 1040px);
  display: flex;
  overflow: hidden;
  background:
    radial-gradient(
      70rem 44rem at 72% 58%,
      rgba(107, 31, 166, 0.34),
      transparent 62%
    ),
    radial-gradient(
      40rem 30rem at 100% 100%,
      rgba(70, 0, 113, 0.5),
      transparent 70%
    ),
    linear-gradient(180deg, #0b0612, var(--bg));
}
/* Light rays from the upper left. */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% 0 -10%;
  pointer-events: none;
  background: conic-gradient(
    from 118deg at 28% -8%,
    transparent 0deg,
    rgba(217, 154, 255, 0.11) 5deg,
    transparent 11deg,
    rgba(217, 154, 255, 0.07) 17deg,
    transparent 23deg,
    rgba(217, 154, 255, 0.1) 30deg,
    transparent 39deg
  );
  filter: blur(16px);
  -webkit-mask: linear-gradient(180deg, #000 30%, transparent 86%);
  mask: linear-gradient(180deg, #000 30%, transparent 86%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.hero-fallback {
  position: absolute;
  right: 12%;
  top: 50%;
  width: min(38vw, 460px);
  transform: translateY(-40%);
  filter: drop-shadow(0 40px 60px rgba(107, 31, 166, 0.6));
}
.webgl .hero-fallback {
  display: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding-block: 150px 110px;
  pointer-events: none;
}
.hero-inner a,
.hero-inner button {
  pointer-events: auto;
}
.hero-copy {
  max-width: 620px;
  /* The copy takes the pointer so visitors can select and copy the text. */
  pointer-events: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(40, 24, 58, 0.5);
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.06em;
  color: var(--violet);
}
.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}
h1 {
  margin-top: 26px;
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.05em;
  text-wrap: balance;
  color: #fff;
}
h1 em {
  font-style: normal;
  color: var(--violet);
}
.lede {
  margin-top: 28px;
  max-width: 44ch;
  font-size: clamp(16px, 1.35vw, 18px);
  color: #d9cfe3;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 58px;
  padding: 0 28px 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(217, 154, 255, 0.5);
  background: linear-gradient(180deg, var(--plum-2), var(--plum));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 40px rgba(107, 31, 166, 0.5);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s;
}
.cta:hover {
  transform: translateY(-1px);
}
.cta i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
}
.cta svg,
.pill svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-meta {
  margin-top: 22px;
  font: 500 12px/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-cards {
  display: grid;
  gap: 22px;
  align-self: start;
  margin-top: 10px;
  justify-items: end;
}
.stat {
  width: 168px;
  padding: 16px 18px 14px;
  border-radius: 24px;
}
.stat > * {
  position: relative;
  z-index: 2;
}
.stat > .lamp {
  position: absolute;
  z-index: 1;
}
.stat:nth-child(1) {
  margin-right: 70px;
}
.stat b {
  display: block;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stat svg {
  display: block;
  width: 100%;
  height: 54px;
  margin: 14px 0 6px;
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.stat strong small {
  font: 500 11px var(--mono);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.stat em {
  display: block;
  margin-top: 6px;
  font: 500 10px/1.4 var(--mono);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Benefits strip */
.benefits {
  border-top: 1px solid var(--line);
}
.benefits .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.benefit {
  padding: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--line);
}
.benefit:first-child {
  border-left: 0;
  padding-left: 0;
}
.benefit span {
  font: 500 12px var(--mono);
  letter-spacing: 0.14em;
  color: var(--violet);
}
.benefit h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.benefit p {
  color: var(--muted);
  max-width: 34ch;
}

/* Features */
.features {
  padding-block: var(--space);
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 26px 20px;
}
.feature > * {
  position: relative;
  z-index: 2;
}
.feature > .lamp {
  position: absolute;
  z-index: 1;
}
.feature h3 {
  font-size: 24px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.feature p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  max-width: 46ch;
  text-wrap: pretty;
}
.obj {
  position: relative;
  flex: 1;
  min-height: 210px;
  margin-top: 8px;
  background: radial-gradient(
    closest-side,
    rgba(107, 31, 166, 0.36),
    transparent
  );
}
.obj canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.obj > svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.webgl .obj > svg {
  display: none;
}
.feature footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font: 500 11px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.f-cost {
  grid-column: span 6;
  grid-row: span 2;
}
.f-cost h3 {
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.04em;
}
.f-cost .obj {
  min-height: 340px;
}
.f-time,
.f-skills,
.f-org {
  grid-column: span 6;
}
.f-health,
.f-search {
  grid-column: span 3;
}
.feature.side {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 18px;
}
.feature.side .text {
  align-self: center;
}
.feature.side .obj {
  margin: 0;
  min-height: 230px;
}
.feature.side footer {
  grid-column: 1 / -1;
}

/* Demo */
.demo-section {
  padding-block: var(--space);
}
.demo {
  padding: 10px;
  max-width: 1060px;
  margin-inline: auto;
}
.demo > a,
.demo > iframe {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}
.demo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.9);
  transition: filter 0.2s;
}
.demo > a:hover img {
  filter: brightness(0.75);
}
.demo .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}
.demo .play svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Privacy atlas */
.atlas-section {
  padding-top: var(--space);
}
.atlas {
  position: relative;
  height: clamp(520px, 74vh, 640px);
  border-block: 1px solid var(--line);
  background:
    radial-gradient(
      60rem 30rem at 30% 40%,
      rgba(70, 0, 113, 0.3),
      transparent 70%
    ),
    var(--bg-2);
  overflow: hidden;
}
.atlas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.route {
  list-style: none;
  margin: 0;
  padding: 0;
}
.js .route li {
  position: absolute;
  left: calc(var(--u) * 100%);
  top: calc(var(--v) * 100%);
}
.station {
  display: grid;
  gap: 2px;
  padding: 6px 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  text-align: left;
  cursor: pointer;
  color: #8f84a3;
  transition: color 0.25s;
}
.js .station {
  transform: translate(8px, -100%);
}
.station b {
  font-size: clamp(44px, 6vw, 92px);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  transform-origin: left bottom;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.station span {
  font: 500 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.js .station[aria-pressed="true"] {
  color: var(--violet);
}
.js .station[aria-pressed="true"] b {
  transform: scale(1.28);
}
.js .route p {
  display: none;
}
.rule-detail {
  position: absolute;
  left: max(24px, calc((100% - 1240px) / 2));
  bottom: 34px;
  width: min(100% - 48px, 470px);
  padding: 22px 24px;
  border-radius: 18px;
  z-index: 3;
}
.rule-detail > * {
  position: relative;
  z-index: 2;
}
.rule-detail > .lamp {
  position: absolute;
  z-index: 1;
}
.rule-detail small {
  font: 500 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}
.rule-detail h3 {
  margin: 8px 0 8px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.rule-detail p {
  color: #d5cade;
  font-size: 15px;
}
html:not(.js) .rule-detail {
  display: none;
}
html:not(.js) .atlas {
  height: auto;
  padding: 40px 24px;
}
html:not(.js) .route li {
  margin-bottom: 20px;
}

/* Harness strip, between the privacy map and the install section. */
.harness-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
}
.harnesses {
  padding-block: var(--space);
}
.harness-strip p {
  font: 500 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.harnesses ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(18px, 2.6vw, 38px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.harnesses li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.harnesses li.more {
  color: var(--dim);
  font: 500 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.harnesses svg {
  width: 20px;
  height: 20px;
}

/* Install: relief and steps card */
.access {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: var(--space);
  background:
    radial-gradient(
      50rem 30rem at 50% 50%,
      rgba(70, 0, 113, 0.34),
      transparent 70%
    ),
    var(--bg-2);
}
.access canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.access .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.access-card {
  width: min(100%, 720px);
  padding: 32px 30px 26px;
  border-radius: 26px;
  pointer-events: auto;
}
.access-card > * {
  position: relative;
  z-index: 2;
}
.access-card > .lamp {
  position: absolute;
  z-index: 1;
}
.access .section-head {
  pointer-events: auto;
}
/* The booking calendar on the Talk to an expert page. */
/* The section opens the page, so it clears the absolute masthead. */
.access.page-top {
  border-top: 0;
  padding-top: calc(96px + var(--space));
}
/* The page title takes the section heading's size. */
.section-head h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.access-card.booking {
  width: min(100%, 1060px);
  padding: 10px;
}
.meetings-iframe-container {
  min-height: 680px;
}
.meetings-iframe-container iframe {
  display: block;
}
.steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
}
.steps li:last-child {
  padding-bottom: 6px;
}
.steps h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.steps h3::before {
  content: "0" counter(step);
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  color: var(--violet);
}
.steps p {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 14.5px;
}
.steps p code {
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-2);
  font: 500 12px var(--mono);
}
.terminal {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(8, 5, 12, 0.72);
}
.terminal pre {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow-x: auto;
  font: 500 12.5px/2.8 var(--mono);
  white-space: nowrap;
  scrollbar-width: none;
}
.terminal .prompt {
  color: var(--lime);
  user-select: none;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  color: var(--on-lime);
  font: 700 12.5px var(--font);
  cursor: pointer;
}
.copy-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.copy-btn .icon-check,
.copy-btn.is-copied .icon-copy {
  display: none;
}
.copy-btn.is-copied .icon-check {
  display: block;
}

/* Footer */
footer.site {
  background: var(--bg);
}
.foot-base .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  font: 500 11px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.footer-links a {
  text-decoration: none;
  white-space: nowrap;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-logo svg {
  display: block;
  width: 118px;
  height: 20px;
}

@media (max-width: 1080px) {
  .f-cost {
    grid-column: span 12;
    grid-row: auto;
  }
  .f-cost .obj {
    min-height: 280px;
  }
  .f-time,
  .f-skills,
  .f-org {
    grid-column: span 12;
  }
  .f-health,
  .f-search {
    grid-column: span 6;
  }
  .hero-cards {
    display: none;
  }
}

@media (max-width: 820px) {
  .top-nav {
    display: none;
  }
  .masthead .wrap {
    height: 76px;
  }
  .hero {
    flex-direction: column;
    min-height: 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 120px 0;
  }
  .hero-canvas {
    position: relative;
    inset: auto;
    height: 52svh;
    min-height: 340px;
    order: 2;
  }
  .hero-fallback {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 60%;
    margin: 40px auto 80px;
    order: 2;
  }
  .benefits .wrap {
    grid-template-columns: 1fr;
  }
  .benefit,
  .benefit:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0;
  }
  .benefit:first-child {
    border-top: 0;
  }
  .feature.side {
    display: flex;
  }
  .feature.side .obj {
    margin-top: 8px;
  }
  .atlas {
    height: 640px;
  }
  .station b {
    font-size: 44px;
  }
  .rule-detail {
    bottom: 20px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 32px, 1240px);
  }
  .f-health,
  .f-search {
    grid-column: span 12;
  }
  /* Show the whole command, so "less" and "sh" stay visible. */
  .terminal pre {
    padding-block: 10px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
  }
  .masthead .pill {
    padding: 0 14px;
  }
  .foot-base .wrap {
    flex-direction: column;
    justify-content: center;
    padding-block: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
