/* Product pages (Master Data, Databridge, Publisher, Mark): same visual system as the home. */
.pp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* Hero — coral glow, light type, the real app tilted underneath */
.pp-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 4rem 0 0;
    text-align: center;
}
.pp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 50% 28% at 50% 0%, rgba(255,190,150,0.7), transparent 70%),
        radial-gradient(ellipse 95% 55% at 50% 0%, #fc814a 0%, #e0522a 28%, rgba(140,38,14,0.75) 54%, transparent 80%);
}
.pp-eyebrow {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.4rem;
}
.pp-hero h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 17ch;
    margin: 0 auto 1.1rem;
    text-wrap: balance;
}
.pp-lead {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.86);
}
.pp-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.9rem; }
.pp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.35rem;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.pp-btn-primary { background: #fff; color: #140a06; border-color: #fff; }
.pp-btn-primary:hover { background: #ffe9dc; border-color: #ffe9dc; }
.pp-btn-dark { background: rgba(0,0,0,0.55); color: #fff; border-color: rgba(255,255,255,0.16); }
.pp-btn-dark:hover { background: #000; border-color: rgba(255,255,255,0.32); }
.pp-btn-link { color: rgba(255,255,255,0.82); }
.pp-btn-link:hover { color: #fff; }

.pp-shot-wrap { width: min(1080px, calc(100% - 3rem)); margin: 3rem auto 0; perspective: 2200px; }
.pp-shot {
    transform: rotateX(14deg);
    transform-origin: 50% 0;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    background: #0d1016;
    box-shadow: 0 -30px 120px -20px rgba(252,129,74,0.45), 0 40px 90px rgba(0,0,0,0.6);
    -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 94%);
            mask-image: linear-gradient(to bottom, #000 50%, transparent 94%);
    overflow: hidden;
}
.pp-shot-bar,
.pp-frame-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    height: 34px;
    padding: 0 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: #0d1016;
}
.pp-shot-bar i,
.pp-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.pp-shot-bar span,
.pp-frame-bar span {
    margin: 0 auto;
    padding: 0.15rem 1rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
}
.pp-shot img { display: block; width: 100%; height: auto; }

/* Blocks — text beside a real screen, alternating sides */
.pp-section { padding: 4.5rem 1.5rem; }
.pp-block {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}
.pp-block + .pp-block { margin-top: 5.5rem; }
.pp-block.is-flipped { grid-template-columns: 7fr 5fr; }
.pp-block.is-flipped .pp-block-text { order: 2; }
.pp-block-index {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--accent-bright);
    margin-bottom: 0.9rem;
}
.pp-block h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.9rem;
    text-wrap: balance;
}
.pp-block p { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.65; }
.pp-frame {
    border: 1px solid rgba(146,163,189,0.18);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-elevated);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
}
.pp-frame img { display: block; width: 100%; height: auto; }
.pp-frame.is-paper { background: #e9ebef; }

@media (max-width: 860px) {
    .pp-block, .pp-block.is-flipped { grid-template-columns: 1fr; gap: 1.75rem; }
    .pp-block.is-flipped .pp-block-text { order: 0; }
    .pp-block + .pp-block { margin-top: 3.5rem; }
    .pp-section { padding: 3.25rem 1.25rem; }
}

/* Not for you — honest, small, out of the way */
.pp-notfor {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.6rem 1.8rem;
    border: 1px solid rgba(146,163,189,0.16);
    border-radius: 14px;
    background: var(--bg-elevated);
}
.pp-label {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 0.9rem;
}
.pp-notfor ul { margin: 0; padding-left: 1.1rem; color: var(--text-secondary); line-height: 1.65; }
.pp-notfor li + li { margin-top: 0.35rem; }

/* Works with — the other apps on the same data */
.pp-related { max-width: 1120px; margin: 0 auto; text-align: center; }
.pp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; text-align: left; }
@media (max-width: 760px) { .pp-related-grid { grid-template-columns: 1fr; } }
.pp-related a {
    display: block;
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(146,163,189,0.16);
    border-radius: 12px;
    background: var(--bg-elevated);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s;
}
.pp-related a:hover { border-color: rgba(252,129,74,0.5); }
.pp-related strong { display: block; font-size: 1.05rem; margin-bottom: 0.3rem; }
.pp-related span { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.5; }

/* Final call to action */
.pp-final { text-align: center; padding: 4.5rem 1.5rem 5.5rem; }
.pp-final h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.pp-final p { color: var(--text-secondary); margin-bottom: 1.6rem; }
.pp-final .pp-btn-dark { background: transparent; border-color: var(--border); }

@media (max-width: 760px) {
    .pp-hero { padding-top: 3rem; }
    .pp-shot-wrap { width: calc(100% - 2rem); margin-top: 2.25rem; }
    .pp-shot { transform: rotateX(8deg); }
}

/* Compact hero for pages without a product shot (pricing) */
.pp-hero--compact { padding: 4rem 0 3.5rem; }
.pp-hero--compact::before {
    background:
        radial-gradient(ellipse 50% 45% at 50% 0%, rgba(255,190,150,0.55), transparent 70%),
        radial-gradient(ellipse 90% 90% at 50% 0%, #fc814a 0%, #e0522a 26%, rgba(140,38,14,0.6) 52%, transparent 78%);
}

/* Solution pages */
.sp-head { max-width: 760px; margin: 0 auto 2.25rem; text-align: center; }
.sp-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.7rem; text-wrap: balance; }
.sp-head p { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.6; }
.sp-index {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--accent-bright);
    margin-bottom: 0.45rem;
}
.sp-points {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1120px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}
.sp-points li { border-top: 1px solid var(--border); padding-top: 1rem; }
.sp-points strong, .sp-routes strong, .sp-steps strong { display: block; font-size: 1.02rem; margin-bottom: 0.35rem; }
.sp-points span:not(.sp-index), .sp-routes span, .sp-steps span:not(.sp-index) { color: var(--text-secondary); font-size: 0.94rem; line-height: 1.55; }
.sp-routes {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.sp-routes > div { padding: 1.3rem 1.4rem; border: 1px solid rgba(146,163,189,0.16); border-radius: 12px; background: var(--bg-elevated); }
.sp-steps-block { align-items: start; }
.sp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.sp-steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.6rem; align-items: start; }
.sp-steps .sp-index { margin: 0.2rem 0 0; }
.sp-sticky { position: sticky; top: 90px; }
@media (max-width: 960px) { .sp-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
    .sp-points, .sp-routes { grid-template-columns: 1fr; }
    .sp-sticky { position: static; }
}

/* Solutions index — one card per problem, with the real output */
.sp-cards { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .sp-cards { grid-template-columns: 1fr; } }
.sp-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(146,163,189,0.16);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-elevated);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}
.sp-card:hover { border-color: rgba(252,129,74,0.5); transform: translateY(-2px); }
.sp-card-shot { aspect-ratio: 16 / 9; overflow: hidden; background: #e9ebef; border-bottom: 1px solid rgba(146,163,189,0.16); }
.sp-card-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.sp-card-body { padding: 1.3rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.sp-card-body strong { font-size: 1.25rem; letter-spacing: -0.01em; }
.sp-card-body span { color: var(--text-secondary); font-size: 0.97rem; line-height: 1.55; }
.sp-card-body em { font-style: normal; color: var(--accent-bright); font-weight: 600; font-size: 0.9rem; margin-top: 0.4rem; }

/* Contact — one address, said once */
.ct-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .ct-grid { grid-template-columns: 1fr; } }
.ct-main, .ct-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    border: 1px solid rgba(146,163,189,0.16);
    border-radius: 16px;
    background: var(--bg-elevated);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s;
}
.ct-main { padding: 2.2rem; justify-content: center; }
.ct-main strong { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; color: var(--accent-bright); }
.ct-main span:last-child { color: var(--text-secondary); line-height: 1.6; max-width: 40ch; }
.ct-side { display: flex; flex-direction: column; gap: 1rem; }
.ct-card { padding: 1.2rem 1.4rem; }
.ct-card strong { font-size: 1.05rem; }
.ct-card span { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.5; }
a.ct-main:hover, a.ct-card:hover { border-color: rgba(252,129,74,0.5); }
.ct-company .pp-label { margin-bottom: 0.2rem; }

/* Shopify solution page */
.sp-points--3 { grid-template-columns: repeat(3, 1fr); }
.sh-docs { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }
.sh-docs li { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; padding-left: 0.9rem; border-left: 2px solid rgba(252,129,74,0.5); }
.sh-docs strong { color: var(--text); }
.ab-cols-sh { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ab-cols-sh h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.7rem; }
.ab-cols-sh p { color: var(--text-secondary); line-height: 1.65; }
@media (max-width: 760px) { .sp-points--3, .ab-cols-sh { grid-template-columns: 1fr; gap: 1.5rem; } }
