.ps-page {
  min-height: 100vh;
  margin: 0;
  background: #f7f8fa;
  color: #222833;
}

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

.ps-page .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;
}

.ps-nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #dde1e7;
}

.ps-nav .brand-logo {
  width: 112px;
  height: auto;
  display: block;
}

.ps-nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.ps-nav a {
  color: #525965;
  font-weight: 650;
  text-decoration: none;
}

.ps-nav a:hover {
  color: #222833;
}

.ps-nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2f63e0;
  border-radius: 8px;
  padding: 0 14px;
  color: #2f63e0 !important;
  background: #fff;
}

.ps-main {
  overflow: hidden;
}

.ps-hero,
.ps-section,
.ps-final-inner,
.ps-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ps-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: 56px;
  padding: 42px 0 44px;
}

.ps-kicker,
.ps-section-kicker,
.ps-panel-kicker {
  margin: 0;
  color: #c64536;
  font: 700 12px/1.4 "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ps-hero h1 {
  max-width: 690px;
  margin: 14px 0 20px;
  color: #1c222c;
  font-size: 50px;
  line-height: 1.04;
  letter-spacing: 0;
}

.ps-lede {
  max-width: 660px;
  margin: 0;
  color: #59616d;
  font-size: 17px;
  line-height: 1.55;
}

.ps-founder {
  margin: 14px 0 0;
  color: #373e49;
  font-size: 14px;
  font-weight: 650;
}

.ps-founder a {
  color: #2f63e0;
}

.ps-url-form {
  max-width: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 22px;
}

.ps-url-form input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #b9c0ca;
  border-radius: 8px;
  padding: 0 15px;
  color: #222833;
  background: #fff;
  font: 600 16px/1.2 "Space Grotesk", system-ui, sans-serif;
  outline: none;
}

.ps-url-form input:focus {
  border-color: #2f63e0;
  box-shadow: 0 0 0 3px rgba(47, 99, 224, 0.13);
}

.ps-url-form button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  color: #fff;
  background: #2f63e0;
  font: 750 15px/1 "Space Grotesk", system-ui, sans-serif;
  cursor: pointer;
}

.ps-url-form button:hover {
  background: #2456c9;
}

.ps-form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #777f8b;
  font-size: 13px;
}

.ps-workspace {
  position: relative;
  min-width: 0;
  border: 1px solid #cfd5dd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px -42px rgba(24, 35, 55, 0.52);
  overflow: hidden;
}

.ps-workspace::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #e43d30 0 25%, #2f63e0 25% 58%, #f5b51b 58% 78%, #3aa86d 78%);
}

.ps-workspace-head {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e5ea;
}

.ps-workspace-head img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.ps-workspace-head strong,
.ps-workspace-head span {
  display: block;
}

.ps-workspace-head strong {
  color: #222833;
  font-size: 15px;
}

.ps-workspace-head span {
  margin-top: 2px;
  color: #777f8b;
  font-size: 12px;
}

.ps-live {
  border-radius: 999px;
  padding: 5px 9px;
  color: #187646 !important;
  background: #e5f5ec;
  font: 700 11px/1 "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
}

.ps-workspace-body {
  padding: 18px;
}

.ps-panel-title {
  margin: 5px 0 14px;
  color: #222833;
  font-size: 22px;
  line-height: 1.2;
}

.ps-workspace-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border-top: 1px solid #e7e9ed;
}

.ps-workspace-row:first-of-type {
  border-top: 0;
}

.ps-workspace-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3aa86d;
}

.ps-workspace-row .dot.queued {
  background: #f0ad22;
}

.ps-workspace-row .dot.ready {
  background: #2f63e0;
}

.ps-workspace-row strong,
.ps-workspace-row small {
  display: block;
}

.ps-workspace-row strong {
  color: #333a45;
  font-size: 14px;
}

.ps-workspace-row small {
  margin-top: 3px;
  color: #7c8490;
  font-size: 12px;
  line-height: 1.35;
}

.ps-workspace-row b {
  color: #59616d;
  font: 650 12px/1.2 "IBM Plex Mono", ui-monospace, monospace;
  white-space: nowrap;
}

.ps-signals {
  border-top: 1px solid #dfe3e9;
  border-bottom: 1px solid #dfe3e9;
  background: #fff;
}

.ps-signals-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ps-signal {
  min-height: 112px;
  display: grid;
  align-content: center;
  padding: 20px 28px;
  border-left: 1px solid #e2e5ea;
}

.ps-signal:first-child {
  border-left: 0;
}

.ps-signal strong {
  color: #202630;
  font-size: 25px;
  line-height: 1.15;
}

.ps-signal span {
  margin-top: 6px;
  color: #747c88;
  font-size: 14px;
  line-height: 1.4;
}

.ps-section {
  padding: 82px 0;
}

.ps-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.ps-section h2 {
  margin: 10px 0 12px;
  color: #202630;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.ps-section-head > p:last-child {
  margin: 0;
  color: #666f7b;
  font-size: 17px;
  line-height: 1.6;
}

.ps-jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ps-job {
  min-width: 0;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.ps-job-num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #2f63e0;
  background: #eaf0ff;
  font: 700 12px/1 "IBM Plex Mono", ui-monospace, monospace;
}

.ps-job h3 {
  margin: 18px 0 8px;
  color: #2a303a;
  font-size: 20px;
  line-height: 1.2;
}

.ps-job p {
  margin: 0;
  color: #6b7380;
  line-height: 1.58;
}

.ps-workflow-band {
  background: #202630;
  color: #fff;
}

.ps-workflow-band .ps-section-kicker {
  color: #ffba5a;
}

.ps-workflow-band h2,
.ps-workflow-band .ps-section-head > p:last-child {
  color: #fff;
}

.ps-workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}

.ps-workflow-step {
  border-top: 1px solid #59616d;
  padding-top: 20px;
}

.ps-workflow-step > span {
  color: #7fb0ff;
  font: 700 12px/1 "IBM Plex Mono", ui-monospace, monospace;
}

.ps-workflow-step h3 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 22px;
}

.ps-workflow-step p {
  margin: 0;
  color: #c9ced6;
  line-height: 1.58;
}

.ps-faq {
  max-width: 880px;
}

.ps-faq details {
  border-top: 1px solid #d8dde4;
  padding: 20px 0;
}

.ps-faq details:last-child {
  border-bottom: 1px solid #d8dde4;
}

.ps-faq summary {
  color: #29303a;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.ps-faq p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #68717d;
  line-height: 1.6;
}

.ps-final {
  border-top: 1px solid #dce1e8;
  background: #eef2f7;
}

.ps-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 54px;
  padding: 64px 0;
}

.ps-final h2 {
  margin: 0;
  color: #202630;
  font-size: 34px;
  line-height: 1.15;
}

.ps-final p {
  margin: 12px 0 0;
  color: #68717d;
  line-height: 1.55;
}

.ps-final .ps-url-form {
  margin-top: 0;
}

.ps-footer {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #7a828d;
  font-size: 13px;
}

.ps-footer a {
  color: #59616d;
  text-decoration: none;
}

.ps-footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 980px) {
  .ps-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 54px 0;
  }

  .ps-hero h1 {
    font-size: 44px;
  }

  .ps-workspace {
    width: min(650px, 100%);
  }

  .ps-jobs,
  .ps-workflow {
    grid-template-columns: 1fr;
  }

  .ps-final-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ps-nav,
  .ps-hero,
  .ps-section,
  .ps-final-inner,
  .ps-footer,
  .ps-signals-inner {
    width: min(100% - 28px, 1180px);
  }

  .ps-nav {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .ps-nav-links {
    display: none;
  }

  .ps-nav-cta {
    min-height: 36px;
    padding: 0 11px;
    font-size: 13px;
  }

  .ps-hero {
    padding: 42px 0 46px;
  }

  .ps-hero h1 {
    font-size: 36px;
    line-height: 1.06;
  }

  .ps-lede {
    font-size: 17px;
  }

  .ps-url-form {
    grid-template-columns: 1fr;
  }

  .ps-url-form button {
    width: 100%;
  }

  .ps-workspace-head {
    grid-template-columns: auto 1fr;
  }

  .ps-live {
    grid-column: 2;
    justify-self: start;
  }

  .ps-workspace-row {
    grid-template-columns: 10px minmax(0, 1fr);
    padding: 11px 0;
  }

  .ps-workspace-row b {
    grid-column: 2;
  }

  .ps-signals-inner {
    grid-template-columns: 1fr;
  }

  .ps-signal {
    min-height: 90px;
    border-top: 1px solid #e2e5ea;
    border-left: 0;
    padding: 18px 0;
  }

  .ps-signal:first-child {
    border-top: 0;
  }

  .ps-section {
    padding: 58px 0;
  }

  .ps-section h2 {
    font-size: 31px;
  }

  .ps-final-inner {
    padding: 50px 0;
  }

  .ps-final h2 {
    font-size: 29px;
  }

  .ps-footer {
    min-height: 120px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .ps-hero h1 {
    font-size: 34px;
  }

  .ps-nav .brand-logo {
    width: 100px;
  }
}
