/* ==========================================================================
   RTD PRODUCT PAGE v1.0.6
   File: /rtd-product/css/rtd-product-page.css
   One page-owned stylesheet. Do not append the old product/style/nav stack.
   Sections span the viewport; text and input widths stay readable.
   The legacy website assistants have a separate iframe document and stylesheet.
   ========================================================================== */

/* 01. Design tokens and base elements */
:root {
  --p-ink: #19263d;
  --p-muted: #5a6c86;
  --p-blue: #304fe2;
  --p-blue-dark: #203bc2;
  --p-navy: #142441;
  --p-line: #dce3ef;
  --p-soft: #f4f7fc;
  --p-blue-pale: #edf1ff;
  --p-green: #166b56;
  --p-edge: clamp(20px,4vw,160px);
  --p-section: clamp(56px,5.6vw,140px);
  --p-body: clamp(1rem,.8vw,1.3rem);
  --p-small: clamp(.82rem,.62vw,1rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body.rtd-product-page {
  margin: 0;
  background: #fff;
  color: var(--p-ink);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: var(--p-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.rtd-product-page [hidden] {
  display: none;
}

a {
  color: inherit;
}

button,input {
  font: inherit;
}

button,a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .56;
}

img,svg {
  max-width: 100%;
}

button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #6583ff;
  outline-offset: 4px;
}

h1,h2,h3,h4,p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1,h2,h3,h4 {
  line-height: 1.12;
  letter-spacing: -.045em;
}

h1 em,h2 em {
  font-style: normal;
  color: var(--p-muted);
}

.p-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  vertical-align: middle;
}

.p-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--p-blue);
  font-size: clamp(.67rem,.53vw,.87rem);
  font-weight: 760;
  letter-spacing: .13em;
  line-height: 1.6;
  text-transform: uppercase;
}

.p-kicker>span:not(.p-diamond) {
  color: var(--p-muted);
  font-variant-numeric: tabular-nums;
}

.p-diamond {
  width: 8px;
  height: 8px;
  display: inline-block;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.p-mono {
  font-size: .68rem;
  letter-spacing: .12em;
  font-weight: 700;
}

.p-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--p-line);
  border-radius: 8px;
  background: #fff;
  color: var(--p-ink);
  font-size: .9rem;
  font-weight: 720;
  text-decoration: none;
  line-height: 1.35;
  transition: background-color .15s,border-color .15s;
}

.p-button:hover {
  border-color: #a9bad6;
  background: #f3f6fb;
}

.p-button.p-primary {
  background: var(--p-blue);
  border-color: var(--p-blue);
  color: #fff;
}

.p-button.p-primary:hover {
  background: var(--p-blue-dark);
  border-color: var(--p-blue-dark);
}

.p-button.p-light {
  color: var(--p-navy);
  background: #fff;
  border-color: #fff;
}

.p-text-button {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--p-blue);
  font-size: .86rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.p-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--p-blue);
  font-size: .9rem;
  font-weight: 650;
  text-underline-offset: 4px;
}

.p-icon-box {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--p-line);
  border-radius: 12px;
  background: #fff;
  color: var(--p-blue);
}

.p-skip {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: #fff;
  border: 2px solid var(--p-blue);
  border-radius: 6px;
  transform: translateY(-180%);
}

.p-skip:focus {
  transform: none;
}

/* 02. Main navigation. Mobile behavior is a disclosure, not a modal. */
.p-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--p-line);
}

.p-header-bar {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 32px;
  align-items: center;
  min-height: 80px;
  padding: 12px var(--p-edge);
}

.p-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.p-logo {
  width: 96px;
  height: 44px;
  display: grid;
  place-items: center start;
  flex: 0 0 96px;
}

.p-logo img {
  display: block;
  width: 96px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.rtd-logo-fallback {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #2d45b7;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.p-brand strong,.p-brand small {
  display: block;
}

.p-brand strong {
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.p-brand small {
  font-size: .67rem;
  line-height: 1.5;
  color: var(--p-muted);
}

.p-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px,2.5vw,48px);
}

.p-nav a {
  position: relative;
  font-size: .86rem;
  color: var(--p-muted);
  text-decoration: none;
  padding: 12px 0;
}

.p-nav a:hover,.p-nav a[aria-current="page"] {
  color: var(--p-ink);
}

.p-nav a[aria-current="page"] {
  font-weight: 750;
}

.p-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: 3px;
  background: var(--p-blue);
}

.p-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.p-signin {
  font-size: .86rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.p-menu-button {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: 8px;
}

/* 03. Full-bleed hero with large copy and compact right-side signup. */
.p-hero {
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--p-line);
  background: linear-gradient(140deg,#fff 64%,#f1f4ff);
}
.p-hero-copy {
  min-width: 0;
  padding: clamp(44px,3.8vw,220px) clamp(24px,5.5vw,440px);
}
.p-hero-copy-inner {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) clamp(360px,28vw,600px);
  align-items: center;
  gap: clamp(32px,4vw,160px);
}
.p-hero-message { min-width: 0; }
.p-hero-copy-inner > .p-signup { justify-self: end; }

.p-hero h1 {
  font-size: clamp(3rem,6.2vw,36rem);
  font-weight: 740;
  line-height: 1.025;
  letter-spacing: -.065em;
  margin-bottom: clamp(24px,2vw,100px);
  overflow-wrap: normal;
}
.p-hero-lead {
  max-width: 52ch;
  font-size: clamp(1rem,1.3vw,1.5rem);
  line-height: 1.65;
  color: var(--p-muted);
  margin-bottom: 22px;
}
.p-signup {
  width: 100%;
  max-width: 600px;
  padding-top: 24px;
  border-top: 1px solid var(--p-line);
  scroll-margin-top: 105px;
}
.p-signup-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 5px;
  background: #fff;
  border: 1px solid #bdcbe2;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgb(25 38 61 / 5%);
}
.p-signup-row:focus-within {
  border-color: var(--p-blue);
  box-shadow: 0 0 0 3px rgb(48 79 226 / 12%);
}
.p-signup-row input {
  width: 0;
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  border-radius: 9px;
  min-height: 46px;
  padding: 11px 12px;
  font-size: 16px;
  color: var(--p-ink);
  background: transparent;
}
.p-signup-row .p-button {
  flex: 0 0 auto;
  font-size: .84rem;
  min-height: 46px;
  padding: 11px 15px;
  border-radius: 10px;
  gap: 8px;
  white-space: nowrap;
}
@media (max-width:1099px) {
  .p-hero-copy-inner { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .p-hero-copy-inner > .p-signup { justify-self: start; }
  .p-hero h1 { font-size: clamp(3rem,8.4vw,6rem); }
  .p-hero-message .p-hero-secondary { margin-bottom: 0; }
}
@media (max-width:600px) {
  .p-hero h1 { font-size: clamp(2.75rem,11.2vw,4.2rem); }
  .p-hero h1 em { display: inline-block; max-width: 100%; }
  .p-hero-copy { padding: 42px 24px 40px; }
}
@media (max-width:440px) {
  .p-signup-row { flex-direction: column; gap: 5px; }
  .p-signup-row input { width: 100%; flex-basis: auto; }
  .p-signup-row .p-button { width: 100%; justify-content: center; white-space: normal; }
}


.p-hero h1 em {
  color: var(--p-blue);
}

.p-hero-secondary {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.p-hero-secondary a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
}

.p-hero-secondary a:first-child {
  color: var(--p-blue);
}

.p-hero-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  min-width: 0;
  padding: 38px clamp(26px,3.5vw,120px);
  color: #eef3ff;
  background: radial-gradient(ellipse at 60% 40%,#284370 0%,#172c4e 45%,#111f37 85%);
  border-left: 1px solid #1c2b42;
}

.p-stage-label,.p-stage-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  font-size: .61rem;
  letter-spacing: .11em;
  color: #a7b9d7;
  line-height: 1.5;
}

.p-stage-label {
  margin-bottom: 14px;
}

.p-stage-label span:last-child {
  text-align: right;
}

.p-stage-foot {
  align-items: center;
  letter-spacing: 0;
  font-size: .7rem;
}

.p-stage-foot a {
  color: #e6edff;
  white-space: nowrap;
  text-decoration: none;
}

.p-stage-foot .p-icon {
  width: 16px;
  height: 16px;
}

.p-scene {
  width: 100%;
  max-width: 1120px;
  margin: auto;
  position: relative;
  border: 1px solid #526784;
  border-radius: 16px;
  background: #e9edf5;
  box-shadow: 0 24px 65px #070f234d;
  overflow: hidden;
  color: var(--p-ink);
}

.p-scene-top {
  display: grid;
  grid-template-columns: 50px minmax(0,1fr) 20px;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid #d0d8e5;
  background: #fff;
  color: #70809b;
  font-size: .67rem;
}

.p-site-dots {
  display: flex;
  gap: 5px;
}

.p-site-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b5bed0;
}

.p-scene-top>span:nth-child(2) {
  text-align: center;
  overflow-wrap: anywhere;
}

.p-scene-top>.p-icon {
  width: 16px;
  height: 16px;
}

.p-scene-site {
  padding: 28px 32px 86px;
  background: linear-gradient(110deg,#f7f8fc 35%,#e9eef7);
}

.p-scene-site>.p-mono {
  display: block;
  color: #74839a;
  margin-bottom: 15px;
}

.p-scene-site>strong {
  font-size: clamp(1.35rem,1.8vw,2.5rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.p-site-lines {
  display: grid;
  gap: 9px;
  width: 52%;
  margin-top: 18px;
}

.p-site-lines i {
  height: 6px;
  border-radius: 3px;
  background: #d4ddea;
}

.p-site-lines i:last-child {
  width: 65%;
}

.p-agent-illustration {
  width: calc(100% - 52px);
  max-width: 560px;
  margin: -60px 26px 0 auto;
  position: relative;
  border: 1px solid #c3cfdf;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 20px 44px #192e511a;
  overflow: hidden;
}

.p-agent-illustration>header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5eaf3;
}

.p-agent-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: var(--p-blue-pale);
  border-radius: 10px;
  color: var(--p-blue);
}

.p-agent-illustration header strong,.p-agent-illustration header small {
  display: block;
}

.p-agent-illustration header strong {
  font-size: .9rem;
}

.p-agent-illustration header small {
  font-size: .66rem;
  color: var(--p-muted);
}

.p-status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #268e77;
  margin-left: auto;
}

.p-example-thread {
  padding: 20px;
  display: grid;
  gap: 12px;
  font-size: .82rem;
  line-height: 1.6;
}

.p-example-thread p {
  margin: 0;
  max-width: 90%;
  border-radius: 10px;
  padding: 12px 14px;
}

.p-example-user {
  justify-self: end;
  background: var(--p-blue);
  color: #fff;
}

.p-example-agent {
  background: #f0f3f8;
  color: #334864;
}

.p-voice-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 18px 16px;
  padding: 10px 13px;
  background: #eef2ff;
  border: 1px solid #dde5ff;
  border-radius: 8px;
  color: var(--p-blue);
}

.p-voice-strip>small {
  font-size: .68rem;
  color: #627291;
}

.p-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
  height: 30px;
}

.p-wave i {
  display: block;
  width: 3px;
  height: 9px;
  background: #5976e9;
  border-radius: 3px;
}

.p-wave i:nth-child(3n) {
  height: 24px;
}

.p-wave i:nth-child(4n) {
  height: 17px;
}

.p-wave i:nth-child(5n) {
  height: 30px;
}

.p-agent-channels {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 12px;
  background: #fafbfe;
  border-top: 1px solid #e7ebf4;
  font-size: .66rem;
  color: #657690;
}

.p-agent-channels .p-icon {
  width: 15px;
  height: 15px;
  margin-right: 4px;
}

.p-context-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 52px);
  max-width: 560px;
  margin: 20px 26px 26px;
  padding: 14px;
  background: #fff;
  border: 1px solid #d4deeb;
  border-radius: 10px;
}

.p-context-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 9px;
  background: #e4f4e9;
  color: var(--p-green);
}

.p-context-card>div {
  min-width: 0;
}

.p-context-card strong,.p-context-card div>span {
  display: block;
  overflow-wrap: anywhere;
}

.p-context-card strong {
  font-size: .8rem;
}

.p-context-card div>span {
  font-size: .66rem;
  color: var(--p-muted);
}

.p-context-card>.p-icon {
  margin-left: auto;
  color: var(--p-green);
  width: 17px;
  height: 17px;
}

/* 04. Email-link request, privacy consent, challenge, and response states. */
.p-signup>.p-kicker {
  margin-bottom: 12px;
  font-size: .65rem;
  color: #586b88;
}

.p-field-label {
  display: block;
  margin-bottom: 7px;
  font-size: .79rem;
  font-weight: 650;
}

.p-signup-row input::placeholder {
  color: #7b8aa0;
}

.p-signup-row .p-icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}

.p-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  color: #5a6d89;
  font-size: .71rem;
  line-height: 1.6;
}

.p-consent input {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin: 3px 0 0;
  accent-color: var(--p-blue);
}

.p-consent a {
  color: var(--p-blue);
  text-underline-offset: 2px;
}

.p-signup-options {
  font-size: .73rem;
  color: #5d6e86;
  margin-top: 9px;
}

.p-signup-options summary {
  cursor: pointer;
  width: fit-content;
  padding: 3px 0;
}

.p-signup-options .p-consent {
  margin-top: 8px;
}

.p-entry-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--p-green);
  font-size: .76rem;
  margin: 16px 0 6px;
}

.p-entry-note .p-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}

.p-signup-help {
  font-size: .72rem;
  color: var(--p-muted);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 66ch;
}

.p-turnstile {
  margin: 12px 0;
}

.p-turnstile:empty {
  display: none;
}

.p-form-note {
  color: var(--p-muted);
  font-size: .75rem;
  line-height: 1.6;
  margin: 10px 0 0;
  overflow-wrap: anywhere;
}

.p-form-note:empty {
  display: none;
}

.p-form-status {
  padding: 12px 14px;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  font-size: .8rem;
  color: var(--p-ink);
  background: #f1f4fb;
  margin: 14px 0 0;
  overflow-wrap: anywhere;
}

.p-form-status[data-tone="error"] {
  border-color: #eabec4;
  background: #fff4f5;
  color: #9c263e;
}

.p-form-status[data-tone="success"] {
  border-color: #b8d8c7;
  background: #edf8f1;
  color: #19634e;
}

.p-signup-result {
  padding: 20px;
  border: 1px solid #bcdcca;
  border-radius: 10px;
  background: #f3faf5;
}

.p-signup-result h2 {
  font-size: 1.5rem;
  margin: 12px 0;
}

.p-signup-result p {
  font-size: .82rem;
  overflow-wrap: anywhere;
  margin-bottom: 14px;
}

.p-signup-result .p-form-note {
  font-size: .74rem;
}

.p-result-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0 14px;
}

.p-result-actions .p-button {
  min-height: 42px;
  font-size: .77rem;
}

.p-signup-result>.p-text-link {
  font-size: .75rem;
}

/* 05. Overview and capability strip. */
.p-principles {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border-bottom: 1px solid var(--p-line);
}

.p-principles>span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  font-size: .85rem;
  font-weight: 650;
  border-right: 1px solid var(--p-line);
}

.p-principles>span:last-child {
  border-right: 0;
}

.p-principles .p-icon {
  color: var(--p-blue);
}

.p-section {
  width: 100%;
  border-bottom: 1px solid var(--p-line);
}

.p-section-head {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr);
  gap: 40px;
  padding: var(--p-section) var(--p-edge) 46px;
  align-items: end;
}

.p-section h2,.p-final h2 {
  font-size: clamp(2rem,3.25vw,5.25rem);
  font-weight: 690;
  line-height: 1.08;
  margin-bottom: 0;
  letter-spacing: -.055em;
}

.p-section-lead {
  font-size: var(--p-body);
  color: var(--p-muted);
  line-height: 1.7;
  max-width: 62ch;
  margin: 0;
}

.p-channels {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-top: 1px solid var(--p-line);
}

.p-channel {
  padding: clamp(30px,3.5vw,100px);
  border-right: 1px solid var(--p-line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.p-channel:last-child {
  border-right: 0;
}

.p-channel-chat {
  background: #f4f7fc;
}

.p-channel-human {
  background: var(--p-navy);
  color: #fff;
}

.p-channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin-bottom: 44px;
}

.p-channel-top>.p-mono {
  color: #74849f;
}

.p-channel h3 {
  font-size: clamp(1.45rem,1.75vw,2.5rem);
  line-height: 1.13;
  font-weight: 650;
  max-width: 26ch;
  margin-bottom: 16px;
}

.p-channel p {
  color: var(--p-muted);
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: 30px;
}

.p-channel-human p {
  color: #bdcce1;
}

.p-channel-human .p-icon-box {
  background: #243653;
  border-color: #3c4e6d;
  color: #d8e6ff;
}

.p-channel>small {
  margin-top: auto;
  font-size: var(--p-small);
  color: #687a93;
}

.p-channel-human>small {
  color: #b6c7e6;
}

/* 06. Conversation flow. */
.p-flow-section {
  padding-top: var(--p-section);
  background: #f8faff;
}

.p-flow-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding: 0 var(--p-edge) 44px;
}

.p-flow-intro>div {
  min-width: 0;
}

.p-flow-list {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--p-line);
}

.p-flow-list li {
  min-width: 0;
  padding: 32px clamp(18px,2vw,70px);
  border-right: 1px solid var(--p-line);
}

.p-flow-list li:last-child {
  border-right: 0;
}

.p-flow-list li>span {
  display: block;
  font-size: .74rem;
  font-variant-numeric: tabular-nums;
  color: var(--p-blue);
  margin-bottom: 30px;
}

.p-flow-list strong {
  display: block;
  font-size: clamp(.93rem,1.08vw,1.4rem);
  line-height: 1.3;
}

.p-flow-list p {
  font-size: var(--p-small);
  color: var(--p-muted);
  margin: 10px 0 0;
  max-width: 31ch;
  line-height: 1.7;
}

/* 07. Studio preview. This is not a live draft editor. */
.p-studio-section {
  display: grid;
  grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr);
  gap: clamp(36px,5vw,150px);
  padding: var(--p-section) var(--p-edge);
  align-items: center;
}

.p-studio-copy {
  max-width: 940px;
}

.p-studio-copy>p:not(.p-kicker) {
  margin: 24px 0;
  color: var(--p-muted);
  max-width: 58ch;
  line-height: 1.7;
}

.p-build-steps {
  display: grid;
  gap: 23px;
  list-style: none;
  padding: 0;
  margin: 30px 0 32px;
}

.p-build-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  gap: 14px;
}

.p-build-steps li>span {
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  background: var(--p-blue-pale);
  color: var(--p-blue);
  font-size: .65rem;
  font-weight: 750;
}

.p-build-steps strong {
  font-size: .93rem;
}

.p-build-steps p {
  font-size: .82rem;
  color: var(--p-muted);
  margin: 3px 0 0;
  max-width: 60ch;
  line-height: 1.65;
}

.p-studio-preview {
  width: 100%;
  max-width: 1320px;
  border: 1px solid #cfd9e8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 46px #172b460b;
  background: #fff;
}

.p-studio-preview>header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--p-line);
  background: #fafbfe;
}

.p-studio-preview>header>span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-studio-preview>header strong {
  font-size: .92rem;
}

.p-studio-preview>header small {
  font-size: .58rem;
  letter-spacing: .1em;
  color: var(--p-muted);
}

.p-studio-preview .p-logo,.p-studio-preview .p-logo img {
  width: 64px;
  height: 28px;
  flex-basis: 64px;
}

.p-studio-preview .rtd-logo-fallback {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.p-studio-preview .rtd-logo-fallback {
  border-radius: 6px;
  font-size: 8px;
}

.p-studio-preview-body {
  display: grid;
  grid-template-columns: minmax(110px,.36fr) minmax(0,1fr);
}

.p-studio-preview aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 10px;
  border-right: 1px solid var(--p-line);
  background: #f5f7fc;
  font-size: .69rem;
  color: #6a7c96;
}

.p-studio-preview aside>span {
  padding: 10px 12px;
  border-radius: 5px;
  line-height: 1.4;
}

.p-studio-preview aside .is-current {
  background: #e3eaff;
  color: var(--p-blue);
  font-weight: 700;
}

.p-studio-sample {
  padding: 32px clamp(18px,2.2vw,58px);
  min-width: 0;
}

.p-studio-sample>.p-kicker {
  font-size: .57rem;
  margin-bottom: 12px;
}

.p-studio-sample h3 {
  font-size: clamp(1.08rem,1.2vw,1.7rem);
  line-height: 1.2;
  font-weight: 650;
  margin-bottom: 24px;
}

.p-sample-field {
  margin-top: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e8ecf4;
  max-width: 710px;
}

.p-sample-field>span {
  display: block;
  font-size: .66rem;
  color: #657791;
  margin-bottom: 7px;
}

.p-sample-field>strong {
  font-size: .78rem;
  font-weight: 550;
}

.p-sample-field>p {
  font-size: .75rem;
  line-height: 1.6;
  margin: 0;
  color: #435571;
}

.p-sample-footer {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: .61rem;
  color: #566e91;
}

.p-sample-footer .p-icon {
  width: 14px;
  height: 14px;
}

.p-studio-preview>footer {
  padding: 16px 20px;
  border-top: 1px solid var(--p-line);
  font-size: .7rem;
  line-height: 1.6;
  color: var(--p-muted);
  background: #fafbfe;
}

/* 08. Dedicated demo invitations. */
.p-demo-section {
  display: grid;
  grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
  padding: var(--p-section) var(--p-edge);
  gap: clamp(40px,5vw,140px);
  background: #f2f5fb;
  align-items: center;
}

.p-demo-section>header {
  max-width: 780px;
  min-width: 0;
}

.p-demo-section>header>p:last-child {
  max-width: 45ch;
  color: var(--p-muted);
  line-height: 1.7;
  margin-top: 22px;
}

.p-demo-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
  min-width: 0;
}

.p-demo-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--p-line);
  border-radius: 12px;
  background: #fff;
  padding: clamp(24px,2.3vw,64px);
  color: var(--p-ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color .15s;
}

.p-demo-card:hover {
  border-color: #819dd5;
}

.p-demo-type {
  font-size: .6rem;
  font-weight: 750;
  letter-spacing: .1em;
  color: #697b96;
}

.p-demo-orb {
  display: grid;
  place-items: center;
  width: 85px;
  height: 85px;
  border: 1px solid #bccbeb;
  box-shadow: 0 0 0 12px #eff3fc,0 0 0 24px #f8faff;
  border-radius: 50%;
  color: #4668d3;
  margin: 50px auto;
}

.p-demo-orb>.p-icon {
  width: 32px;
  height: 32px;
}

.p-demo-card h3 {
  font-size: clamp(1.13rem,1.3vw,1.85rem);
  font-weight: 650;
  line-height: 1.2;
  margin-bottom: 16px;
}

.p-demo-card>p {
  font-size: var(--p-small);
  line-height: 1.7;
  color: var(--p-muted);
  max-width: 50ch;
}

.p-demo-card>strong {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 20px;
  font-size: .8rem;
  color: var(--p-blue);
}

.p-demo-workflow {
  background: var(--p-navy);
  border-color: var(--p-navy);
  color: #fff;
}

.p-demo-workflow>.p-demo-type {
  color: #b6c5dd;
}

.p-demo-workflow>p {
  color: #c0cfe4;
}

.p-demo-workflow>strong {
  color: #edf2ff;
}

.p-demo-flow-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px 0;
  min-height: 85px;
}

.p-demo-flow-visual>span {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid #54698c;
  border-radius: 9px;
  background: #223758;
  color: #cbdeff;
}

.p-demo-flow-visual>i {
  height: 1px;
  width: clamp(12px,1.2vw,30px);
  background: #6985b0;
}

/* 09. Dashboard illustration tabs and sample records. */
.p-dashboard-section {
  padding-bottom: var(--p-section);
}

.p-dashboard-preview {
  margin: 0 var(--p-edge);
  border: 1px solid #cdd8e9;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.p-dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  background: #172842;
  color: #fff;
  font-size: .69rem;
  letter-spacing: .09em;
}

.p-dashboard-toolbar>span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-dashboard-toolbar>span:last-child {
  font-size: .6rem;
  color: #b9c8e1;
  text-align: right;
}

.p-dashboard-tabs {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--p-line);
  background: #f6f8fd;
}

.p-dashboard-tabs>button {
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  padding: 10px 15px;
  font-size: .82rem;
  font-weight: 620;
  color: #566b8a;
}

.p-dashboard-tabs>button[aria-selected="true"] {
  background: #fff;
  border-color: #cfdcee;
  color: #244b99;
}

.p-dash-panel {
  display: grid;
  grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
  gap: clamp(32px,4vw,100px);
  padding: clamp(28px,3.8vw,100px);
  align-items: center;
}

.p-dash-explainer {
  max-width: 760px;
  min-width: 0;
}

.p-dash-explainer>.p-kicker {
  font-size: .65rem;
}

.p-dash-explainer h3 {
  font-size: clamp(1.65rem,2vw,3rem);
  font-weight: 650;
  line-height: 1.13;
  margin-bottom: 20px;
}

.p-dash-explainer p:not(.p-kicker) {
  color: var(--p-muted);
  font-size: var(--p-small);
  line-height: 1.7;
}

.p-record-list {
  border: 1px solid var(--p-line);
  border-radius: 9px;
  overflow: hidden;
  font-size: var(--p-small);
}

.p-record-list>div {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,.55fr) minmax(0,.8fr);
  gap: 18px;
  padding: 22px 24px;
  align-items: center;
  border-bottom: 1px solid var(--p-line);
}

.p-record-list>div:last-child {
  border-bottom: 0;
}

.p-record-list .p-record-head {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  background: #f5f7fc;
  color: #7184a0;
}

.p-record-list strong {
  display: block;
  font-size: .84rem;
  line-height: 1.4;
}

.p-record-list small {
  display: block;
  font-size: .71rem;
  color: #6e819b;
  line-height: 1.4;
  margin-top: 6px;
}

.p-badge {
  width: fit-content;
  display: inline-block;
  padding: 5px 8px;
  background: #edf3ff;
  color: #3c5792;
  border-radius: 5px;
  font-size: .67rem;
  line-height: 1.4;
}

.p-inbox-sample {
  padding: 28px;
  background: #f7f9fe;
  border: 1px solid var(--p-line);
  border-radius: 10px;
}

.p-inbox-sample h4 {
  margin: 20px 0 15px;
  font-size: 1.3rem;
  font-weight: 630;
}

.p-inbox-sample p {
  font-size: .92rem;
  color: #49607d;
}

.p-inbox-sample dl {
  margin: 18px 0 0;
}

.p-inbox-sample dl>div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--p-line);
  font-size: .81rem;
}

.p-inbox-sample dt {
  color: #6b7c95;
}

.p-inbox-sample dd {
  margin: 0;
  font-weight: 600;
}

.p-control-tiles {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-top: 1px solid var(--p-line);
  border-left: 1px solid var(--p-line);
}

.p-control-tiles>span {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 27px 22px;
  background: #f7f9fe;
  border-bottom: 1px solid var(--p-line);
  border-right: 1px solid var(--p-line);
  font-size: .87rem;
}

.p-control-tiles .p-icon {
  color: #4e70bd;
}

/* 10. Installation and pricing summaries. */
.p-deploy-section {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: clamp(40px,6vw,150px);
  padding: var(--p-section) var(--p-edge);
  background: #f5f7fc;
  align-items: center;
}

.p-deploy-section>div:first-child {
  max-width: 850px;
  min-width: 0;
}

.p-deploy-section>div:first-child>p:not(.p-kicker) {
  max-width: 56ch;
  color: var(--p-muted);
  line-height: 1.7;
  margin: 24px 0;
}

.p-deploy-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border: 1px solid var(--p-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.p-deploy-options>article {
  padding: clamp(28px,3vw,80px);
  border-right: 1px solid var(--p-line);
  border-bottom: 1px solid var(--p-line);
}

.p-deploy-options>article:nth-child(2n) {
  border-right: 0;
}

.p-deploy-options>article:nth-last-child(-n/**/+2) {
  border-bottom: 0;
}

.p-deploy-options .p-icon {
  color: var(--p-blue);
  width: 25px;
  height: 25px;
  margin-bottom: 20px;
}

.p-deploy-options h3 {
  font-size: clamp(1.08rem,1.2vw,1.6rem);
  line-height: 1.2;
  font-weight: 650;
  margin-bottom: 10px;
}

.p-deploy-options p {
  font-size: var(--p-small);
  line-height: 1.7;
  color: var(--p-muted);
  margin: 0;
  max-width: 43ch;
}

.p-plans-intro {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 50px;
  align-items: end;
  padding: var(--p-section) var(--p-edge) 50px;
}

.p-plans-intro>div:last-child {
  justify-self: end;
  max-width: 660px;
}

.p-plans-intro p:not(.p-kicker) {
  color: var(--p-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.p-plan-summary {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border-top: 1px solid var(--p-line);
}

.p-plan-summary>article {
  padding: clamp(30px,3.5vw,100px);
  border-right: 1px solid var(--p-line);
}

.p-plan-summary>article:last-child {
  border-right: 0;
}

.p-plan-summary>article:first-child {
  background: #f6f8ff;
}

.p-plan-summary h3 {
  font-size: clamp(1.75rem,2.1vw,3.1rem);
  margin-bottom: 15px;
}

.p-plan-summary p:not(.p-kicker) {
  font-size: var(--p-small);
  color: var(--p-muted);
  max-width: 52ch;
  line-height: 1.7;
}

.p-plan-summary a {
  margin-top: 15px;
}

.p-plans-foot {
  border-top: 1px solid var(--p-line);
  padding: 20px var(--p-edge);
  margin: 0;
  color: var(--p-muted);
  font-size: .79rem;
  text-align: center;
}

/* 11. Visible offer reference mirrors the retained seven schema offers. */
.p-offer-reference {
  border-top: 1px solid var(--p-line);
  background: #f8faff;
}

.p-offer-reference>summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px var(--p-edge);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 650;
  list-style: none;
}

.p-offer-reference>summary::-webkit-details-marker {
  display: none;
}

.p-offer-reference>summary>span {
  color: var(--p-blue);
  font-size: 1.2rem;
}

.p-offer-reference[open]>summary>span {
  transform: rotate(45deg);
}

.p-reference-intro {
  padding: 10px var(--p-edge) 24px;
  max-width: 1400px;
  color: var(--p-muted);
  font-size: .85rem;
}

.p-offer-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-top: 1px solid var(--p-line);
}

.p-offer-grid>article {
  padding: 32px var(--p-edge);
  border-bottom: 1px solid var(--p-line);
  border-right: 1px solid var(--p-line);
}

.p-offer-grid h4 {
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 15px;
}

.p-offer-grid p {
  font-size: .85rem;
  color: var(--p-muted);
  max-width: 65ch;
}

.p-offer-grid .p-reference-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--p-ink);
}

.p-reference-price small {
  display: block;
  font-size: .73rem;
  font-weight: 500;
  color: var(--p-muted);
}

.p-offer-grid a {
  font-size: .8rem;
  color: var(--p-blue);
  text-underline-offset: 4px;
}

/* 12. Trust and FAQ. Keep the FAQ content in the document for readers and crawlers. */
.p-trust-section {
  padding: var(--p-section) var(--p-edge);
  background: var(--p-navy);
  color: #fff;
}

.p-trust-section>header {
  margin-bottom: 45px;
}

.p-trust-section .p-kicker {
  color: #9bb5fa;
}

.p-trust-section .p-kicker>span {
  color: #8fa5c9;
}

.p-trust-section h2 em {
  color: #a9bddc;
}

.p-trust-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(28px,3vw,80px);
}

.p-trust-grid .p-icon-box {
  background: #243758;
  border-color: #405779;
  color: #bdcffe;
  margin-bottom: 24px;
}

.p-trust-grid h3 {
  font-size: clamp(1.15rem,1.2vw,1.6rem);
  font-weight: 650;
  line-height: 1.2;
  margin-bottom: 16px;
}

.p-trust-grid p {
  font-size: var(--p-small);
  color: #b6c7e1;
  line-height: 1.7;
  max-width: 48ch;
  margin: 0;
}


.p-faq-section {
  --p-faq-panel-height: 42rem;
  display: grid;
  grid-template-columns: minmax(300px,420px) minmax(0,1fr);
  gap: clamp(28px,3.2vw,56px);
  align-items: start;
  padding: var(--p-section) var(--p-edge);
}

.p-faq-section>header {
  max-width: 26rem;
  margin-bottom: 0;
  position: sticky;
  top: calc(var(--p-header-height,72px) + 28px);
}

.p-faq-section>header>p:not(.p-kicker) {
  margin-top: 24px;
  color: var(--p-muted);
  font-size: var(--p-small);
  max-width: 34ch;
  line-height: 1.7;
}

#faqScrollHint {
  margin-top: 14px;
  font-size: .76rem;
}

/* Split-layout premium FAQ panel:
   intro copy lives on the left, the wide accordion list lives on the right. */
.p-faq-list {
  min-width: 0;
  max-height: min(var(--p-faq-panel-height), 74vh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #8799bd #eef2f8;
  padding: 0 7px 0 0;
  border: 1px solid var(--p-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(18,57,95,.06), inset -1px 0 #eef2f8;
}

.p-faq-list::-webkit-scrollbar {
  width: 10px;
}

.p-faq-list::-webkit-scrollbar-track {
  background: #eef2f8;
  border-radius: 999px;
  margin-block: 10px;
}

.p-faq-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#9aabd0 0%,#667da9 100%);
  border: 2px solid #eef2f8;
  border-radius: 999px;
  min-height: 52px;
}

.p-faq-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,#7e94c1 0%,#4f689d 100%);
}

.p-faq-item {
  border-bottom: 1px solid var(--p-line);
}

.p-faq-item:last-child { border-bottom: 0; }

.p-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  padding: 17px 22px;
  cursor: pointer;
  font-weight: 650;
  font-size: clamp(.92rem,.9vw,1.08rem);
  line-height: 1.45;
  background: #fff;
  transition: background-color .14s,color .14s;
}

.p-faq-item summary:hover { background: #f8faff; }
.p-faq-item[open] { box-shadow: inset 3px 0 0 var(--p-blue); }
.p-faq-item[open] summary { background: #f3f6ff; color: #213f91; }
.p-faq-item summary>span:first-child { min-width: 0; overflow-wrap: anywhere; }
.p-faq-item summary::-webkit-details-marker { display: none; }
.p-plus {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--p-blue);
  flex: 0 0 22px;
  text-align: center;
  transition: transform .14s;
}
.p-faq-item[open] .p-plus { transform: rotate(45deg); }
.p-faq-item>p {
  font-size: var(--p-small);
  line-height: 1.75;
  color: var(--p-muted);
  margin: 0;
  padding: 0 22px 18px;
  max-width: 90ch;
}

/* 13. Final action and footer. */
.p-final {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 50px;
  align-items: center;
  padding: var(--p-section) var(--p-edge);
  background: #2946d1;
  color: #fff;
}

.p-final .p-kicker {
  color: #c3d0ff;
}

.p-final h2 em {
  color: #c3d0ff;
}

.p-final p:not(.p-kicker) {
  margin: 22px 0 0;
  color: #d6dfff;
}

.p-final-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  max-width: 390px;
}

.p-final-actions>a:not(.p-button) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: .89rem;
  text-underline-offset: 5px;
}

.p-final-actions>small {
  font-size: .7rem;
  text-align: center;
  color: #c5d2ff;
}

.p-footer {
  background: #f9fbfe;
}

.p-footer-top {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) repeat(3,minmax(0,1fr));
  gap: 44px;
  padding: 64px var(--p-edge);
}

.p-footer-brand p {
  color: var(--p-muted);
  font-size: .84rem;
  line-height: 1.7;
  margin: 20px 0 0;
}

.p-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.p-footer nav>strong {
  font-size: .81rem;
  margin-bottom: 7px;
}

.p-footer nav>a {
  font-size: .78rem;
  text-decoration: none;
  color: var(--p-muted);
  overflow-wrap: anywhere;
  max-width: 100%;
}

.p-footer nav>a:hover {
  color: var(--p-blue);
}

.p-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 24px var(--p-edge);
  border-top: 1px solid var(--p-line);
  font-size: .69rem;
  color: #697c96;
}

.p-footer-bottom>span:last-child {
  text-align: right;
  max-width: 95ch;
}

/* 14. Optional assistant disclosure and iframe host. */
.p-assistant-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dde4f2;
  border-radius: 30px;
  padding: 13px 18px;
  background: #fff;
  color: var(--p-navy);
  box-shadow: 0 8px 30px #1b305023;
  font-size: .8rem;
  font-weight: 680;
}

.p-assistant-dialog {
  padding: 0;
  border: 1px solid #c8d4e6;
  border-radius: 14px;
  width: min(540px,calc(100vw - 24px));
  max-height: calc(100dvh - 36px);
  background: #fff;
  color: var(--p-ink);
  box-shadow: 0 30px 90px #07152f38;
}

.p-assistant-dialog::backdrop {
  background: #101d3c8c;
}

.p-assistant-dialog>header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--p-line);
}

.p-assistant-dialog .p-kicker {
  font-size: .6rem;
  margin-bottom: 7px;
}

.p-assistant-dialog h2 {
  font-size: 1.35rem;
  margin: 0;
}

.p-icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--p-line);
  border-radius: 8px;
  background: #fff;
  color: var(--p-ink);
}

.p-assistant-intro {
  padding: 26px;
}

.p-assistant-intro>.p-icon-box {
  margin-bottom: 18px;
}

.p-assistant-intro>p {
  font-size: .85rem;
  color: var(--p-muted);
  line-height: 1.7;
}

.p-assistant-intro>.p-button {
  width: 100%;
  margin-top: 6px;
}

.p-assistant-intro>a {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: .79rem;
  color: var(--p-blue);
}

.p-assistant-frame-host {
  height: min(640px,calc(100dvh - 225px));
  min-height: 300px;
}

.p-assistant-frame-host iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-assistant-dialog>#assistantStatus {
  margin: 0;
  padding: 0 24px 12px;
}

.p-assistant-dialog>#assistantStatus:empty {
  display: none;
}

.p-assistant-dialog>footer {
  border-top: 1px solid var(--p-line);
  padding: 14px 24px;
  font-size: .75rem;
}

.p-assistant-dialog>footer a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-assistant-dialog>footer .p-icon {
  width: 14px;
  height: 14px;
}

/* 15. Wide screens: preserve viewport-wide panels while capping text and inputs. */
@media (min-width:2200px) {
  .p-faq-list { --p-faq-scroll-height: 50rem; }

.p-hero-stage {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .p-scene-site {
    padding: 44px 50px 110px;
  }

  .p-agent-illustration {
    max-width: 650px;
    margin-right: 44px;
  }

  .p-context-card {
    max-width: 650px;
    margin: 26px 44px 38px;
  }

  .p-example-thread {
    font-size: 1rem;
  }

  .p-example-thread p {
    padding: 18px;
  }

  .p-agent-illustration header strong {
    font-size: 1.1rem;
  }

  .p-stage-label,.p-stage-foot {
    font-size: .82rem;
  }

  .p-header-bar {
    min-height: 90px;
  }

  .p-section-head {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }

  .p-studio-preview,.p-studio-copy {
    justify-self: center;
  }

  .p-studio-sample {
    padding: 58px;
  }

  .p-studio-preview aside {
    font-size: .87rem;
  }

  .p-sample-field>span {
    font-size: .8rem;
  }

  .p-sample-field>strong,.p-sample-field>p {
    font-size: .95rem;
  }

  .p-build-steps strong {
    font-size: 1.1rem;
  }

  .p-build-steps p {
    font-size: 1rem;
  }

.p-consent {
    font-size: .85rem;
  }

  .p-entry-note,.p-signup-options {
    font-size: .87rem;
  }

}

/* 16. Compact desktop and tablets. */
@media (max-width:1150px) {
  .p-header-bar {
    gap: 20px;
  }

  .p-nav {
    gap: 20px;
  }

  .p-header-actions {
    gap: 18px;
  }

.p-hero-stage {
    padding: 32px 24px;
  }

.p-stage-label {
    flex-direction: column;
    gap: 4px;
  }

  .p-stage-label span:last-child {
    text-align: left;
  }

  .p-stage-foot {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }

  .p-agent-illustration,.p-context-card {
    width: calc(100% - 30px);
  }

  .p-agent-illustration {
    margin-right: 15px;
  }

  .p-context-card {
    margin: 18px 15px;
  }

  .p-scene-site {
    padding: 26px 20px 86px;
  }

  .p-flow-list {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .p-flow-list li:nth-child(-n/**/+3) {
    border-bottom: 1px solid var(--p-line);
  }

  .p-flow-list li:nth-child(3n) {
    border-right: 0;
  }

  .p-studio-section,.p-demo-section,.p-dash-panel,.p-deploy-section {
    grid-template-columns: minmax(0,1fr);
  }

  .p-studio-preview {
    max-width: none;
  }

  .p-trust-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    row-gap: 38px;
  }

  .p-plan-summary {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .p-plan-summary>article {
    border-bottom: 1px solid var(--p-line);
  }

  .p-plan-summary>article:nth-child(2n) { border-right: 0; }
  .p-plan-summary>article:nth-last-child(-n+2) { border-bottom: 0; }

  .p-offer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

}

/* 17. Mobile navigation and stacked content. */
@media (max-width:800px) {
  .p-header-bar {
    grid-template-columns: auto minmax(0,1fr);
    gap: 12px;
    padding: 10px 20px;
    min-height: 72px;
  }

  .p-header-actions {
    justify-self: end;
    gap: 15px;
  }

  .p-header-actions>.p-button {
    min-height: 42px;
    padding: 10px 13px;
    font-size: .77rem;
  }

  .p-header-actions>.p-button>.p-icon {
    display: none;
  }

  .p-signin {
    font-size: .8rem;
  }

  .p-nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: start;
    gap: 23px;
    flex-wrap: wrap;
    border-top: 1px solid var(--p-line);
  }

  html[data-product-ready] .p-menu-button {
    display: grid;
  }

  html[data-product-ready] .p-nav {
    display: none;
  }

  html[data-product-ready] .p-header[data-menu-open="true"] .p-nav {
    display: flex;
  }

.p-hero-stage {
    border-left: 0;
    border-top: 1px solid #1c2b42;
    padding: 36px var(--p-edge);
    gap: 20px;
  }

  .p-stage-label,.p-stage-foot {
    flex-direction: row;
    align-items: center;
  }

  .p-stage-label span:last-child {
    text-align: right;
  }

  .p-scene {
    max-width: 590px;
  }

  .p-principles {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .p-principles>span {
    justify-content: start;
    padding: 20px var(--p-edge);
    font-size: .79rem;
  }

  .p-principles>span:nth-child(2) {
    border-right: 0;
  }

  .p-principles>span:nth-child(-n/**/+2) {
    border-bottom: 1px solid var(--p-line);
  }

  .p-section-head {
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
    padding-bottom: 35px;
  }

  .p-section h2,.p-final h2 {
    font-size: clamp(2rem,5.8vw,3rem);
  }

  .p-channel {
    padding: 28px 24px;
  }

  .p-channel h3 {
    font-size: 1.25rem;
  }

  .p-channel p {
    font-size: .85rem;
  }

  .p-channel-top {
    margin-bottom: 25px;
  }

  .p-flow-intro {
    flex-direction: column;
    align-items: start;
    gap: 25px;
  }

  .p-flow-list li {
    padding: 24px var(--p-edge);
  }

  .p-plans-intro {
    grid-template-columns: minmax(0,1fr);
    gap: 26px;
  }

  .p-plans-intro>div:last-child {
    justify-self: start;
  }

  .p-plan-summary>article {
    padding: 28px 24px;
  }

  .p-plan-summary .p-kicker {
    font-size: .59rem;
  }

  .p-plan-summary h3 {
    font-size: 1.5rem;
  }

  .p-faq-section {
    --p-faq-panel-height: 38rem;
    grid-template-columns: minmax(0,1fr);
    gap: 28px;
  }

  .p-faq-section>header {
    position: static;
    max-width: 42rem;
  }

  .p-faq-section>header>p:not(.p-kicker) {
    max-width: 70ch;
  }

  .p-final {
    grid-template-columns: minmax(0,1fr);
    gap: 35px;
  }

  .p-final-actions {
    align-items: start;
    max-width: none;
  }

  .p-final-actions>small {
    text-align: left;
  }

  .p-footer-top {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 30px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .p-footer-brand {
    grid-column: 1/-1;
  }

  .p-footer-bottom {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .p-footer-bottom>span:last-child {
    text-align: left;
  }

}

/* 18. Narrow phones, including 320 CSS-pixel viewports. */
@media (max-width:560px) {
  .p-faq-list { --p-faq-scroll-height: 34rem; max-height: min(var(--p-faq-scroll-height), 68vh); }

:root {
    --p-edge: 20px;
    --p-section: 52px;
  }

  .p-header-bar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .p-logo,.p-logo img {
    width: 76px;
    height: 36px;
    flex-basis: 76px;
  }

  .rtd-logo-fallback {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 10px;
  }

  .p-brand {
    gap: 8px;
  }

  .p-brand strong {
    font-size: 1rem;
  }

  .p-brand small {
    font-size: .58rem;
  }

  .p-header-actions {
    gap: 11px;
  }

  .p-menu-button {
    width: 35px;
    height: 35px;
    padding: 6px;
  }

  .p-header-actions>.p-button {
    min-height: 36px;
    font-size: .73rem;
    padding: 8px 10px;
  }

  .p-signin {
    font-size: .73rem;
  }

  .p-nav {
    gap: 22px;
  }

  .p-nav a {
    font-size: .8rem;
  }

.p-hero-secondary {
    gap: 23px;
    margin-bottom: 24px;
  }

  .p-hero-secondary a {
    font-size: .81rem;
  }

.p-consent,.p-signup-help {
    font-size: .69rem;
  }

  .p-hero-stage {
    padding: 28px 20px;
  }

  .p-stage-label {
    font-size: .52rem;
    gap: 12px;
  }

  .p-stage-foot {
    font-size: .64rem;
    align-items: start;
    flex-direction: column;
  }

  .p-scene-site {
    padding: 24px 20px 84px;
  }

  .p-scene-site>strong {
    font-size: 1.4rem;
  }

  .p-scene-top {
    padding: 11px 12px;
    gap: 8px;
    font-size: .56rem;
  }

  .p-agent-illustration header strong {
    font-size: .75rem;
  }

  .p-agent-illustration header small {
    font-size: .57rem;
  }

  .p-agent-illustration>header {
    padding: 12px;
    gap: 8px;
  }

  .p-agent-symbol {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .p-example-thread {
    padding: 14px;
    font-size: .72rem;
  }

  .p-example-thread p {
    padding: 10px;
  }

  .p-agent-channels {
    gap: 12px;
    font-size: .57rem;
  }

  .p-context-card strong {
    font-size: .71rem;
  }

  .p-context-card div>span {
    font-size: .59rem;
  }

  .p-context-card {
    gap: 9px;
    padding: 11px;
  }

  .p-principles>span {
    gap: 9px;
    padding: 17px 16px;
    font-size: .69rem;
  }

  .p-principles .p-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .p-kicker {
    font-size: .62rem;
  }

  .p-channels {
    grid-template-columns: minmax(0,1fr);
  }

  .p-channel {
    border-right: 0;
    border-bottom: 1px solid var(--p-line);
    padding: 32px 24px;
  }

  .p-channel:last-child {
    border-bottom: 0;
  }

  .p-channel h3 {
    font-size: 1.55rem;
  }

  .p-channel p {
    font-size: .95rem;
  }

  .p-channel-top {
    margin-bottom: 28px;
  }

  .p-channel>small {
    font-size: .77rem;
  }

  .p-flow-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .p-flow-list li {
    border-right: 0;
    border-bottom: 1px solid var(--p-line);
  }

  .p-flow-list li:nth-child(2n/**/+1) {
    border-right: 1px solid var(--p-line);
  }

  .p-flow-list li:nth-last-child(-n/**/+2) {
    border-bottom: 0;
  }

  .p-flow-list p {
    font-size: .79rem;
  }

  .p-flow-list strong {
    font-size: .92rem;
  }

  .p-flow-list li>span {
    margin-bottom: 18px;
  }

  .p-studio-section {
    gap: 30px;
  }

  .p-studio-preview-body {
    grid-template-columns: minmax(0,1fr);
  }

  .p-studio-preview aside {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    padding: 9px;
    border-right: 0;
    border-bottom: 1px solid var(--p-line);
    font-size: .55rem;
  }

  .p-studio-preview aside>span {
    padding: 7px;
  }

  .p-studio-preview>header {
    padding: 14px;
  }

  .p-studio-sample {
    padding: 24px 18px;
  }

  .p-studio-preview>footer {
    font-size: .65rem;
    padding: 14px 16px;
  }

  .p-demo-options {
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
  }

  .p-demo-card {
    padding: 28px;
  }

  .p-demo-card h3 {
    font-size: 1.45rem;
  }

  .p-demo-card>p {
    font-size: .9rem;
  }

  .p-demo-orb,.p-demo-flow-visual {
    margin-top: 38px;
    margin-bottom: 38px;
  }

  .p-demo-card>strong {
    font-size: .84rem;
  }

  .p-dashboard-toolbar {
    align-items: start;
    gap: 14px;
    padding: 17px 18px;
    flex-direction: column;
  }

  .p-dashboard-toolbar>span:last-child {
    font-size: .54rem;
    text-align: left;
  }

  .p-dashboard-tabs {
    flex-direction: column;
    padding: 12px;
    gap: 7px;
    align-items: stretch;
  }

  .p-dashboard-tabs>button {
    text-align: left;
    font-size: .76rem;
  }

  .p-dash-panel {
    padding: 24px 18px;
    gap: 24px;
  }

  .p-dash-explainer h3 {
    font-size: 1.55rem;
  }

  .p-record-list .p-record-head {
    display: none;
  }

  .p-record-list>div {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
    padding: 16px;
  }

  .p-record-list>div>span:first-child {
    grid-column: 1/-1;
  }

  .p-record-list>div>span:nth-child(2) {
    font-size: .69rem;
  }

  .p-inbox-sample {
    padding: 18px;
  }

  .p-inbox-sample dl>div {
    flex-direction: column;
    gap: 4px;
    font-size: .76rem;
  }

  .p-control-tiles {
    grid-template-columns: minmax(0,1fr);
  }

  .p-control-tiles>span {
    font-size: .81rem;
    padding: 20px;
  }

  .p-deploy-options {
    grid-template-columns: minmax(0,1fr);
  }

  .p-deploy-options>article {
    border-right: 0;
    padding: 25px;
  }

  .p-deploy-options>article:nth-last-child(2) {
    border-bottom: 1px solid var(--p-line);
  }

  .p-deploy-options h3 {
    font-size: 1.23rem;
  }

  .p-deploy-options p {
    font-size: .9rem;
  }

  .p-plan-summary,.p-offer-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .p-plan-summary>article {
    border-right: 0;
    border-bottom: 1px solid var(--p-line);
    padding: 28px 24px;
  }

  .p-plan-summary>article:last-child {
    border-bottom: 0;
  }

  .p-plan-summary .p-kicker {
    font-size: .63rem;
  }

  .p-plan-summary h3 {
    font-size: 1.8rem;
  }

  .p-plan-summary p:not(.p-kicker) {
    font-size: .94rem;
  }

  .p-plans-foot {
    font-size: .71rem;
    line-height: 1.8;
    text-align: left;
  }

  .p-trust-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 35px;
  }

  .p-trust-grid h3 {
    font-size: 1.3rem;
  }

  .p-trust-grid p {
    font-size: .91rem;
  }

  .p-trust-grid .p-icon-box {
    margin-bottom: 18px;
  }

  .p-faq-item summary {
    font-size: .9rem;
    padding: 15px 16px;
  }

  .p-faq-item>p {
    font-size: .87rem;
    padding: 0 16px 16px;
  }

  .p-faq-list {
    --p-faq-panel-height: 30rem;
    max-height: min(var(--p-faq-panel-height), 62vh);
    padding-right: 6px;
  }

  .p-final h2 {
    font-size: 2.15rem;
  }

  .p-final p:not(.p-kicker) {
    font-size: .92rem;
  }

  .p-final-actions {
    align-items: stretch;
  }

  .p-final-actions>small {
    text-align: center;
  }

  .p-footer-top {
    grid-template-columns: repeat(2,minmax(0,1fr));
    row-gap: 28px;
  }

  .p-footer nav>strong {
    font-size: .79rem;
  }

  .p-footer nav>a {
    font-size: .75rem;
  }

  .p-assistant-launcher {
    right: 14px;
    bottom: 14px;
    padding: 12px;
    border-radius: 50%;
  }

  .p-assistant-launcher>span {
    display: none;
  }

  .p-assistant-dialog {
    max-height: calc(100dvh - 20px);
  }

  .p-assistant-dialog>header {
    padding: 18px;
  }

  .p-assistant-intro {
    padding: 20px;
  }

}

/* 19. Accessibility preferences. */
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .p-button,.p-demo-card {
    transition: none;
  }

}

@media (forced-colors:active) {
  .p-button,.p-icon-box,.p-agent-illustration,.p-context-card {
    border: 1px solid ButtonText;
  }

  .p-status-dot,.p-wave i {
    background: CanvasText;
  }

}

/* 20. Print. */
@media print {
  .p-faq-list {
    max-height: none;
    overflow: visible;
    scrollbar-gutter: auto;
  }
}
