/* Elements splash — page-scoped; do not load on other site pages. Shares pp- chrome with personas.css. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/geist/geist-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/geist/geist-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/geist/geist-sans-600.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/geist/geist-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/geist/geist-mono-500.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/geist/geist-mono-600.woff2") format("woff2");
}

@keyframes pp-spin {
  to {
    transform: rotate(360deg);
  }
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.pp {
  margin: 0;
  background: #fafafa;
  color: #1c1d1f;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.pp a {
  color: #1c1d1f;
  text-decoration: none;
}

.pp a:hover {
  color: #606168;
}

.pp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 8px 12px;
  background: #1c1d1f;
  color: #fff;
  font-size: 13px;
}

.pp-skip:focus {
  left: 12px;
  top: 12px;
}

.pp-page {
  min-height: 100vh;
  background: #fafafa;
}

/* —— Header —— */
.pp-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 250, 250, 0.62);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}

.pp-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: calc(-1 * min(36px, max(0px, (100vw - 1112px) / 2)));
}

.pp-back {
  display: grid;
  place-items: center;
  width: 28px;
  height: 30px;
  border-radius: 8px;
  color: #606168;
}

.pp-back:hover {
  color: #1c1d1f;
}

.pp-prod {
  position: relative;
}

.pp-prod-btn {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  cursor: pointer;
  padding: 4px 8px;
  margin: -4px -8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font: inherit;
  color: inherit;
  transition: background 0.12s, box-shadow 0.12s;
}

.pp-prod-btn:hover,
.pp-prod-btn[aria-expanded="true"] {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.075), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pp-prod-foundations {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #9b9ca2;
}

.pp-prod-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pp-prod-btn svg {
  align-self: center;
  margin-left: 3px;
}

.pp-prod-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.pp-prod-menu {
  position: absolute;
  left: -8px;
  top: calc(100% + 10px);
  width: 250px;
  z-index: 41;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pp-prod-menu[hidden],
.pp-prod-backdrop[hidden] {
  display: none;
}

.pp-prod-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
}

.pp-prod-item.is-current {
  background: #f2f2f3;
}

.pp-prod-item.is-soon {
  cursor: not-allowed;
  opacity: 0.5;
}

.pp-prod-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1c1d1f;
}

.pp-prod-item-row .pp-check {
  margin-left: auto;
  font-size: 12px;
  color: #606168;
}

.pp-prod-soon {
  margin-left: auto;
  font: 500 10px "Geist Mono", monospace;
  color: #606168;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 999px;
  padding: 0 7px;
}

.pp-prod-item-desc {
  font-size: 12px;
  color: #606168;
}

.pp-header-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pp-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #606168;
  flex-wrap: wrap;
}

.pp-nav a {
  color: #606168;
}

.pp-nav a:hover {
  color: #1c1d1f;
}

.pp-qr {
  position: relative;
}

.pp-qr-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: #606168;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  height: 1.5em;
  border-radius: 5px;
  font: inherit;
  line-height: 1;
}

.pp-qr-btn:hover,
.pp-qr-btn[aria-expanded="true"] {
  color: #1c1d1f;
}

.pp-qr-btn svg {
  display: block;
}

.pp-qr-underline {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -2px;
  height: 2px;
  background: #1c1d1f;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: opacity 130ms ease-in-out, transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pp-qr-btn:hover .pp-qr-underline,
.pp-qr-btn[aria-expanded="true"] .pp-qr-underline {
  opacity: 1;
  transform: scaleX(1);
}

.pp-qr-pop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 42;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 16px 48px rgba(0, 0, 0, 0.12);
  padding: 1.6rem 1.7rem 1.5rem;
}

.pp-qr-pop[hidden] {
  display: none;
}

.pp-qr-pop::before {
  content: "";
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  border: 0.7rem solid transparent;
  border-bottom-color: #fff;
}

.pp-qr-link {
  display: block;
}

.pp-qr-pop img {
  display: block;
  width: 10rem;
  height: 10rem;
  image-rendering: pixelated;
}

.pp-qr-close {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  color: #9b9ca2;
  cursor: pointer;
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.4rem;
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 14px;
  border: 0;
  border-radius: 9px;
  background: #1c1d1f;
  color: #fff;
  font: 500 13px "Geist", system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.12s;
}

.pp-btn:hover {
  background: #33343a;
  color: #fff;
}

.pp-btn-lg {
  padding: 10px 18px;
  font-weight: 500;
}

.pp-btn-ghost {
  background: #fff;
  color: #1c1d1f;
  border: 1px solid rgba(0, 0, 0, 0.13);
}

.pp-btn-ghost:hover {
  background: #fff;
  color: #606168;
}

/* —— Intro —— */
.pp-intro {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.pp-intro h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 760px;
  text-wrap: balance;
}

.pp-lede {
  margin: -12px 0 0;
  max-width: 600px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #606168;
  text-wrap: pretty;
}

.pp-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Product UI mock */
.pp-ui-frame {
  width: 100%;
  background: #e7e7e8;
  border-radius: 20px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.075);
}

.pp-ui {
  display: flex;
  background: #fafafa;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.075);
  overflow: hidden;
  min-height: 470px;
}

.pp-aside {
  width: 200px;
  flex: none;
  background: #f4f4f5;
  border-right: 1px solid rgba(0, 0, 0, 0.075);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-aside-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px 14px;
}

.pp-aside-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #1c1d1f;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.pp-aside-brand > span:last-child {
  font-weight: 600;
  font-size: 13px;
}

.pp-aside-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
  cursor: default;
  background: transparent;
  box-shadow: none;
  color: #606168;
  border: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.pp-aside-item.is-on {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.075);
  color: #1c1d1f;
}

.pp-aside-item span:first-child {
  flex: 1;
}

.pp-aside-item span:last-child {
  font: 11px "Geist Mono", monospace;
  color: #9b9ca2;
}

.pp-aside-credits {
  margin-top: auto;
  padding: 10px 8px 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.075);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #606168;
}

.pp-dot-ok {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f8a4f;
}

.pp-aside-credits .pp-mono {
  font-family: "Geist Mono", monospace;
}

.pp-ui-main {
  flex: 1;
  min-width: 0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-x: auto;
}

.pp-bullets {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 4px 4px 0;
}

.pp-bullets p {
  margin: 0;
  font-size: 13px;
  color: #606168;
  text-wrap: pretty;
}

.pp-bullets strong {
  color: #1c1d1f;
  font-weight: 500;
}

/* —— Features —— */
.pp-features {
  max-width: 1160px;
  margin: 0 auto;
  padding: 140px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 140px;
}

.pp-feat {
  display: flex;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
}

.pp-feat.is-reverse {
  flex-wrap: wrap-reverse;
}

.pp-feat-copy {
  flex: 1 1 320px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pp-feat-copy h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.pp-feat-copy h2 .pp-muted {
  color: #9b9ca2;
}

.pp-feat-copy > p {
  margin: 0;
  color: #606168;
  text-wrap: pretty;
}

.pp-feat-list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.075);
  padding: 0;
  list-style: none;
}

.pp-feat-list li {
  display: flex;
  align-items: center;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  font-size: 13px;
}

.pp-feat-list .pp-chev {
  margin-left: auto;
  color: #9b9ca2;
}

.pp-feat-list .pp-red {
  color: #cf3f38;
}

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

.pp-btn-block {
  width: 100%;
  text-align: center;
}

.pp-linkish {
  color: #606168;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Agents —— */
.pp-agents {
  margin-top: 100px;
  background: linear-gradient(180deg, #3a86e8 0%, #69a9f2 100%);
  color: #fff;
  padding: 110px 24px;
}

.pp-agents-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.pp-agents h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.pp-agents > .pp-agents-inner > p {
  margin: 0;
  max-width: 560px;
  text-align: center;
  color: #fff;
  text-wrap: pretty;
}

.pp-agent-frame {
  width: 100%;
  max-width: 820px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 12px;
}

.pp-agent-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(10, 40, 90, 0.25);
  overflow: hidden;
  color: #1c1d1f;
}

.pp-agent-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  background: #f6f6f7;
}

.pp-agent-bar > span:first-child {
  font: 500 11px "Geist Mono", monospace;
  color: #606168;
}

.pp-agent-bar > span:last-child {
  margin-left: auto;
  font: 11px "Geist Mono", monospace;
  color: #9b9ca2;
}

.pp-agent-body {
  display: flex;
  flex-wrap: wrap;
}

.pp-code {
  flex: 1 1 300px;
  min-width: 0;
  background: #141416;
  color: #ececee;
  padding: 16px 18px;
  font: 12px/1.75 "Geist Mono", monospace;
  overflow-x: auto;
}

.pp-code div {
  white-space: pre;
}

.pp-code .c-muted {
  color: #6b6c73;
}

.pp-code .c-str {
  color: #9fd3a8;
}

.pp-probe {
  flex: 1 1 260px;
  min-width: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-probe-label {
  font: 500 10.5px "Geist Mono", monospace;
  letter-spacing: 0.06em;
  color: #9b9ca2;
}

.pp-probe-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.pp-probe-row > span:first-child {
  flex: 1;
}

.pp-probe-row > span:last-child {
  font: 500 12px "Geist Mono", monospace;
}

.pp-probe-row .is-ok {
  color: #2f8a4f;
}

.pp-probe-row .is-ink {
  color: #1c1d1f;
}

.pp-probe-row .is-bad {
  color: #cf3f38;
}

.pp-probe-total {
  border-top: 1px solid rgba(0, 0, 0, 0.075);
  padding-top: 10px;
  display: flex;
  align-items: center;
  font-size: 13px;
}

.pp-probe-total > span:first-child {
  font-weight: 500;
}

.pp-probe-total > span:last-child {
  margin-left: auto;
  font: 500 16px "Geist Mono", monospace;
}

/* —— Redeem —— */
.pp-pricing {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.pp-redeem {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
}

.pp-redeem > span:first-child {
  font-size: 15px;
  font-weight: 500;
}

.pp-redeem > span:nth-child(2) {
  font-size: 13px;
  color: #606168;
  text-align: center;
}

.pp-redeem-row {
  width: 100%;
  display: flex;
  gap: 8px;
}

.pp-redeem-row input {
  flex: 1;
  min-width: 0;
  font: 500 12px "Geist", system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.13);
  background: #fff;
  border-radius: 9px;
  padding: 10px 12px;
  outline: none;
  color: #1c1d1f;
}

.pp-redeem-row input:focus {
  border-color: #1c1d1f;
}

.pp-redeem-go {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9px;
  background: #1c1d1f;
  color: #fff;
  font: 500 13px "Geist", system-ui, sans-serif;
  cursor: pointer;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.12s, background 0.12s;
}

.pp-redeem-go.is-ready {
  opacity: 1;
}

.pp-redeem-go:hover.is-ready {
  background: #33343a;
}

.pp-spinner {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: pp-spin 0.7s linear infinite;
}

.pp-redeem-result {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pp-redeem-result.is-ok {
  background: rgba(47, 138, 79, 0.08);
  border: 1px solid rgba(47, 138, 79, 0.35);
}

.pp-redeem-result.is-err {
  background: rgba(207, 63, 56, 0.06);
  border: 1px solid rgba(207, 63, 56, 0.42);
}

.pp-redeem-result.is-neutral {
  background: #f6f6f7;
  border: 1px solid rgba(0, 0, 0, 0.13);
}

.pp-redeem-result a,
.pp-redeem-result .pp-result-link {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.pp-redeem-result[hidden] {
  display: none;
}

/* —— Footer —— */
.pp-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 24px 40px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.pp-footer-main {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pp-footer h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.pp-footer h2 .pp-muted {
  color: #9b9ca2;
}

.pp-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 24px;
  font-size: 13px;
  max-width: 520px;
}

.pp-footer-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pp-footer-col > span:first-child {
  font: 500 10.5px "Geist Mono", monospace;
  letter-spacing: 0.06em;
  color: #9b9ca2;
}

.pp-footer-col button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: #1c1d1f;
  text-align: left;
  cursor: pointer;
}

.pp-footer-col button:hover {
  color: #606168;
}

.pp-footer-col .is-soon {
  color: #9b9ca2;
  cursor: not-allowed;
}

.pp-copy {
  font: 11px "Geist Mono", monospace;
  color: #9b9ca2;
}

/* —— Modal —— */
.pp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.35);
  display: grid;
  place-items: center;
  z-index: 60;
  padding: 16px;
}

.pp-modal-backdrop[hidden] {
  display: none;
}

.pp-modal {
  width: 420px;
  max-width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  position: relative;
}

.pp-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  cursor: pointer;
  color: #9b9ca2;
  border: 0;
  background: none;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.pp-modal-close:hover {
  color: #1c1d1f;
}

.pp-modal-form,
.pp-modal-done {
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pp-modal-done {
  padding: 30px 26px 24px;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.pp-modal-form[hidden],
.pp-modal-done[hidden] {
  display: none;
}

.pp-modal-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pp-modal-title > span:first-child {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.pp-modal-title > span:last-child {
  color: #606168;
  font-size: 13.5px;
  line-height: 1.5;
  text-wrap: pretty;
}

.pp-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pp-modal-field input {
  font: 14px "Geist", sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 9px;
  padding: 10px 12px;
  outline: none;
  width: 100%;
  color: #1c1d1f;
}

.pp-modal-field input.is-err {
  border-color: #cf3f38;
}

.pp-modal-field input:focus {
  border-color: #1c1d1f;
}

.pp-modal-field input.is-err:focus {
  border-color: #cf3f38;
}

.pp-field-msg {
  font-size: 12px;
  color: #9b9ca2;
  min-height: 16px;
}

.pp-field-msg.is-err {
  color: #cf3f38;
}

.pp-modal-note {
  font-size: 11.5px;
  color: #9b9ca2;
  text-align: center;
}

.pp-modal-note a {
  color: #606168;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pp-done-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(47, 138, 79, 0.08);
  border: 1px solid rgba(47, 138, 79, 0.35);
  color: #2f8a4f;
  display: grid;
  place-items: center;
}

.pp-modal-done > span:nth-child(2) {
  font-size: 17px;
  font-weight: 500;
}

.pp-modal-done > span:nth-child(3) {
  color: #606168;
  font-size: 13.5px;
  line-height: 1.5;
}

.pp-modal-done .pp-btn-ghost {
  margin-top: 8px;
  padding: 9px 18px;
  font-size: 13px;
}

/* —— Elements page-specific —— */
@keyframes el-blink {
  50% {
    opacity: 0;
  }
}

/* Shot tabs */
.el-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #f2f2f3;
  border-radius: 11px;
  margin-top: 20px;
}

.el-tab {
  padding: 6px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #606168;
  font: 13px "Geist", system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.el-tab:hover {
  color: #1c1d1f;
}

.el-tab.is-on {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.075);
  color: #1c1d1f;
}

.el-tab:focus-visible,
.el-tree-item:focus-visible,
.el-ccard:focus-visible,
.el-lang:focus-visible {
  outline: 2px solid #3a86e8;
  outline-offset: 1px;
}

/* Product UI */
.el-ui {
  min-height: 500px;
}

.el-aside {
  width: 230px;
  gap: 1px;
}

.el-aside-label {
  font: 500 10px "Geist Mono", monospace;
  letter-spacing: 0.08em;
  color: #9b9ca2;
  padding: 0 6px 6px;
}

.el-tree-root {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
}

.el-tree-chev,
.el-tree-item .el-tree-chev {
  width: 12px;
  font-size: 9px;
  color: #9b9ca2;
}

#el-tree {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.el-tree-item {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 4px 8px 4px 22px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  color: #606168;
  font: 12.5px "Geist", system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}

.el-tree-item:hover {
  background: #f2f2f3;
}

.el-tree-item.is-l2 {
  padding-left: 36px;
}

.el-tree-item.is-on {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.075);
  color: #1c1d1f;
}

.el-tree-item.is-static {
  color: #9b9ca2;
  cursor: default;
}

.el-tree-item.is-static:hover {
  background: transparent;
}

.el-tree-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.el-tree-meta {
  font: 9.5px "Geist Mono", monospace;
  color: #9b9ca2;
}

.el-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.el-panel[hidden] {
  display: none;
}

/* Library panel */
.el-browse-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.el-h-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.el-filters {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.el-filter {
  font-size: 12.5px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 9px;
  padding: 5px 10px;
  background: #fff;
  white-space: nowrap;
}

.el-filter.is-on {
  border-color: #1c1d1f;
}

.el-filter-k {
  color: #9b9ca2;
}

.el-group-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  padding-bottom: 8px;
}

.el-group-head > span:first-child {
  font-size: 15px;
  font-weight: 500;
}

.el-group-head > span:last-child {
  font: 11px "Geist Mono", monospace;
  color: #9b9ca2;
}

.el-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.el-ccard {
  display: block;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.12s;
}

.el-ccard:hover {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.13), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.el-ccard-prev {
  display: grid;
  place-items: center;
  height: 86px;
  padding: 12px;
  background: #f6f6f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}

.el-mock-input {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  padding: 5px 9px;
  font-size: 12px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 8px;
  background: #fff;
}

.el-mock-input .is-ph {
  color: #9b9ca2;
}

.el-mock-ic {
  margin-left: auto;
  color: #9b9ca2;
}

.el-ccard-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
}

.el-ccard-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.el-ccard-name {
  font-size: 13px;
  font-weight: 500;
}

.el-ccard-at {
  margin-left: auto;
  font: 10px "Geist Mono", monospace;
  color: #9b9ca2;
}

.el-ccard-sum {
  font-size: 11.5px;
  color: #606168;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Component panel */
.el-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.el-crumb {
  font-size: 12.5px;
  color: #9b9ca2;
}

.el-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.el-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  min-width: 480px;
}

.el-meta > div {
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(0, 0, 0, 0.075);
}

.el-meta > div:last-child {
  border-right: 0;
}

.el-k {
  font: 500 9.5px "Geist Mono", monospace;
  letter-spacing: 0.08em;
  color: #9b9ca2;
}

.el-v {
  font-size: 13px;
  font-weight: 500;
}

.el-v.is-mono {
  font: 12px "Geist Mono", monospace;
}

.el-tags {
  display: flex;
  gap: 4px;
}

.el-tag {
  font: 500 10.5px "Geist Mono", monospace;
  background: #f2f2f3;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 5px;
  padding: 0 6px;
}

.el-states {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.el-state {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.el-state.is-err {
  border-color: rgba(207, 63, 56, 0.42);
}

.el-state-name {
  font: 500 10.5px "Geist Mono", monospace;
  color: #9b9ca2;
}

.el-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.el-fl {
  font-size: 11.5px;
  color: #606168;
}

.el-input {
  display: flex;
  align-items: center;
  font-size: 12.5px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 8px;
  padding: 6px 9px;
  background: #fff;
  color: #1c1d1f;
}

.el-input.is-ph {
  color: #9b9ca2;
}

.el-input.is-focus {
  border-color: #1c1d1f;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.el-input.is-err {
  border-color: #cf3f38;
}

.el-err-msg {
  font-size: 11px;
  color: #cf3f38;
}

.el-props {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  min-width: 480px;
}

.el-props-row {
  display: grid;
  grid-template-columns: 120px 140px 90px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  font-size: 12px;
  align-items: center;
}

.el-props-row:last-child {
  border-bottom: 0;
}

.el-props-row > span:nth-child(1) {
  font: 500 11.5px "Geist Mono", monospace;
}

.el-props-row > span:nth-child(2) {
  font: 11px "Geist Mono", monospace;
  color: #606168;
}

.el-props-row > span:nth-child(3) {
  font: 11px "Geist Mono", monospace;
  color: #9b9ca2;
}

.el-props-row > span:nth-child(4) {
  color: #606168;
}

.el-props-row.is-head {
  background: #f6f6f7;
  letter-spacing: 0.06em;
}

.el-props-row.is-head > span {
  font: 500 10px "Geist Mono", monospace;
  color: #9b9ca2;
}

/* Spec panel */
.el-spec {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  min-width: 460px;
}

.el-spec-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  background: #f6f6f7;
}

.el-spec-tab {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #606168;
}

.el-spec-tab.is-on {
  background: #fff;
  color: #1c1d1f;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.075);
}

.el-spec-uri {
  margin-left: auto;
  font: 11px "Geist Mono", monospace;
  color: #9b9ca2;
}

.el-spec-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.el-spec-sec {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.el-spec-h {
  font-size: 13.5px;
  font-weight: 600;
}

.el-spec-item {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.el-spec-item > span:first-child {
  color: #9b9ca2;
}

/* Feature cards */
.el-card {
  flex: 1 1 420px;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.el-search {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 9px;
  padding: 8px 11px;
}

.el-search-ic {
  color: #9b9ca2;
}

.el-search-count {
  margin-left: auto;
  font: 11px "Geist Mono", monospace;
  color: #9b9ca2;
}

.el-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
}

.el-result.is-on {
  background: #f6f6f7;
}

.el-result > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.el-result > div > span:first-child {
  font-size: 13px;
  font-weight: 500;
}

.el-result > div > span:last-child {
  font-size: 12px;
  color: #606168;
}

.el-result > span {
  font: 10.5px "Geist Mono", monospace;
  color: #9b9ca2;
}

/* Code panel */
.el-codecard {
  flex: 1 1 420px;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #141416;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.el-code-head {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.el-lang {
  padding: 4px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #6b6c73;
  font: 12.5px "Geist", system-ui, sans-serif;
  cursor: pointer;
}

.el-lang:hover {
  color: #ececee;
}

.el-lang.is-on {
  background: rgba(255, 255, 255, 0.1);
  color: #ececee;
}

.el-code-file {
  margin-left: auto;
  font: 11px "Geist Mono", monospace;
  color: #6b6c73;
}

.el-code-body {
  padding: 14px 18px;
  font: 12px/1.8 "Geist Mono", monospace;
  overflow-x: auto;
  color: #ececee;
  min-height: 330px;
}

.el-code-body div {
  white-space: pre;
  min-height: 1.8em;
}

.el-code-body .c-muted {
  color: #6b6c73;
}

.el-code-body .c-tag {
  color: #8ab4f8;
}

.el-code-body .c-str {
  color: #9fd3a8;
}

/* Tokens table */
.el-tokens {
  flex: 1 1 420px;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.el-tokens-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 54px;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  align-items: center;
}

.el-tokens-row:last-child {
  border-bottom: 0;
}

.el-tokens-row > span:nth-child(1) {
  font: 500 11.5px "Geist Mono", monospace;
}

.el-tokens-row > span:nth-child(2) {
  font: 11.5px "Geist Mono", monospace;
  color: #606168;
}

.el-tokens-row.is-head {
  padding: 9px 16px;
  background: #f6f6f7;
  letter-spacing: 0.06em;
}

.el-tokens-row.is-head > span {
  font: 500 10.5px "Geist Mono", monospace;
  color: #9b9ca2;
}

.el-sw {
  justify-self: end;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.13);
}

.el-sw.sw-fg {
  background: #1c1d1f;
}

.el-sw.sw-card {
  background: #ffffff;
}

.el-sw.sw-border {
  background: rgba(0, 0, 0, 0.13);
}

.el-sw.sw-err {
  background: #cf3f38;
}

.el-sw.sw-radius {
  background: #f2f2f3;
}

/* Agents terminal */
.el-agents .pp-agent-frame {
  margin-top: 4px;
}

.pp-probe-row .is-warn {
  color: #a96f10;
}

.el-term {
  width: calc(100% - 24px);
  max-width: 796px;
  margin-top: 32px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(10, 40, 90, 0.3);
  overflow: hidden;
  color: #ececee;
  font: 13px/1.65 "Geist Mono", monospace;
}

.el-term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.el-term-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3b40;
}

.el-term-title {
  margin-left: 10px;
  font-size: 11px;
  color: #6b6c73;
}

.el-term-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.el-term-status {
  color: #6b6c73;
}

.el-term-status span {
  color: #9fd3a8;
}

.el-term-line {
  display: flex;
  gap: 10px;
  min-height: 44px;
}

.el-term-prompt {
  color: #8ab4f8;
  flex: none;
}

.el-term-text {
  color: #ececee;
  white-space: pre-wrap;
  word-break: break-word;
}

.el-caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -3px;
  background: #ececee;
  opacity: 0.85;
  animation: el-blink 1s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .el-caret {
    animation: none;
  }
}

@media (max-width: 720px) {
  .el-term {
    margin-top: 16px;
  }
}

/* Narrow: collapse product UI sidebar */
@media (max-width: 720px) {
  .pp-aside {
    display: none;
  }

  .pp-brand {
    margin-left: 0;
  }

  .pp-nav {
    gap: 14px;
  }

  .pp-header-end {
    gap: 12px;
  }

  .pp-qr-pop {
    position: fixed;
    top: 5%;
    left: 15%;
    right: 15%;
    transform: none;
    padding: 3rem;
  }

  .pp-qr-pop::before {
    display: none;
  }

  .pp-qr-close {
    display: block;
  }

  .pp-qr-pop img {
    width: 100%;
    height: auto;
    max-width: 14rem;
    margin: 0 auto;
  }

  .pp-features {
    padding: 80px 24px 40px;
    gap: 80px;
  }

  .pp-agents {
    margin-top: 60px;
    padding: 72px 24px;
  }

  .pp-footer {
    padding: 80px 24px 40px;
  }
}
