/* ════════════════════════════════════════════════════════════════
   LANDING PAGE - PayDam
   ════════════════════════════════════════════════════════════════ */

/* ── Shared ── */
:root {
    --pg-land-nav-height: 72px;
}

html {
    scroll-padding-top: calc(var(--pg-land-nav-height) + 8px);
}

body:has(.pg-land-nav) {
    background: #f8fafc;
    padding-top: var(--pg-land-nav-height);
}

.pg-land-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.pg-land-section {
    padding: 5rem 0;
    background: #f8fafc;
}
.pg-section-alt  { background: #f8fafc; }

.pg-section-eyebrow {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #137b74;
    margin-bottom: .5rem;
}
.pg-section-h2 {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 1rem;
}
.pg-section-body {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ── Nav ── */
.pg-land-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
    padding: .9rem 0;
}
.pg-land-nav .btn { white-space: nowrap; }
.pg-land-nav-links a {
    color: #475569;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .15s;
}
.pg-land-nav-links a:hover { color: #137b74; }
.pg-land-mobile-nav {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: .65rem 1.5rem 0;
    scrollbar-width: none;
    white-space: nowrap;
}
.pg-land-mobile-nav::-webkit-scrollbar {
    display: none;
}
.pg-land-mobile-nav a {
    color: #475569;
    flex: 0 0 auto;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
}
.pg-land-mobile-nav a:hover {
    color: #137b74;
}
.pg-land-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.pg-land-logo-img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}
.pg-land-logo-img--footer {
    height: 36px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}
.pg-land-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #137b74;
    color: #fff;
    border-radius: 7px;
    font-size: .75rem;
    font-weight: 800;
}
.pg-land-btn-ghost {
    color: #475569;
    border: 1px solid #e2e8f0;
    background: transparent;
}
.pg-land-btn-ghost:hover { background: #f1f5f9; color: #0f172a; }
.pg-land-btn-primary {
    background: #137b74;
    color: #fff;
    border: none;
}
.pg-land-btn-primary:hover { background: #0f5f5a; color: #fff; }

/* ── Hero ── */
.pg-hero {
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)),
        linear-gradient(135deg, #f7fbff 0%, #eefaf7 56%, #ffffff 100%);
    padding: 4.75rem 0 3rem;
    overflow: hidden;
    position: relative;
}
.pg-hero-grid {
    display: grid;
    grid-template-columns: minmax(380px, .94fr) minmax(0, 1.06fr);
    gap: clamp(1.75rem, 4vw, 3.25rem);
    align-items: start;
}
.pg-hero-copy {
    min-width: 0;
}
.pg-hero-media {
    min-width: 0;
    position: relative;
}
.pg-hero-headline {
    font-size: clamp(2.25rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.02;
    color: #07111f;
    margin-bottom: 1.35rem;
    letter-spacing: 0;
}
.pg-hero-h2 {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    font-weight: 500;
    line-height: 1.55;
    color: #334155;
    max-width: 620px;
    margin: 0 0 .85rem;
}
.pg-hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #475569;
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

.pg-hero-h2,
.pg-hero-sub,
.pg-section-body,
.pg-step-body,
.pg-feat-body,
.pg-pricing-desc,
.pg-final-sub {
    word-spacing: .05em;
}
/* Microcopy under the hero CTAs keeps trial and billing caveats visible
   without competing with the primary conversion path. */
.pg-hero-microcopy {
    color: #475569 !important;
    line-height: 1.6;
    max-width: 520px;
    margin: 1rem 0 0;
    font-size: .92rem;
}
.pg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}
.pg-hero-cta-primary {
    background: #137b74;
    color: #fff;
    font-weight: 700;
    border: none;
    padding: .8rem 1.75rem;
    box-shadow: 0 12px 28px rgba(19,123,116,.2);
}
.pg-hero-cta-primary:hover { background: #0f5f5a; color: #fff; }
.pg-hero-cta-ghost {
    background: rgba(255,255,255,.78);
    color: #0f172a;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    padding: .8rem 1.75rem;
}
.pg-hero-cta-ghost:hover { background: #fff; color: #137b74; border-color: #137b74; }
/* ── Product screenshots ── */
.pg-product-window {
    background: #ffffff;
    border: 1px solid #cbdbe8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .16);
}
.pg-product-window--hero {
    transform: translateY(0);
}
.pg-product-topbar {
    background: #0f172a;
    color: rgba(255,255,255,.78);
    padding: .72rem .95rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.pg-product-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 auto;
}
.pg-product-topbar span:last-child {
    margin-left: .55rem;
}
.pg-product-shot {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
}
.pg-product-window--hero .pg-product-shot {
    height: clamp(300px, 34vw, 430px);
}

.pg-hero-dashboard-shot {
    padding: .95rem;
    background: #f3f7fb;
    overflow: hidden;
}
/* ── Social proof strip ── */
.pg-proof-strip {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.15rem 0;
}
.pg-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}
.pg-proof-stat {
    text-align: left;
    padding: .9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}
.pg-proof-num {
    font-size: .82rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
}
.pg-proof-lbl {
    font-size: .82rem;
    color: #475569;
    line-height: 1.45;
}
.pg-proof-divider {
    display: none;
}
.pg-proof-cite { font-size: .65rem; vertical-align: super; margin-left: .1rem; color: rgba(255,255,255,.35); }
.pg-proof-footnote {
    text-align: center;
    font-size: .7rem;
    color: rgba(255,255,255,.3);
    margin: 1rem 0 0;
}

/* ── Product tour ── */
.pg-product-tour {
    background: #f8fafc;
}
.pg-tour-head {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    gap: clamp(1rem, 4vw, 3rem);
    align-items: end;
    margin-bottom: 2rem;
}
.pg-tour-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}
.pg-tour-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce6ef;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}
.pg-tour-card:not(.pg-tour-card--wide):not(.pg-tour-card--cta) {
    min-height: 0;
}
.pg-tour-card--wide {
    grid-column: 1 / -1;
}
.pg-tour-card-copy {
    padding: clamp(1.35rem, 2.4vw, 2rem);
}
.pg-tour-card:not(.pg-tour-card--wide):not(.pg-tour-card--cta) .pg-tour-card-copy {
    max-width: 760px;
    padding-bottom: 1rem;
}
.pg-tour-kicker {
    color: #137b74;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.pg-tour-card h3 {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.32;
    word-spacing: .08em;
    margin: 0 0 .55rem;
}
.pg-tour-card p {
    color: #475569;
    font-size: .92rem;
    line-height: 1.58;
    margin: 0;
}
.pg-tour-shot {
    margin-top: 0;
    padding: clamp(.8rem, 1.5vw, 1.1rem);
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #f8fafc, #eef4f8);
    border-top: 1px solid #e2e8f0;
}
.pg-tour-card:not(.pg-tour-card--wide):not(.pg-tour-card--cta) .pg-tour-shot {
    border-top: 1px solid #e2e8f0;
    min-height: 0;
}
.pg-mock-window,
.pg-invoice-detail,
.pg-settings-mock {
    width: 100%;
    max-width: 1040px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbdbe8;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}
.pg-mock-window--template,
.pg-invoice-detail,
.pg-settings-mock {
    max-width: 860px;
}
.pg-mock-window--template {
    padding: 1rem;
}
.pg-mock-topbar {
    height: 36px;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: 0 .85rem;
    color: #f8fafc;
    background: #0f172a;
    font-size: .78rem;
    font-weight: 800;
}
.pg-mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}
.pg-mock-dot--red { background: #fb7185; }
.pg-mock-dot--yellow { background: #f59e0b; }
.pg-mock-dot--green { background: #22c55e; }
.pg-mock-title { margin-left: .25rem; }
.pg-mock-dashboard {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    min-height: 510px;
    background: #f8fbfd;
}
.pg-mock-sidebar {
    padding: 1rem .7rem;
    color: #dbeafe;
    background: linear-gradient(180deg, #102033 0%, #0b1726 100%);
}
.pg-mock-brand {
    font-size: .82rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
.pg-mock-side-pill,
.pg-mock-side-link {
    border-radius: 8px;
    padding: .52rem .6rem;
    font-size: .72rem;
    line-height: 1.2;
}
.pg-mock-side-pill {
    color: #b7c7d6;
    border: 1px solid rgba(255,255,255,.12);
    margin-bottom: .65rem;
}
.pg-mock-side-link {
    color: #cbd5e1;
    margin-bottom: .22rem;
}
.pg-mock-side-link--active {
    color: #ffffff;
    background: rgba(20, 184, 166, .22);
}
.pg-mock-main {
    min-width: 0;
    padding: clamp(.9rem, 2vw, 1.35rem);
}
.pg-mock-main-head,
.pg-mock-panel-head,
.pg-invoice-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.pg-mock-label {
    color: #0f766e;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .25rem;
}
.pg-mock-main h4,
.pg-mock-panel-head h4,
.pg-invoice-head h4,
.pg-email-preview h5 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1rem, 1.45vw, 1.35rem);
    font-weight: 900;
    line-height: 1.2;
}
.pg-mock-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}
.pg-mock-filter-row span,
.pg-mock-panel-head button {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .45rem .7rem;
    border: 1px solid #dbe5ee;
    border-radius: 9px;
    background: #ffffff;
    color: #334155;
    font-size: .74rem;
    font-weight: 800;
}
.pg-mock-panel-head button {
    cursor: default;
}
.pg-mock-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
    margin-bottom: .85rem;
}
.pg-mock-metrics div,
.pg-setting-box,
.pg-email-preview,
.pg-template-step,
.pg-mock-input,
.pg-mock-textarea,
.pg-mock-table,
.pg-boundary-note,
.pg-invoice-summary,
.pg-invoice-timeline {
    border: 1px solid #dbe5ee;
    background: #ffffff;
    border-radius: 12px;
}
.pg-mock-metrics div {
    padding: .8rem .85rem;
    border-left: 4px solid #14b8a6;
}
.pg-mock-metrics div:nth-child(2) { border-left-color: #d97706; }
.pg-mock-metrics div:nth-child(3) { border-left-color: #2563eb; }
.pg-mock-metrics div:nth-child(4) { border-left-color: #dc2626; }
.pg-mock-metrics span,
.pg-setting-box span,
.pg-invoice-summary span,
.pg-template-form label {
    display: block;
    color: #64748b;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.pg-mock-metrics strong {
    display: block;
    margin-top: .18rem;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.05;
    color: #0f172a;
}
.pg-mock-metrics small,
.pg-setting-box small,
.pg-invoice-summary small,
.pg-timeline-item small {
    display: block;
    color: #64748b;
    font-size: .75rem;
    line-height: 1.35;
}
.pg-mock-success-band {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1rem;
    margin-bottom: .85rem;
    border: 1px solid #bde7db;
    border-radius: 12px;
    background: #ecfdf5;
}
.pg-mock-success-band strong {
    font-size: 1.35rem;
    color: #0f766e;
}
.pg-mock-success-band span {
    color: #335b58;
    font-size: .86rem;
}
.pg-mock-funnel {
    display: grid;
    gap: .55rem;
    padding: .9rem;
    margin-bottom: .85rem;
    border: 1px solid #dbe5ee;
    border-radius: 12px;
    background: #ffffff;
}
.pg-mock-funnel div {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) 34px;
    gap: .75rem;
    align-items: center;
    color: #475569;
    font-size: .78rem;
    font-weight: 750;
}
.pg-mock-funnel b {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f766e, #14b8a6);
}
.pg-mock-funnel em {
    color: #0f172a;
    font-style: normal;
    text-align: right;
}
.pg-mock-table {
    overflow: hidden;
}
.pg-mock-table-row {
    display: grid;
    grid-template-columns: 1.2fr .65fr .75fr 1fr;
    gap: .7rem;
    align-items: center;
    padding: .65rem .85rem;
    color: #334155;
    font-size: .76rem;
    border-top: 1px solid #edf2f7;
}
.pg-mock-table-row:first-child {
    border-top: 0;
}
.pg-mock-table-head {
    color: #64748b;
    background: #f8fafc;
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.pg-chip {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    padding: .22rem .48rem;
    font-size: .69rem;
    line-height: 1;
    font-weight: 900;
}
.pg-chip--warn { color: #92400e; background: #fef3c7; }
.pg-chip--green { color: #047857; background: #d1fae5; }
.pg-template-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}
.pg-template-step {
    min-height: 86px;
    padding: .85rem;
}
.pg-template-step--active {
    border-color: #8ddfd4;
    background: #ecfdf5;
}
.pg-template-step small {
    display: block;
    color: #0f766e;
    font-size: .67rem;
    font-weight: 900;
    text-transform: uppercase;
}
.pg-template-step strong {
    display: block;
    margin-top: .22rem;
    font-size: .9rem;
    line-height: 1.25;
}
.pg-template-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .68fr);
    gap: 1rem;
    align-items: stretch;
}
.pg-template-form {
    display: grid;
    gap: .5rem;
    align-content: start;
}
.pg-mock-input,
.pg-mock-textarea {
    padding: .72rem .85rem;
    color: #334155;
    font-size: .86rem;
}
.pg-mock-textarea {
    min-height: 128px;
    line-height: 1.55;
}
.pg-email-preview {
    padding: 1rem;
    background: #f8fbfd;
}
.pg-email-brand {
    color: #0f766e;
    font-size: .76rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
.pg-email-preview p {
    color: #475569;
    font-size: .86rem;
    line-height: 1.5;
    margin: .6rem 0 1rem;
}
.pg-email-preview span {
    display: inline-flex;
    color: #ffffff;
    background: #137b74;
    border-radius: 9px;
    padding: .55rem .85rem;
    font-size: .78rem;
    font-weight: 900;
}
.pg-invoice-detail {
    padding: clamp(1rem, 2vw, 1.35rem);
}
.pg-invoice-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.pg-invoice-summary strong,
.pg-setting-box strong {
    display: block;
    color: #0f172a;
    font-size: .95rem;
    margin-top: .2rem;
}
.pg-invoice-timeline {
    position: relative;
    display: grid;
    gap: .6rem;
    padding: 1rem 1rem 1rem 1.25rem;
}
.pg-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: .7rem;
    align-items: start;
}
.pg-timeline-item::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 26px;
    bottom: -14px;
    width: 2px;
    background: #dbe5ee;
}
.pg-timeline-item:last-child::before {
    display: none;
}
.pg-timeline-item b {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #14b8a6;
    border: 4px solid #dffaf4;
}
.pg-timeline-item--failed b {
    background: #f59e0b;
    border-color: #fef3c7;
}
.pg-timeline-item--paid b {
    background: #059669;
    border-color: #d1fae5;
}
.pg-timeline-item span {
    display: block;
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
}
.pg-timeline-item > div {
    min-width: 0;
    padding: .52rem .7rem;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    background: #f8fafc;
}
.pg-timeline-item--paid > div {
    border-color: #bde7db;
    background: #ecfdf5;
}
.pg-timeline-item--failed > div {
    border-color: #fde68a;
    background: #fffbeb;
}
.pg-timeline-item strong {
    display: block;
    color: #0f172a;
    font-size: .92rem;
    line-height: 1.25;
}
.pg-settings-mock {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 0;
}
.pg-settings-accounts {
    padding: 1rem;
    border-right: 1px solid #dbe5ee;
    background: #f8fbfd;
}
.pg-account-row {
    padding: .8rem;
    border: 1px solid #dbe5ee;
    border-radius: 10px;
    background: #ffffff;
    margin-top: .65rem;
}
.pg-account-row--active {
    border-color: #8ddfd4;
    background: #ecfdf5;
}
.pg-account-row strong,
.pg-account-row span {
    display: block;
}
.pg-account-row strong {
    font-size: .84rem;
}
.pg-account-row span {
    color: #64748b;
    font-size: .75rem;
    margin-top: .15rem;
}
.pg-settings-main {
    min-width: 0;
    padding: 1rem;
}
.pg-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: .85rem;
}
.pg-setting-box {
    padding: .85rem;
}
.pg-boundary-note {
    display: grid;
    gap: .25rem;
    padding: 1rem;
    color: #335b58;
    background: #ecfdf5;
    border-color: #bde7db;
}
.pg-boundary-note strong {
    color: #0f766e;
    font-size: .95rem;
}
.pg-boundary-note span {
    font-size: .86rem;
    line-height: 1.5;
}

/* Landing product tour excerpts reuse the same classes and glyph markers as
   the authenticated pages, with only local sizing so they fit inside cards. */
.pg-real-dashboard,
.pg-real-email-studio,
.pg-real-account-settings {
    width: 100%;
    max-width: 1040px;
    color: #0f172a;
}

.pg-real-dashboard button,
.pg-real-dashboard select,
.pg-real-email-studio button,
.pg-real-account-settings button,
.pg-real-account-settings input,
.pg-real-account-settings select {
    pointer-events: none;
}

.pg-real-dashboard {
    display: grid;
    gap: .9rem;
}

.pg-real-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .9rem;
    padding: .95rem 1rem;
    border: 1px solid #dbe5ee;
    border-radius: 12px;
    background: #ffffff;
}

.pg-real-toolbar .workspace-toolbar-copy {
    display: grid;
    gap: .18rem;
}

.pg-real-toolbar .workspace-toolbar-copy strong {
    font-size: .92rem;
}

.pg-real-toolbar .workspace-toolbar-copy span {
    color: #64748b;
    font-size: .78rem;
    line-height: 1.4;
}

.pg-real-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
}

.pg-real-toolbar-actions .form-select {
    width: auto;
    min-width: 128px;
}

.pg-real-stat-grid .stat-card {
    min-height: 104px;
    padding: .85rem .95rem;
    cursor: default;
}

.pg-real-dashboard .recovery-banner,
.pg-real-dashboard .funnel-card,
.pg-real-table-panel {
    margin: 0;
}

.pg-real-dashboard .funnel-card {
    border-radius: 12px;
    padding: .95rem 1rem;
}

.pg-real-dashboard .funnel-head {
    margin-bottom: .75rem;
}

.pg-real-dashboard .funnel-rows {
    gap: .48rem;
}

.pg-real-dashboard .funnel-row {
    grid-template-columns: 150px minmax(0, 1fr) 92px;
    gap: .75rem;
}

.pg-real-dashboard .funnel-row-label,
.pg-real-dashboard .funnel-row-count {
    font-size: .78rem;
}

.pg-real-table-panel .workspace-panel-body {
    padding: 0;
}

.pg-real-table-panel table {
    font-size: .78rem;
}

.pg-real-dashboard--hero {
    gap: .75rem;
}

.pg-real-dashboard--hero .pg-real-toolbar {
    padding: .75rem .85rem;
}

.pg-real-dashboard--hero .pg-real-stat-grid .stat-card {
    min-height: 86px;
}

.pg-real-dashboard--hero .recovery-banner,
.pg-real-dashboard--hero .funnel-card {
    border-radius: 12px;
}

.pg-real-dashboard--hero .recovery-banner {
    padding: .8rem .95rem !important;
}

.pg-real-dashboard--hero .funnel-card {
    padding: .82rem .95rem;
}

.pg-preview-body { padding: 1.25rem; }
.pg-preview-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    margin-bottom: 1rem;
}
@media (max-width: 600px) {
    .pg-preview-tiles { grid-template-columns: repeat(2, 1fr); }
}
.pg-preview-tile {
    background: #0f172a;
    border-radius: 10px;
    padding: .75rem 1rem;
    border-left: 3px solid;
}
.pg-preview-tile.recovered  { border-color: #22c55e; }
.pg-preview-tile.recovering { border-color: #f59e0b; }
.pg-preview-tile.open       { border-color: #3b82f6; }
.pg-preview-tile.lost       { border-color: #ef4444; }
.pg-pt-label {
    color: #94a3b8;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.pg-pt-value {
    color: #f1f5f9;
    font-size: 1.2rem;
    font-weight: 700;
    margin: .15rem 0;
}
.pg-pt-sub {
    color: #94a3b8;
    font-size: .7rem;
}
.pg-preview-table {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.pg-preview-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #0f172a;
    border-radius: 8px;
    padding: .6rem .9rem;
    font-size: .82rem;
}
.pg-preview-name {
    color: #e2e8f0;
    font-weight: 600;
    min-width: 80px;
}
.pg-preview-email {
    color: #94a3b8;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pg-preview-amount {
    color: #f1f5f9;
    font-weight: 700;
    margin-left: auto;
    min-width: 60px;
    text-align: right;
}
.pg-preview-badge {
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    padding: .2rem .55rem;
    white-space: nowrap;
}
.recovered-badge  { background: rgba(34,197,94,.15);  color: #4ade80; }
.recovering-badge { background: rgba(245,158,11,.15); color: #fbbf24; }
.open-badge       { background: rgba(59,130,246,.15); color: #60a5fa; }

.pg-real-email-studio {
    display: grid;
    gap: .9rem;
}

.pg-real-email-studio .email-studio-toolbar {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.pg-real-email-studio .email-studio-style-card,
.pg-real-email-studio .email-studio-editor-card {
    border-radius: 12px;
}

.pg-real-email-studio .email-studio-style-card {
    padding: .9rem;
}

.pg-real-email-studio .email-studio-card-desc,
.pg-real-email-studio .email-studio-card-foot {
    font-size: .74rem;
}

.pg-real-email-sequence {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
}

.pg-real-email-sequence .email-studio-step {
    height: 88px;
    border-radius: 12px;
    padding: .65rem .7rem;
}

.pg-real-email-studio .email-studio-editor-card {
    overflow: hidden;
}

.pg-real-email-studio .email-studio-editor-head {
    align-items: flex-start;
    gap: .9rem;
    padding: .9rem 1rem;
}

.pg-real-email-studio .email-studio-editor-head h2 {
    font-size: 1rem;
}

.pg-real-email-studio .email-studio-editor-actions {
    gap: .45rem;
}

.pg-real-email-studio .email-studio-mode-button {
    padding: .34rem .62rem;
    font-size: .74rem;
}

.pg-real-email-studio .email-studio-editor-body {
    padding: 1rem;
}

.pg-real-email-studio .template-preview-shell {
    height: auto;
}

.pg-real-email-preview {
    min-height: 0 !important;
    max-height: none;
    padding: 1rem;
    background: #f5f7fb;
}

.pg-email-preview-card {
    max-width: 360px;
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid #dbe5ee;
    border-radius: 12px;
    background: #ffffff;
}

.pg-email-preview-card strong {
    display: block;
    color: #0f766e;
    font-size: .76rem;
    margin-bottom: .9rem;
}

.pg-email-preview-card h5 {
    margin: 0 0 .5rem;
    font-size: 1rem;
    font-weight: 800;
}

.pg-email-preview-card p {
    margin: 0 0 .85rem;
    color: #475569;
    font-size: .82rem;
    line-height: 1.45;
}

.pg-email-preview-card span {
    display: inline-flex;
    padding: .5rem .72rem;
    border-radius: 8px;
    color: #ffffff;
    background: #137b74;
    font-size: .76rem;
    font-weight: 800;
}

.pg-real-invoice-detail {
    position: static;
    visibility: visible;
    transform: none;
    width: min(100%, 760px) !important;
    max-width: 100%;
    height: auto;
    border: 1px solid #cbdbe8;
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.pg-real-invoice-detail .offcanvas-body {
    padding: 1rem;
}

.pg-real-invoice-detail .offcanvas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    padding: 1rem;
}

.pg-real-invoice-detail .btn-close {
    margin-left: 0;
}

.pg-real-invoice-detail dl {
    margin-bottom: .85rem !important;
}

.pg-invoice-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    padding: .85rem;
    border: 1px solid #dbe5ee;
    border-radius: 12px;
    background: #ffffff;
}

.pg-invoice-facts div {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.pg-invoice-facts .text-uppercase {
    font-size: .68rem;
    letter-spacing: .06em;
}

.pg-invoice-facts strong {
    font-size: .9rem;
}

.pg-invoice-facts span {
    color: #64748b;
    font-size: .78rem;
    line-height: 1.3;
}

.pg-invoice-failure-note {
    display: grid;
    gap: .15rem;
    margin-top: .75rem;
    padding: .75rem .85rem;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff7f7;
    font-size: .78rem;
}

.pg-invoice-failure-note span {
    color: #dc2626;
}

.pg-invoice-failure-note code {
    color: #64748b;
    font-size: .75rem;
}

.pg-real-invoice-detail .timeline-list {
    gap: .72rem;
}

.pg-real-invoice-detail .timeline-content {
    min-width: 0;
}

.pg-real-account-settings {
    display: grid;
    gap: .9rem;
}

.pg-real-account-settings .card {
    border: 1px solid #dbe5ee;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.pg-real-account-settings .card-header {
    background: #ffffff;
}

.pg-real-account-settings .card-body {
    padding: .95rem 1rem;
}

.pg-real-account-settings .table {
    font-size: .78rem;
}

.pg-real-account-settings .btn svg {
    margin-right: .35rem;
}

.pg-real-settings-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: .9rem;
}

.pg-real-settings-grid .settings-main {
    display: grid;
    gap: .9rem;
}

.pg-real-settings-grid .settings-side {
    gap: .9rem;
}

.pg-real-settings-grid .form-text {
    font-size: .72rem;
}

.pg-tour-card--cta {
    color: #ffffff;
    border-color: #137b74;
    background: linear-gradient(135deg, #0f1b2c 0%, #137b74 100%);
}
.pg-tour-card--cta .pg-tour-card-copy {
    max-width: 720px;
}
.pg-tour-card--cta .pg-tour-kicker,
.pg-tour-card--cta h3,
.pg-tour-card--cta p {
    color: #ffffff;
}
.pg-tour-card--cta p {
    color: rgba(255,255,255,.84);
    margin-bottom: 1.25rem;
}
.pg-tour-card--cta .pg-hero-cta-primary {
    background: #ffffff;
    color: #0f5f5a;
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.pg-tour-card--cta .pg-hero-cta-primary:hover {
    background: #eefaf7;
    color: #0a4a46;
}

/* ── How it works steps ── */
.pg-step-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: box-shadow .2s, transform .2s;
}
.pg-step-card:hover { box-shadow: 0 8px 32px rgba(19,123,116,.12); transform: translateY(-2px); }
.pg-step-num   { font-size: 3rem; font-weight: 900; color: #4b938d; line-height: 1; margin-bottom: .75rem; }
.pg-step-title { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: .5rem; }
.pg-step-body  { color: #64748b; font-size: .95rem; line-height: 1.6; margin: 0; }

/* ── Features ── */
.pg-feat-card {
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    height: 100%;
    transition: box-shadow .2s;
}
.pg-feat-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.pg-feat-icon {
    width: 44px;
    height: 44px;
    background: #dff5f2;
    color: #137b74;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.pg-feat-title { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: .5rem; }
.pg-feat-body  { color: #64748b; font-size: .9rem; line-height: 1.6; margin: 0; }

/* Homepage problem and preview sections */
.pg-inline-link {
    color: #137b74;
    font-weight: 700;
    text-decoration: none;
}
.pg-inline-link:hover {
    color: #0f5f5a;
    text-decoration: underline;
}
.pg-problem-section {
    background: #ffffff;
}
.pg-problem-copy {
    max-width: 780px;
    margin-bottom: 2rem;
}
.pg-problem-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.pg-problem-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
}
.pg-problem-card--with {
    background: #f0fdf9;
    border-color: #b7e8dc;
}
.pg-problem-card h3,
.pg-surface-card h3,
.pg-positioning-card h3 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 .65rem;
}
.pg-problem-card p,
.pg-surface-card p,
.pg-positioning-card p {
    color: #475569;
    font-size: .94rem;
    line-height: 1.6;
    margin: 0;
}
.pg-surface-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.pg-surface-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #dce6ef;
    border-radius: 16px;
    padding: 1.35rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}
.pg-customer-surface-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    align-items: stretch;
}
.pg-email-client-preview {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cbdbe8;
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
}
.pg-email-client-bar {
    display: grid;
    gap: .25rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: .72rem;
    line-height: 1.35;
    padding: .65rem .8rem;
}
.pg-email-client-bar span {
    color: #64748b;
    font-weight: 800;
    margin-right: .25rem;
}
.pg-email-client-preview .pg-email-preview-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.pg-customer-email-shot {
    overflow: hidden;
    background: #edf1f4;
    border: 1px solid #cbdbe8;
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
}
.pg-customer-email-shot img {
    display: block;
    width: 100%;
    height: auto;
}
.pg-recovery-page-preview {
    background: #ffffff;
    border: 1px solid #cbdbe8;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
}
.pg-recovery-page-lock {
    color: #137b74;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.pg-recovery-page-preview h4 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 .5rem;
}
.pg-recovery-page-preview p {
    color: #64748b;
    font-size: .86rem;
    line-height: 1.5;
    margin: 0 0 .9rem;
}
.pg-recovery-page-preview span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #137b74;
    color: #ffffff;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 800;
    padding: .45rem .75rem;
}
.pg-surface-dashboard-crop {
    max-height: 330px;
    overflow: hidden;
    border: 1px solid #cbdbe8;
    border-radius: 14px;
    background: #f3f7fb;
    padding: .85rem;
}
.pg-preview-tiles--summary-only {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0;
}
.pg-positioning-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.pg-positioning-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.35rem;
    height: 100%;
}
.pg-positioning-card--paydam {
    border-color: #137b74;
    box-shadow: 0 14px 32px rgba(19,123,116,.12);
}

/* ── Pricing ── */
.pg-pricing-note {
    display: inline-block;
    background: #f0fdf4;
    color: #047857;
    font-size: .85rem;
    font-weight: 600;
    padding: .4rem 1.25rem;
    border-radius: 999px;
    border: 1px solid #bbf7d0;
}
.pg-pricing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: box-shadow .2s;
}
.pg-pricing-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.pg-pricing-card--compact {
    display: flex;
    flex-direction: column;
}
.pg-pricing-card--compact .pg-pricing-desc {
    flex: 1;
}
.pg-pricing-card-featured {
    border: 2px solid #137b74;
    box-shadow: 0 8px 40px rgba(19,123,116,.2);
    background: linear-gradient(135deg, #f0fdf9 0%, #fff 100%);
}
.pg-pricing-popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #137b74;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 999px;
    white-space: nowrap;
}
.pg-pricing-plan    { font-size: .85rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.pg-pricing-price   { display: flex; align-items: baseline; gap: .15rem; margin-bottom: .25rem; }
.pg-price-amount    { font-size: 3rem; font-weight: 900; color: #0f172a; line-height: 1; }
.pg-price-period    { font-size: 1rem; color: #64748b; }
.pg-pricing-success { font-size: .85rem; font-weight: 600; color: #137b74; margin-bottom: .75rem; }
.pg-pricing-desc    { font-size: .9rem; color: #64748b; line-height: 1.5; margin-bottom: 1.5rem; }
.pg-pricing-btn {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    transition: background .15s;
}
.pg-pricing-btn:hover { background: #e2e8f0; }
.pg-pricing-btn-featured {
    background: #137b74;
    color: #fff;
    border: none;
    font-weight: 700;
}
.pg-pricing-btn-featured:hover { background: #0f5f5a; color: #fff; }
.pg-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    font-size: .88rem;
    color: #475569;
}
.pg-pricing-roadmap {
    font-size: .75rem;
    color: #64748b;
    font-style: italic;
    margin-top: .75rem;
    margin-bottom: 0;
    padding-top: .75rem;
    border-top: 1px solid #e2e8f0;
}
.pg-pricing-explainer {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 2rem;
    max-width: 760px;
    margin: 0 auto;
}
.pg-pe-icon { font-size: 1.5rem; }

/* ── Comparison table ── */
.pg-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.pg-compare-table th,
.pg-compare-table td {
    padding: .75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}
.pg-compare-table th:first-child,
.pg-compare-table td:first-child { text-align: left; color: #475569; }
.pg-compare-table th { font-weight: 700; color: #0f172a; background: #f8fafc; }
.pg-compare-us { background: #f0fdf9 !important; font-weight: 600; color: #137b74 !important; }
.pg-compare-mobile {
    display: grid;
    gap: 1rem;
}
.pg-compare-mobile-card,
.pg-compare-worked-example {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
}
.pg-compare-mobile-card--paydam {
    border-color: #137b74;
    box-shadow: 0 12px 28px rgba(19,123,116,.12);
}
.pg-compare-mobile-card h2 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 1rem;
}
.pg-compare-mobile-row {
    display: grid;
    gap: .25rem;
    padding: .8rem 0;
    border-top: 1px solid #e2e8f0;
}
.pg-compare-mobile-row strong {
    color: #0f172a;
    font-size: .82rem;
}
.pg-compare-mobile-row span {
    color: #475569;
    font-size: .9rem;
    line-height: 1.5;
}
.pg-pricing-summary-table {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}
.pg-product-tour-img {
    display: block;
    width: 100%;
    max-width: 980px;
    border: 1px solid #cbdbe8;
    border-radius: 14px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}
.pg-playbook-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    padding: 0 clamp(1.35rem, 2.4vw, 2rem) clamp(1.35rem, 2.4vw, 2rem);
}
.pg-playbook-list div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a;
    font-size: .9rem;
    font-weight: 700;
    padding: .75rem .85rem;
}

/* ── FAQ ── */
.pg-faq { display: flex; flex-direction: column; }
.pg-faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 0;
}
.pg-faq-item:last-child { border-bottom: none; }
/* <details>/<summary> accordion. Native disclosure widget keeps the FAQ
   collapsed by default - the prior layout printed every Q&A inline and the
   FAQ section alone owned ~8 viewport heights of landing real estate. */
details.pg-faq-item > summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding-right: 1.75rem;
}
details.pg-faq-item > summary::-webkit-details-marker { display: none; }
details.pg-faq-item > summary::after {
    content: "+";
    position: absolute;
    right: .25rem;
    top: 0;
    font-weight: 400;
    color: #64748b;
    transition: transform .15s ease;
}
details.pg-faq-item[open] > summary::after { content: "−"; }
details.pg-faq-item .pg-faq-a { margin-top: .75rem; }
.pg-faq-q { font-weight: 700; color: #0f172a; margin-bottom: 0; font-size: 1rem; }
.pg-faq-a { color: #64748b; font-size: .93rem; line-height: 1.65; }

/* ── Final CTA ── */
.pg-final-cta {
    background: linear-gradient(135deg, #0f1b2c 0%, #137b74 100%);
    padding: 6rem 0;
    text-align: center;
}
.pg-final-headline {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
}
.pg-final-sub {
    color: rgba(255,255,255,.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}
.pg-final-cta .pg-hero-cta-primary {
    background: #ffffff;
    color: #0f5f5a;
    box-shadow: 0 14px 34px rgba(0,0,0,.2);
}
.pg-final-cta .pg-hero-cta-primary:hover {
    background: #eefaf7;
    color: #0a4a46;
}

/* ── Footer ── */
.pg-land-footer {
    background: #0f172a;
    padding: 2.75rem 0 1.5rem;
    color: #94a3b8;
    font-size: .85rem;
}
.pg-land-footer a { color: #94a3b8; text-decoration: none; transition: color .15s; }
.pg-land-footer a:hover { color: #e2e8f0; }
.pg-land-footer .pg-land-logo { color: #e2e8f0; font-size: 1rem; text-decoration: none; }

.pg-land-footer-main {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}
@media (max-width: 1024px) {
    .pg-land-footer-main { grid-template-columns: minmax(220px, 2fr) repeat(2, 1fr); gap: 1.75rem; }
}
@media (max-width: 768px) {
    .pg-land-footer-main { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
    .pg-land-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .pg-land-footer-main { grid-template-columns: 1fr; gap: 1.5rem; }
}

.pg-land-footer-brand { display: flex; flex-direction: column; gap: .85rem; }
.pg-land-footer-attribution {
    line-height: 1.6;
    color: #94a3b8;
    max-width: 320px;
}
.pg-land-footer-attribution a { color: #cbd5e1; }

.pg-land-footer-col { display: flex; flex-direction: column; gap: .5rem; }
.pg-land-footer-col-title {
    color: #cbd5e1;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .25rem;
}

.pg-land-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #1e293b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.pg-land-footer-copy { color: #94a3b8; }

/* ── Connect-with-Stripe button (Stripe brand) ── */
.pg-stripe-connect-btn {
    background: #635bff;
    color: #fff;
    border: 1px solid #635bff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .55rem 1.1rem;
    border-radius: 6px;
    font-size: .95rem;
    line-height: 1.2;
    transition: background .15s, border-color .15s, box-shadow .15s;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.pg-stripe-connect-btn:hover:not(:disabled) {
    background: #5048e5;
    border-color: #5048e5;
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 91, 255, .25);
}
.pg-stripe-connect-btn:active:not(:disabled) {
    background: #3f37c9;
    border-color: #3f37c9;
}
.pg-stripe-connect-btn:focus-visible {
    outline: 2px solid #635bff;
    outline-offset: 2px;
}
.pg-stripe-connect-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}
.pg-stripe-connect-btn svg {
    flex-shrink: 0;
}
.pg-stripe-connect-btn--sm {
    padding: .35rem .8rem;
    font-size: .85rem;
}

/* ── Testimonials ── */
.pg-testimonial-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.pg-testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(19,123,116,.1);
    transform: translateY(-2px);
}
.pg-testimonial-stars {
    color: #f5a623;
    font-size: .95rem;
    letter-spacing: 2px;
    margin-bottom: .75rem;
}
.pg-testimonial-quote {
    color: #334155;
    font-size: .95rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}
.pg-testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}
.pg-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}
.pg-testimonial-name {
    font-weight: 700;
    color: #0f172a;
    font-size: .9rem;
    line-height: 1.2;
}
.pg-testimonial-title {
    color: #64748b;
    font-size: .8rem;
    margin-top: 2px;
}

@media (max-width: 992px) {
    .pg-hero-grid,
    .pg-tour-head {
        grid-template-columns: 1fr;
    }

    .pg-hero {
        padding-top: 4rem;
    }

    .pg-hero-copy {
        max-width: 760px;
    }

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

    .pg-tour-grid {
        grid-template-columns: 1fr;
    }

    .pg-tour-card--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    :root {
        --pg-land-nav-height: 116px;
    }

    .pg-land-nav {
        padding: .75rem 0 .65rem;
    }

    .pg-hero-grid {
        gap: 1.35rem;
    }

    .pg-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pg-hero-actions .btn {
        width: 100%;
    }

    .pg-proof-grid,
    .pg-tour-grid,
    .pg-problem-compare,
    .pg-surface-grid,
    .pg-customer-surface-grid,
    .pg-positioning-grid,
    .pg-playbook-list,
    .pg-tour-card:not(.pg-tour-card--wide):not(.pg-tour-card--cta) {
        grid-template-columns: 1fr;
    }

    .pg-tour-card--wide {
        grid-column: auto;
    }

    .pg-tour-card:not(.pg-tour-card--wide):not(.pg-tour-card--cta) {
        min-height: 0;
    }

    .pg-tour-card:not(.pg-tour-card--wide):not(.pg-tour-card--cta) .pg-tour-shot {
        border-top: 1px solid #e2e8f0;
        border-left: 0;
        min-height: 0;
    }

    .pg-mock-dashboard,
    .pg-template-editor,
    .pg-settings-mock,
    .pg-invoice-summary {
        grid-template-columns: 1fr;
    }

    .pg-mock-sidebar {
        display: none;
    }

    .pg-mock-metrics,
    .pg-template-grid,
    .pg-settings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pg-mock-table-row {
        grid-template-columns: 1fr .65fr;
    }

    .pg-mock-table-row span:nth-child(3),
    .pg-mock-table-row span:nth-child(4) {
        display: none;
    }

    .pg-mock-funnel div {
        grid-template-columns: 106px minmax(0, 1fr) 28px;
        gap: .5rem;
    }

    .pg-real-toolbar,
    .pg-real-email-studio .email-studio-editor-head,
    .pg-real-account-settings .card-header,
    .pg-real-account-settings .d-flex.align-items-center.justify-content-between {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .pg-real-toolbar-actions,
    .pg-real-email-studio .email-studio-editor-actions,
    .pg-real-account-settings .stripe-account-action-buttons {
        justify-content: flex-start;
    }

    .pg-real-stat-grid,
    .pg-real-email-studio .email-studio-toolbar,
    .pg-real-email-sequence {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pg-real-dashboard .funnel-row {
        grid-template-columns: 1fr;
        gap: .3rem;
    }

    .pg-real-dashboard .funnel-row-count {
        text-align: left;
    }

    .pg-real-settings-grid {
        grid-template-columns: 1fr;
    }

    .pg-invoice-facts {
        grid-template-columns: 1fr;
    }

    .pg-real-invoice-detail .offcanvas-body {
        padding: .85rem;
    }

    .pg-settings-accounts {
        border-right: 0;
        border-bottom: 1px solid #dbe5ee;
    }

    .pg-product-shot {
        aspect-ratio: 4 / 3;
    }

    .pg-product-window--hero .pg-product-shot {
        height: clamp(190px, 58vw, 280px);
    }
}

@media (max-width: 420px) {
    .pg-land-container {
        padding: 0 1rem;
    }

    .pg-land-nav .pg-land-container {
        gap: .55rem !important;
    }

    .pg-land-logo-img {
        height: 38px;
    }

    .pg-land-nav .btn {
        min-height: 40px;
        padding: .42rem .68rem;
        font-size: .8rem;
        line-height: 1.1;
    }

    .pg-hero {
        padding: 2.2rem 0 1.35rem;
    }

    .pg-hero-headline {
        margin-bottom: 1rem;
        font-size: clamp(2rem, 12vw, 2.55rem);
        line-height: 1.04;
    }

    .pg-hero-h2 {
        font-size: 1rem;
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    .pg-hero-sub {
        font-size: .95rem;
        line-height: 1.5;
    }

    .pg-hero-actions {
        margin-top: 1.55rem;
    }

    .pg-hero-microcopy {
        font-size: .86rem;
        line-height: 1.45;
    }

    .pg-product-window--hero .pg-product-shot {
        height: 170px;
    }

    .pg-tour-shot {
        padding: .65rem;
    }

    .pg-mock-main,
    .pg-invoice-detail,
    .pg-settings-main,
    .pg-settings-accounts {
        padding: .8rem;
    }

    .pg-mock-main-head,
    .pg-mock-panel-head,
    .pg-invoice-head {
        flex-direction: column;
    }

    .pg-mock-filter-row {
        justify-content: flex-start;
    }

    .pg-mock-metrics,
    .pg-template-grid,
    .pg-settings-grid {
        grid-template-columns: 1fr;
    }

    .pg-template-step {
        min-height: 68px;
    }

    .pg-mock-funnel div {
        grid-template-columns: 92px minmax(0, 1fr) 24px;
        font-size: .7rem;
    }

    .pg-real-stat-grid,
    .pg-real-email-studio .email-studio-toolbar,
    .pg-real-email-sequence {
        grid-template-columns: 1fr;
    }

    .pg-real-toolbar-actions .form-select {
        width: 100%;
    }

    .pg-real-dashboard .recovery-banner {
        align-items: flex-start !important;
        flex-direction: column;
        padding: .85rem !important;
    }

    .pg-real-email-studio .email-studio-style-row,
    .pg-real-email-studio .email-studio-editor-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .pg-real-invoice-detail dl {
        display: grid;
        grid-template-columns: 1fr;
        gap: .15rem;
    }

    .pg-real-invoice-detail dt,
    .pg-real-invoice-detail dd {
        width: 100%;
    }
}
