/*
Theme Name: PAPERBOX Signal
Theme URI: https://paperbox.example/
Author: PAPERBOX
Description: A standalone, single-page cyberpunk teaser that links to the PAPERBOX website.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: paperbox-teaser
*/

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&family=JetBrains+Mono:wght@400;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #111113;
  --panel: #1c1c20;
  --paper: #f2f0eb;
  --muted: #a6a6aa;
  --line: rgba(52, 52, 58, .9);
  --red: #e40712;
  --ruby-bright: #ff303b;
  --ruby-dark: #a9000a;
  --acid: var(--ruby-bright);
  --mono: "JetBrains Mono", Consolas, monospace;
  --display: "Chakra Petch", "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
  scroll-behavior: smooth;
}

body.pbx-teaser-theme {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 71% 48%, rgba(240, 45, 56, .12), transparent 38%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 56px 56px, 56px 56px, auto;
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

body.pbx-teaser-theme::after {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  content: "";
  inset: 0;
  opacity: .11;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, .48) 4px
  );
}

a {
  color: inherit;
}

.pbx-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  max-width: 1800px;
  margin-inline: auto;
  padding: clamp(20px, 3.2vw, 48px) clamp(20px, 5vw, 76px) 26px;
}

.pbx-topbar,
.pbx-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font: 700 11px/1.4 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.pbx-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-decoration: none;
}

.pbx-brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(228, 7, 18, .4));
  transition: filter .2s ease, transform .2s ease;
}

.pbx-brand:hover .pbx-brand-logo {
  filter: drop-shadow(0 0 12px rgba(255, 48, 59, .8));
  transform: rotate(-5deg) scale(1.08);
}

.pbx-top-meta,
.pbx-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.pbx-live {
  color: var(--paper);
}

.pbx-live-dot,
.pbx-eyebrow-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(215, 255, 79, .75);
  animation: pbx-pulse 1.6s ease-in-out infinite;
}

.pbx-main {
  display: grid;
  flex: 1;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr);
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(52px, 9vh, 112px);
}

.pbx-copy {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

.pbx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(20px, 3vh, 32px);
  color: var(--acid);
  font: 700 11px/1.5 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.pbx-title {
  margin: 0;
  font: 900 clamp(4.5rem, 11vw, 10.8rem)/.78 var(--display);
  letter-spacing: -.085em;
  text-transform: uppercase;
}

.pbx-title-line {
  display: block;
  position: relative;
  width: max-content;
  max-width: 100%;
}

.pbx-title-line + .pbx-title-line {
  margin-top: .13em;
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}

.pbx-title-line:last-child {
  color: var(--red);
  -webkit-text-stroke: 0;
  text-shadow: 4px 4px 0 rgba(215, 255, 79, .16);
}

.pbx-title-line:last-child::after {
  position: absolute;
  z-index: -1;
  content: attr(data-text);
  inset: 0;
  color: var(--acid);
  opacity: .45;
  transform: translate(5px, -3px);
  clip-path: inset(44% 0 34% 0);
  animation: pbx-title-glitch 4s steps(1, end) infinite;
}

.pbx-description {
  max-width: 520px;
  margin: clamp(26px, 4vh, 42px) 0 0;
  color: #c1c3c0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
}

.pbx-cta-wrap {
  margin-top: clamp(28px, 5vh, 52px);
}

.pbx-cta {
  position: relative;
  display: flex;
  min-height: 86px;
  width: min(100%, 560px);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border: 0;
  background: var(--acid);
  box-shadow: 8px 8px 0 var(--red);
  color: var(--ink);
  cursor: pointer;
  font: 900 clamp(15px, 2vw, 21px)/1.15 var(--mono);
  letter-spacing: -.04em;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pbx-cta::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  transition: width .18s ease;
}

.pbx-cta:hover,
.pbx-cta:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 5px;
  background: #e4ff83;
  box-shadow: 3px 3px 0 var(--red);
  transform: translate(5px, 5px);
}

.pbx-cta:hover::before,
.pbx-cta:focus-visible::before {
  width: 9px;
}

.pbx-cta:focus-visible {
  outline-offset: 7px;
}

.pbx-cta[aria-disabled="true"] {
  cursor: not-allowed;
  background: #777b70;
  box-shadow: 8px 8px 0 #594246;
}

.pbx-cta[aria-disabled="true"]:hover {
  outline: 0;
  background: #777b70;
  box-shadow: 8px 8px 0 #594246;
  transform: none;
}

.pbx-cta-label {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pbx-cta-arrow {
  flex: 0 0 auto;
  font-size: 30px;
}

.pbx-cta-hint {
  margin: 17px 0 0;
  color: var(--muted);
  font: 11px/1.6 var(--mono);
  letter-spacing: .04em;
}

.pbx-visual {
  position: relative;
  display: grid;
  min-height: min(54vw, 540px);
  place-items: center;
  isolation: isolate;
}

.pbx-visual::before,
.pbx-visual::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(241, 240, 233, .13);
  transform: rotate(45deg);
}

.pbx-visual::before {
  width: 76%;
  aspect-ratio: 1;
}

.pbx-visual::after {
  width: 54%;
  aspect-ratio: 1;
  border-color: rgba(240, 45, 56, .42);
  transform: rotate(15deg);
}

.pbx-coordinate {
  position: absolute;
  color: var(--muted);
  font: 10px/1.4 var(--mono);
  letter-spacing: .12em;
}

.pbx-coordinate-top {
  top: 8%;
  left: 0;
}

.pbx-coordinate-bottom {
  right: 0;
  bottom: 9%;
  text-align: right;
}

.pbx-core {
  position: relative;
  display: grid;
  width: min(67%, 300px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(215, 255, 79, .5);
  background: linear-gradient(145deg, rgba(215,255,79,.04), rgba(240,45,56,.08));
  box-shadow: 0 0 90px rgba(240, 45, 56, .14), inset 0 0 70px rgba(215, 255, 79, .05);
  transform: rotate(45deg);
  animation: pbx-core-float 5s ease-in-out infinite;
}

.pbx-core-inner {
  position: relative;
  display: grid;
  width: 69%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(241, 240, 233, .65);
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(215,255,79,.55) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(215,255,79,.55) 50%, transparent 50.5%),
    var(--ink);
  color: var(--acid);
  transform: rotate(-45deg);
}

.pbx-core-inner::before,
.pbx-core-inner::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(240, 45, 56, .8);
  inset: 17%;
  transform: rotate(45deg);
}

.pbx-core-inner::after {
  inset: 30%;
  border-color: rgba(215, 255, 79, .8);
  transform: rotate(0);
}

.pbx-core-symbol {
  z-index: 1;
  color: var(--paper);
  font: 900 clamp(37px, 6vw, 70px)/1 var(--display);
  text-shadow: 3px 0 var(--red), -3px 0 var(--acid);
}

.pbx-orbit {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border: 1px dashed rgba(241, 240, 233, .23);
  border-radius: 50%;
  animation: pbx-orbit 32s linear infinite;
}

.pbx-orbit::before,
.pbx-orbit::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
}

.pbx-orbit::before {
  top: 9%;
  left: 14%;
}

.pbx-orbit::after {
  right: 6%;
  bottom: 24%;
  width: 5px;
  height: 5px;
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid);
}

.pbx-crosshair {
  position: absolute;
  width: 95%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215,255,79,.35), transparent);
  transform: rotate(-27deg);
}

.pbx-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.pbx-footer strong {
  color: var(--paper);
}

.pbx-footer-code {
  color: var(--red);
}

.pbx-boot,
.pbx-warp {
  position: fixed;
  z-index: 30;
  display: grid;
  visibility: hidden;
  place-items: center;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  inset: 0;
}

.pbx-boot {
  z-index: 31;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(215,255,79,.12) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(215,255,79,.12) 50%, transparent 50.2%),
    var(--ink);
  background-size: 100% 100%, 100% 100%, auto;
}

.pbx-boot::before,
.pbx-warp::before {
  position: absolute;
  content: "";
  background: var(--red);
  inset: 49.8% 0;
  transform: scaleX(0);
  transform-origin: left;
}

.pbx-boot-copy {
  z-index: 1;
  width: min(90vw, 700px);
  font: 700 clamp(12px, 1.5vw, 16px)/1.8 var(--mono);
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
}

.pbx-boot-copy span {
  display: block;
  color: var(--acid);
}

.pbx-boot-meter {
  width: min(62vw, 340px);
  height: 3px;
  margin: 24px auto 0;
  background: rgba(241,240,233,.15);
}

.pbx-boot-meter::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
}

.is-booting .pbx-boot {
  visibility: visible;
  opacity: 1;
  animation: pbx-boot-screen 1.7s steps(1, end) forwards;
}

.is-booting .pbx-boot::before {
  animation: pbx-boot-flash .5s steps(1, end) .28s both;
}

.is-booting .pbx-boot-meter::after {
  animation: pbx-progress 1.35s cubic-bezier(.7, 0, .2, 1) .18s both;
}

.is-booting .pbx-shell {
  opacity: 0;
  transform: translateY(8px);
}

.pbx-shell {
  transition: opacity .55s ease, transform .55s ease;
}

.is-ready .pbx-shell {
  opacity: 1;
  transform: none;
}

.is-warping .pbx-warp {
  visibility: visible;
  opacity: 1;
  animation: pbx-warp-out .7s steps(1, end) forwards;
}

.is-warping .pbx-warp::before {
  animation: pbx-boot-flash .45s steps(1, end) both;
}

.pbx-warp-copy {
  z-index: 1;
  color: var(--paper);
  font: 700 clamp(13px, 2vw, 20px)/1.5 var(--mono);
  letter-spacing: .15em;
  text-align: center;
  text-transform: uppercase;
}

.pbx-warp-copy span {
  display: block;
  margin-top: 10px;
  color: var(--acid);
  font-size: 11px;
}

.pbx-screen-reader {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@keyframes pbx-pulse {
  50% { opacity: .38; }
}

@keyframes pbx-core-float {
  50% { transform: rotate(49deg) translateY(-8px); }
}

@keyframes pbx-orbit {
  to { transform: rotate(360deg); }
}

@keyframes pbx-title-glitch {
  0%, 91%, 100% { opacity: 0; transform: translate(0); }
  92% { opacity: .8; transform: translate(-8px, 2px); }
  94% { opacity: .4; transform: translate(6px, -4px); }
  96% { opacity: .9; transform: translate(2px, 1px); }
}

@keyframes pbx-boot-screen {
  0%, 76% { visibility: visible; opacity: 1; }
  100% { visibility: hidden; opacity: 0; }
}

@keyframes pbx-boot-flash {
  0% { transform: scaleX(0); }
  20% { transform: scaleX(1); }
  44% { transform: scaleX(.35); }
  62% { transform: scaleX(.9); }
  100% { transform: scaleX(0); }
}

@keyframes pbx-progress {
  to { transform: scaleX(1); }
}

@keyframes pbx-warp-out {
  0%, 80% { visibility: visible; opacity: 1; }
  100% { visibility: hidden; opacity: 0; }
}

@media (max-width: 800px) {
  .pbx-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-block: 70px 38px;
  }

  .pbx-visual {
    position: absolute;
    top: 18%;
    right: -15%;
    width: min(74vw, 480px);
    min-height: 0;
    aspect-ratio: 1;
    opacity: .34;
  }

  .pbx-copy {
    padding-block: 18px;
  }

  .pbx-title {
    font-size: clamp(4.2rem, 16vw, 8rem);
  }

  .pbx-description {
    max-width: 470px;
  }
}

@media (max-width: 520px) {
  .pbx-shell {
    padding-inline: 20px;
  }

  .pbx-topbar,
  .pbx-footer {
    font-size: 9px;
    letter-spacing: .08em;
  }

  .pbx-top-meta {
    display: none;
  }

  .pbx-title {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }

  .pbx-description {
    font-size: 15px;
  }

  .pbx-cta {
    min-height: 76px;
    padding: 16px;
    font-size: 14px;
  }

  .pbx-footer span:last-child {
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .pbx-boot,
  .pbx-warp {
    display: none;
  }
}

html,
body.pbx-teaser-theme {
  height: 100%;
  overflow: hidden;
}

body.pbx-teaser-theme {
  height: 100vh;
  height: 100dvh;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(228, 7, 18, .16), transparent 46%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 48px 48px, 48px 48px, auto;
}

body.admin-bar {
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
}

.pbx-shell {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(13px, 2.6vh, 28px) clamp(18px, 5vw, 76px) clamp(12px, 2.2vh, 24px);
}

.pbx-topbar {
  flex: 0 0 auto;
  min-height: 42px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.pbx-brand {
  font-family: var(--display);
}

.pbx-brand-logo {
  width: clamp(32px, 3vw, 40px);
  height: clamp(32px, 3vw, 40px);
}

.pbx-live-dot,
.pbx-eyebrow-dot {
  background: var(--ruby-bright);
  box-shadow: 0 0 14px rgba(255, 48, 59, .7);
}

.pbx-main {
  position: relative;
  display: grid;
  min-height: 0;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  padding: 12px 0;
}

.pbx-copy {
  isolation: isolate;
  width: min(100%, 920px);
  max-width: none;
  padding: clamp(24px, 5vh, 52px) clamp(18px, 4vw, 48px);
  text-align: center;
}

.pbx-copy::before {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(255, 48, 59, .24);
  background: linear-gradient(145deg, rgba(228, 7, 18, .075), rgba(28, 28, 32, .16) 58%, transparent);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  inset: 0;
}

.pbx-eyebrow {
  justify-content: center;
  margin-bottom: clamp(12px, 2vh, 22px);
  color: var(--ruby-bright);
  font-family: var(--mono);
}

.pbx-title {
  font-family: var(--display);
  font-size: clamp(3.2rem, 9.4vw, 8rem);
  line-height: .83;
  letter-spacing: -.055em;
  text-shadow: 3px 3px 0 var(--ruby-dark);
}

.pbx-title-line + .pbx-title-line {
  margin-top: .12em;
  -webkit-text-stroke-color: var(--paper);
}

.pbx-title-line:last-child {
  color: var(--red);
  text-shadow: 3px 3px 0 var(--ruby-dark);
}

.pbx-title-line:last-child::after {
  color: var(--ruby-bright);
}

.pbx-description {
  max-width: 560px;
  margin: clamp(16px, 2.6vh, 26px) auto 0;
  color: var(--muted);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 1.5;
}

.pbx-cta-wrap {
  width: min(100%, 610px);
  margin: clamp(20px, 3.4vh, 34px) auto 0;
}

.pbx-cta {
  min-height: clamp(76px, 11vh, 104px);
  width: 100%;
  justify-content: center;
  padding: 18px 62px;
  background: var(--red);
  box-shadow: 7px 7px 0 var(--ink), 0 0 28px rgba(228, 7, 18, .36);
  color: var(--paper);
  clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 17px, 100% 100%, 17px 100%, 0 calc(100% - 17px));
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 26px);
  letter-spacing: .045em;
  text-align: center;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pbx-cta::before {
  width: 5px;
  background: var(--ruby-bright);
}

.pbx-cta::after {
  position: absolute;
  border: 1px solid rgba(242, 240, 235, .4);
  content: "";
  pointer-events: none;
  inset: 5px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.pbx-cta:hover,
.pbx-cta:focus-visible {
  background: var(--ruby-dark);
  box-shadow: 4px 4px 0 var(--ink), 0 0 42px rgba(228, 7, 18, .55);
  transform: translate(3px, 3px);
}

.pbx-cta:hover::before,
.pbx-cta:focus-visible::before {
  width: 8px;
}

.pbx-cta-label {
  justify-content: center;
  gap: 14px;
}

.pbx-cta-label > span:first-child {
  color: var(--paper);
}

.pbx-cta-arrow {
  position: absolute;
  right: clamp(18px, 3vw, 30px);
  color: var(--paper);
  font-size: 32px;
  transition: transform .18s ease;
}

.pbx-cta:hover .pbx-cta-arrow,
.pbx-cta:focus-visible .pbx-cta-arrow {
  transform: translate(4px, -4px);
}

.pbx-cta[aria-disabled="true"] {
  background: #4a2528;
  box-shadow: 7px 7px 0 var(--ink);
  color: #b6a7a8;
}

.pbx-cta[aria-disabled="true"]::after {
  border-color: rgba(242, 240, 235, .18);
}

.pbx-cta[aria-disabled="true"]:hover {
  background: #4a2528;
  box-shadow: 7px 7px 0 var(--ink);
}

.pbx-cta-hint {
  margin-top: 12px;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.pbx-visual {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: max(2%, calc((100vw - 1500px) / 2));
  display: grid;
  width: clamp(220px, 32vw, 440px);
  min-height: 0;
  aspect-ratio: 1;
  place-items: center;
  opacity: .48;
  pointer-events: none;
  transform: translateY(-50%);
}

.pbx-visual::before,
.pbx-visual::after {
  border-color: rgba(242, 240, 235, .13);
}

.pbx-visual::after {
  border-color: rgba(228, 7, 18, .56);
}

.pbx-coordinate {
  color: var(--muted);
  font-family: var(--mono);
}

.pbx-core {
  border-color: rgba(255, 48, 59, .62);
  background: linear-gradient(145deg, rgba(228, 7, 18, .08), rgba(228, 7, 18, .025));
  box-shadow: 0 0 90px rgba(228, 7, 18, .18), inset 0 0 70px rgba(228, 7, 18, .06);
}

.pbx-core-inner {
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255,48,59,.55) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(255,48,59,.55) 50%, transparent 50.5%),
    var(--ink);
}

.pbx-core-inner::before {
  border-color: rgba(228, 7, 18, .85);
}

.pbx-core-inner::after {
  border-color: rgba(255, 48, 59, .8);
}

.pbx-core-symbol {
  text-shadow: 3px 0 var(--red), -3px 0 var(--ruby-bright);
}

.pbx-orbit {
  border-color: rgba(242, 240, 235, .25);
}

.pbx-orbit::before {
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
}

.pbx-orbit::after {
  background: var(--ruby-bright);
  box-shadow: 0 0 16px var(--ruby-bright);
}

.pbx-crosshair {
  background: linear-gradient(90deg, transparent, rgba(255,48,59,.4), transparent);
}

.pbx-footer {
  flex: 0 0 auto;
  padding-top: 11px;
  font-size: 10px;
}

.pbx-footer-code {
  color: var(--ruby-bright);
}

.pbx-boot,
.pbx-warp {
  background: var(--ink);
}

.pbx-boot {
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(228,7,18,.18) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(228,7,18,.18) 50%, transparent 50.2%),
    var(--ink);
}

.pbx-boot::before,
.pbx-warp::before {
  background: var(--red);
}

.pbx-boot-copy span,
.pbx-warp-copy span {
  color: var(--ruby-bright);
}

.pbx-boot-meter::after {
  background: var(--red);
}

@media (max-width: 800px) {
  body.admin-bar {
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
  }

  .pbx-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 10px 0;
  }

  .pbx-copy {
    padding: clamp(24px, 5vh, 42px) clamp(16px, 4vw, 30px);
  }

  .pbx-visual {
    top: 50%;
    right: -17%;
    width: min(68vw, 360px);
    opacity: .2;
  }

  .pbx-title {
    font-size: clamp(3.2rem, 11.5vw, 6.5rem);
  }
}

@media (max-width: 1024px) {
  .pbx-visual {
    right: -8%;
    width: min(48vw, 360px);
    opacity: .16;
  }

  .pbx-title {
    font-size: clamp(3.2rem, 11vw, 6.5rem);
  }
}

@media (max-width: 600px) {
  .pbx-shell {
    padding: 12px 16px 10px;
  }

  .pbx-topbar {
    min-height: 34px;
    padding-bottom: 8px;
  }

  .pbx-topbar,
  .pbx-footer {
    font-size: 9px;
    letter-spacing: .07em;
  }

  .pbx-brand {
    gap: 8px;
  }

  .pbx-brand-logo {
    width: 30px;
    height: 30px;
  }

  .pbx-top-meta {
    display: none;
  }

  .pbx-live {
    gap: 7px;
  }

  .pbx-copy {
    padding: 24px 12px;
  }

  .pbx-eyebrow {
    gap: 7px;
    font-size: 9px;
    letter-spacing: .1em;
  }

  .pbx-title {
    font-size: clamp(3rem, 13.8vw, 5.2rem);
  }

  .pbx-description {
    max-width: 320px;
    font-size: 14px;
  }

  .pbx-cta-wrap {
    width: 100%;
    margin-top: 22px;
  }

  .pbx-cta {
    min-height: 76px;
    padding: 16px 46px 16px 15px;
    font-size: clamp(15px, 4.5vw, 19px);
  }

  .pbx-cta-label {
    gap: 9px;
  }

  .pbx-cta-arrow {
    right: 15px;
    font-size: 25px;
  }

  .pbx-cta-hint {
    font-size: 8px;
    letter-spacing: .02em;
  }

  .pbx-visual {
    right: -26%;
    width: min(76vw, 280px);
    opacity: .15;
  }

  .pbx-coordinate {
    display: none;
  }

  .pbx-footer {
    padding-top: 8px;
  }
}

@media (max-height: 600px) {
  .pbx-shell {
    padding-top: 10px;
    padding-bottom: 9px;
  }

  .pbx-topbar {
    min-height: 30px;
    padding-bottom: 7px;
  }

  .pbx-copy {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .pbx-eyebrow {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .pbx-title {
    font-size: clamp(2.8rem, 10vh, 5.4rem);
  }

  .pbx-description {
    margin-top: 12px;
    font-size: 13px;
  }

  .pbx-cta-wrap {
    margin-top: 15px;
  }

  .pbx-cta {
    min-height: 62px;
  }

  .pbx-cta-hint {
    margin-top: 7px;
  }

  .pbx-footer {
    padding-top: 7px;
  }
}
