/*
 * Coordinated product-page system.
 * Shared hierarchy, proof, comparison, commercial, and responsive rules for
 * the Products chooser and all three paid GetPrompting products.
 */

:root {
    --gp-product-ink: #24213f;
    --gp-product-muted: #625f76;
    --gp-product-border: rgba(45, 43, 95, 0.16);
    --gp-product-violet: #6b4fbb;
    --gp-product-cyan: #19bfe3;
    --gp-product-paper: #ffffff;
    --gp-product-soft: #f7f5fc;
    --gp-product-max: 1160px;
    --gp-product-copy: 680px;
    --gp-product-radius: 10px;
    --gp-product-hero-size: clamp(2.65rem, 4.2vw, 4.25rem);
    --gp-product-title-size: clamp(2.45rem, 3.5vw, 3.65rem);
    --gp-product-section-title-size: clamp(1.85rem, 2.65vw, 2.7rem);
    --gp-product-section-space: clamp(3.25rem, 5vw, 4.5rem);
    --gp-product-hero-space: clamp(3rem, 5.5vw, 4.75rem);
}

body.gp-page-products .entry-content,
body.gp-page-creator-sop-pack .entry-content,
body.gp-page-ai-workflow-command-center .entry-content,
body.gp-page-creator-workflow-system .entry-content {
    max-width: none !important;
    padding-inline: 0 !important;
}

body.gp-page-products main .ct-container-full,
body.gp-page-creator-sop-pack main .ct-container-full,
body.gp-page-ai-workflow-command-center main .ct-container-full,
body.gp-page-creator-workflow-system main .ct-container-full {
    padding-top: 0 !important;
}

body.gp-page-products .gp-products-surface,
body.gp-page-creator-sop-pack .gp-product-page,
body.gp-page-ai-workflow-command-center .gp-product-modern,
body.gp-page-creator-workflow-system .gp-product-system {
    margin-top: 0 !important;
}

.gp-products-surface,
.gp-product-page,
.gp-product-modern,
.gp-product-system {
    color: var(--gp-product-ink);
    font-size: 1rem;
    overflow-x: clip;
}

/* SOP sections intentionally use viewport-width bands inside WordPress's
 * constrained content wrapper. Clipping on the wrapper cuts their tablet
 * gutters; the document root already guards against horizontal overflow. */
.gp-product-page {
    overflow: visible;
}

.gp-products-surface,
.gp-product-system {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none !important;
    width: 100vw;
}

.gp-products-surface *,
.gp-product-page *,
.gp-product-modern *,
.gp-product-system * {
    box-sizing: border-box;
    min-width: 0;
}

.gp-products-surface :where(p, li, dd, a),
.gp-product-page :where(p, li, dd, a),
.gp-product-modern :where(p, li, dd, a),
.gp-product-system :where(p, li, dd, a) {
    overflow-wrap: anywhere;
}

.gp-system-shell {
    margin-inline: auto;
    width: min(calc(100% - 2.5rem), var(--gp-product-max));
}

.gp-system-section {
    border-top: 1px solid var(--gp-product-border);
    padding-block: var(--gp-product-section-space);
}

.gp-system-section--soft {
    background: var(--gp-product-soft);
}

.gp-system-heading {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    max-width: 800px;
}

.gp-system-heading h2,
.gp-products-surface h2,
.gp-product-system h2 {
    color: var(--gp-primary, #2d2b5f) !important;
    font-size: var(--gp-product-section-title-size) !important;
    letter-spacing: -0.035em !important;
    line-height: 1.08 !important;
    margin: 0 0 0.9rem !important;
    text-wrap: balance;
}

.gp-system-heading > p:last-child {
    color: var(--gp-product-muted);
    font-size: clamp(1rem, 0.35vw + 0.95rem, 1.15rem);
    line-height: 1.7;
    margin: 0;
    max-width: var(--gp-product-copy);
}

.gp-system-eyebrow {
    color: var(--gp-product-violet) !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.11em;
    line-height: 1.3 !important;
    margin: 0 0 0.75rem !important;
    text-transform: uppercase;
}

.gp-system-btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    line-height: 1.3;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    text-align: center;
    text-decoration: none !important;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.gp-system-btn--primary {
    background: var(--gp-primary, #2d2b5f);
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(45, 43, 95, 0.18);
}

.gp-system-btn--secondary {
    background: #ffffff;
    border-color: rgba(107, 79, 187, 0.3);
    color: var(--gp-primary, #2d2b5f) !important;
}

.gp-system-btn:hover {
    transform: translateY(-2px);
}

.gp-system-btn:focus-visible,
.gp-products-surface a:focus-visible,
.gp-product-page a:focus-visible,
.gp-product-modern a:focus-visible,
.gp-product-system summary:focus-visible {
    outline: 3px solid var(--gp-product-cyan);
    outline-offset: 3px;
}

.gp-system-hero {
    background: #f8f7fb;
    border-bottom: 1px solid var(--gp-product-border);
    padding-block: var(--gp-product-hero-space);
}

.gp-system-hero__grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 4vw, 3.75rem);
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
}

.gp-system-hero h1 {
    color: var(--gp-primary, #2d2b5f) !important;
    font-size: var(--gp-product-hero-size) !important;
    font-weight: 850 !important;
    letter-spacing: -0.045em !important;
    line-height: 0.98 !important;
    margin: 0 0 1.1rem !important;
    text-wrap: balance;
}

.gp-creator-workflow-system .gp-system-hero h1 {
    font-size: var(--gp-product-title-size) !important;
}

.gp-system-hero__lead {
    color: var(--gp-product-ink) !important;
    font-size: clamp(1.2rem, 1vw + 0.95rem, 1.55rem) !important;
    font-weight: 700;
    line-height: 1.45 !important;
    margin: 0 0 0.85rem !important;
    max-width: 680px;
}

.gp-system-hero__support {
    color: var(--gp-product-muted) !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    max-width: 650px;
}

.gp-system-qualifier {
    background: rgba(107, 79, 187, 0.08);
    border-left: 3px solid var(--gp-secondary, #6b4fbb);
    color: var(--gp-product-ink) !important;
    line-height: 1.55 !important;
    margin: 0 0 1rem !important;
    max-width: 650px;
    padding: 0.7rem 0.9rem;
}

.gp-system-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.gp-system-note {
    color: var(--gp-product-muted) !important;
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
    margin: 0.9rem 0 0 !important;
}

.gp-system-proof-frame {
    background: #ffffff;
    border: 1px solid var(--gp-product-border);
    border-radius: var(--gp-product-radius);
    box-shadow: 0 14px 34px rgba(30, 28, 65, 0.1);
    margin: 0;
    overflow: hidden;
}

.gp-system-proof-frame img {
    aspect-ratio: 16 / 10;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.gp-system-proof-frame figcaption {
    color: var(--gp-product-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    padding: 0.85rem 1rem 1rem;
}

.gp-creator-workflow-system .gp-system-hero .gp-system-proof-frame img {
    aspect-ratio: auto;
    height: 360px;
    margin-left: -42.5%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    width: 185%;
}

.gp-system-strip {
    background: #17142f;
    color: #ffffff;
    padding-block: 1.2rem;
}

.gp-system-strip__items {
    display: grid;
    gap: 0.8rem 1.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    margin-inline: auto;
    padding: 0;
}

.gp-system-strip__items li {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.45;
}

.gp-system-strip__items strong {
    color: #ffffff;
    display: block;
    font-size: 1rem;
}

.gp-system-grid {
    display: grid;
    gap: 1rem;
}

.gp-system-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gp-system-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gp-system-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gp-cws-path + .gp-system-grid {
    margin-top: 1.5rem;
}

.gp-creator-workflow-system .gp-system-grid + .gp-system-grid {
    margin-top: 1rem;
}

.gp-system-card {
    background: #ffffff;
    border: 1px solid var(--gp-product-border);
    border-radius: var(--gp-product-radius);
    padding: clamp(1.25rem, 2.5vw, 1.8rem);
}

.gp-system-card h3 {
    color: var(--gp-primary, #2d2b5f) !important;
    font-size: clamp(1.05rem, 1.4vw, 1.3rem) !important;
    line-height: 1.25 !important;
    margin: 0 0 0.6rem !important;
}

.gp-system-card p,
.gp-system-card li {
    color: var(--gp-product-muted);
    line-height: 1.65;
}

.gp-system-card p:last-child,
.gp-system-card li:last-child { margin-bottom: 0; }

.gp-system-steps {
    counter-reset: gp-step;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
    border-block: 1px solid var(--gp-product-border);
}

.gp-system-steps li {
    background: transparent;
    border: 0;
    color: var(--gp-product-muted);
    counter-increment: gp-step;
    line-height: 1.55;
    padding: 1.15rem 1rem;
}

.gp-system-steps li + li {
    border-left: 1px solid var(--gp-product-border);
}

.gp-system-steps li::before {
    color: var(--gp-product-violet);
    content: "0" counter(gp-step);
    display: block;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    margin-bottom: 0.55rem;
}

.gp-system-steps strong {
    color: var(--gp-primary, #2d2b5f);
    display: block;
    margin-bottom: 0.3rem;
}

.gp-system-gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gp-system-gallery figure {
    background: #ffffff;
    border: 1px solid var(--gp-product-border);
    border-radius: var(--gp-product-radius);
    margin: 0;
    overflow: hidden;
}

.gp-system-gallery img {
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.gp-system-gallery figcaption {
    color: var(--gp-product-muted);
    line-height: 1.55;
    padding: 1rem 1.1rem 1.15rem;
}

.gp-product-family {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
}

.gp-product-family__track {
    background: #ffffff;
    border: 1px solid var(--gp-product-border);
    border-radius: var(--gp-product-radius);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.gp-product-family__track--technical {
    background: linear-gradient(155deg, #17142f, #2d2b5f);
    color: #ffffff;
}

.gp-product-family__track--technical :where(h3, p, a, dt, dd) {
    color: #ffffff !important;
}

.gp-product-family__track > h3 {
    color: var(--gp-primary, #2d2b5f) !important;
    font-size: 1.35rem !important;
    margin: 0 0 0.5rem !important;
}

.gp-product-family__track--technical > h3 {
    color: #ffffff !important;
}

.gp-product-family__track > p {
    color: var(--gp-product-muted);
    line-height: 1.6;
}

.gp-product-family__cards {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.2rem;
}

.gp-product-family__card {
    border: 1px solid var(--gp-product-border);
    border-radius: 10px;
    padding: 1rem;
}

.gp-product-family__card[aria-current="page"] {
    background: #f4f0ff;
    border-color: var(--gp-product-violet);
    box-shadow: inset 0 4px 0 var(--gp-product-violet);
}

.gp-product-family__card h4 {
    color: var(--gp-primary, #2d2b5f) !important;
    font-size: 1.05rem !important;
    margin: 0 0 0.45rem !important;
}

.gp-product-family__card p {
    font-size: 0.92rem;
    margin: 0 0 0.65rem !important;
}

.gp-product-family a {
    font-weight: 800;
}

.gp-product-commercial {
    background: #17142f;
    color: #ffffff;
}

.gp-product-commercial .gp-system-heading :where(h2, p),
.gp-product-commercial .gp-system-eyebrow {
    color: #ffffff !important;
}

.gp-product-commercial .gp-system-btn--primary {
    background: #ffffff;
    color: var(--gp-product-ink, #24213f) !important;
    box-shadow: none;
}

.gp-product-commercial__layout {
    align-items: start;
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(260px, 0.4fr) minmax(0, 0.6fr);
}

.gp-product-commercial__price {
    color: #ffffff;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    font-weight: 850;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 1rem;
}

.gp-product-commercial__price span {
    font-size: 0.9rem;
    letter-spacing: 0;
}

.gp-product-commercial__terms {
    background: #ffffff;
    border-radius: var(--gp-product-radius);
    color: var(--gp-product-ink);
    margin: 0;
    overflow: hidden;
}

.gp-product-commercial__terms > div {
    display: grid;
    gap: 0.5rem 1rem;
    grid-template-columns: minmax(110px, 0.25fr) minmax(0, 0.75fr);
    padding: 1rem 1.2rem;
}

.gp-product-commercial__terms > div + div {
    border-top: 1px solid var(--gp-product-border);
}

.gp-product-commercial__terms dt {
    color: var(--gp-primary, #2d2b5f);
    font-weight: 850;
}

.gp-product-commercial__terms dd {
    color: var(--gp-product-muted);
    line-height: 1.55;
    margin: 0;
}

/* Shared purchase moment: product explanations stay left-aligned, while the
   decision block uses a centered, contained treatment across all paid offers. */
.gp-purchase-section {
    background: #ffffff;
}

.gp-purchase-box {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 8px;
    box-shadow: none;
    color: var(--gp-product-ink, #24213f);
    margin: 0 auto;
    max-width: 760px;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    text-align: center;
}

.gp-purchase-box :where(.gp-kicker, .gp-home-eyebrow, .gp-system-eyebrow) {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.gp-purchase-box h2 {
    color: var(--gp-product-ink, #24213f) !important;
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
    text-align: center !important;
}

.gp-purchase-box > p:not(.gp-home-eyebrow, .gp-system-eyebrow, .gp-kicker, .gp-purchase-box__price, .gp-purchase-box__note) {
    color: var(--gp-product-muted, #625f6f);
    margin-left: auto;
    margin-right: auto;
    max-width: 650px;
    text-align: center;
}

.gp-purchase-box__price {
    color: var(--gp-primary, #2d2b5f) !important;
    font-size: clamp(2.75rem, 5vw, 4rem) !important;
    font-weight: 850;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 1rem 0 !important;
    text-align: center !important;
}

.gp-purchase-box__price span {
    color: var(--gp-product-muted, #625f6f);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-left: 0.35rem;
}

.gp-purchase-box__actions {
    justify-content: center !important;
    margin-top: 1.5rem !important;
}

.gp-purchase-box__note {
    color: var(--gp-product-muted, #625f6f) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1.25rem auto 0 !important;
    max-width: 650px;
    text-align: center !important;
}

.gp-purchase-details {
    background: #ffffff;
    border: 1px solid var(--gp-product-border, rgba(36, 33, 63, 0.14));
    border-radius: 8px;
    margin: 2rem auto 0;
    max-width: 960px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

.gp-purchase-details__heading {
    margin-bottom: 1.25rem;
    max-width: 700px;
}

.gp-purchase-details__heading h3 {
    color: var(--gp-product-ink, #24213f);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0 0 0.65rem;
}

.gp-purchase-details__heading p:last-child {
    color: var(--gp-product-muted, #625f6f);
    margin: 0;
}

.gp-purchase-details .gp-purchase-details__terms {
    background: transparent;
    border-top: 1px solid var(--gp-product-border, rgba(36, 33, 63, 0.14));
    border-radius: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
}

.gp-purchase-details .gp-purchase-details__terms > div {
    align-content: start;
    border-top: 1px solid var(--gp-product-border, rgba(36, 33, 63, 0.14));
    display: grid;
    gap: 0.25rem;
    grid-template-columns: 1fr;
    padding: 1rem 1.1rem 1rem 0;
}

.gp-purchase-details .gp-purchase-details__terms > div:nth-child(even) {
    border-left: 1px solid var(--gp-product-border, rgba(36, 33, 63, 0.14));
    padding-left: 1.1rem;
    padding-right: 0;
}

.gp-purchase-details .gp-purchase-details__terms > div:nth-child(-n + 2) {
    border-top: 0;
}

.gp-purchase-details .gp-purchase-details__terms dt {
    color: var(--gp-primary, #2d2b5f);
    font-weight: 850;
}

.gp-purchase-details .gp-purchase-details__terms dd {
    color: var(--gp-product-muted, #625f6f);
    line-height: 1.55;
    margin: 0;
}

body.gp-page-creator-sop-pack .gp-product-assurance__terms {
    border: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

body.gp-page-creator-sop-pack .gp-product-assurance__terms > div {
    border: 1px solid var(--gp-product-border);
    display: block;
    min-width: 0;
    padding: 1rem;
}

body.gp-page-creator-sop-pack .gp-product-assurance__terms dt {
    display: block;
    margin: 0 0 0.3rem;
}

body.gp-page-creator-sop-pack .gp-product-assurance__terms dd {
    display: block;
    margin: 0;
}

.gp-system-faq {
    display: grid;
    gap: 0.75rem;
    max-width: 900px;
}

.gp-system-faq details {
    background: #ffffff;
    border: 1px solid var(--gp-product-border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
}

.gp-system-faq summary {
    color: var(--gp-primary, #2d2b5f);
    cursor: pointer;
    font-weight: 800;
    line-height: 1.4;
    min-height: 44px;
    padding-block: 0.55rem;
}

.gp-system-faq details p {
    color: var(--gp-product-muted);
    line-height: 1.65;
    margin: 0.4rem 0 0 !important;
    max-width: var(--gp-product-copy);
}

.gp-system-final {
    background: var(--gp-product-soft);
    text-align: center;
}

.gp-system-final .gp-system-heading {
    margin-inline: auto;
}

.gp-system-final .gp-system-heading > p:last-child {
    margin-inline: auto;
}

.gp-system-final .gp-system-actions {
    justify-content: center;
}

.gp-products-hero__layout {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.42fr);
}

.gp-products-decision {
    background: #ffffff;
    border: 1px solid var(--gp-product-border);
    border-radius: var(--gp-product-radius);
    box-shadow: none;
    padding: clamp(1.25rem, 3vw, 1.8rem);
}

.gp-products-decision ol {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gp-products-decision li {
    counter-increment: decision;
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 0;
}

.gp-products-decision li + li { border-top: 1px solid var(--gp-product-border); }
.gp-products-decision strong { color: var(--gp-primary, #2d2b5f); }
.gp-products-decision span { color: var(--gp-product-muted); font-size: 0.93rem; }

.gp-products-path {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gp-products-offer {
    background: #ffffff;
    border: 1px solid var(--gp-product-border);
    border-radius: var(--gp-product-radius);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: clamp(1.35rem, 3vw, 2rem);
}

.gp-products-offer h3,
.gp-products-technical h3 {
    color: var(--gp-primary, #2d2b5f) !important;
    font-size: clamp(1.45rem, 2.4vw, 2.1rem) !important;
    line-height: 1.15 !important;
    margin: 0 0 0.65rem !important;
}

.gp-products-offer p,
.gp-products-technical p,
.gp-products-technical li {
    color: var(--gp-product-muted);
    line-height: 1.65;
}

.gp-products-offer dl { margin: 0; }
.gp-products-offer dl > div { display: grid; gap: 0.15rem; padding: 0.75rem 0; }
.gp-products-offer dl > div + div { border-top: 1px solid var(--gp-product-border); }
.gp-products-offer dt { color: var(--gp-primary, #2d2b5f); font-size: 0.8rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.gp-products-offer dd { color: var(--gp-product-muted); line-height: 1.5; margin: 0; }

.gp-products-offer__footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: space-between;
    margin-top: auto;
}

.gp-products-offer__footer strong { color: var(--gp-primary, #2d2b5f); font-size: 1.12rem; }

.gp-products-technical {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--gp-product-border);
    border-left: 5px solid var(--gp-product-cyan);
    border-radius: var(--gp-product-radius);
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(1.35rem, 3vw, 2.25rem);
}

.gp-products-technical ul { margin-bottom: 0; }
.gp-products-technical__action { display: grid; gap: 1rem; min-width: min(100%, 245px); }
.gp-products-technical__action > strong { color: var(--gp-primary, #2d2b5f); font-size: 1.7rem; line-height: 1.1; }
.gp-products-technical__action span { color: var(--gp-product-muted); font-size: 0.9rem; font-weight: 700; }

.gp-products-support-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gp-products-support-grid .gp-system-card h2 {
    font-size: clamp(1.45rem, 2.4vw, 2.1rem) !important;
}

.gp-cws-path {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.gp-cws-path span {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--gp-product-border);
    border-radius: 8px;
    color: var(--gp-primary, #2d2b5f);
    display: flex;
    font-size: 0.88rem;
    font-weight: 800;
    justify-content: center;
    min-height: 72px;
    padding: 0.75rem;
    position: relative;
    text-align: center;
}

.gp-cws-path span:not(:last-child)::after {
    color: var(--gp-product-violet);
    content: "→";
    font-weight: 900;
    position: absolute;
    right: -0.55rem;
    z-index: 1;
}

.gp-cws-proof-callout {
    align-items: center;
    background: #17142f;
    border-radius: var(--gp-product-radius);
    color: #ffffff;
    display: grid;
    gap: 0.5rem 1.5rem;
    grid-template-columns: auto 1fr;
    margin-top: 1rem;
    padding: 1.2rem 1.4rem;
}

.gp-cws-proof-callout strong { color: #ffffff; font-size: 1.05rem; }
.gp-cws-proof-callout p { color: rgba(255, 255, 255, 0.82); line-height: 1.55; margin: 0 !important; }

.gp-cws-walkthrough {
    align-items: center;
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(260px, 0.4fr) minmax(0, 0.6fr);
}

.gp-cws-walkthrough .gp-system-heading { margin-bottom: 0; }

.gp-cws-video {
    aspect-ratio: 16 / 9;
    background: #17142f;
    border: 1px solid var(--gp-product-border);
    border-radius: var(--gp-product-radius);
    box-shadow: 0 14px 34px rgba(30, 28, 65, 0.1);
    overflow: hidden;
}

.gp-cws-video iframe { border: 0; height: 100%; width: 100%; }

@media (max-width: 1023px) {
    .gp-system-hero__grid,
    .gp-products-hero__layout,
    .gp-cws-walkthrough,
    .gp-product-family,
    .gp-product-commercial__layout {
        grid-template-columns: 1fr;
    }

    .gp-system-grid--4,
    .gp-system-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-system-steps {
        grid-template-columns: 1fr;
    }

    .gp-system-steps li + li {
        border-left: 0;
        border-top: 1px solid var(--gp-product-border);
    }

    .gp-system-strip__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-system-hero__grid {
        align-items: start;
    }

    .gp-system-proof-frame {
        max-width: 760px;
    }

    .gp-creator-workflow-system .gp-system-hero .gp-system-proof-frame img {
        height: auto;
        margin-left: 0;
        max-width: 100%;
        object-fit: contain;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .gp-system-shell {
        width: min(calc(100% - 1.5rem), var(--gp-product-max));
    }

    .gp-system-section {
        padding-block: 2.75rem;
    }

    .gp-system-hero {
        padding-block: 2.5rem 2.75rem;
    }

    .gp-system-hero__grid {
        gap: 1.75rem;
    }

    .gp-system-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3rem) !important;
        line-height: 1.01 !important;
    }

    .gp-creator-workflow-system .gp-system-hero h1 {
        font-size: clamp(2.35rem, 10vw, 3rem) !important;
    }

    .gp-system-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gp-system-btn {
        min-height: 50px;
        width: 100%;
    }

    .gp-system-grid--2,
    .gp-system-grid--3,
    .gp-system-grid--4,
    .gp-system-steps,
    .gp-system-gallery,
    .gp-product-family__cards,
    .gp-system-strip__items {
        grid-template-columns: 1fr;
    }

    .gp-products-path,
    .gp-products-support-grid,
    .gp-products-technical {
        grid-template-columns: 1fr;
    }

    .gp-cws-path {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-cws-path span:not(:last-child)::after { display: none; }

    .gp-cws-proof-callout { grid-template-columns: 1fr; }

    .gp-product-commercial__terms > div {
        grid-template-columns: 1fr;
    }

    .gp-purchase-box,
    .gp-purchase-details {
        padding: 1.25rem;
    }

    .gp-purchase-details .gp-purchase-details__terms {
        grid-template-columns: 1fr;
    }

    .gp-purchase-details .gp-purchase-details__terms > div,
    .gp-purchase-details .gp-purchase-details__terms > div:nth-child(even) {
        border-left: 0;
        border-top: 1px solid var(--gp-product-border, rgba(36, 33, 63, 0.14));
        padding: 1rem 0;
    }

    .gp-purchase-details .gp-purchase-details__terms > div:first-child {
        border-top: 0;
    }

    body.gp-page-creator-sop-pack .gp-product-assurance__terms {
        grid-template-columns: 1fr;
    }

    .gp-system-card,
    .gp-product-family__track {
        padding: 1.15rem;
    }

    .gp-system-steps {
        border-block: 1px solid var(--gp-product-border);
    }

    .gp-system-steps li + li {
        border-left: 0;
        border-top: 1px solid var(--gp-product-border);
    }
}

@media (min-width: 1440px) {
    :root { --gp-product-max: 1160px; }
}

@media (min-width: 1800px) {
    :root { --gp-product-max: 1200px; }

    .gp-system-hero h1 { max-width: 850px; }

    .gp-system-hero__support,
    .gp-system-heading > p:last-child { max-width: 760px; }
}

@media (prefers-reduced-motion: reduce) {
    .gp-system-btn { transition: none; }
}
