:root {
    --bg: #ffffff;
    --bg-elev: #f5f8fc;
    --ink: #0b1f33;
    --muted: #5a6b80;
    --line: rgba(15, 50, 90, 0.12);
    --cyan: #0a8fd4;
    --cyan-deep: #0669a8;
    --navy: #071a33;
    --danger: #c62828;
    --ok: #1b7a3d;
    --radius: 18px;
    --max: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: clip;
}

h1, h2, h3, .brand-name, .founder-name, .eyebrow {
    font-family: Outfit, system-ui, sans-serif;
}

a {
    color: var(--cyan);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 500px at 8% -8%, rgba(10, 143, 212, 0.10), transparent 55%),
        radial-gradient(700px 400px at 100% 0%, rgba(6, 105, 168, 0.08), transparent 50%),
        var(--bg);
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.brand-logo,
.footer-logo {
    height: 64px;
    width: auto;
    max-width: min(300px, 70vw);
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-weight: 600;
    letter-spacing: 0.04em;
}

.brand-sub {
    display: block;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--muted);
}

.nav-toggle {
    display: none;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    font: inherit;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.site-nav a.is-active,
.site-nav a:hover {
    color: var(--ink);
}

.nav-cta {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--cyan);
    color: var(--cyan) !important;
}

.hero,
.page-hero,
.section {
    padding: 72px 0;
}

.hero-grid,
.about-grid,
.founder-grid,
.contact-grid,
.product-spotlight {
    display: grid;
    gap: 40px;
}

.hero-centered {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.hero-centered .lede {
    margin-inline: auto;
}

.hero-centered .hero-actions {
    justify-content: center;
}

.about-grid,
.contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
}

.founder-grid {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 28px;
}

h1 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.12;
    margin: 10px 0 18px;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 14px;
}

.lede,
.section-intro,
.module-intro {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 62ch;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--cyan);
    margin: 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: Outfit, sans-serif;
}

.btn-primary {
    background: linear-gradient(120deg, var(--cyan), var(--cyan-deep));
    color: #ffffff;
}

.btn-ghost {
    border-color: var(--line);
    color: var(--ink);
    background: transparent;
}

.hero-panel,
.card,
.product-aside,
.stats li,
.contact-form {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.hero-panel ul {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.hero-panel li + li {
    margin-top: 8px;
}

.panel-kicker {
    color: var(--cyan);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.panel-note,
.stats span {
    color: var(--muted);
}

.card-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.section-alt {
    background: #f0f5fa;
}

.stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.stats strong {
    display: block;
    font-size: 1.15rem;
}

.founder-photo {
    margin: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--line);
    flex-shrink: 0;
    justify-self: start;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.founder-name {
    margin: 0 0 12px;
    font-size: 1.6rem;
}

.contact-meta {
    list-style: none;
    padding: 0;
    color: var(--muted);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form label,
.contact-form .full {
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--muted);
}

.full {
    grid-column: 1 / -1;
}

input, select, textarea {
    width: 100%;
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
}

.form-banner {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
}

.form-banner.is-success {
    background: rgba(74, 222, 128, 0.12);
    color: var(--ok);
}

.form-banner.is-error {
    background: rgba(255, 123, 123, 0.12);
    color: var(--danger);
}

.product-list {
    display: grid;
    gap: 20px;
}

.product-tile {
    display: block;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px 30px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(15, 50, 90, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-tile:hover {
    border-color: rgba(10, 143, 212, 0.35);
    box-shadow: 0 14px 36px rgba(15, 50, 90, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

.product-tile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.product-index {
    font-family: Outfit, sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--cyan);
}

.product-status {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ok);
    background: rgba(27, 122, 61, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}

.product-tile h2 {
    margin-bottom: 10px;
}

.product-tile p {
    color: var(--muted);
    margin-top: 0;
}

.product-tile-cta {
    display: inline-block;
    margin-top: 8px;
    color: var(--cyan);
    font-weight: 600;
    font-family: Outfit, sans-serif;
}

.tick-list {
    padding-left: 18px;
    color: var(--muted);
}

.product-shots {
    display: grid;
    gap: 20px;
    margin: 24px 0 28px;
}

.product-shots--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-shot {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.product-shot img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
    cursor: zoom-in;
    transition: opacity 0.15s ease;
}

.product-shot img:hover {
    opacity: 0.92;
}

.product-shot figcaption {
    padding: 10px 14px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.product-shot--wide {
    max-width: 920px;
}

/* Alternating screenshot + copy rows (mobile product tours) */
.product-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    margin: 40px 0;
}

.product-feature--flip {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.product-feature--flip .product-feature-media {
    order: 2;
}

.product-feature--flip .product-feature-copy {
    order: 1;
}

.product-feature-media {
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
    justify-self: center;
}

.product-feature-copy h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.product-feature-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    max-width: 36rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 16, 28, 0.82);
    backdrop-filter: blur(4px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1100px, 100%);
    height: min(82vh, 100%);
    overflow: hidden;
    border-radius: 16px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: grab;
    touch-action: none;
}

.lightbox-stage.is-dragging {
    cursor: grabbing;
}

.lightbox-image {
    display: block;
    max-width: 94%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    user-select: none;
    pointer-events: none;
    will-change: transform;
}

.lightbox-toolbar {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.lightbox-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.lightbox-btn:hover {
    background: rgba(30, 41, 59, 0.95);
}

.lightbox-caption {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    margin: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #e2e8f0;
    font-size: 0.9rem;
    white-space: nowrap;
}

body.lightbox-open {
    overflow: hidden;
}

.module h3 {
    margin-top: 28px;
}

.module ul {
    color: var(--muted);
}

.cta-band {
    text-align: center;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) auto auto auto;
    gap: 48px;
    justify-content: center;
    align-items: start;
    text-align: left;
}

.footer-grid > div {
    max-width: none;
}

.footer-logo {
    height: 56px;
    margin: 0 0 12px;
}

.footer-bottom {
    margin-top: 32px;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.visitor-count {
    margin-top: 8px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}


.prose p {
    color: var(--muted);
}

.product-shot picture,
.founder-photo picture,
.brand picture,
.footer-grid picture {
    display: block;
}

.product-shot picture img {
    width: 100%;
    height: auto;
    transition: transform 0.25s ease;
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 760px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-elev);
    padding: 4px 18px 4px;
}

.faq-item summary {
    cursor: pointer;
    font-family: Outfit, system-ui, sans-serif;
    font-weight: 600;
    padding: 14px 0;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 0 0 16px;
    color: var(--muted);
}

.faq-cta {
    margin-top: 24px;
    color: var(--muted);
}

.text-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.home-products .card h3 a {
    color: inherit;
    text-decoration: none;
}

.home-products .card h3 a:hover {
    text-decoration: underline;
}

.blog-list {
    display: grid;
    gap: 20px;
    max-width: 760px;
}

.blog-card {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.blog-card:first-child {
    padding-top: 0;
}

.blog-date {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.blog-card h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.blog-card h2 a {
    color: var(--ink);
}

.blog-card-cta {
    font-weight: 600;
}

.blog-body {
    max-width: 720px;
}

.blog-body ul {
    color: var(--muted);
}

.blog-footer-nav {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.local-note {
    color: var(--muted);
    font-size: 0.95rem;
}

.contact-meta strong {
    color: var(--ink);
}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        background: var(--bg-elev);
        border: 1px solid var(--line);
        border-radius: 16px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .about-grid,
    .founder-grid,
    .contact-grid,
    .card-grid,
    .feature-grid,
    .footer-grid,
    .contact-form,
    .product-shots--pair,
    .product-feature,
    .product-feature--flip {
        grid-template-columns: 1fr;
    }

    .product-feature--flip .product-feature-media {
        order: -1;
    }

    .product-feature--flip .product-feature-copy {
        order: 0;
    }

    .product-feature-media {
        max-width: 240px;
    }
}

/* Scroll-triggered reveals (products index + product tours) */
.reveal {
    --reveal-delay: 0ms;
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay);
    will-change: opacity, transform;
}

.reveal-up {
    transform: translate3d(0, 36px, 0);
}

.reveal-left {
    transform: translate3d(-48px, 0, 0);
}

.reveal-right {
    transform: translate3d(48px, 0, 0);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

.cta-band .hero-actions {
    justify-content: center;
}

/* ---- Site polish: footer labels, hero visual, product media, CTA, WhatsApp ---- */
.section {
    padding: 64px 0;
}

.section .eyebrow + h2,
.page-hero .eyebrow + h1 {
    margin-top: 8px;
}

.section h2 + .section-intro {
    margin-top: 0;
}

.text-link {
    color: var(--cyan);
}

.site-footer .footer-label {
    font-family: Outfit, system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 4px 0 14px;
}

.site-footer .footer-grid p {
    margin: 0 0 8px;
}

.site-footer .footer-grid > div:first-child p {
    color: var(--muted);
    max-width: 30ch;
}

.hero-visual {
    margin-top: 48px;
}

.hero-visual img {
    width: 100%;
    max-width: 1120px;
    height: auto;
    margin-inline: auto;
}

.card-media {
    display: block;
    margin: -24px -24px 18px;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.card-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-products .card {
    overflow: hidden;
}

.home-products.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-tile.has-media {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
    padding: 20px;
}

.product-tile-media {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #ffffff;
}

.product-tile-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.product-tile-body {
    padding: 8px 12px 8px 0;
}

.nav-cta {
    background: linear-gradient(120deg, var(--cyan), var(--cyan-deep));
    border-color: transparent;
    color: #ffffff !important;
    font-weight: 600;
}

.nav-cta:hover,
.nav-cta.is-active {
    color: #ffffff !important;
    text-decoration: none;
    filter: brightness(1.05);
}

.form-note {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.legal-updated {
    color: var(--muted);
    font-size: 0.9rem;
}

.legal-body .prose > * {
    max-width: 760px;
}

.legal-body h2 {
    font-size: 1.3rem;
    margin: 32px 0 10px;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body li {
    color: var(--muted);
    margin-bottom: 6px;
}

.whatsapp-fab {
    display: none;
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 50, 90, 0.25);
}

.whatsapp-fab:hover {
    text-decoration: none;
    filter: brightness(1.05);
}

@media (max-width: 860px) {
    .whatsapp-fab {
        display: inline-flex;
    }

    .home-products.card-grid,
    .product-tile.has-media {
        grid-template-columns: 1fr;
    }

    .product-tile-body {
        padding: 4px 8px 8px;
    }

    .hero-visual {
        margin-top: 32px;
    }

    .section {
        padding: 52px 0;
    }
}

/* ---- Product pages (shared layout: dark hero, compare, steps, split, band) ----
   Each product sets its own palette from its app, so the page feels like the product. */
.vault-page {
    --pp-night: #0b1220;
    --pp-panel: #131d31;
    --pp-line: #24324d;
    --pp-accent: #4d8dff;
    --pp-accent-hover: #6aa0ff;
    --pp-accent-ink: #0b1220;
    --pp-accent-deep: #2f6fe6;
    --pp-mist: #a9b6cc;
}

.rojmed-page {
    --pp-night: #14182b;
    --pp-panel: #1c2138;
    --pp-line: #2c3352;
    --pp-accent: #6d5efc;
    --pp-accent-hover: #8b82ff;
    --pp-accent-ink: #ffffff;
    --pp-accent-deep: #5a4be6;
    --pp-mist: #b4b9d6;
}

.pp-hero {
    background:
        radial-gradient(720px 420px at 85% 15%, rgba(77, 141, 255, 0.22), transparent 65%),
        var(--pp-night);
    color: #ffffff;
    padding: 64px 0 0;
    overflow: hidden;
}

.pp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
}

.pp-hero-copy {
    padding-bottom: 72px;
}

.pp-crumb {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--pp-mist);
}

.pp-crumb a {
    color: var(--pp-mist);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pp-hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin: 18px 0 22px;
}

.pp-lede {
    color: var(--pp-mist);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 46ch;
    margin: 0;
}

.pp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.pp-btn-primary {
    background: var(--pp-accent);
    color: var(--pp-accent-ink);
}

.pp-btn-primary:hover {
    background: var(--pp-accent-hover);
    color: var(--pp-accent-ink);
    text-decoration: none;
}

.pp-btn-ghost {
    border-color: var(--pp-line);
    color: #ffffff;
}

.pp-btn-ghost:hover {
    border-color: var(--pp-mist);
    text-decoration: none;
}

.pp-actions .btn:focus-visible,
.pp-crumb a:focus-visible {
    outline: 2px solid var(--pp-accent);
    outline-offset: 3px;
}

.pp-facts {
    list-style: none;
    margin: 40px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--pp-line);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    color: var(--pp-mist);
    font-size: 0.92rem;
    line-height: 1.45;
}

.pp-facts strong {
    display: block;
    color: #ffffff;
    font-family: Outfit, system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 2px;
}

/* Phones */
.pp-phone {
    margin: 0;
    padding: 9px;
    border-radius: 42px;
    background: #05070c;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 30px 60px rgba(4, 8, 18, 0.45);
}

.pp-phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 34px;
}

.pp-hero-media,
.pp-split-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.pp-hero-media .pp-phone {
    width: min(300px, 42vw);
}

.pp-hero-media .is-back {
    width: min(250px, 36vw);
    transform: translate(30%, -40px) rotate(6deg);
    opacity: 0.55;
    position: absolute;
    right: 50%;
    bottom: 0;
}

.pp-hero-media .is-front {
    position: relative;
    transform: translateX(22%);
    margin-bottom: -120px;
}

/* What you see vs what we store */
.pp-compare {
    background: var(--bg-elev);
}

.pp-compare-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
    margin-top: 40px;
}

.pp-compare-lock {
    align-self: center;
}

.pp-page h1,
.pp-page h2 {
    text-wrap: balance;
}

.pp-page h2 {
    line-height: 1.15;
}

.pp-compare-side {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pp-compare-label {
    font-family: Outfit, system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0 0 16px;
}

.pp-compare .pp-phone {
    width: min(270px, 100%);
}

.pp-compare-lock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--pp-accent-deep);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    max-width: 120px;
}

.pp-compare-lock svg {
    width: 56px;
    height: 56px;
    padding: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(15, 50, 90, 0.08);
}

.vault-cipher {
    width: 100%;
    background: var(--pp-night);
    color: #d7e2f5;
    border-radius: 22px;
    padding: 26px 28px 20px;
    box-shadow: 0 24px 50px rgba(11, 18, 32, 0.22);
}

.vault-cipher dl {
    margin: 0;
    display: grid;
    gap: 14px;
}

.vault-cipher dl > div {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pp-line);
}

.vault-cipher dt {
    color: var(--pp-mist);
    font-size: 0.85rem;
}

.vault-cipher dd {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    color: #8fa3c4;
}

.vault-cipher .is-key {
    border-bottom: 0;
    padding-bottom: 0;
}

.vault-cipher .is-key dd {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pp-accent);
}

.vault-cipher-note {
    margin: 18px 0 0;
    font-size: 0.78rem;
    color: #6f7f9b;
}

/* Steps */
.pp-steps {
    list-style: none;
    counter-reset: pp-step;
    margin: 40px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
}

.pp-steps li {
    counter-increment: pp-step;
}

.pp-steps .pp-phone {
    width: min(240px, 100%);
    margin: 0 auto 24px;
}

.pp-steps h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.pp-steps h3::before {
    content: counter(pp-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pp-night);
    color: #ffffff;
    font-size: 0.85rem;
}

.pp-steps p {
    margin: 0;
    color: var(--muted);
}

/* Everyday use */
.pp-split {
    background: var(--bg-elev);
}

.pp-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.pp-feature-list {
    margin: 28px 0 0;
    display: grid;
    gap: 20px;
}

.pp-feature-list dt {
    font-family: Outfit, system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.pp-feature-list dd {
    margin: 4px 0 0;
    color: var(--muted);
}

.pp-split-media {
    min-height: 520px;
    align-items: center;
}

.pp-split-media .pp-phone {
    width: min(250px, 40vw);
}

.pp-split-media .is-back {
    position: absolute;
    left: 8%;
    top: 0;
    transform: rotate(-5deg);
}

.pp-split-media .is-front {
    position: relative;
    transform: translate(28%, 40px);
}

/* Recovery */
.pp-band {
    background: var(--pp-night);
    color: #ffffff;
    padding: 72px 0;
}

.pp-band-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.pp-band h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.pp-band p {
    margin: 0 0 14px;
    color: var(--pp-mist);
    font-size: 1.05rem;
}

@media (max-width: 960px) {
    .pp-hero-grid,
    .pp-split-grid,
    .pp-band-grid {
        grid-template-columns: 1fr;
    }

    .pp-hero-copy {
        padding-bottom: 32px;
    }

    .pp-hero-media {
        min-height: 420px;
    }

    .pp-hero-media .pp-phone {
        width: min(240px, 58vw);
    }

    .pp-compare-grid {
        grid-template-columns: 1fr;
    }

    .pp-compare-lock {
        flex-direction: row;
        max-width: none;
        justify-self: center;
    }

    .pp-compare-lock svg {
        transform: rotate(0);
    }

    .pp-steps {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
        gap: 44px;
    }

    .pp-steps .pp-phone {
        width: min(200px, 60vw);
    }

    .pp-split-media {
        min-height: 460px;
    }

    .pp-split-media .pp-phone {
        width: min(220px, 52vw);
    }
}

@media (max-width: 560px) {
    .pp-facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pp-hero-media .is-back {
        display: none;
    }

    .pp-hero-media .is-front {
        transform: none;
    }

    .pp-split-media .is-back {
        left: 6%;
    }

    .pp-split-media .is-front {
        transform: translate(18%, 30px);
    }
}

/* ---- Rojmed: browser frames, invoice compare, plans ---- */
.pp-browser {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 50, 90, 0.12);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
}

.pp-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    background: #eef1f7;
    border-bottom: 1px solid #dde3ee;
}

.pp-browser-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff5f57;
}

.pp-browser-bar span:nth-child(2) {
    background: #febc2e;
}

.pp-browser-bar span:nth-child(3) {
    background: #28c840;
}

.pp-browser-bar em {
    margin-left: 12px;
    padding: 2px 12px;
    border-radius: 10px;
    background: #ffffff;
    color: #5a6b80;
    font-size: 0.72rem;
    font-style: normal;
}

.pp-browser img {
    display: block;
    width: 100%;
    height: auto;
}

/* Hero: a desktop screen bleeding off the bottom-right edge */
.pp-hero-media.is-browser {
    justify-content: flex-start;
    align-self: end;
}

.pp-hero-media.is-browser .pp-browser {
    flex-shrink: 0;
    width: 760px;
    max-width: none;
    margin-bottom: -90px;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.rojmed-page .pp-hero-copy {
    padding-bottom: 96px;
}

/* Items to invoice */
.pp-compare.is-invoice .pp-compare-grid {
    grid-template-columns: minmax(0, 1.45fr) auto minmax(0, 0.75fr);
    align-items: center;
}

.pp-compare.is-invoice .pp-compare-lock {
    color: var(--pp-accent-deep);
}

.pp-paper {
    margin: 0;
    width: min(380px, 100%);
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
    transform: rotate(1.5deg);
}

.pp-paper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Steps with desktop screens */
.pp-steps.is-wide .pp-browser {
    margin: 0 0 24px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.rojmed-page .pp-steps h3::before {
    background: var(--pp-accent);
}

/* Split sections with two overlapping screens */
.pp-split-grid.is-flip {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.pp-split-grid.is-flip .pp-split-copy {
    order: 2;
}

.pp-split-media.is-browsers {
    display: block;
    min-height: 0;
    padding: 0 0 70px 0;
}

.pp-split-media.is-browsers .pp-browser {
    width: 88%;
}

.pp-split-media.is-browsers .is-back {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    opacity: 1;
}

.pp-split-media.is-browsers .is-front {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: none;
}

/* Pricing on the dark band */
.pp-band-head {
    max-width: 640px;
}

.pp-band-head p {
    margin: 14px 0 0;
}

.pp-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 36px 0 32px;
}

.pp-plan {
    background: var(--pp-panel);
    border: 1px solid var(--pp-line);
    border-radius: 20px;
    padding: 26px 26px 22px;
}

.pp-plan.is-featured {
    border-color: var(--pp-accent);
    box-shadow: 0 0 0 1px var(--pp-accent) inset;
}

.pp-plan h3 {
    margin: 0;
    font-size: 1.15rem;
}

.pp-price {
    margin: 10px 0 16px;
    color: var(--pp-mist);
}

.pp-price strong {
    font-family: Outfit, system-ui, sans-serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin-right: 4px;
}

.pp-plan ul {
    margin: 0;
    padding: 16px 0 0 18px;
    border-top: 1px solid var(--pp-line);
    color: var(--pp-mist);
    font-size: 0.95rem;
}

.pp-plan li + li {
    margin-top: 6px;
}

/* Who it's for */
.pp-who-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.pp-who {
    display: block;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--bg-elev);
    color: inherit;
}

.pp-who:hover,
.pp-who:focus-visible {
    text-decoration: none;
    border-color: var(--pp-accent);
}

.pp-who h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.pp-who p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 960px) {
    .pp-hero-media.is-browser .pp-browser {
        width: min(760px, 125%);
        margin-bottom: -60px;
    }

    .rojmed-page .pp-hero-copy {
        padding-bottom: 32px;
    }

    .pp-compare.is-invoice .pp-compare-grid,
    .pp-split-grid.is-flip,
    .pp-plans {
        grid-template-columns: 1fr;
    }

    .pp-split-grid.is-flip .pp-split-copy {
        order: 0;
    }

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

    .pp-steps.is-wide {
        max-width: 560px;
    }
}

@media (max-width: 560px) {
    .pp-who-grid {
        grid-template-columns: 1fr;
    }

    .pp-split-media.is-browsers .pp-browser {
        width: 92%;
    }
}

/* ---- My Store: navy and blue from the seller admin and storefront ---- */
.mystore-page {
    --pp-night: #0e1733;
    --pp-panel: #16224a;
    --pp-line: #27376a;
    --pp-accent: #3b82f6;
    --pp-accent-hover: #60a5fa;
    --pp-accent-ink: #ffffff;
    --pp-accent-deep: #2563eb;
    --pp-mist: #aebbd9;
}

.mystore-page .pp-hero-copy {
    padding-bottom: 96px;
}

.mystore-page .pp-steps h3::before {
    background: var(--pp-accent-deep);
}

/* Hero: the storefront with the app in front of it */
.pp-hero-media.is-combo {
    position: relative;
}

.pp-hero-media.is-combo .pp-phone {
    position: absolute;
    left: -64px;
    bottom: -36px;
    z-index: 2;
    width: 190px;
    padding: 7px;
    border-radius: 32px;
    transform: none;
    margin: 0;
}

.pp-hero-media.is-combo .pp-phone img {
    border-radius: 26px;
}

.rojmed-page .pp-hero-media.is-combo .pp-phone {
    left: -28px;
}

/* The app, screen by screen */
.pp-tag {
    display: inline-block;
    margin: 0 0 16px !important;
    padding: 5px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pp-accent) 20%, transparent);
    border: 1px solid color-mix(in srgb, var(--pp-accent-hover) 45%, transparent);
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 600;
}

.pp-app-row {
    list-style: none;
    margin: 44px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px clamp(16px, 2.4vw, 32px);
}

.pp-app-row li {
    flex: 0 1 calc((100% - 4 * clamp(16px, 2.4vw, 32px)) / 5);
    text-align: center;
}

.pp-app-row li:nth-child(even) {
    margin-top: 48px;
}

.pp-app-row.is-six li {
    flex-basis: calc((100% - 5 * clamp(16px, 2.4vw, 32px)) / 6);
}

.pp-app-row .pp-phone {
    margin: 0 0 18px;
    padding: 7px;
    border-radius: 30px;
}

.pp-app-row .pp-phone img {
    border-radius: 24px;
}

.pp-app-row h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: #ffffff;
}

.pp-band .pp-app-row p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.mystore-page div.pp-who:hover {
    border-color: var(--line);
}

@media (max-width: 960px) {
    .mystore-page .pp-hero-copy {
        padding-bottom: 32px;
    }

    .pp-hero-media.is-combo {
        min-height: 0;
    }

    .rojmed-page .pp-hero-media.is-combo .pp-phone {
        left: 0;
    }

    .pp-hero-media.is-combo .pp-phone {
        left: 0;
        bottom: -24px;
        width: min(170px, 30vw);
    }

    .pp-hero-media.is-combo .pp-browser {
        margin-left: 12%;
    }

    .pp-app-row li,
    .pp-app-row.is-six li {
        flex-basis: calc((100% - 2 * clamp(16px, 2.4vw, 32px)) / 3);
        max-width: 230px;
    }

    .pp-app-row li:nth-child(even) {
        margin-top: 0;
    }
}

@media (max-width: 560px) {
    .pp-hero-media.is-combo .pp-browser {
        margin-left: 18%;
    }

    .pp-app-row li,
    .pp-app-row.is-six li {
        flex-basis: calc((100% - 16px) / 2);
    }
}

.mystore-page .pp-steps.is-wide .pp-browser img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: left top;
}

/* Wide desktop screens get more of the row */
.mystore-page .pp-split-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.mystore-page .pp-split-grid.is-flip {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

@media (max-width: 960px) {
    .mystore-page .pp-split-grid,
    .mystore-page .pp-split-grid.is-flip {
        grid-template-columns: 1fr;
    }
}


/* Footer: social links (brand colours) */
.site-footer .footer-follow-label {
    margin-top: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social a.is-facebook {
    border-radius: 50%;
    background: #1877f2;
}

.footer-social a.is-instagram {
    border-radius: 14px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.footer-social a:hover,
.footer-social a:focus-visible {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
}

/* ---- Challan - By Rojmed: teal green from the app ---- */
.challan-page {
    --pp-night: #071a19;
    --pp-panel: #0e2b28;
    --pp-line: #1d433f;
    --pp-accent: #14b8a6;
    --pp-accent-hover: #2dd4bf;
    --pp-accent-ink: #04201c;
    --pp-accent-deep: #0f766e;
    --pp-mist: #a8c7c1;
}

.challan-page .pp-hero {
    background:
        radial-gradient(720px 420px at 85% 15%, rgba(20, 184, 166, 0.24), transparent 65%),
        var(--pp-night);
}

.challan-page .pp-steps h3::before {
    background: var(--pp-accent-deep);
}

/* Phone (what you enter) → challan PDF (what your customer gets) */
.challan-page .pp-compare.is-invoice .pp-compare-grid {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.challan-page .pp-compare.is-invoice .pp-compare-side {
    justify-items: center;
}

.challan-page .pp-compare.is-invoice .pp-compare-side .pp-phone {
    width: min(300px, 100%);
    margin: 0 auto;
}

.challan-page .pp-compare.is-invoice .pp-paper {
    margin: 0 auto;
}

@media (max-width: 900px) {
    .challan-page .pp-compare.is-invoice .pp-compare-grid {
        grid-template-columns: 1fr;
    }
}

/* Home: four products — 4 across on wide screens, 2 × 2 in between (one column below 860px, above). */
@media (min-width: 1100px) {
    .home-products.card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 861px) and (max-width: 1099px) {
    .home-products.card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.challan-pro .pp-feature-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px 32px;
}
