/* Pixel Installer feature page.
   Scoped to /features/pixel-installer/ so the mockup-heavy styling does not
   leak into the general landing page. */

.pi-hero {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0 clamp(64px, 8vw, 96px);
  overflow: hidden;
}
.pi-hero::before {
  content: "";
  position: absolute;
  inset: -260px -160px auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 64%);
  pointer-events: none;
}
.pi-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(44px, 7vw, 88px);
  align-items: center;
}
.pi-hero-copy h1 {
  max-width: 760px;
  color: var(--fg-strong);
  font-size: clamp(42px, 6.6vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}
.pi-hero-copy .lede {
  max-width: 660px;
}
.pi-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.pi-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.1);
  color: var(--fg);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 11px;
}
.pi-hero-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.pi-hero-visual {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.pi-hero-visual::before,
.pi-hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}
.pi-hero-visual::before {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(59, 109, 255, 0.28), transparent 68%);
  filter: blur(4px);
}
.pi-hero-visual::after {
  width: 300px;
  height: 300px;
  right: 4%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.14), transparent 70%);
}
.pi-phone {
  position: relative;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, #141a27, #05070c);
  box-shadow:
    0 34px 100px -34px rgba(0, 0, 0, 0.88),
    0 0 0 7px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.pi-phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: 66px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 2;
}
.pi-phone::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 26px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 34%);
  pointer-events: none;
  z-index: 3;
}
.pi-phone-host {
  width: min(100%, 360px);
  border-radius: 38px;
  padding: 16px;
  transform: rotate(-2deg);
  z-index: 2;
}
.pi-phone-target {
  width: min(100%, 252px);
  border-radius: 34px;
  padding: 12px;
  transform: rotate(4deg) translateY(22px);
  z-index: 2;
}
.pi-hardware-button {
  position: absolute;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #232b3a, #06080d);
  box-shadow: inset 1px 0 rgba(255, 255, 255, 0.16);
}
.pi-hardware-button-power {
  right: -5px;
  top: 130px;
  height: 72px;
}
.pi-hardware-button-volume {
  left: -5px;
  top: 118px;
  height: 104px;
}
.pi-phone-screen {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-radius: 29px;
  background:
    radial-gradient(circle at 24% 4%, rgba(124, 92, 255, 0.42), transparent 30%),
    radial-gradient(circle at 90% 92%, rgba(59, 109, 255, 0.30), transparent 40%),
    linear-gradient(180deg, rgba(12, 16, 28, 0.82), rgba(5, 8, 14, 0.95)),
    #080b12;
  padding: 34px 18px 18px;
}
.pi-phone-target .pi-phone-screen {
  min-height: 484px;
  border-radius: 24px;
}
.pi-status {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 700;
  margin: 0 4px 20px;
}
.pi-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pi-status-icons i {
  display: block;
  width: 4px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.76);
}
.pi-status-icons i:first-child {
  height: 7px;
  opacity: 0.62;
}
.pi-status-icons b {
  display: block;
  width: 18px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 3px;
  position: relative;
}
.pi-status-icons b::before {
  content: "";
  position: absolute;
  inset: 2px 5px 2px 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.76);
}
.pi-status-icons b::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: rgba(255, 255, 255, 0.72);
}
.pi-app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pi-app-icon {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c5cff, #3b6dff);
  color: #fff;
  font-weight: 800;
}
.pi-app-bar strong,
.pi-app-bar small {
  display: block;
}
.pi-app-bar strong {
  color: #fff;
  font-size: 14px;
}
.pi-app-bar small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}
.pi-step-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 12px;
}
.pi-step-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.pi-step-dots .active {
  background: #7c5cff;
  box-shadow: 0 0 0 5px rgba(124, 92, 255, 0.18);
}
.pi-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.82);
  padding: 16px;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}
.pi-panel-label {
  color: #a08aff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}
.pi-panel h2 {
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.pi-panel p:not(.pi-panel-label) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  line-height: 1.5;
}
.pi-warning {
  color: #fbbf24 !important;
  font-weight: 650;
}
.pi-panel button,
.pi-panel a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 14px;
  border-radius: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}
.pi-panel button {
  border: none;
  background: linear-gradient(110deg, #ef4444, #f43f5e);
  color: #fff;
}
.pi-panel a {
  border: 1px solid rgba(124, 92, 255, 0.42);
  color: #a08aff;
  background: rgba(124, 92, 255, 0.08);
}
.pi-auth-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.08);
  color: rgba(220, 252, 231, 0.86);
  font-size: 11.5px;
  line-height: 1.35;
  padding: 9px 10px;
}
.pi-auth-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #22c55e;
}
.pi-transfer-card {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.45);
  padding: 12px;
}
.pi-transfer-head {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  margin-bottom: 9px;
}
.pi-transfer-head strong {
  color: #fff;
}
.pi-transfer-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 9px;
}
.pi-transfer-rows span {
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  padding: 6px 5px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pi-transfer-rows .done {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}
.pi-transfer-rows .active {
  color: #93c5fd;
  background: rgba(59, 109, 255, 0.14);
}
.pi-terminal {
  margin-top: 12px;
  min-height: 126px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(2, 6, 23, 0.72);
  padding: 13px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.72);
}
.pi-terminal p + p {
  margin-top: 7px;
}
.pi-terminal .good {
  color: #22c55e;
}
.pi-terminal span {
  color: rgba(255, 255, 255, 0.42);
}
.pi-cable {
  position: absolute;
  left: 39%;
  right: 16%;
  top: 64%;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d1d5db, #64748b 46%, #d1d5db);
  transform: rotate(9deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  z-index: 1;
}
.pi-cable::before,
.pi-cable::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 28px;
  height: 30px;
  border-radius: 8px;
  background: #e5e7eb;
}
.pi-cable::before { left: -12px; }
.pi-cable::after { right: -12px; }
.pi-fastboot {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 42% 16%, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(2, 6, 23, 0.98)),
    #020617;
}
.pi-target-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
}
.pi-pixel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
}
.pi-bootloader {
  display: grid;
  gap: 8px;
  text-align: center;
  margin: 12px 0;
}
.pi-bootloader span {
  color: #60a5fa;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
}
.pi-bootloader strong {
  color: #fff;
  font-size: 19px;
}
.pi-bootloader small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
}
.pi-fastboot-list {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}
.pi-fastboot-list p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
}
.pi-fastboot-list span {
  color: rgba(255, 255, 255, 0.45);
}
.pi-fastboot-list strong {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  text-align: right;
}
.pi-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.pi-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c5cff, #3b6dff);
}
.pi-target-foot {
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10.5px;
  line-height: 1.35;
}

.pi-hero-visual-single {
  grid-template-columns: 1fr;
  gap: 0;
}
.pi-phone-app {
  width: min(100%, 332px);
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  padding: 12px;
  transform: none;
  z-index: 2;
}
.pi-phone-app::before {
  top: 17px;
  width: 70px;
  height: 5px;
  opacity: 0.82;
}
.pi-phone-app::after {
  inset: 12px;
  border-radius: 32px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(180deg, transparent 68%, rgba(255, 255, 255, 0.05));
}
.pi-phone-app .pi-hardware-button-power {
  top: 146px;
  height: 76px;
}
.pi-phone-app .pi-hardware-button-volume {
  top: 124px;
  height: 112px;
}
.pi-phone-app .pi-phone-screen {
  height: 100%;
  min-height: 0;
}
.pi-installer-screen {
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  background:
    radial-gradient(circle at 22% 0%, rgba(124, 92, 255, 0.34), transparent 29%),
    radial-gradient(circle at 92% 88%, rgba(34, 197, 94, 0.16), transparent 38%),
    linear-gradient(180deg, #111827 0%, #070b13 58%, #05070c 100%);
  padding: 32px 13px 13px;
}
.pi-phone-app .pi-status {
  position: relative;
  z-index: 4;
  margin: 0 4px 12px;
}
.pi-installer-shell {
  position: relative;
  z-index: 4;
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 9px;
}
.pi-app-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pi-app-top .pi-app-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(59, 109, 255, 0.32);
}
.pi-app-top strong,
.pi-app-top small {
  display: block;
}
.pi-app-top strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}
.pi-app-top small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}
.pi-secure-chip {
  margin-left: auto;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
}
.pi-flow-header {
  padding: 10px 2px 2px;
}
.pi-flow-header p {
  color: #a78bfa;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
}
.pi-flow-header h2 {
  color: #fff;
  font-size: 22px;
  line-height: 1.08;
  margin: 0;
}
.pi-step-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin: 13px 0 7px;
}
.pi-step-rail span {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}
.pi-step-rail .done {
  background: rgba(34, 197, 94, 0.72);
}
.pi-step-rail .active {
  background: linear-gradient(90deg, #7c5cff, #3b6dff);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}
.pi-step-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 8.5px;
  font-weight: 700;
  text-align: center;
}
.pi-connected-card,
.pi-image-card,
.pi-install-progress,
.pi-mini-log {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.68);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}
.pi-connected-card {
  border-radius: 19px;
  padding: 11px;
}
.pi-card-row,
.pi-image-card,
.pi-progress-header {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pi-card-row > div {
  min-width: 0;
}
.pi-card-row strong,
.pi-card-row small,
.pi-image-card p,
.pi-image-card strong {
  display: block;
}
.pi-card-row strong {
  color: #fff;
  font-size: 12.5px;
}
.pi-card-row small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
}
.pi-device-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 46px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(150deg, #101827, #32405b 52%, #111827);
  border: 2px solid #05070c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.pi-card-status,
.pi-verified {
  margin-left: auto;
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.13);
  border: 1px solid rgba(34, 197, 94, 0.26);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
}
.pi-device-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.pi-device-metrics span {
  min-width: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
  padding: 8px 6px;
  text-align: center;
}
.pi-device-metrics b,
.pi-device-metrics small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pi-device-metrics b {
  color: #fff;
  font-size: 10.5px;
}
.pi-device-metrics small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 8px;
  margin-top: 3px;
}
.pi-image-card {
  justify-content: space-between;
  border-radius: 17px;
  padding: 10px 11px;
}
.pi-image-card p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9.5px;
  margin-bottom: 3px;
}
.pi-image-card strong {
  color: #fff;
  font-size: 12px;
}
.pi-install-progress {
  border-radius: 17px;
  padding: 11px;
}
.pi-progress-header {
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  margin-bottom: 9px;
}
.pi-progress-header strong {
  color: #fff;
  font-size: 12px;
}
.pi-progress-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 9px;
}
.pi-progress-list span {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.46);
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.2;
  padding: 6px 4px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pi-progress-list .done {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}
.pi-progress-list .active {
  color: #bfdbfe;
  background: rgba(59, 109, 255, 0.16);
}
.pi-progress-log {
  overflow: hidden;
  margin-top: 8px;
  border-radius: 9px;
  background: rgba(2, 6, 23, 0.5);
  color: rgba(255, 255, 255, 0.66);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 8.5px;
  line-height: 1.2;
  padding: 7px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pi-progress-log span {
  color: rgba(255, 255, 255, 0.38);
}
.pi-erase-note {
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 13px;
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.35;
  padding: 9px 10px;
}
.pi-action-stack {
  display: grid;
  gap: 7px;
}
.pi-action-stack button,
.pi-action-stack a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 13px;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}
.pi-action-stack button {
  border: none;
  color: #fff;
  background: linear-gradient(115deg, #ef4444, #f43f5e 48%, #7c5cff);
  box-shadow: 0 14px 28px rgba(239, 68, 68, 0.24);
}
.pi-action-stack a {
  border: 1px solid rgba(124, 92, 255, 0.36);
  color: #c4b5fd;
  background: rgba(124, 92, 255, 0.08);
}
.pi-mini-log {
  min-height: 74px;
  border-radius: 15px;
  background: rgba(2, 6, 23, 0.72);
  color: rgba(255, 255, 255, 0.67);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 9.5px;
  line-height: 1.35;
  padding: 10px;
}
.pi-mini-log p + p {
  margin-top: 5px;
}
.pi-mini-log span {
  color: rgba(255, 255, 255, 0.38);
}
.pi-mini-log .good {
  color: #86efac;
}

.pi-band {
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(124, 92, 255, 0.03);
}
.pi-kpi-grid,
.pi-flow-grid,
.pi-safety-grid {
  display: grid;
  gap: 16px;
}
.pi-kpi-grid {
  grid-template-columns: repeat(4, 1fr);
}
.pi-kpi-grid article,
.pi-flow-card,
.pi-safety-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
}
.pi-kpi-grid article {
  padding: 20px;
}
.pi-kpi-grid strong,
.pi-flow-card h3,
.pi-safety-grid h3 {
  color: var(--fg-strong);
}
.pi-kpi-grid strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}
.pi-kpi-grid p,
.pi-flow-card p,
.pi-safety-grid p {
  color: var(--fg-mute);
  font-size: 14px;
  line-height: 1.6;
}
.pi-flow-grid {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 28px;
}
.pi-flow-card {
  padding: 24px 20px 22px;
}
.pi-flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.pi-flow-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.pi-split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.pi-admin-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: 0 34px 90px -38px rgba(0, 0, 0, 0.9);
}
.pi-admin-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 12px 14px;
}
.pi-admin-titlebar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.pi-admin-titlebar span:first-child { background: #ef4444; }
.pi-admin-titlebar span:nth-child(2) { background: #f59e0b; }
.pi-admin-titlebar span:nth-child(3) { background: #22c55e; }
.pi-admin-titlebar p {
  margin-left: 8px;
  color: var(--fg-mute);
  font-size: 12px;
}
.pi-admin-body {
  padding: 22px;
}
.pi-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pi-admin-head p {
  color: var(--fg-mute);
  font-size: 12px;
  margin-bottom: 3px;
}
.pi-admin-head strong {
  color: var(--fg-strong);
  font-size: 18px;
}
.pi-admin-badge {
  display: inline-flex;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}
.pi-admin-device {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  padding: 12px;
  margin-bottom: 14px;
}
.pi-admin-phone-icon {
  width: 28px;
  height: 38px;
  flex: 0 0 28px;
  border: 1px solid rgba(96, 165, 250, 0.34);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(96, 165, 250, 0.18), rgba(124, 92, 255, 0.10)),
    #111827;
}
.pi-admin-device strong,
.pi-admin-device small {
  display: block;
}
.pi-admin-device strong {
  color: var(--fg-strong);
  font-size: 13px;
}
.pi-admin-device small {
  color: var(--fg-mute);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  margin-top: 2px;
}
.pi-admin-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.pi-admin-progress div {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 8px;
}
.pi-admin-progress span {
  display: block;
  width: 16px;
  height: 16px;
  margin-bottom: 8px;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 50%;
}
.pi-admin-progress span.done {
  border-color: rgba(34, 197, 94, 0.48);
  background: radial-gradient(circle at center, #22c55e 0 42%, rgba(34, 197, 94, 0.14) 45%);
}
.pi-admin-progress p {
  color: var(--fg-mute);
  font-size: 10.5px;
  line-height: 1.25;
}
.pi-admin-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}
.pi-admin-table p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}
.pi-admin-table p:last-child {
  border-bottom: none;
}
.pi-admin-table span {
  color: var(--fg-mute);
}
.pi-admin-table strong {
  color: var(--fg-strong);
}
.pi-admin-table .ok {
  color: #22c55e;
}
.pi-admin-log {
  display: grid;
  gap: 7px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
}
.pi-admin-log p {
  display: flex;
  gap: 8px;
  color: var(--fg);
}
.pi-admin-log span {
  color: var(--fg-dim);
}
.pi-safety-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}
.pi-safety-grid article {
  padding: 24px;
}
.pi-safety-grid h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

@media (max-width: 1120px) {
  .pi-hero-grid,
  .pi-split {
    grid-template-columns: 1fr;
  }
  .pi-hero-visual {
    max-width: 640px;
    margin: 0 auto;
  }
  .pi-kpi-grid,
  .pi-safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pi-flow-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .pi-hero {
    padding-top: 58px;
  }
  .pi-hero-visual {
    min-height: 720px;
    display: grid;
  }
  .pi-phone-app {
    width: min(100%, 332px);
  }
  .pi-phone-host,
  .pi-phone-target {
    transform: none;
  }
  .pi-phone-host {
    width: min(100%, 310px);
    margin-bottom: 26px;
  }
  .pi-phone-target {
    width: min(78%, 230px);
  }
  .pi-cable {
    left: 50%;
    right: auto;
    top: 53%;
    width: 18px;
    height: 128px;
    transform: translateX(-50%) rotate(0);
  }
  .pi-cable::before,
  .pi-cable::after {
    left: -5px;
    right: auto;
  }
  .pi-cable::before { top: -10px; }
  .pi-cable::after { top: auto; bottom: -10px; }
  .pi-kpi-grid,
  .pi-flow-grid,
  .pi-safety-grid {
    grid-template-columns: 1fr;
  }
  .pi-phone-screen {
    min-height: 560px;
  }
  .pi-phone-app .pi-phone-screen {
    min-height: 0;
  }
}
