/* Product pages in the 2026-11 look (HUB, then Chat): shared blocks, coloured per product */

.pd {
    --pd-color: var(--p-hub);
    --pd-ink: var(--p-hub-text);
    --pd-soft: var(--p-hub-tint);
    --pd-light: var(--p-hub);
    background: var(--sheet);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
}

.pd--chat {
    --pd-color: var(--p-chat);
    --pd-ink: var(--p-chat-text);
    --pd-soft: var(--p-chat-tint);
    --pd-light: #9CCFF4;
}

.pd a:not(.btn) { color: inherit; text-decoration: none; }
.pd a.btn { text-decoration: none; }

.pd .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.pd h3 { margin: 0; }
.pd p { margin: 0; }

.pd-wrap { max-width: 1400px; margin: 0 auto; }

.pd-h2 {
    margin: 0 0 32px;
    font-family: var(--font);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--text);
}

.pd-h2--flush { margin-bottom: 0; }

/* Grids */
.pd-grid { display: grid; gap: 20px; }
.pd-grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.pd-grid--320 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.pd-grid--380 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }

/* Sections */
.pd-section { padding: 96px 32px 0; }
.pd-section--last { padding-bottom: 96px; }

/* Hero */
.pd-hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--ink-text);
    padding: 9rem 32px 88px;
}

.pd-hero-inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}

.pd-hero-text { flex: 1 1 520px; min-width: 0; }

.pd-back { color: var(--ink-text-2) !important; font-size: 14px; }
.pd-back:hover { color: #fff !important; }

.pd-brand { display: flex; margin-top: 18px; }
.pd-brand .plogo { --plogo-h: 32px; }

.pd-hero-title {
    margin: 14px 0 18px;
    font-family: var(--font);
    font-weight: 500;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
}

.pd-hero-lead { max-width: 560px; font-size: 19px; color: var(--ink-text-2); }

.pd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.pd-hero-note { margin-top: 16px !important; color: var(--ink-text-2); font-size: 14px; }

/* Screen mock in the hero */
.pd-shot {
    flex: 1 1 520px;
    max-width: 620px;
    min-width: 0;
    border-radius: var(--r-panel);
    overflow: hidden;
    background: var(--mist);
    color: var(--text);
    font-size: 12px;
    line-height: 1.5;
}

.pd-shot-bar {
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-shot-bar b { font-family: var(--font); font-size: 15px; }

.pd-shot-app {
    font-size: 9px;
    letter-spacing: .14em;
    color: var(--pd-light);
    font-weight: 600;
}

.pd-shot-tab {
    margin-left: 10px;
    padding: 3px 9px;
    border-radius: 7px;
    background: var(--pd-color);
    color: var(--ink);
    font-weight: 600;
}

.pd-shot-body {
    padding: 14px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 10px;
}

.pd-shot-card { background: var(--sheet); border-radius: var(--r-control); padding: 12px; }
.pd-shot-card--tall { grid-row: span 2; }
.pd-shot-title { font-family: var(--font); font-size: 13px; }

.pd-shot-list { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.pd-shot-list span { display: flex; gap: 8px; align-items: center; }

.pd-shot-ic {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 600;
}

.pd-shot-ic svg { width: 12px; height: 12px; }
.pd-shot-ic--warn { background: var(--warn-bg); color: var(--warn); }
.pd-shot-ic--ok { background: var(--ok-bg); color: var(--ok); }

.pd-shot-answer { margin-top: 12px; padding: 10px; border-radius: 10px; background: var(--mist); }
.pd-shot-answer span { color: var(--text-2); font-weight: 600; }

.pd-shot-muted { color: var(--text-2); }
.pd-shot-num { font-family: var(--font); font-size: 22px; }
.pd-shot-num--ok { color: var(--ok); }

/* Pain cards */
.pd-pain {
    border-radius: var(--r-panel);
    border: 1px solid var(--line);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-pain-q {
    font-family: var(--font);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.45;
    color: var(--text-2);
    font-style: italic;
}

.pd-pain-line { height: 1px; background: var(--line); }

.pd-pain h3,
.pd-link h3,
.pd-module h3 {
    font-family: var(--font);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.pd-pain p,
.pd-link p,
.pd-module-desc { color: var(--text-2); font-size: 15px; }

/* Modules */
.pd-module {
    border-radius: var(--r-panel);
    background: var(--mist);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-module-head { display: flex; align-items: center; gap: 12px; }

.pd-module-icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: var(--r-control);
    background: var(--sheet);
    border: 1px solid var(--line);
    color: var(--pd-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-module-tag {
    margin-left: auto;
    padding: 3px 10px;
    border-radius: var(--r-status);
    background: var(--sheet);
    color: var(--pd-ink);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.pd-module-desc { min-height: 3.2em; }

.pd-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-list li { display: flex; gap: 10px; font-size: 15px; }

.pd-tick {
    flex: none;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    border-radius: var(--r-status);
    background: var(--pd-soft);
    color: var(--pd-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-list li.pd-off { color: var(--text-2); }
.pd-list li.pd-off .pd-tick { background: var(--mute-bg); color: var(--text-2); }

/* Dark band (extension, demo) */
.pd-dark {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-sheet);
    background: var(--ink);
    color: var(--ink-text);
    padding: 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.pd-dark-text { position: relative; flex: 1 1 440px; min-width: 0; }
.pd-dark .pd-h2 { margin: 0 0 14px; color: #fff; }
.pd-dark-text > p { color: var(--ink-text-2); }

.pd-dark-kicker { display: block; margin-bottom: 8px; color: var(--ink-text-2); font-size: 14px; font-weight: 600; }

.pd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.pd-chips span {
    padding: 8px 14px;
    border-radius: var(--r-status);
    border: 1px solid var(--ink-line);
    background: var(--ink-panel);
    font-size: 14px;
}

.pd-dark-text > p.pd-dark-note { margin-top: 18px; color: var(--ink-text-2); font-size: 14px; }

.pd-panel {
    position: relative;
    flex: 0 1 360px;
    min-width: 0;
    border-radius: var(--r-panel);
    background: var(--mist);
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
    overflow: hidden;
}

.pd-panel .pd-shot-bar { padding: 12px 14px; }
.pd-panel-time { margin-left: auto; font-family: var(--font); font-weight: 600; }
.pd-panel-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.pd-panel-card { background: var(--sheet); border-radius: var(--r-control); padding: 10px 12px; }
.pd-panel-card span { color: var(--text-2); font-weight: 600; font-size: 12px; }

/* Links with ERP and Chat */
.pd-link {
    border-radius: var(--r-panel);
    border: 1px solid var(--line);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-dots { display: flex; gap: 6px; }
.pd-dots span { width: 12px; height: 12px; border-radius: 6px; }

/* Prices */
.pd-prices-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 32px;
}

.pd-period {
    margin-left: auto;
    display: flex;
    gap: 2px;
    padding: 4px;
    border-radius: var(--r-control);
    background: var(--mute-bg);
}

.pd-period button {
    height: var(--h-control-sm);
    border: 0;
    padding: 0 16px;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: 15px;
    color: var(--text-2);
    cursor: pointer;
}

.pd-period button[aria-pressed="true"] {
    background: var(--sheet);
    color: var(--text);
    font-weight: 600;
    outline: 1px solid var(--line-strong);
}

[data-period="month"] .pd-only-year,
[data-period="year"] .pd-only-month { display: none !important; }

.pd-plan {
    position: relative;
    border-radius: var(--r-panel);
    border: 1px solid var(--line);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--sheet);
}

.pd-plan--popular { border-color: var(--ink); }

.pd-plan-flag {
    position: absolute;
    top: -12px;
    left: 30px;
    padding: 3px 10px;
    border-radius: var(--r-status);
    background: var(--ink);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
}

.pd-plan-head h3 { font-family: var(--font); font-size: 22px; font-weight: 600; }
.pd-plan-head span { display: block; color: var(--text-2); font-size: 15px; }

.pd-plan-price { display: flex; align-items: baseline; gap: 6px; }
.pd-plan-price b { font-family: var(--font); font-size: 44px; line-height: 1; }
.pd-plan-price span { color: var(--text-2); }

.pd-plan-erp { margin-top: -8px; color: var(--p-erp-text); font-size: 14px; font-weight: 600; }

.pd-plan-list { padding-top: 16px; border-top: 1px solid var(--line); gap: 10px; }

.pd-plan-btn { margin-top: auto; }

.pd-prices-foot {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    color: var(--text-2);
    font-size: 15px;
}

/* FAQ */
.pd-faq { max-width: 920px; margin: 0 auto; }
.pd-faq .pd-h2 { margin: 0 0 24px; text-align: center; }

.pd-faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.pd-faq details:last-child { border-bottom: 1px solid var(--line); }

.pd-faq summary {
    cursor: pointer;
    font-family: var(--font);
    font-weight: 600;
    font-size: 18px;
}

.pd-faq details p { margin-top: 10px; color: var(--text-2); }

/* Demo form */
.pd-demo { align-items: flex-start; }
.pd-demo .pd-h2 { margin-top: 0; }

.pd-form-wrap { position: relative; flex: 1 1 460px; min-width: 0; }

.pd-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 12px;
}

.pd-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-text-2);
}

.pd-form input[type="text"],
.pd-form input[type="email"],
.pd-form select {
    height: var(--h-control-lg);
    border-radius: var(--r-control);
    border: 1px solid var(--ink-line);
    background: var(--ink-panel);
    color: #fff;
    padding: 0 14px;
    font: inherit;
    font-size: 15px;
}

.pd-form select option { color: var(--text); }

.pd-form input:focus,
.pd-form select:focus { outline: 2px solid var(--action); outline-offset: 1px; }

.pd-form label.pd-consent {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.pd-consent input { margin-top: 4px; accent-color: var(--action); }
.pd-consent a { text-decoration: underline !important; }

.pd-form-error { grid-column: 1 / -1; color: var(--bad-mark, #FCA5A5); font-size: 14px; }

.pd-form-btn { grid-column: 1 / -1; }

.pd-form-done h3 { font-family: var(--font); font-size: 24px; font-weight: 600; color: #fff; }
.pd-form-done p { margin-top: 8px; color: var(--ink-text-2); }

/* Phone */
@media (max-width: 768px) {
    .pd-hero { padding: 8rem 20px 64px; }
    .pd-hero-lead { font-size: 17px; }
    .pd-section { padding: 64px 16px 0; }
    .pd-section--last { padding-bottom: 64px; }
    .pd-h2 { font-size: 28px; margin-bottom: 24px; }
    .pd-shot-body { grid-template-columns: 1fr; }
    .pd-shot-card--tall { grid-row: auto; }
    .pd-pain, .pd-module, .pd-link, .pd-plan { padding: 24px 20px; }
    .pd-module-desc { min-height: 0; }
    .pd-dark { padding: 28px 20px; }
    .pd-period { margin-left: 0; width: 100%; }
    .pd-period button { flex: 1; padding: 0 10px; font-size: 14px; }
}

/* Hidden states (form success, period toggle) must win over display rules */
.pd [hidden] { display: none !important; }

/* ===== ERP ===== */
.pd--erp {
    --pd-color: var(--p-erp);
    --pd-ink: var(--p-erp-text);
    --pd-soft: var(--p-erp-tint);
    --pd-light: #C4B0F7;
}

.pd-section--first { padding-top: 88px; }
.pd-h2--lead { margin-bottom: 10px; }
.pd-lead { margin-bottom: 32px !important; max-width: 760px; font-size: 17px; color: var(--text-2); }
.pd-lead--flush { margin-bottom: 0 !important; }
.pd-note { margin-top: 16px !important; color: var(--text-2); font-size: 14px; }
.pd-note a { color: var(--link) !important; font-weight: 600; }
.pd-more-link { font-size: 16px; }

.pd-hero-text--wide { flex-basis: 560px; }

.pd-hero-sub {
    margin: 0 0 14px !important;
    font-family: var(--font);
    font-weight: 500;
    font-size: 20px;
    color: var(--ink-text);
}

.pd--erp .pd-hero-lead { max-width: 600px; font-size: 17px; }

.pd-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--ink-line);
}

.pd-stats span { display: flex; flex-direction: column; gap: 4px; color: var(--ink-text-2); font-size: 14px; }
.pd-stats b { font-family: var(--font); font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: #fff; }

/* Hero: example events from the demo tenant */
.pd-events {
    flex: 1 1 440px;
    max-width: 520px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-event {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--ink-panel);
    border: 1px solid var(--ink-line);
    animation: pd-event-in .6s ease both;
    animation-delay: calc(var(--i) * 120ms);
}

.pd-event:nth-child(2), .pd-event:nth-child(4), .pd-event:nth-child(6) { margin-left: 28px; }
.pd-event:nth-child(3) { margin-left: 56px; }

.pd-event-icon {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: var(--r-control);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-event--inq .pd-event-icon { background: rgba(56, 98, 249, .25); color: #AFC2FF; }
.pd-event--res .pd-event-icon { background: rgba(121, 72, 229, .3); color: #C4B0F7; }
.pd-event--pay .pd-event-icon { background: rgba(52, 211, 153, .2); color: #7EE8B5; }
.pd-event--inv .pd-event-icon { background: rgba(255, 255, 255, .1); color: #fff; }
.pd-event--dep .pd-event-icon { background: rgba(47, 154, 232, .25); color: #9CCFF4; }

.pd-event-text { display: flex; flex-direction: column; min-width: 0; }
.pd-event-text b { font-size: 14px; }
.pd-event-text span { color: var(--ink-text-2); font-size: 13px; }

@keyframes pd-event-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

/* Lifecycle */
.pd-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.pd-steps li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px;
    border-radius: var(--r-panel);
    background: var(--mist);
}

.pd-step-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-control);
    background: var(--pd-soft);
    color: var(--pd-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-steps b { font-size: 15px; }
.pd-steps li > span:last-child { color: var(--text-2); font-size: 14px; line-height: 1.4; }

/* Modules and benefits */
.pd-module-path { margin-left: auto; color: var(--text-2); font-size: 13px; white-space: nowrap; }

.pd-benefits { margin-top: 20px; }

.pd-benefit {
    border-radius: var(--r-panel);
    border: 1px solid var(--line);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-benefit-num { font-family: var(--font); font-weight: 600; font-size: 15px; color: var(--text-2); }
.pd-benefit h3 { font-family: var(--font); font-size: 20px; font-weight: 600; }
.pd-benefit p { color: var(--text-2); font-size: 15px; }

/* ERP plans */
.pd-period-save { color: var(--text); font-weight: 600; }

.pd-plans4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.pd-plan--erp { padding: 26px; gap: 14px; }
.pd-plan--erp .pd-plan-flag { left: 26px; }
.pd-plan-head--seg span { font-size: 13px; font-weight: 600; }
.pd-plan-lim { font-size: 15px; }
.pd--erp .pd-plan-erp { margin-top: -6px; }
.pd-plan--erp .pd-plan-list { padding-top: 14px; gap: 9px; }

.pd-custom {
    margin-top: 16px;
    border-radius: var(--r-panel);
    background: var(--ink);
    color: #fff;
    padding: 26px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 40px;
}

.pd-custom-name { display: flex; flex-direction: column; }
.pd-custom-name span:first-child { color: var(--ink-text-2); font-size: 13px; font-weight: 600; }
.pd-custom-name b { font-family: var(--font); font-size: 22px; font-weight: 600; }
.pd-custom-name span:last-child { color: var(--ink-text-2); font-size: 15px; }

.pd-custom ul {
    flex: 1 1 520px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 8px 24px;
}

.pd-custom li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-text); }
.pd-custom li svg, .pd-perks li svg { flex: none; margin-top: 4px; color: var(--teal); }

/* DNA band */
.pd-dna { align-items: flex-start; }
.pd-dna .pd-dark-text > p { margin-bottom: 20px; }
.pd-dna-label { margin: 0 0 10px !important; color: var(--ink-text-2); font-size: 13px; font-weight: 600; }
.pd-dna .pd-chips { margin-top: 0; gap: 8px; }
.pd-chips a { padding: 6px 12px; border-radius: var(--r-status); border: 1px solid var(--ink-line); background: var(--ink-panel); font-size: 14px; }
.pd-chips a:hover { border-color: rgba(255, 255, 255, .4); }
.pd-dna-more { display: inline-block; margin-top: 22px; color: var(--ink-text) !important; font-weight: 600; }

.pd-dna-grid {
    position: relative;
    flex: 1 1 480px;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pd-dna-card {
    border-radius: var(--r-panel);
    background: var(--ink-panel);
    border: 1px solid var(--ink-line);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-dna-card h3 { font-family: var(--font); font-size: 18px; font-weight: 600; color: #fff; }
.pd-dna-card p { color: var(--ink-text-2); font-size: 15px; }

/* Comparison */
.pd-compare-hint { display: none; color: var(--text-2); font-size: 14px; margin-bottom: 10px !important; }

.pd-compare { position: relative; border-radius: var(--r-panel); border: 1px solid var(--line); overflow: hidden; }
.pd-compare-scroll { position: relative; overflow-x: auto; }
.pd-compare-scroll.is-collapsed { max-height: 720px; overflow-y: hidden; position: relative; }

.pd-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }

.pd-table th,
.pd-table td {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    text-align: center;
    vertical-align: middle;
}

.pd-table th:first-child,
.pd-table td:first-child { text-align: left; }

.pd-table thead th {
    border-top: 0;
    background: var(--mist);
    font-family: var(--font);
    font-size: 15px;
    width: 13%;
}

.pd-table thead th:first-child { width: auto; }
.pd-table thead th.is-featured { background: var(--mute-bg); color: var(--text); }

.pd-table-group td {
    background: var(--mist) !important;
    font-family: var(--font);
    font-weight: 600;
    color: var(--text-2);
    text-align: left;
}

.pd-table td .pd-tick { display: inline-flex; margin: 0; }
.pd-tick--off { background: var(--mute-bg) !important; color: var(--text-2) !important; }

.pd-table-price td { background: var(--mist); font-family: var(--font); font-weight: 600; font-size: 16px; }

.pd-compare-more { padding: 16px; text-align: center; border-top: 1px solid var(--line); }

.pd-compare-more button {
    border: 1px solid var(--line-strong);
    height: var(--h-control); padding: 0 16px;
    border-radius: var(--r-control);
    background: var(--sheet);
    color: var(--text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

/* Add-ons */
.pd-grid--tight { gap: 16px; }
.pd--erp .pd-grid--tight, .pd--chat .pd-grid--tight { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }

.pd-addon {
    border-radius: var(--r-panel);
    border: 1px solid var(--line);
    background: var(--sheet);
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pd-addon-icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: var(--r-control);
    background: var(--pd-soft);
    color: var(--pd-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-addon-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pd-addon-text h3 { font-size: 15px; font-weight: 600; }
.pd-addon-text span { color: var(--text-2); font-size: 14px; line-height: 1.45; }

.pd-addon-price { flex: none; text-align: right; display: flex; flex-direction: column; }
.pd-addon-price b { font-family: var(--font); font-size: 20px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.pd-addon-price span { color: var(--text-2); font-size: 13px; }

/* Support tiers */
.pd-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.pd-tier {
    border-radius: var(--r-panel);
    border: 1px solid var(--line);
    background: var(--sheet);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-tier h3 { font-family: var(--font); font-size: 22px; font-weight: 600; }
.pd-tier-price { display: flex; align-items: baseline; gap: 6px; min-height: 40px; }
.pd-tier-price b { font-family: var(--font); font-size: 40px; line-height: 1; }
.pd-tier-price b.pd-tier-included { font-size: 24px; color: var(--text); }
.pd-tier-price span { color: var(--text-2); font-size: 15px; }

.pd-tier-plans {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: var(--r-status);
    background: var(--mute-bg);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
}

.pd-tier-response {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--r-control);
    background: var(--mist);
    color: var(--pd-ink);
}

.pd-tier-response > span { display: flex; flex-direction: column; line-height: 1.3; color: var(--text); }
.pd-tier-response > span span { color: var(--text-2); font-size: 13px; }
.pd-tier-response b { font-size: 15px; }

.pd-tier-what {
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 10px;
    font-size: 15px;
}

.pd-onetime { margin-top: 16px; }

/* Demo form (ERP) */
.pd-perks { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pd-perks li { display: flex; gap: 10px; color: var(--ink-text); font-size: 15px; }

.pd-form--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd-form-full { grid-column: 1 / -1; }

.pd-form input[type="tel"],
.pd-form textarea {
    border-radius: var(--r-control);
    border: 1px solid var(--ink-line);
    background: var(--ink-panel);
    color: #fff;
    font: inherit;
    font-size: 15px;
}

.pd-form input[type="tel"] { height: var(--h-control-lg); padding: 0 14px; }
.pd-form textarea { padding: 12px 14px; resize: vertical; }
.pd-form input::placeholder, .pd-form textarea::placeholder { color: rgba(255, 255, 255, .4); }
.pd-form textarea:focus, .pd-form input[type="tel"]:focus { outline: 2px solid var(--action); outline-offset: 1px; }

/* Solutions links */
.pd-solutions .pd-h2 { font-size: 24px; margin: 0 0 16px; }
.pd-solutions ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }

.pd-solutions a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--r-status);
    border: 1px solid var(--line);
    font-size: 15px;
}

.pd-solutions a:hover { background: var(--mist); }

@media (max-width: 1100px) {
    .pd-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pd-plans4, .pd-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .pd-section--first { padding-top: 64px; }
    .pd-stats { gap: 20px 28px; }
    .pd-stats b { font-size: 24px; }
    .pd-event { margin-left: 0 !important; }
    .pd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-plans4, .pd-tiers, .pd-form--2, .pd-dna-grid { grid-template-columns: 1fr; }
    .pd-plan--erp, .pd-tier { padding: 24px 20px; }
    .pd-custom { padding: 24px 20px; }
    .pd-compare-hint { display: block; }
    .pd-compare-scroll { max-height: 70vh; overflow: auto; }
    .pd-module-path { display: none; }
    .pd-addon { flex-wrap: wrap; }
}

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

/* ===== Chat ===== */
.pd-addons-head { margin-top: 56px; margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.pd-addons-head h3 { font-family: var(--font); font-size: 22px; font-weight: 600; }
.pd-addons-head span { color: var(--text-2); font-size: 15px; }

/* Hero: inbox mock */
.pd-inbox {
    flex: 1 1 520px;
    max-width: 620px;
    min-width: 0;
    min-height: 360px;
    display: flex;
    border-radius: var(--r-panel);
    overflow: hidden;
    background: var(--sheet);
    color: var(--text);
    font-size: 12.5px;
}

.pd-inbox-list { width: 200px; flex: none; border-right: 1px solid var(--line); background: var(--mist); }
.pd-inbox-tabs { padding: 12px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; font-weight: 600; }
.pd-inbox-tabs span { padding: 3px 8px; border-radius: 7px; background: var(--line); }
.pd-inbox-tabs .is-on { background: var(--pd-color); color: var(--ink); }
.pd-inbox-item { padding: 9px 12px; border-top: 1px solid var(--line); }
.pd-inbox-item.is-on { background: var(--pd-soft); }
.pd-inbox-head { display: flex; align-items: center; gap: 6px; }
.pd-inbox-text { display: block; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pd-ch { margin-left: auto; padding: 1px 6px; border-radius: 5px; font-size: 10px; font-weight: 600; }
.pd-ch--web { background: var(--p-web-tint); color: var(--p-web-text); }
.pd-ch--ms { background: var(--p-chat-tint); color: var(--p-chat-text); }
.pd-ch--ig { background: var(--p-ngo-tint); color: var(--p-ngo-text); }
.pd-ch--vb { background: var(--p-erp-tint); color: var(--p-erp-text); }

.pd-inbox-chat { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pd-inbox-top { padding: 10px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.pd-inbox-top span { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: var(--p-erp-tint); color: var(--p-erp-text); font-size: 11px; font-weight: 600; }
.pd-inbox-msgs { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.pd-msg { align-self: flex-start; max-width: 80%; padding: 7px 11px; border-radius: var(--r-control); background: var(--mist); }
.pd-msg--out { align-self: flex-end; background: var(--pd-soft); }
.pd-msg-meta { align-self: flex-end; color: var(--text-2); font-size: 10.5px; }
.pd-msg-note { align-self: center; color: var(--text-2); font-size: 10.5px; }

/* Numbered steps */
.pd-numbered {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 16px;
}

.pd-numbered li { border-radius: var(--r-panel); background: var(--mist); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pd-numbered b { font-size: 16px; }
.pd-numbered li > span:last-child { color: var(--text-2); font-size: 15px; }

.pd-numbered-n {
    width: 36px;
    height: 36px;
    border-radius: var(--r-control);
    background: var(--pd-soft);
    color: var(--pd-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
}

/* Channels band */
.pd-channels { display: block; }
.pd-channels-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.pd-channels-head > div { flex: 1 1 460px; }
.pd-channels-head .pd-h2 { margin: 8px 0 0; }
.pd-channels-head p { flex: 1 1 360px; margin: 0; color: var(--ink-text-2); }

.pd-channels-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: 14px;
}

.pd-channel {
    border-radius: var(--r-panel);
    background: var(--ink-panel);
    border: 1px solid var(--ink-line);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-channel h3 { font-family: var(--font); font-size: 18px; font-weight: 600; color: #fff; }
.pd-channel p { color: var(--ink-text-2); font-size: 14px; min-height: 2.8em; }

.pd-channel-tag {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: var(--r-status);
    background: var(--ink-panel);
    color: var(--p-dna);
    font-size: 12.5px;
    font-weight: 600;
}

.pd-channel-tag--addon { color: var(--ink-text-2); }

@media (max-width: 768px) {
    .pd-inbox { min-height: 0; }
    .pd-inbox-list { width: 150px; }
    .pd-channel p { min-height: 0; }
}

@media (max-width: 480px) {
    .pd-inbox-list { display: none; }
}

/* Primary buttons on the Ink blocks; the ERP form block is #request-form */
#request-form .btn-lg { height: var(--h-control-lg); padding: 0 8px 0 20px; font-size: 15px; }
.pd-custom .btn { margin-left: auto; }
