/* Pretxt design system — tokens ------------------------------------------ */

:root {
  --px-ground: #FCFAF6;
  --px-surface: #F2F1F7;
  --px-surface-raised: #FFFFFF;
  --px-primary: #4A4E8C;
  --px-primary-hover: #3E4278;
  --px-soft: #8E93D4;
  --px-accent: #DFA3A0;
  --px-accent-tint: #F7E9E8;
  --px-ink: #23233A;

  --px-text: var(--px-ink);
  --px-text-secondary: #5C5E75;
  --px-text-muted: #626477;
  --px-text-on-primary: #FCFAF6;
  --px-text-on-accent: #23233A;

  --px-border: #DEDDE9;
  --px-border-strong: #C5C4D6;
  --px-focus: #8E93D4;

  --px-success: #40745A;
  --px-warning: #8E651F;
  --px-danger: #B3524E;
  --px-success-tint: #E4EFE8;
  --px-warning-tint: #F6ECDC;
  --px-danger-tint: #F7E4E3;
  --px-hero-pool: #EEEDF8;
  --px-ink-block: #23233A;
  --px-mark: #B83A26;

  --px-radius-sm: 6px;
  --px-radius-md: 10px;
  --px-radius-lg: 16px;
  --px-radius-pill: 999px;

  --px-shadow-sm: 0 1px 2px rgba(35, 35, 58, 0.08);
  --px-shadow-md: 0 4px 16px rgba(35, 35, 58, 0.10);

  --px-border-width: 1px;
  --px-focus-ring: 0 0 0 3px rgba(142, 147, 212, 0.45);

  --px-duration-fast: 120ms;
  --px-duration: 180ms;
  --px-duration-slow: 280ms;
  --px-ease: cubic-bezier(0.2, 0, 0.2, 1);
  --px-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --px-font-display: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  --px-font-body: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  --px-font-alt: "Montserrat Alternates", "Montserrat", sans-serif;
  --px-font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --px-font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --px-weight-light: 400;
  --px-weight-regular: 400;
  --px-weight-semibold: 600;
  --px-weight-bold: 700;
  --px-weight-hero: 600;

  --px-text-hero: clamp(34px, 4.4vw, 52px);
  --px-text-display: clamp(28px, 3.2vw, 40px);
  --px-text-h1: 32px;
  --px-text-h2: 24px;
  --px-text-h3: 19px;
  --px-text-lg: 17px;
  --px-text-base: 16px;
  --px-text-sm: 13px;
  --px-text-xs: 12px;

  --px-leading-tight: 1.1;
  --px-leading-snug: 1.25;
  --px-leading-normal: 1.5;
  --px-leading-relaxed: 1.65;

  --px-tracking-tight: -0.02em;
  --px-tracking-wide: 0.04em;
  --px-tracking-caps: 0.1em;

  --px-space-1: 4px;
  --px-space-2: 8px;
  --px-space-3: 12px;
  --px-space-4: 16px;
  --px-space-5: 20px;
  --px-space-6: 24px;
  --px-space-8: 32px;
  --px-space-10: 40px;
  --px-space-12: 48px;
  --px-space-16: 64px;
  --px-space-20: 80px;
  --px-space-24: 96px;

  --px-container: 1200px;
  --px-container-narrow: 720px;
  --px-gutter: 24px;

  color-scheme: light;
}

/* Shared static site foundation */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--px-ink); background: var(--px-ground); font: 400 16px/1.7 var(--px-font-body); -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-weight: 600; letter-spacing: -.035em; line-height: 1.18; text-wrap: pretty; }
h1 { font-size: var(--px-text-hero); }
h2 { font-size: var(--px-text-display); }
h3 { font-size: 22px; letter-spacing: -.02em; }
p+p { margin-top: 16px; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button,input,textarea { font: inherit; }
button,a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img,svg { display: block; max-width: 100%; }
img { height: auto; }
ul,ol { padding: 0; margin: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--px-primary); outline-offset: 5px; }
main:focus { outline: none; }
::selection { background: var(--px-accent-tint); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 12px 20px; background: white; border: 2px solid var(--px-primary); translate: 0 -160%; }
.skip-link:focus { translate: 0; }
.wrap { max-width: 1152px; margin: auto; }
.section,.hero,.page-hero { padding: 88px max(24px, calc((100vw - 1152px)/2)); }
.section--compact { padding-top: 24px; }
.section--surface { background: var(--px-surface); }
.section--tint { background: #f5eee7; }
.prose { max-width: 760px; }
.prose>p { margin-top: 20px; color: var(--px-text-secondary); }
.eyebrow,.card-eyebrow { font-size: 12px; line-height: 1.6; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--px-primary); }
.eyebrow+h1,.eyebrow+h2 { margin-top: 16px; }
.section-heading>.eyebrow,.hero .eyebrow { font-size: 15px; letter-spacing: .12em; }
.lede { color: var(--px-text-secondary); font-size: 18px; line-height: 1.75; margin-top: 24px; }
.section-heading { max-width: 740px; }
.section-heading>p:not(.eyebrow) { color: var(--px-text-secondary); margin-top: 20px; }
.centered { text-align: center; margin: auto; }
.two-col { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: start; }
.breadcrumb { color: var(--px-text-secondary); font-size: 14px; margin-bottom: 22px; }
.text-link { color: var(--px-primary); font-weight: 600; display: inline-block; line-height: 1.5; padding: 8px 0; }
.px-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 20px; min-height: 48px; border: 1px solid transparent; border-radius: 9px; font-size: 15px; font-weight: 600; cursor: pointer; line-height: 1.5; transition: background .18s; }
.px-btn:hover { text-decoration: none; }
.px-btn--primary { color: var(--px-ground); background: var(--px-primary); }
.px-btn--primary:hover { background: var(--px-primary-hover); }
.px-btn--secondary { color: var(--px-primary); border-color: var(--px-border-strong); background: transparent; }
.px-btn--sm { padding: 10px 17px; font-size: 14px; }
.px-btn--block { width: 100%; }
.px-btn:disabled { opacity: .6; cursor: wait; }
.px-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 40px; padding: 18px max(24px, calc((100vw - 1152px)/2)); background: var(--px-ground); border-bottom: 1px solid var(--px-border); }
.brand-link { flex: none; }
.site-logo { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.site-nav [aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.site-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.login-link { font-size: 13px; color: var(--px-text-secondary); }
.nav-toggle,.mobile-login { display: none; }
.hero { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { max-width: 600px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 30px; }
.availability { font-size: 13px; color: var(--px-text-secondary); margin-top: 22px; }
.work-example { border: 1px solid #ddd6ce; border-radius: 20px; padding: 26px; background: #fffefa; box-shadow: 0 16px 45px #75624b0d; position: relative; }
.work-example figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; padding-bottom: 20px; border-bottom: 1px solid var(--px-border); }
.example-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--px-primary); }
.example-tag { display: block; font-size: 12px; font-weight: 400; color: var(--px-text-secondary); }
.work-example .example-tag { width: 100%; padding-left: 16px; }
.coaching-conversation { display: grid; gap: 12px; margin-top: 18px; }
.coaching-example figcaption { display: grid; grid-template-columns: 8px minmax(0,1fr); gap: 6px 8px; align-items: start; }
.coaching-example .example-dot { margin-top: 6px; }
.coaching-example .example-tag { grid-column: 2; padding-left: 0; }
.conversation-turn { padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.55; }
.conversation-turn p+p { margin-top: 6px; }
.conversation-speaker { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; font-weight: 600; color: var(--px-primary); }
.conversation-speaker span { font-weight: 400; color: var(--px-text-secondary); }
.conversation-turn--patient { margin-left: 28px; background: var(--px-surface); border-bottom-right-radius: 4px; }
.conversation-turn--draft { margin-right: 28px; background: var(--px-accent-tint); border-bottom-left-radius: 4px; }
.conversation-turn--coach { border-left: 3px solid var(--px-primary); border-radius: 0 8px 8px 0; background: var(--px-ground); }
.conversation-turn--reply { margin-right: 16px; border: 1px solid var(--px-border-strong); background: white; border-bottom-left-radius: 4px; }
.coaching-example>.text-link { margin-top: 12px; font-size: 14px; }
.work-example.conversation-carousel { padding: 20px; }
.conversation-carousel figcaption { padding-bottom: 12px; }
.conversation-carousel .coaching-conversation { gap: 8px; margin-top: 12px; }
.conversation-carousel .conversation-turn { padding: 9px 12px; line-height: 1.45; }
.conversation-carousel .conversation-turn p+p { margin-top: 4px; }
.conversation-carousel>.text-link { margin-top: 4px; }
.conversation-carousel.is-ready .conversation-slides { display: grid; overflow: hidden; }
.conversation-carousel.is-ready .conversation-slide { grid-area: 1 / 1; min-width: 0; }
.conversation-carousel.is-ready .conversation-slide[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.conversation-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding-top: 6px; border-top: 1px solid var(--px-border); }
.conversation-controls[hidden] { display: none; }
.conversation-arrow,.conversation-dot { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--px-primary); cursor: pointer; }
.conversation-arrow { font-size: 22px; }
.conversation-arrow:hover,.conversation-dot:hover { background: var(--px-surface); }
.conversation-arrow:focus-visible,.conversation-dot:focus-visible { outline: 2px solid var(--px-primary); outline-offset: 2px; }
.conversation-dots { display: flex; align-items: center; }
.conversation-dot span { width: 7px; height: 7px; border: 1px solid var(--px-primary); border-radius: 50%; }
.conversation-dot[aria-pressed="true"] span { width: 18px; border-radius: 6px; background: var(--px-primary); }
.conversation-count { font-size: 12px; color: var(--px-text-secondary); white-space: nowrap; }
@media (max-width: 420px) { .conversation-controls { gap: 0; justify-content: space-between; } .conversation-count { display: none; } .conversation-dot { width: 44px; } .conversation-carousel .example-tag { min-height: 3.4em; } }
.example-context { padding: 22px 0; }
.small-label { font-size: 12px; font-weight: 600; color: var(--px-text-secondary); display: block; margin-bottom: 8px; }
.context-note { font-size: 12px; margin-top: 10px; color: var(--px-text-secondary); }
.example-reply { padding: 20px; border-radius: 12px; background: var(--px-surface); }
.example-reply>p { font-size: 17px; }
.human-note { font: italic 22px/1.4 var(--px-font-serif); color: #754c45; padding-left: 17px; border-left: 2px solid var(--px-accent); margin-top: 22px; }
.work-example details { border-top: 1px solid var(--px-border); margin-top: 22px; padding-top: 14px; font-size: 13px; }
summary { cursor: pointer; font-weight: 600; color: var(--px-primary); }
summary:hover { text-decoration: underline; text-underline-offset: 4px; }
details p { margin-top: 14px; }
.definition p { color: var(--px-text-secondary); }
.definition .text-link { margin-top: 14px; }
.story-grid,.scenario-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 36px; }
.story-grid--use-cases { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 1fr; }
.story-card { padding: 28px; background: #fffefa; border: 1px solid var(--px-border); border-radius: 14px; display: flex; flex-direction: column; align-items: start; }
.story-card h3 { margin-top: 18px; }
.story-grid--use-cases h2 { font-size: 22px; letter-spacing: -.02em; margin-top: 18px; }
.story-card>p:not(.eyebrow) { color: var(--px-text-secondary); margin-top: 18px; margin-bottom: 22px; }
.story-card .text-link { margin-top: auto; font-size: 14px; }
.trust-list>div { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #dbd0c5; }
.trust-list h3 { font-size: 20px; }
.trust-list p { color: var(--px-text-secondary); margin-top: 12px; }
.trust-list>a { display: block; font-size: 15px; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta-row--panel { border-radius: 18px; background: var(--px-accent-tint); padding: 48px; }
.cta-copy { max-width: 670px; }
.cta-copy h2 { font-size: clamp(26px,3vw,36px); }
.cta-copy p { margin-top: 16px; color: var(--px-text-secondary); }
.cta-row>.px-btn { flex-shrink: 0; }
.page-hero { padding-bottom: 48px; }
.page-jump { display: flex; gap: 24px; flex-wrap: wrap; padding: 0 max(24px, calc((100vw - 1152px)/2)) 40px; color: var(--px-primary); font-size: 14px; font-weight: 600; }
.product-step { border-top: 1px solid var(--px-border); }
.brief-card { background: #fffefa; border: 1px solid #ddd6ce; border-radius: 16px; padding: 32px; }
.brief-card h3 { margin-top: 16px; }
.brief-card p { margin-top: 18px; }
.brief-card figcaption { border-top: 1px solid var(--px-border); padding-top: 18px; margin-top: 26px; color: var(--px-text-secondary); font-size: 12px; }
.technical-details { margin-top: 32px; padding: 24px; border: 1px solid var(--px-border-strong); border-radius: 12px; }
.technical-body>h3 { margin-top: 36px; }
.technical-body>p { margin-top: 16px; max-width: 840px; }
.plug-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.px-card { background: white; border: 1px solid var(--px-border); border-radius: 14px; }
.plug-card { padding: 24px; }
.plug-card h3 { font-size: 19px; }
.plug-card p { color: var(--px-text-secondary); font-size: 15px; margin-top: 14px; }
.plain-list { margin-top: 18px; display: grid; gap: 10px; list-style: disc; padding-left: 20px; color: var(--px-text-secondary); }
.px-badge { display: inline-block; font-size: 12px; padding: 4px 9px; border: 1px solid var(--px-border-strong); border-radius: 20px; font-weight: 600; background: var(--px-ground); }
.px-badge--warning { color: #775317; background: var(--px-warning-tint); }
.scenario-grid { grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.scenario-grid article { padding-top: 24px; border-top: 1px solid var(--px-border); }
.scenario-grid h2 { font-size: 25px; margin: 12px 0; }
.scenario-grid article>p:not(.eyebrow) { color: var(--px-text-secondary); }
.related-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--px-border); font-size: 14px; color: var(--px-primary); font-weight: 600; }
.section-footnote { margin-top: 24px; color: var(--px-text-secondary); font-size: 14px; }
.faq-list { margin: 32px 0 20px; }
.faq-item { border-bottom: 1px solid var(--px-border); padding: 24px 0; }
.faq-item h3 { font-size: 18px; line-height: 1.45; letter-spacing: -.01em; }
.faq-item p { margin-top: 10px; max-width: 900px; color: var(--px-text-secondary); }
.faq-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 64px; align-items: start; }
.faq-layout h1 { font-size: 38px; }
.faq-side-nav { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; color: var(--px-primary); font-weight: 600; }
.faq-group+.faq-group { margin-top: 40px; }
.faq-group h2.eyebrow { font-size: 14px; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.security-grid .px-card { padding: 28px; }
.security-grid h2 { font-size: 22px; }
.security-grid p { margin-top: 16px; color: var(--px-text-secondary); }
.security-cert-card { padding: 28px; }
.security-cert-card>p { margin-top: 16px; font-size: 14px; }
.security-cert-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: 80px; align-items: start; }
.early-access { padding-top: 30px; margin: 32px 0; border-top: 1px solid var(--px-border); }
.early-access h2 { font-size: 25px; }
.early-access p { margin-top: 16px; color: var(--px-text-secondary); }
.contact-form-card { padding: 32px; border: 1px solid var(--px-border); border-radius: 18px; background: #fffefa; }
.contact-form-card h2 { font-size: 25px; }
.contact-form-card>p { margin: 12px 0 24px; color: var(--px-text-secondary); }
.form-fields { display: grid; gap: 22px; }
.px-field { display: flex; flex-direction: column; gap: 7px; }
.px-field label { font-size: 14px; font-weight: 600; }
.px-input { border: 1px solid #9393a4; border-radius: 8px; background: white; padding: 12px; width: 100%; min-height: 48px; }
.px-input[aria-invalid="true"] { border-color: #a03c35; }
.field-error { color: #a03c35; font-size: 13px; line-height: 1.5; }
.field-error:empty,.form-status:empty { display: none; }
.contact-form-card small { font-size: 12px; color: var(--px-text-secondary); }
.form-status { padding: 16px 0; }
.login-dialog { width: min(440px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--px-border); border-radius: 16px; background: var(--px-ground); color: var(--px-ink); max-height: calc(100% - 40px); overflow: auto; }
.login-dialog::backdrop { background: #23233a66; backdrop-filter: blur(3px); }
.login-dialog h2 { font-size: 28px; padding-right: 30px; }
.login-dialog>p { margin: 16px 0 24px; color: var(--px-text-secondary); }
.login-dialog form { display: grid; gap: 20px; }
.dialog-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 25px; cursor: pointer; }
.article { max-width: 800px; margin: auto; padding: 72px 24px 88px; }
.article h1 { font-size: clamp(34px,4vw,46px); margin-top: 20px; }
.article .byline { color: var(--px-text-secondary); font-size: 13px; margin-top: 18px; }
.article p { margin-top: 20px; }
.article h2 { font-size: 28px; margin-top: 44px; }
.article ul { list-style: disc; padding-left: 24px; margin-top: 20px; }
.article li { margin-top: 10px; }
.article .in-pretxt { background: var(--px-surface); padding: 20px; border-radius: 10px; }
.article-card { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.article-card h2 { font-size: 24px; }
.article-card p { color: var(--px-text-secondary); }
.article-meta { color: var(--px-text-secondary); font-size: 13px; margin-top: auto; }
.resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.compare { border-collapse: collapse; width: 100%; min-width: 560px; margin-top: 24px; font-size: 14px; }
.compare th,.compare td { text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--px-border); }
.compare thead { background: var(--px-surface); }
.site-footer { background: var(--px-ink); color: var(--px-ground); padding: 64px 24px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { margin-top: 24px; font: 26px/1.4 var(--px-font-serif); color: #e2d7cd; }
.footer-col-title { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #bbbce0; }
.footer-links { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; font-size: 14px; }
.footer-bottom { border-top: 1px solid #53546c; padding-top: 24px; margin-top: 48px; display: flex; gap: 24px; justify-content: space-between; color: #c7c6d5; font-size: 12px; }
.is-review [data-launch-validate] { outline: 2px dashed #b17431; outline-offset: 5px; }
@media(max-width:1050px) { .site-header { gap: 24px; }.site-nav { gap: 16px; }.hero { gap: 36px; }.contact-layout { gap: 40px; grid-template-columns: 1fr 360px; } }
@media(max-width:900px) {
  .login-link { display: none; }
  .section,.hero,.page-hero { padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 64px; padding-bottom: 64px; }.section--compact { padding-top: 12px; }
  .hero,.two-col,.contact-layout,.faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 54px; padding-bottom: 64px; }.hero>div,.work-example { max-width: 680px; }.work-example { width: 100%; }
  .site-header { flex-wrap: wrap; gap: 16px; padding: 12px 24px; }.site-actions { margin-left: auto; }
  .site-nav { order: 4; flex-basis: 100%; flex-wrap: wrap; padding-bottom: 12px; }
  .has-js .site-nav { display: none; }
  .has-js .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--px-border); border-radius: 8px; background: transparent; }
  .mobile-login { display: inline; }
  .has-js .site-header[data-nav-open] .site-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--px-ground); border-bottom: 1px solid var(--px-border-strong); padding: 16px 24px; }
  .site-nav a { padding: 10px 0; }
  .story-grid,.resource-grid { grid-template-columns: 1fr; }.story-card { padding: 28px; }.story-card>p { max-width: 620px; }
  .cta-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .faq-side-nav { flex-direction: row; flex-wrap: wrap; gap: 22px; }
  .contact-form-card { max-width: 580px; width: 100%; }
  .footer-grid { grid-template-columns: repeat(3,1fr); gap: 32px; }.footer-brand { grid-column: 1/-1; }
}
@media(max-width:600px) {
  .section,.hero,.page-hero { padding-left: 20px; padding-right: 20px; }.section { padding-top: 52px; padding-bottom: 52px; }.section--compact { padding-top: 12px; }.page-hero { padding-top: 52px; padding-bottom: 32px; }
  .site-header { padding: 12px 20px; gap: 14px; }.site-logo { height: 32px; }
  .hero { gap: 36px; }.hero h1 { font-size: 36px; }.hero .lede { font-size: 17px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .work-example { padding: 22px; }.example-reply { padding: 16px; }
  .scenario-grid,.security-grid,.plug-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-row--panel { padding: 28px; }.brief-card,.contact-form-card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-bottom { flex-direction: column; gap: 12px; }
  .faq-layout h1 { font-size: 34px; }.technical-details { padding: 20px; }.page-jump { padding-left: 20px; gap: 14px 24px; }
  .article { padding-top: 48px; }.article .lede { font-size: 17px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } }
/* Editorial pages use reading rhythm rather than a repeated card matrix. */
.resource-grid { display: block; }
.resource-grid .article-card { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 14px 32px; padding: 34px 0; border: 0; border-bottom: 1px solid var(--px-border); border-radius: 0; background: transparent; }
.resource-grid .article-card .px-badge { grid-column: 1; grid-row: 1; align-self: start; justify-self: start; }
.resource-grid .article-card h2,.resource-grid .article-card p,.resource-grid .article-card .article-meta { grid-column: 2; max-width: 760px; }
.scenario-story { max-width: 860px; margin-top: 24px; }
.scenario-story article { padding: 28px 0; border-bottom: 1px solid var(--px-border); }
.scenario-story article:last-child { border-bottom: 0; }
.scenario-story h2 { font-size: 25px; margin-bottom: 14px; }
.scenario-story p { color: var(--px-text-secondary); max-width: 740px; }
@media(max-width:600px) { .resource-grid .article-card { display: flex; padding: 28px 0; }.resource-grid .article-card .px-badge { align-self: flex-start; } }
.site-footer :focus-visible { outline-color: #efdbca; }
@media(max-width:900px) { .site-header { position: static; }.has-js .site-header { position: sticky; } }
