/* =====================================================
   Pulsar67 - Marketing Site Styles (Light Theme)
   Brand:   #5a52b8 with purple and green support accents
   ===================================================== */

:root {
    --p67-primary: #5a52b8;
    --p67-primary-2: #6d5dfc;
    --p67-primary-dark: #393181;
    --p67-primary-soft: rgba(90, 82, 184, 0.08);
    --p67-primary-glow: rgba(90, 82, 184, 0.2);
    --p67-accent: #159a68;
    --p67-accent-soft: rgba(21, 154, 104, 0.1);

    --p67-bg: #fcfcfd;
    --p67-bg-2: #f4f6f8;
    --p67-bg-3: #e9eef2;
    --p67-surface: #ffffff;
    --p67-surface-2: #f7f9fc;
    --p67-border: rgba(28, 39, 63, 0.12);
    --p67-border-strong: rgba(28, 39, 63, 0.24);

    --p67-text: #172033;
    --p67-text-muted: #586174;
    --p67-text-dim: #8a94a6;
    --p67-text-soft: var(--p67-text-muted);
    --p67-muted: var(--p67-text-muted);
    --p67-heading-font: 'Space Grotesk', 'Inter', sans-serif;

    --p67-radius: 8px;
    --p67-radius-lg: 12px;
    --p67-shadow-soft: 0 8px 32px rgba(26, 22, 64, 0.08);
    --p67-shadow-glow: 0 12px 40px rgba(104, 90, 204, 0.22);

    --p67-portal: #0f0d22;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--p67-bg);
    color: var(--p67-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--p67-text);
}

a { color: var(--p67-primary-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--p67-primary-dark); }

::selection {
    background: rgba(21, 154, 104, 0.24);
    color: var(--p67-text);
}
::-moz-selection {
    background: rgba(21, 154, 104, 0.24);
    color: var(--p67-text);
}
input,
textarea,
select {
    caret-color: var(--p67-primary-dark);
}

/* ---------- Buttons ---------- */
.p67-btn-primary {
    background: var(--p67-primary);
    color: #fff;
    border: 1px solid var(--p67-primary);
    padding: .75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.p67-btn-primary:hover {
    color: #fff;
    background: var(--p67-primary-dark);
    border-color: var(--p67-primary-dark);
}
.p67-btn-primary:active { background: var(--p67-primary-dark); }

.p67-btn-ghost {
    background: transparent;
    color: var(--p67-text);
    border: 1px solid var(--p67-border-strong);
    padding: .75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all .2s ease;
}
.p67-btn-ghost:hover {
    color: var(--p67-primary-dark);
    background: var(--p67-primary-soft);
    border-color: var(--p67-primary);
}

/* ---------- Navbar ---------- */
.p67-navbar {
    background: rgba(244, 246, 248, 0.94);
    padding: .475rem 0;
    transition: background .25s ease, padding .25s ease, backdrop-filter .25s ease, border-color .25s ease, box-shadow .25s ease;
    border-bottom: 1px solid var(--p67-border);
}
.p67-navbar > .container {
    position: relative;
}
.p67-navbar.p67-navbar-scrolled {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--p67-border);
    padding: .285rem 0;
}
.p67-navbar.p67-navbar-dashboard {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--p67-border);
    padding: .285rem 0;
}
.p67-brand img {
    display: block;
    height: 64px;
    transition: height .25s ease;
    max-height: 64px;
    width: auto;
}
.p67-navbar.p67-navbar-scrolled .p67-brand img,
.p67-navbar.p67-navbar-dashboard .p67-brand img {
    height: 53px;
}
.p67-navbar .nav-link {
    color: var(--p67-text-muted);
    font-weight: 500;
    padding: .5rem .85rem !important;
    border-radius: 999px;
    transition: background .16s ease, color .16s ease;
}
.p67-navbar .nav-link:hover,
.p67-navbar .nav-link.active {
    background: rgba(90, 82, 184, 0.08);
    color: var(--p67-text);
}
.p67-nav-collapse {
    min-width: 0;
}
.p67-nav-links {
    margin-left: 0;
    margin-right: 0;
}
.p67-account-nav {
    margin-left: auto;
}
.p67-nav-profile {
    align-items: center;
    display: flex;
    margin-right: -.35rem;
}
.p67-profile-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    padding: 3px;
    transition: background .15s ease, opacity .15s ease;
    width: 42px;
}
.p67-profile-toggle:hover,
.p67-profile-toggle:focus {
    background: transparent;
    box-shadow: none;
    opacity: .8;
}
.p67-profile-toggle.dropdown-toggle::after {
    display: none;
}
.p67-profile-avatar {
    background: #eef2ff;
    border: 0;
    border-radius: 999px;
    color: var(--p67-text-dim);
    display: block;
    height: 34px;
    object-fit: cover;
    width: 34px;
}
.p67-profile-avatar-blank {
    align-items: center;
    background: #ffffff;
    color: #0b0f18;
    display: inline-flex;
    justify-content: center;
}
.p67-profile-avatar-blank i {
    font-size: 1.85rem;
    line-height: 1;
}
.p67-toggler {
    border: 1px solid var(--p67-border-strong);
    color: var(--p67-text);
    padding: .45rem .7rem;
    border-radius: 8px;
}
.p67-toggler:focus { box-shadow: 0 0 0 3px var(--p67-primary-soft); }

@media (min-width: 992px) {
    .p67-nav-collapse {
        justify-content: flex-end;
        position: static;
    }

    .p67-nav-links {
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
    }

    .p67-account-nav {
        position: relative;
        z-index: 3;
    }
}

/* ---------- Hero ---------- */
.p67-hero {
    position: relative;
    min-height: 50vh;
    padding: 7rem 0 3.5rem;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, var(--p67-bg) 48%, #eef3f6 100%);
}
.p67-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(28, 39, 63, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 39, 63, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .55;
    pointer-events: none;
    z-index: 0;
}
.p67-hero-row { min-height: calc(50vh - 7rem); }

.p67-hero-glow {
    display: none;
}

.p67-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: var(--p67-primary-soft);
    border: 1px solid var(--p67-border);
    color: var(--p67-primary-dark);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: .9rem;
}
.p67-eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--p67-primary);
    box-shadow: 0 0 8px var(--p67-primary);
    animation: p67-dot-pulse 2s ease-in-out infinite;
}

.p67-hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1rem;
}
.p67-gradient-text {
    background: linear-gradient(120deg, var(--p67-primary) 0%, var(--p67-primary-dark) 50%, var(--p67-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: p67-gradient-shift 6s ease-in-out infinite;
}
.p67-hero-sub {
    font-size: 1.1rem;
    color: var(--p67-text-muted);
    max-width: 540px;
    margin-bottom: 1.5rem;
}
.p67-hero-cta {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.p67-hero-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.p67-hero-stats > div:not(.p67-hero-stats-divider) {
    display: flex;
    flex-direction: column;
}
.p67-hero-stats strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    color: var(--p67-text);
    line-height: 1;
}
.p67-hero-stats span {
    font-size: .82rem;
    color: var(--p67-text-muted);
    margin-top: .25rem;
}
.p67-hero-stats-divider {
    width: 1px;
    height: 32px;
    background: var(--p67-border-strong);
}

.p67-hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.p67-hero-scroll a {
    width: 26px; height: 42px;
    border: 2px solid var(--p67-border-strong);
    border-radius: 8px;
    display: flex; justify-content: center;
    padding-top: 8px;
}
.p67-hero-scroll span {
    width: 3px; height: 8px;
    background: var(--p67-primary);
    border-radius: 2px;
    animation: p67-scroll-dot 2s ease-in-out infinite;
}

/* ---------- Sections ---------- */
.p67-section {
    padding: 4rem 0;
    position: relative;
}
.p67-section-alt {
    background: var(--p67-bg-2);
    border-top: 1px solid var(--p67-border);
    border-bottom: 1px solid var(--p67-border);
}
.p67-section-head {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}
.p67-section-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin: .6rem 0 .75rem;
    line-height: 1.2;
}
.p67-section-sub {
    font-size: 1.05rem;
    color: var(--p67-text-muted);
    line-height: 1.6;
}

/* ---------- Page hero (smaller hero for sub-pages) ---------- */
.p67-page-hero {
    position: relative;
    padding: 7rem 0 2.75rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--p67-bg) 64%, #f2f6fa 100%);
    border-bottom: 1px solid var(--p67-border);
    overflow: hidden;
    text-align: center;
}
.p67-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(28, 39, 63, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 39, 63, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .5;
    pointer-events: none;
    z-index: 0;
}
.p67-page-hero > .container { position: relative; z-index: 1; }
.p67-page-hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: .5rem 0 .75rem;
    text-wrap: balance;
}
.p67-page-hero p {
    font-size: 1.05rem;
    color: var(--p67-text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- Cards (features) ---------- */
.p67-feature {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: 0 1px 2px rgba(28, 39, 63, 0.04);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
    position: relative;
}
.p67-feature:hover {
    border-color: var(--p67-primary);
    background: var(--p67-surface-2);
    box-shadow: 0 14px 32px rgba(28, 39, 63, 0.08);
    transform: translateY(-2px);
}
.p67-feature-icon {
    width: 48px; height: 48px;
    border-radius: 8px;
    background: var(--p67-primary-soft);
    color: var(--p67-primary-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}
.p67-feature h3 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}
.p67-feature p {
    color: var(--p67-text-muted);
    margin: 0;
    font-size: .95rem;
}

/* Feature card with clickable title that expands to whole card surface.
   Keeps the anchor text short (just the h3) while preserving "click anywhere" UX. */
.p67-feature-link { position: relative; }
.p67-feature-link h3 a {
    color: inherit;
    text-decoration: none;
}
.p67-feature-link h3 a:hover { color: var(--p67-primary-dark); }
.p67-card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.p67-feature-link p { position: relative; z-index: 0; }

/* ---------- Feature row (flat, non-card list style) ---------- */
.p67-feature-row {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    padding: 1rem 0;
}
.p67-feature-row-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--p67-primary-soft);
    color: var(--p67-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.p67-feature-row-body { min-width: 0; }
.p67-feature-row-body h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 .35rem;
    color: var(--p67-text);
    line-height: 1.3;
}
.p67-feature-row-body p {
    color: var(--p67-text-muted);
    font-size: .95rem;
    margin: 0;
    line-height: 1.6;
}

/* ---------- Features page ---------- */
.p67-features-hero .container {
    max-width: 980px;
}
.p67-feature-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.p67-feature-hero-link {
    display: grid;
    gap: .35rem;
    padding: 1rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    background: rgba(255, 255, 255, .82);
    color: var(--p67-text);
    text-align: left;
}
.p67-feature-hero-link span,
.p67-plan-fit-label {
    color: var(--p67-primary-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.p67-feature-hero-link strong {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.02rem;
    line-height: 1.25;
}
.p67-feature-guide,
.p67-command-panel,
.p67-ops-card,
.p67-plan-fit-card {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
}
.p67-feature-guide {
    position: sticky;
    top: 6rem;
    padding: 1.5rem;
}
.p67-feature-guide h2,
.p67-command-panel h3,
.p67-ops-card h3,
.p67-plan-fit-card h3 {
    font-size: 1.25rem;
    margin: .6rem 0 .75rem;
}
.p67-feature-guide p,
.p67-command-panel p,
.p67-ops-card p,
.p67-plan-fit-card p {
    color: var(--p67-text-muted);
    margin-bottom: 0;
}
.p67-check-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    display: grid;
    gap: .7rem;
}
.p67-check-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: var(--p67-text);
    line-height: 1.45;
}
.p67-check-list i {
    color: var(--p67-primary-2);
    margin-top: .2rem;
}
.p67-workload-list {
    display: grid;
    gap: 1rem;
}
.p67-workload-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    background: var(--p67-surface);
}
.p67-workload-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--p67-radius);
    background: rgba(53, 111, 209, 0.1);
    color: var(--p67-primary-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.p67-workload-row h3 {
    font-size: 1.17rem;
    margin-bottom: .4rem;
}
.p67-workload-row p {
    color: var(--p67-text-muted);
    margin-bottom: .85rem;
}
.p67-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.p67-feature-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .28rem .65rem;
    border: 1px solid var(--p67-border);
    border-radius: 999px;
    background: var(--p67-surface-2);
    color: var(--p67-text-muted);
    font-size: .8rem;
    font-weight: 700;
}
.p67-feature-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    background: var(--p67-surface);
}
.p67-feature-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}
.p67-feature-table th,
.p67-feature-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--p67-border);
    text-align: left;
    vertical-align: top;
}
.p67-feature-table th {
    color: var(--p67-text);
    background: var(--p67-bg-2);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.p67-feature-table td {
    color: var(--p67-text-muted);
    font-size: .94rem;
}
.p67-feature-table td strong {
    color: var(--p67-text);
}
.p67-feature-table tr:last-child td {
    border-bottom: 0;
}
.p67-command-panel {
    padding: 1.25rem;
    margin-top: 1.5rem;
}
.p67-command-list {
    display: grid;
    gap: .65rem;
    margin: 1rem 0;
}
.p67-command-list code {
    display: block;
    padding: .75rem .85rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    background: var(--p67-portal);
    color: #eef2ff;
    overflow-wrap: anywhere;
}
.p67-launch-steps {
    display: grid;
    gap: 1rem;
}
.p67-launch-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--p67-border);
}
.p67-launch-step:first-child {
    padding-top: 0;
}
.p67-launch-step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.p67-launch-step > span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--p67-primary-soft);
    color: var(--p67-primary-dark);
    font-weight: 800;
}
.p67-launch-step h3 {
    font-size: 1.12rem;
    margin-bottom: .35rem;
}
.p67-launch-step p {
    margin-bottom: 0;
    color: var(--p67-text-muted);
}
.p67-plan-fit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.p67-plan-fit-card {
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
}
.p67-plan-fit-card-primary {
    border-color: rgba(90, 82, 184, .38);
    box-shadow: 0 10px 30px rgba(90, 82, 184, .08);
}
.p67-plan-fit-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .45rem;
}
.p67-plan-fit-card li {
    color: var(--p67-text-muted);
    font-size: .9rem;
    padding-top: .45rem;
    border-top: 1px solid var(--p67-border);
}
.p67-feature-action-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}
.p67-feature-action-row p {
    margin: 0;
    color: var(--p67-text-muted);
}
.p67-ops-card {
    height: 100%;
    padding: 1.5rem;
}
.p67-ops-card .p67-link-arrow {
    display: inline-flex;
    margin-top: 1rem;
    align-items: center;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .p67-feature-guide {
        position: static;
    }
    .p67-plan-fit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767.98px) {
    .p67-feature-hero-grid,
    .p67-plan-fit-grid {
        grid-template-columns: 1fr;
    }
    .p67-workload-row {
        grid-template-columns: 1fr;
    }
    .p67-feature-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
    }
    .p67-feature-table,
    .p67-feature-table tbody,
    .p67-feature-table tr,
    .p67-feature-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }
    .p67-feature-table thead {
        display: none;
    }
    .p67-feature-table tr {
        padding: 1rem;
        margin-bottom: 1rem;
        border: 1px solid var(--p67-border);
        border-radius: var(--p67-radius-lg);
        background: var(--p67-surface);
    }
    .p67-feature-table tr:last-child {
        margin-bottom: 0;
    }
    .p67-feature-table td {
        border-bottom: 0;
        padding: .45rem 0;
    }
    .p67-feature-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: .18rem;
        color: var(--p67-primary-dark);
        font-size: .68rem;
        font-weight: 800;
        letter-spacing: .04em;
        text-transform: uppercase;
    }
    .p67-feature-table td:first-child {
        padding-top: 0;
    }
    .p67-feature-table td:first-child::before {
        display: none;
    }
    .p67-feature-table td:first-child strong {
        display: block;
        font-size: 1.05rem;
    }
}

/* ---------- Proof blocks ---------- */
.p67-proof-panel,
.p67-proof-card {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    height: 100%;
}
.p67-proof-panel {
    padding: 1.75rem;
    box-shadow: 0 10px 28px rgba(28, 39, 63, 0.06);
}
.p67-proof-panel-top {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--p67-accent);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.p67-proof-panel h3,
.p67-proof-card h3 {
    font-size: 1.15rem;
    margin-bottom: .75rem;
}
.p67-proof-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.p67-proof-toolbar h3 {
    margin-bottom: .25rem;
}
.p67-proof-kicker {
    font-size: .9rem;
}
.p67-proof-panel p,
.p67-proof-card p {
    color: var(--p67-text-muted);
    margin-bottom: 0;
}
.p67-proof-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    gap: .7rem;
}
.p67-proof-list li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: var(--p67-text-muted);
}
.p67-proof-list i {
    color: var(--p67-accent);
    margin-top: .2rem;
}
.p67-proof-commands {
    display: grid;
    gap: .65rem;
    margin: 1.25rem 0;
}
.p67-proof-command {
    display: grid;
    grid-template-columns: minmax(110px, .7fr) minmax(0, 1fr);
    gap: .9rem;
    align-items: center;
    padding: .75rem .85rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    background: var(--p67-surface-2);
}
.p67-proof-command span {
    color: var(--p67-text-muted);
    font-size: .82rem;
    font-weight: 700;
}
.p67-proof-command code {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--p67-text);
    background: transparent;
    padding: 0;
    font-size: .84rem;
}
.p67-location-field {
    display: grid;
    gap: .3rem;
    min-width: min(100%, 300px);
}
.p67-location-field span {
    color: var(--p67-text-muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.p67-location-field select {
    width: 100%;
    border: 1px solid var(--p67-border-strong);
    border-radius: var(--p67-radius);
    background: var(--p67-surface);
    color: var(--p67-text);
    padding: .58rem 2.25rem .58rem .8rem;
    font-weight: 700;
    line-height: 1.2;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--p67-text-muted) 50%),
        linear-gradient(135deg, var(--p67-text-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 16px) 50%,
        calc(100% - 11px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
.p67-location-field select:focus {
    outline: 0;
    border-color: var(--p67-primary);
    box-shadow: 0 0 0 3px var(--p67-primary-soft);
}
.p67-proof-table-wrap {
    overflow-x: auto;
}
.p67-proof-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}
.p67-proof-table th,
.p67-proof-table td {
    padding: .85rem .9rem;
    border-bottom: 1px solid var(--p67-border);
    text-align: left;
    font-size: .94rem;
}
.p67-proof-table th {
    color: var(--p67-text);
    background: var(--p67-bg-2);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.p67-proof-table tr:last-child td { border-bottom: 0; }
.p67-proof-note {
    font-size: .88rem;
    margin-top: 1rem;
}
.p67-use-proof {
    background: var(--p67-bg-2);
    border-top: 1px solid var(--p67-border);
}
.p67-proof-card {
    padding: 1.4rem;
}
.p67-proof-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--p67-accent-soft);
    color: var(--p67-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ---------- Homepage pricing handoff ---------- */
.p67-pricing-handoff {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 2rem;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.p67-pricing-copy .p67-section-title {
    margin-top: .35rem;
}
.p67-pricing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.35rem;
}
.p67-pricing-actions span {
    color: var(--p67-text-muted);
    font-weight: 700;
}
.p67-pricing-summary {
    display: grid;
    gap: .75rem;
}
.p67-pricing-summary div {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .55rem 0;
    border: 0;
    border-bottom: 1px solid var(--p67-border);
    border-radius: 0;
    background: transparent;
    color: var(--p67-text);
    font-weight: 600;
}
.p67-pricing-summary div:last-child { border-bottom: 0; }
.p67-pricing-summary i {
    color: var(--p67-primary);
    width: 18px;
    text-align: center;
}

/* ---------- Plans ---------- */
.p67-plan {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .2s ease;
}
.p67-plan:hover {
    border-color: var(--p67-primary);
}
.p67-plan-featured {
    background: var(--p67-surface);
    border-color: var(--p67-primary);
    border-width: 2px;
}
.p67-plan-featured:hover { border-color: var(--p67-primary-dark); }
.p67-plan-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--p67-primary);
    color: #fff;
    padding: .25rem 1rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.p67-plan-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--p67-text);
}
.p67-plan-tagline {
    color: var(--p67-text-muted);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}
.p67-plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
}
.p67-plan-currency {
    color: var(--p67-text-muted);
    font-size: 1.25rem;
    margin-right: .15rem;
}
.p67-plan-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--p67-text);
    line-height: 1;
}
.p67-plan-period {
    color: var(--p67-text-muted);
    margin-left: .35rem;
    font-size: 1rem;
}
.p67-plan-billed {
    display: block;
    margin-top: .35rem;
    font-size: .82rem;
    color: var(--p67-text-dim);
}
.p67-plan-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex-grow: 1;
}
.p67-plan-specs li {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--p67-text);
    padding: .55rem 0;
    border-bottom: 1px solid var(--p67-border);
    font-size: .95rem;
}
.p67-plan-specs li:last-child { border-bottom: 0; }
.p67-plan-specs li i {
    color: var(--p67-primary);
    width: 18px;
    text-align: center;
}

.p67-buying-confidence {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.p67-confidence-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
}
.p67-confidence-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: var(--p67-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--p67-primary-soft);
    color: var(--p67-primary-dark);
}
.p67-confidence-card h3 {
    font-size: 1rem;
    margin: 0 0 .35rem;
}
.p67-confidence-card p {
    color: var(--p67-text-muted);
    font-size: .92rem;
    margin: 0;
}
.p67-os-card {
    display: block;
}
.p67-os-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: .9rem;
}
.p67-os-logos img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: saturate(.95);
}
.p67-link-arrow {
    color: var(--p67-primary-2);
    font-weight: 600;
}
.p67-link-arrow:hover { color: var(--p67-primary-dark); }

/* ---------- Locations ---------- */
.p67-locations-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.p67-locations-section > .container {
    position: relative;
    z-index: 1;
}
.p67-world-map-bg {
    --p67-map-opacity: .17;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    background: url("/static/website/img/world-map.53b520011d2d.svg") center 48% / min(1320px, 126vw) auto no-repeat;
    filter: grayscale(1);
    transform: translateY(10px) scale(.985);
    animation: p67WorldMapFadeIn .9s ease-out .12s forwards;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 88%, transparent 100%);
}
@keyframes p67WorldMapFadeIn {
    to {
        opacity: var(--p67-map-opacity);
        transform: translateY(0) scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .p67-world-map-bg {
        opacity: var(--p67-map-opacity);
        transform: none;
        animation: none;
    }
}
.p67-world-map-land {
    fill: currentColor;
    opacity: .044;
}
.p67-world-map-land path {
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.p67-world-map-grid path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    opacity: .024;
}
.p67-world-map-routes path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 7 12;
    opacity: .1;
}
.p67-world-map-points {
    fill: currentColor;
    opacity: .16;
}
.p67-location {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: border-color .2s ease, background .2s ease;
}
.p67-location:hover {
    border-color: var(--p67-primary);
    background: var(--p67-surface-2);
}
.p67-location-flag {
    font-size: 2.4rem;
    margin-bottom: .5rem;
    line-height: 1;
}
.p67-location-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--p67-text);
}
.p67-location-meta {
    font-size: .85rem;
    color: var(--p67-text-muted);
    margin-top: .2rem;
}
.p67-location-coming { opacity: .65; }
.p67-location-coming .p67-location-meta { color: var(--p67-primary); }
.p67-locations-section .p67-location,
.p67-locations-section .p67-plan {
    background-color: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
}

.p67-devops-tools {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    background:
        linear-gradient(180deg, rgba(90, 82, 184, 0.04) 0%, rgba(90, 82, 184, 0) 100%),
        var(--p67-surface);
}
.p67-locations-section .p67-devops-tools {
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    padding: 2.5rem 0 0;
}
.p67-devops-copy {
    max-width: 760px;
    margin: 0 auto 1.75rem;
    text-align: center;
}
.p67-devops-copy h3 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin: .5rem 0 .65rem;
}
.p67-devops-copy p {
    color: var(--p67-text-muted);
    margin: 0;
}
.p67-devops-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.p67-tool-card {
    display: grid;
    align-content: center;
    gap: .85rem;
    justify-items: center;
    text-align: center;
    min-height: 152px;
    padding: 1.35rem 1rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    background: var(--p67-surface-2);
}
.p67-locations-section .p67-tool-card {
    background: rgba(255, 255, 255, .76);
    backdrop-filter: blur(7px);
}
.p67-tool-logo {
    display: block;
    width: min(180px, 82%);
    height: 54px;
    object-fit: contain;
    object-position: center;
}
.p67-tool-logo-kubernetes {
    height: 64px;
}
.p67-tool-card span {
    color: var(--p67-text-muted);
    font-size: .92rem;
    line-height: 1.45;
}

/* ---------- About / Stats ---------- */
.p67-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.p67-checklist li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem 0;
    color: var(--p67-text);
}
.p67-checklist i {
    color: var(--p67-primary);
    font-size: 1.1rem;
}
.p67-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.p67-stat-card {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
}
.p67-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(120deg, var(--p67-primary-dark) 0%, var(--p67-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: .5rem;
}
.p67-stat-label {
    font-size: .9rem;
    color: var(--p67-text-muted);
}

/* ---------- Section head left-align variant ---------- */
.p67-section-head-left { text-align: left; }
.p67-section-head-left .p67-section-title { text-align: left; }

/* ---------- CTA section ---------- */
.p67-cta-section {
    padding: 4rem 0;
    background: var(--p67-bg);
}
.p67-cta-card {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border-strong);
    border-radius: var(--p67-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.p67-cta-glow {
    display: none;
}
.p67-cta-card h2 {
    position: relative;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    margin-bottom: .75rem;
}
.p67-cta-card p {
    position: relative;
    font-size: 1.05rem;
    color: var(--p67-text-muted);
    max-width: 560px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.p67-cta-buttons {
    position: relative;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Billing toggle ---------- */
.p67-billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .35rem;
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: 999px;
    margin-top: 1.5rem;
}
.p67-billing-toggle button {
    border: 0;
    background: transparent;
    color: var(--p67-text-muted);
    padding: .55rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.p67-billing-toggle button.active {
    background: var(--p67-primary);
    color: #fff;
}
.p67-savings-badge {
    background: rgba(46, 204, 113, 0.15);
    color: #1f8a4d;
    font-size: .7rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 999px;
    letter-spacing: .03em;
}
.p67-billing-toggle button.active .p67-savings-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ---------- Comparison table ---------- */
.p67-compare-wrap {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    overflow: hidden;
    overflow-x: auto;
}
.p67-compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.p67-compare th,
.p67-compare td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--p67-border);
    font-size: .95rem;
}
.p67-compare th:first-child,
.p67-compare td:first-child {
    text-align: left;
    color: var(--p67-text-muted);
    font-weight: 500;
}
.p67-compare thead th {
    background: var(--p67-bg-2);
    color: var(--p67-text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 1.25rem 1.25rem;
    border-bottom: 1px solid var(--p67-border-strong);
}
.p67-compare thead th.p67-compare-featured {
    background: linear-gradient(180deg, #f3f0fd 0%, var(--p67-surface) 100%);
    color: var(--p67-primary-dark);
    position: relative;
}
.p67-compare tbody td { color: var(--p67-text); }
.p67-compare tbody tr:last-child td { border-bottom: 0; }
.p67-compare tbody tr:hover td { background: var(--p67-bg-2); }
.p67-compare .p67-compare-check { color: var(--p67-primary); font-size: 1.1rem; }
.p67-compare .p67-compare-x { color: var(--p67-text-dim); font-size: 1.1rem; }

/* ---------- FAQ accordion ---------- */
.p67-faq .accordion-item {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius) !important;
    margin-bottom: .75rem;
    overflow: hidden;
}
.p67-faq .accordion-button {
    background: var(--p67-surface);
    color: var(--p67-text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}
.p67-faq .accordion-button:not(.collapsed) {
    background: var(--p67-bg-2);
    color: var(--p67-primary-dark);
}
.p67-faq .accordion-button:focus {
    box-shadow: 0 0 0 3px var(--p67-primary-soft);
    border-color: transparent;
}
.p67-faq .accordion-body {
    color: var(--p67-text-muted);
    padding: 0 1.5rem 1.5rem;
    font-size: .98rem;
    line-height: 1.65;
}
.p67-faq .accordion-button::after {
    filter: hue-rotate(220deg) saturate(2);
}
.p67-faq-handoff {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.p67-faq-handoff .p67-section-title {
    margin-top: .35rem;
}
.p67-faq-handoff .p67-section-sub {
    margin-bottom: 0;
}
.p67-faq-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}

/* ---------- Footer ---------- */
.p67-footer {
    background: var(--p67-bg-2);
    border-top: 1px solid var(--p67-border);
    padding: 3rem 0 1.25rem;
    color: var(--p67-text-muted);
}
.p67-footer-top {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--p67-border);
}
.p67-footer-brand img { display: block; margin-bottom: 1rem; }
.p67-footer-tagline {
    max-width: 320px;
    font-size: .95rem;
    margin-bottom: 1.5rem;
}
.p67-footer-title {
    color: var(--p67-text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: .02em;
}
.p67-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.p67-footer-list li { margin-bottom: .65rem; }
.p67-footer-list a {
    color: var(--p67-text-muted);
    font-size: .92rem;
}
.p67-footer-list a:hover { color: var(--p67-primary-dark); }

.p67-social {
    display: flex;
    gap: .75rem;
}
.p67-social a {
    width: 38px; height: 38px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    color: var(--p67-text-muted);
    font-size: 1rem;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.p67-social a:hover {
    color: #fff;
    background: var(--p67-primary);
    border-color: var(--p67-primary);
}
.p67-google-reviews {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1rem;
    color: var(--p67-text);
    font-size: .9rem;
    font-weight: 600;
}
.p67-google-reviews:hover {
    color: var(--p67-primary-dark);
}
.p67-review-stars {
    display: inline-flex;
    gap: .16rem;
    color: #f2b01e;
    font-size: .9rem;
    line-height: 1;
}

.p67-footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .88rem;
}
.p67-footer-bottom a {
    color: var(--p67-text-muted);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.p67-footer-bottom a:hover { color: var(--p67-primary-dark); }
.p67-status-dot {
    width: 8px; height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 8px #2ecc71;
    animation: p67-dot-pulse 2s ease-in-out infinite;
}
/* FAQ accordion */
.p67-accordion .accordion-item {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    margin-bottom: .75rem;
    overflow: hidden;
}
.p67-accordion .accordion-button {
    background: var(--p67-surface);
    color: var(--p67-text);
    font-weight: 600;
    padding: 1.05rem 1.25rem;
    border: none;
    box-shadow: none;
}
.p67-accordion .accordion-button:not(.collapsed) {
    background: var(--p67-primary-soft);
    color: var(--p67-primary);
    box-shadow: none;
}
.p67-accordion .accordion-button:focus {
    box-shadow: 0 0 0 .15rem var(--p67-primary-glow);
    border-color: transparent;
}
.p67-accordion .accordion-body {
    padding: 0 1.25rem 1.15rem;
    color: var(--p67-text-muted);
    line-height: 1.65;
}
.p67-accordion .accordion-body a { color: var(--p67-primary); }

/* Company dropdown in nav */
.p67-dropdown {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    box-shadow: 0 18px 42px rgba(28, 39, 63, 0.12);
    padding: .4rem;
    margin-top: .5rem;
    min-width: 11rem;
}
.p67-dropdown .dropdown-item {
    color: var(--p67-text);
    border-radius: 6px;
    padding: .55rem .8rem;
    font-size: .92rem;
    font-weight: 650;
    transition: background .12s, color .12s;
}
.p67-dropdown .dropdown-item:hover,
.p67-dropdown .dropdown-item:focus {
    background: var(--p67-primary-soft);
    color: var(--p67-primary);
}
.p67-dropdown .dropdown-item.active {
    background: var(--p67-primary);
    color: #fff;
}
.p67-profile-dropdown {
    min-width: 15rem;
}
.p67-profile-link {
    align-items: center;
    display: flex;
    gap: .65rem;
    font-weight: 650;
}
.p67-profile-link i {
    color: var(--p67-text-muted);
    text-align: center;
    width: 1rem;
}
.p67-profile-link:hover i,
.p67-profile-link:focus i {
    color: var(--p67-primary);
}
.p67-profile-signout {
    background: transparent;
    border: 0;
    text-align: left;
    width: 100%;
}
.p67-profile-divider {
    border-color: var(--p67-border);
    margin: .35rem .25rem;
}
.p67-navbar .nav-item.dropdown .dropdown-toggle::after {
    margin-left: .4rem;
    vertical-align: .12em;
    opacity: .7;
}

.p67-footer-payments {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    font-size: 1.5rem;
    color: var(--p67-text-muted);
}
.p67-footer-payments i { opacity: .7; transition: opacity .15s, color .15s; }
.p67-footer-payments i:hover { opacity: 1; color: var(--p67-primary-dark); }
.p67-footer-legal {
    display: block;
    margin-top: .25rem;
    color: var(--p67-text-muted);
    font-size: .78rem;
}

/* ---------- Legal pages ---------- */
.p67-legal {
    padding: 2rem 0 5rem;
}
.p67-legal-meta {
    color: var(--p67-text-muted);
    font-size: .9rem;
    margin: 0 0 2.5rem;
    padding: .65rem 1rem;
    background: var(--p67-primary-soft);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.p67-legal-meta i { color: var(--p67-primary); }
.p67-legal-toc {
    position: sticky;
    top: 6rem;
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    padding: 1.5rem;
}
.p67-legal-toc h6 {
    color: var(--p67-text-muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}
.p67-legal-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: legal-toc;
}
.p67-legal-toc li {
    counter-increment: legal-toc;
    margin-bottom: .55rem;
}
.p67-legal-toc a {
    color: var(--p67-text-muted);
    font-size: .92rem;
    display: flex;
    gap: .55rem;
    text-decoration: none;
    line-height: 1.45;
}
.p67-legal-toc a::before {
    content: counter(legal-toc) ".";
    color: var(--p67-primary);
    font-weight: 700;
    flex-shrink: 0;
}
.p67-legal-toc a:hover {
    color: var(--p67-primary-dark);
}
.p67-legal-content h2 {
    font-size: 1.5rem;
    margin: 2.75rem 0 1rem;
    scroll-margin-top: 6rem;
    color: var(--p67-text);
}
.p67-legal-content h2:first-child { margin-top: 0; }
.p67-legal-content h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 .75rem;
    color: var(--p67-text);
    font-family: 'Space Grotesk', sans-serif;
}
.p67-legal-content p,
.p67-legal-content ul,
.p67-legal-content ol {
    color: var(--p67-text);
    line-height: 1.75;
    margin-bottom: 1rem;
}
.p67-legal-content ul,
.p67-legal-content ol {
    padding-left: 1.5rem;
}
.p67-legal-content li {
    margin-bottom: .45rem;
}
.p67-legal-content strong { color: var(--p67-text); font-weight: 600; }
.p67-legal-content a { color: var(--p67-primary-2); }
.p67-legal-content a:hover { color: var(--p67-primary-dark); }
.p67-legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    overflow: hidden;
}
.p67-legal-content table th,
.p67-legal-content table td {
    padding: .8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--p67-border);
    font-size: .94rem;
}
.p67-legal-content table th {
    background: var(--p67-bg-2);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--p67-text);
}
.p67-legal-content table tr:last-child td { border-bottom: 0; }
.p67-legal-contact {
    margin-top: 3rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, var(--p67-surface) 0%, var(--p67-bg-2) 100%);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
}
.p67-legal-contact strong {
    font-family: 'Space Grotesk', sans-serif;
    display: block;
    margin-bottom: .25rem;
}
@media (max-width: 991.98px) {
    .p67-legal-toc { position: static; margin-bottom: 2rem; }
    .p67-legal-content h2 { scroll-margin-top: 5rem; }
}

/* ---------- Animations ---------- */
@keyframes p67-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
@keyframes p67-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .4; transform: scale(1.4); }
}
@keyframes p67-scroll-dot {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Blog index cards ---------- */
.p67-blog-card {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.p67-blog-card:hover {
    border-color: var(--p67-primary);
    box-shadow: 0 16px 38px rgba(28, 39, 63, 0.08);
    transform: translateY(-2px);
}
.p67-blog-card-icon {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: var(--p67-bg-3);
}
.p67-blog-card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.p67-blog-card-icon img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.p67-blog-card-body {
    padding: 1.5rem 1.65rem 1.65rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.p67-blog-card-meta {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    color: var(--p67-text-muted);
    margin-bottom: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}
.p67-blog-card-meta .p67-blog-tag {
    background: var(--p67-primary-soft);
    color: var(--p67-primary-dark);
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    border: 1px solid var(--p67-border);
}
.p67-blog-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.25;
    color: var(--p67-text);
    margin: 0 0 .65rem;
}
.p67-blog-card-title a {
    color: inherit;
    text-decoration: none;
}
.p67-blog-card-title a:hover { color: var(--p67-primary-dark); }
.p67-blog-card-excerpt {
    color: var(--p67-text-muted);
    font-size: .95rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    flex-grow: 1;
}
.p67-blog-card-byline {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--p67-border);
    font-size: .85rem;
    color: var(--p67-text-muted);
}
.p67-blog-card-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p67-primary) 0%, var(--p67-primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    flex-shrink: 0;
}
.p67-blog-card-author { color: var(--p67-text); font-weight: 600; }

.p67-empty-public {
    align-items: center;
    background: var(--p67-surface);
    border: 1px dashed var(--p67-border-strong);
    border-radius: var(--p67-radius-lg);
    display: grid;
    justify-items: center;
    padding: 2.5rem 1.5rem;
    text-align: center;
}
.p67-empty-public .p67-feature-icon {
    margin-bottom: 1rem;
}
.p67-empty-public h2 {
    font-size: 1.35rem;
    margin-bottom: .5rem;
}
.p67-empty-public p {
    color: var(--p67-text-muted);
    margin: 0;
}

.p67-blog-cta {
    padding: 1.5rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    background: var(--p67-surface-2);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 1.25rem;
    align-items: center;
}
.p67-blog-cta h2 {
    font-size: 1.55rem;
    margin: .25rem 0 .4rem;
}
.p67-blog-cta p {
    color: var(--p67-text-muted);
    margin: 0;
}
.p67-blog-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .75rem;
}
.p67-blog-cta-list {
    grid-column: 1 / -1;
    list-style: none;
    padding: 1rem 0 0;
    margin: 0;
    border-top: 1px solid var(--p67-border);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    color: var(--p67-text-muted);
    font-size: .95rem;
}
.p67-blog-cta-list li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.p67-blog-cta-list i {
    color: var(--p67-primary-dark);
}

/* ---------- Docs / knowledge base ---------- */
.p67-docs-hero p {
    max-width: 720px;
}
.p67-doc-toc {
    position: sticky;
    top: 6.5rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    background: var(--p67-surface);
    padding: 1.1rem;
}
.p67-doc-toc h2 {
    font-size: .86rem;
    margin: 0 0 .75rem;
    color: var(--p67-text-dim);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.p67-doc-toc a {
    display: block;
    color: var(--p67-text-muted);
    padding: .45rem 0;
    font-size: .94rem;
    line-height: 1.35;
}
.p67-doc-toc a:hover {
    color: var(--p67-primary-dark);
}
.p67-docs-search {
    max-width: 860px;
    margin: 0 auto 1.25rem;
}
.p67-docs-search label {
    display: block;
    color: var(--p67-text);
    font-weight: 700;
    margin-bottom: .45rem;
}
.p67-docs-search-field {
    display: flex;
    align-items: center;
    gap: .65rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    background: var(--p67-surface);
    padding: .2rem .9rem;
}
.p67-docs-search-field i {
    color: var(--p67-text-dim);
}
.p67-docs-search-field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--p67-text);
    padding: .85rem 0;
}
.p67-docs-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}
.p67-doc-card-kicker {
    color: var(--p67-primary-dark);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.p67-doc-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    background: var(--p67-surface);
}
.p67-doc-card h2 {
    font-size: 1.16rem;
    margin: .25rem 0 .4rem;
}
.p67-doc-card h2 a {
    color: var(--p67-text);
}
.p67-doc-card h2 a:hover {
    color: var(--p67-primary-dark);
}
.p67-doc-card p {
    margin: 0;
    color: var(--p67-text-muted);
}
.p67-doc-card-arrow {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--p67-border);
    color: var(--p67-primary-dark);
    background: var(--p67-primary-soft);
}
.p67-docs-empty {
    border: 1px dashed var(--p67-border-strong);
    border-radius: var(--p67-radius-lg);
    color: var(--p67-text-muted);
    background: var(--p67-surface);
    padding: 1.25rem;
    text-align: center;
    margin: 0;
}
.p67-doc-article-wrap {
    padding: 7rem 0 4rem;
    background: var(--p67-bg);
}
.p67-doc-article-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 760px);
    gap: 2.25rem;
    align-items: flex-start;
    justify-content: center;
}
.p67-doc-back {
    margin-bottom: .75rem;
    color: var(--p67-primary-dark) !important;
    font-weight: 700;
}
.p67-doc-article {
    min-width: 0;
}
.p67-doc-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--p67-border);
    margin-bottom: 2rem;
}
.p67-doc-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    margin: .5rem 0 .9rem;
}
.p67-doc-header p {
    color: var(--p67-text-muted);
    font-size: 1.08rem;
    margin-bottom: 1rem;
}
.p67-doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.p67-doc-meta span {
    border: 1px solid var(--p67-border);
    border-radius: 999px;
    background: var(--p67-surface);
    color: var(--p67-text-muted);
    padding: .35rem .7rem;
    font-size: .84rem;
}
.p67-doc-article section {
    scroll-margin-top: 6.5rem;
    margin-bottom: 2.4rem;
}
.p67-doc-article h2 {
    font-size: 1.55rem;
    margin: 0 0 .75rem;
}
.p67-doc-article p,
.p67-doc-article li {
    color: var(--p67-text-muted);
    font-size: 1rem;
}
.p67-doc-article ol,
.p67-doc-article ul {
    padding-left: 1.25rem;
}
.p67-doc-article pre {
    border: 1px solid rgba(28, 39, 63, .16);
    border-radius: var(--p67-radius);
    background: #101828;
    color: #eef3f7;
    padding: 1rem;
    overflow-x: auto;
    font-size: .92rem;
    line-height: 1.55;
}
.p67-doc-article code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
.p67-doc-cta {
    border: 1px solid rgba(90, 82, 184, .28);
    border-radius: var(--p67-radius-lg);
    background: linear-gradient(180deg, rgba(90, 82, 184, .08), rgba(53, 111, 209, .06));
    padding: 1.5rem;
}
.p67-doc-toc-cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--p67-border);
}
.p67-doc-toc-cta h3 {
    font-size: 1rem;
    margin: 0 0 .4rem;
}
.p67-doc-toc-cta p {
    color: var(--p67-text-muted);
    font-size: .9rem;
    margin: 0 0 .85rem;
}
.p67-doc-toc-cta .btn {
    width: 100%;
    padding: .6rem 1rem;
}

/* ---------- Status page ---------- */
.p67-status-embed {
    overflow: hidden;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    background: var(--p67-surface);
    box-shadow: var(--p67-shadow-soft);
}
.p67-status-embed iframe {
    display: block;
    width: 100%;
    min-height: 640px;
}
.p67-doc-cta h2 {
    margin-bottom: .45rem;
}
.p67-doc-cta p {
    max-width: 560px;
    margin-bottom: 1rem;
}

/* ---------- Article (single post) ---------- */
.p67-article-hero {
    position: relative;
    padding: 8rem 0 2rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--p67-bg) 54%, #eef3f6 100%);
    overflow: hidden;
}
.p67-article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(28, 39, 63, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 39, 63, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .45;
    pointer-events: none;
    z-index: 0;
}
.p67-article-hero > .container { position: relative; z-index: 1; }
.p67-article-eyebrow-row {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.p67-article-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    max-width: 880px;
    margin: 0 0 1rem;
}
.p67-article-sub {
    font-size: 1.15rem;
    color: var(--p67-text-muted);
    max-width: 760px;
    margin: 0 0 1.5rem;
}
.p67-article-byline {
    display: flex;
    align-items: center;
    gap: .85rem;
    color: var(--p67-text-muted);
    font-size: .95rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.p67-article-byline .p67-blog-card-avatar {
    width: 38px;
    height: 38px;
    font-size: .85rem;
}
.p67-article-byline-author { color: var(--p67-text); font-weight: 600; }
.p67-article-byline-dot {
    width: 4px;
    height: 4px;
    background: var(--p67-text-dim);
    border-radius: 50%;
}

.p67-article-cover {
    margin: 2rem auto 0;
    max-width: 980px;
    border-radius: var(--p67-radius-lg);
    overflow: hidden;
    border: 1px solid var(--p67-border);
}
.p67-article-cover svg { display: block; width: 100%; height: auto; }

.p67-article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 0 4rem;
    font-size: 1.05rem;
    line-height: 1.78;
    color: var(--p67-text);
}
.p67-article-body > p:first-of-type::first-letter {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    float: left;
    margin: .15rem .55rem 0 0;
    line-height: 1;
    color: var(--p67-primary-dark);
}
.p67-article-body h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 2.75rem 0 1rem;
    line-height: 1.25;
    color: var(--p67-text);
    scroll-margin-top: 5rem;
}
.p67-article-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 .75rem;
    color: var(--p67-text);
}
.p67-article-body p { margin: 0 0 1.25rem; }
.p67-article-body ul,
.p67-article-body ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}
.p67-article-body li { margin-bottom: .5rem; }
.p67-article-body a {
    color: var(--p67-primary-2);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.p67-article-body a:hover { color: var(--p67-primary-dark); }
.p67-article-body blockquote {
    border-left: 3px solid var(--p67-primary);
    padding: .25rem 0 .25rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--p67-text-muted);
    font-style: italic;
}
.p67-article-body code {
    background: var(--p67-bg-2);
    padding: .15rem .4rem;
    border-radius: 4px;
    font-size: .92em;
    color: var(--p67-primary-dark);
}
.p67-article-body pre {
    background: var(--p67-bg-2);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    padding: 1.15rem 1.35rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: .92rem;
    line-height: 1.55;
}
.p67-article-body pre code {
    background: transparent;
    padding: 0;
    color: var(--p67-text);
}
.p67-article-body strong { color: var(--p67-text); font-weight: 700; }
.p67-article-body hr {
    border: 0;
    height: 1px;
    background: var(--p67-border);
    margin: 2.5rem 0;
}
.p67-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    overflow: hidden;
}
.p67-article-body th,
.p67-article-body td {
    padding: .75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--p67-border);
    font-size: .94rem;
}
.p67-article-body th {
    background: var(--p67-bg-2);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--p67-text);
}
.p67-article-body tr:last-child td { border-bottom: 0; }

.p67-article-share {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--p67-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--p67-text-muted);
    font-size: .92rem;
}
.p67-article-share-links {
    display: flex;
    gap: .55rem;
}
.p67-article-share-links a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    color: var(--p67-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}
.p67-article-share-links a:hover {
    color: #fff;
    background: var(--p67-primary);
    border-color: var(--p67-primary);
}

@media (max-width: 767.98px) {
    .p67-article-hero { padding: 6.5rem 0 1.5rem; }
    .p67-article-body {
        padding: 2rem 0 3rem;
        font-size: 1rem;
        line-height: 1.7;
    }
    .p67-article-body > p:first-of-type::first-letter {
        font-size: 2.6rem;
    }
    .p67-article-body h2 { font-size: 1.4rem; margin-top: 2rem; }
    .p67-article-body h3 { font-size: 1.1rem; margin-top: 1.5rem; }
    .p67-article-cover { margin-top: 1.5rem; border-radius: var(--p67-radius); }
    .p67-blog-card-title { font-size: 1.15rem; }
}

/* ---------- Responsive ---------- */

/* ===== Tablet and smaller (max 991.98px) ===== */
@media (max-width: 991.98px) {
    /* Navbar: solid background when collapsed sheet is open or on mobile */
    .p67-navbar,
    .p67-navbar.p67-navbar-scrolled {
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: saturate(180%) blur(14px);
        -webkit-backdrop-filter: saturate(180%) blur(14px);
        border-bottom-color: var(--p67-border);
        padding: .35rem 0;
    }
    .p67-brand img,
    .p67-navbar.p67-navbar-scrolled .p67-brand img,
    .p67-navbar.p67-navbar-dashboard .p67-brand img {
        height: 46px;
    }
    .p67-navbar .navbar-collapse {
        padding-top: .65rem;
        padding-bottom: .5rem;
    }
    .p67-navbar .nav-link {
        padding: .6rem .25rem !important;
        font-size: .98rem;
        border-bottom: 1px solid var(--p67-border);
    }
    .p67-navbar .nav-item:last-child .nav-link,
    .p67-navbar .nav-item.dropdown .nav-link { border-bottom: 0; }

    /* Dropdown: inline (static) inside the collapsed mobile menu.
       !important is required because Bootstrap/Popper inject inline
       position+transform styles when the menu opens. */
    .p67-navbar .nav-item.dropdown .dropdown-menu.p67-dropdown {
        position: static !important;
        transform: none !important;
        inset: auto !important;
        float: none;
        display: none;
        width: 100%;
        margin: 0 0 .5rem;
        padding: .25rem 0 .25rem .75rem;
        border: 0;
        border-left: 2px solid var(--p67-border);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .p67-navbar .nav-item.dropdown .dropdown-menu.p67-dropdown.show { display: block; }
    .p67-navbar .nav-item.dropdown .dropdown-item {
        padding: .65rem .75rem;
        font-size: 1rem;
    }
    .p67-navbar .nav-item.dropdown .dropdown-toggle::after {
        margin-left: .35rem;
        vertical-align: .1em;
        transition: transform .2s ease;
    }
    .p67-navbar .nav-item.dropdown.show .dropdown-toggle::after,
    .p67-navbar .nav-item.dropdown .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    .p67-nav-links {
        margin-left: 0;
        margin-right: 0;
        transform: none;
    }
    .p67-account-nav {
        margin-left: 0;
        padding-top: .75rem;
    }
    .p67-nav-profile {
        display: block;
        margin-right: 0;
    }
    .p67-profile-toggle {
        height: 44px;
        justify-content: center;
        width: 100%;
    }
    .p67-navbar .p67-nav-profile .dropdown-menu.p67-profile-dropdown {
        width: 100%;
    }

    /* Hero */
    .p67-hero {
        padding: 5.15rem 0 2.75rem;
        min-height: auto;
    }
    .p67-hero-row { min-height: auto; }
    .p67-hero-glow { width: 380px; height: 380px; right: -25%; }
    .p67-hero-scroll { display: none; }
    .p67-hero-sub { max-width: 100%; }

    /* Sections */
    .p67-section { padding: 3.25rem 0; }
    .p67-section-head { margin-bottom: 2rem; }
    .p67-cta-section { padding: 3.25rem 0; }
    .p67-page-hero { padding: 5.25rem 0 1.85rem; }

    /* Plans: keep featured plan in flow on tablet */
    .p67-plan-featured { transform: none; }
    .p67-plan-featured:hover { transform: translateY(-4px); }
    .p67-pricing-handoff {
        grid-template-columns: 1fr;
    }
    .p67-devops-grid {
        grid-template-columns: 1fr;
    }
    .p67-buying-confidence,
    .p67-blog-cta {
        grid-template-columns: 1fr;
    }
    .p67-doc-article-grid {
        grid-template-columns: 1fr;
    }
    .p67-doc-toc {
        position: static;
    }
    .p67-doc-toc {
        display: flex;
        flex-wrap: wrap;
        gap: .25rem .9rem;
    }
    .p67-doc-toc h2,
    .p67-doc-toc .p67-doc-back,
    .p67-doc-toc .p67-doc-toc-cta {
        flex-basis: 100%;
    }
    .p67-doc-toc a {
        padding: .25rem 0;
    }
    .p67-blog-cta-actions {
        justify-content: flex-start;
    }
    .p67-faq-handoff {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Footer */
    .p67-footer { padding: 3rem 0 1.25rem; }
    .p67-footer-top { padding-bottom: 2rem; }
    .p67-footer-brand img { margin-bottom: .75rem; }
    .p67-footer-bottom {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }
    .p67-footer-payments { justify-content: center; }
}

/* ===== Phones (max 767.98px) ===== */
@media (max-width: 767.98px) {
    html { overflow-x: hidden; }
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    .p67-navbar,
    .p67-navbar > .container {
        max-width: 100%;
    }
    .p67-cta-glow { display: none; }
    .p67-article-body table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .p67-toggler {
        padding: .35rem .55rem;
        font-size: .95rem;
        border-radius: 8px;
    }
    .p67-hero-title { font-size: clamp(1.85rem, 7vw, 2.45rem); }
    .p67-hero-sub { font-size: .98rem; }
    .p67-page-hero h1 { font-size: clamp(1.65rem, 6.4vw, 2.25rem); }
    .p67-page-hero p { font-size: .98rem; }
    .p67-section-title { font-size: clamp(1.45rem, 5vw, 1.95rem); }
    .p67-section-sub { font-size: .97rem; }

    .p67-feature { padding: 1.5rem; }
    .p67-feature-icon { width: 46px; height: 46px; font-size: 1.2rem; margin-bottom: 1rem; }
    .p67-feature h3 { font-size: 1.1rem; }

    .p67-plan { padding: 1.75rem 1.5rem; }
    .p67-plan-amount { font-size: 2.35rem; }
    .p67-plan-name { font-size: 1.15rem; }
    .p67-pricing-handoff {
        padding: 0;
        gap: 1.35rem;
    }
    .p67-pricing-actions {
        align-items: flex-start;
        flex-direction: column;
    }
    .p67-devops-tools {
        padding: 1.35rem;
    }
    .p67-faq-handoff {
        padding: 0;
    }
    .p67-confidence-card {
        padding: 1.1rem;
    }
    .p67-blog-cta {
        padding: 1.2rem;
    }
    .p67-blog-cta-actions .btn {
        width: 100%;
    }
    .p67-doc-article-wrap {
        padding: 5.5rem 0 3rem;
    }
    .p67-doc-header h1 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }
    .p67-doc-header p {
        font-size: 1rem;
    }
    .p67-doc-card {
        align-items: flex-start;
    }
    .p67-doc-card-arrow {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .p67-proof-panel { padding: 1.35rem; }
    .p67-proof-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .p67-location-field {
        min-width: 0;
    }
    .p67-proof-command {
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    .p67-stat-card { padding: 1.35rem 1rem; }
    .p67-stat-num { font-size: 1.9rem; }

    /* CTA card */
    .p67-cta-card { padding: 2.75rem 1.25rem; }
    .p67-cta-card h2 { font-size: clamp(1.6rem, 5.5vw, 2.1rem); }
    .p67-cta-card p { font-size: 1.02rem; }

    /* FAQ accordion */
    .p67-faq .accordion-button,
    .p67-accordion .accordion-button {
        font-size: 1rem;
        padding: 1.1rem 1.15rem;
        line-height: 1.4;
    }
    .p67-faq .accordion-body,
    .p67-accordion .accordion-body {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
        font-size: .96rem;
    }

    /* Legal pages */
    .p67-legal-content h2 { font-size: 1.3rem; }
    .p67-legal-content h3 { font-size: 1.05rem; }
}

/* ===== Small phones (max 575.98px) ===== */
@media (max-width: 575.98px) {
    .p67-brand img,
    .p67-navbar.p67-navbar-scrolled .p67-brand img,
    .p67-navbar.p67-navbar-dashboard .p67-brand img {
        height: 42px;
    }
    .p67-hero { padding: 4.85rem 0 2.35rem; }
    .p67-hero-title { font-size: clamp(1.7rem, 8vw, 2.1rem); line-height: 1.1; }

    /* Hero stats: 3-col grid keeps numbers aligned */
    .p67-hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: .5rem;
        text-align: left;
    }
    .p67-hero-stats > div:not(.p67-hero-stats-divider) {
        flex-direction: column;
    }
    .p67-hero-stats strong { font-size: 1.2rem; }
    .p67-hero-stats span { font-size: .72rem; }
    .p67-hero-stats-divider { display: none; }

    /* Hero CTA: primary button takes full width; link stays inline below */
    .p67-hero-cta { gap: .75rem; }
    .p67-hero-cta .btn { width: 100%; }
    .p67-hero-cta .p67-link-arrow {
        width: 100%;
        text-align: center;
        margin: 0 !important;
        padding: .25rem 0;
    }

    /* CTA section buttons stack full-width */
    .p67-cta-buttons { flex-direction: column; gap: .65rem; }
    .p67-cta-buttons .btn { width: 100%; }
    .p67-cta-card { padding: 2.25rem 1rem; }

    /* Section padding tighter */
    .p67-section { padding: 2.75rem 0; }
    .p67-cta-section { padding: 2.75rem 0; }
    .p67-section-head { margin-bottom: 1.75rem; }
    .p67-page-hero { padding: 4.85rem 0 1.75rem; }

    /* Billing toggle: keep on one row but allow shrink */
    .p67-billing-toggle {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .p67-billing-toggle button {
        padding: .45rem .8rem;
        font-size: .82rem;
    }
    .p67-savings-badge { font-size: .65rem; }

    /* Footer: 2-col link grid, brand block centered */
    .p67-footer-brand,
    .p67-footer-tagline { text-align: left; }
    .p67-footer-tagline { max-width: 100%; }
    .p67-footer-title { margin-bottom: .85rem; font-size: .95rem; }
    .p67-footer-list a { font-size: .9rem; }
    .p67-footer-payments {
        font-size: 1.35rem;
        gap: .7rem;
        flex-wrap: wrap;
    }
    .p67-footer-legal { font-size: .72rem; }

    /* Eyebrow tighter on tiny screens */
    .p67-eyebrow { font-size: .72rem; padding: .3rem .7rem; }

    /* Compare table scroll hint */
    .p67-compare-wrap {
        position: relative;
    }
    .p67-compare th,
    .p67-compare td { padding: .75rem .85rem; font-size: .88rem; }
    .p67-compare thead th { font-size: .9rem; padding: 1rem .85rem; }

    /* Legal meta chip wraps */
    .p67-legal-meta { font-size: .85rem; }
    .p67-legal-content table th,
    .p67-legal-content table td { padding: .6rem .75rem; font-size: .88rem; }

    /* Plan featured no longer needs huge transform shift */
    .p67-plan-featured { transform: none; }
}

/* ===== Tiny phones (max 379.98px): iPhone SE / Galaxy Fold etc. ===== */
@media (max-width: 379.98px) {
    .p67-hero-title { font-size: 1.75rem; }
    .p67-hero-stats strong { font-size: 1.05rem; }
    .p67-hero-stats span { font-size: .68rem; }
    .p67-plan-amount { font-size: 2.2rem; }
    .p67-footer-payments { font-size: 1.2rem; gap: .55rem; }
    .p67-plan { padding: 1.5rem 1.25rem; }
    .p67-feature { padding: 1.25rem; }
    .container { padding-left: 1rem; padding-right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ===== Django page builder output ===== */
.p67-builder-page {
    background: var(--p67-bg);
}

.p67-public-rendered-page {
    background: var(--p67-bg);
}

.p67-public-rendered-page > :first-child {
    margin-top: 0;
}

.p67-public-rendered-page > :last-child {
    margin-bottom: 0;
}

.p67-builder-hero {
    align-items: center;
    display: grid;
    min-height: 520px;
    padding: 8.5rem 0 4.5rem;
    position: relative;
}

.p67-builder-hero h1 {
    color: var(--p67-text);
    font-family: var(--p67-heading-font);
    font-size: clamp(2.4rem, 5vw, 4.9rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: .96;
    margin: 1rem 0 0;
    max-width: 920px;
}

.p67-builder-hero p {
    color: var(--p67-muted);
    font-size: 1.12rem;
    line-height: 1.75;
    margin: 1.35rem 0 0;
    max-width: 700px;
}

.p67-builder-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

.p67-page-hero .p67-builder-actions,
.p67-builder-hero .p67-builder-actions,
.p67-builder-cta .p67-builder-actions,
.p67-cta-card .p67-builder-actions {
    justify-content: center;
}

.p67-builder-section {
    padding: 4.5rem 0;
}

.p67-builder-section h2,
.p67-builder-cta h2,
.p67-builder-article h1,
.p67-builder-article h2 {
    color: var(--p67-text);
    font-family: var(--p67-heading-font);
    font-weight: 800;
    letter-spacing: 0;
}

.p67-builder-section h2,
.p67-builder-cta h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    margin-bottom: 1rem;
}

.p67-builder-section p,
.p67-builder-card p,
.p67-builder-cta p,
.p67-builder-article p {
    color: var(--p67-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.p67-builder-grid-section {
    padding-top: 1rem;
}

.p67-builder-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.p67-builder-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
    padding: 1.4rem;
}

.p67-builder-card h3 {
    color: var(--p67-text);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: .65rem;
}

.p67-builder-cta {
    padding: 2rem 0 5rem;
}

.p67-builder-article {
    padding: 8rem 0 5rem;
}

.p67-builder-article .container {
    max-width: 880px;
}

.p67-builder-article h1 {
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1;
    margin-bottom: 1.4rem;
}

.p67-builder-lead p {
    color: var(--p67-text-soft);
    font-size: 1.18rem;
}

.p67-builder-article-section {
    border-top: 1px solid rgba(15, 23, 42, .1);
    margin-top: 2.2rem;
    padding-top: 2.2rem;
}

.p67-builder-article-section h2,
.p67-builder-callout h2 {
    font-size: 1.75rem;
    margin-bottom: .8rem;
}

.p67-builder-callout {
    background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(20, 184, 166, .08));
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 8px;
    margin-top: 2.2rem;
    padding: 1.5rem;
}

@media (max-width: 991.98px) {
    .p67-builder-grid {
        grid-template-columns: 1fr;
    }

    .p67-builder-hero {
        min-height: auto;
        padding: 7rem 0 3rem;
    }
}

/* ===== Public contact page ===== */
.p67-contact-page {
    background:
        linear-gradient(180deg, #ffffff 0%, var(--p67-bg) 46%, #eef3f6 100%);
    min-height: 100vh;
}

.p67-contact-hero {
    padding: 9rem 0 5rem;
    position: relative;
}

.p67-contact-hero::before {
    background-image:
        linear-gradient(rgba(28, 39, 63, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 39, 63, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    inset: 0;
    opacity: .65;
    pointer-events: none;
    position: absolute;
}

.p67-contact-hero .container {
    position: relative;
    z-index: 1;
}

.p67-contact-hero h1 {
    color: var(--p67-text);
    font-family: var(--p67-heading-font);
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: .98;
    margin: 1rem 0 1.1rem;
}

.p67-contact-hero p {
    color: var(--p67-text-muted);
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 620px;
}

.p67-contact-meta {
    display: grid;
    gap: .8rem;
    margin-top: 2rem;
    max-width: 520px;
}

.p67-contact-meta > div {
    align-items: center;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    display: flex;
    justify-content: space-between;
    padding: .9rem 1rem;
}

.p67-contact-meta strong {
    color: var(--p67-text);
    font-size: .92rem;
}

.p67-contact-meta span,
.p67-contact-meta a {
    color: var(--p67-text-muted);
    font-size: .9rem;
}

.p67-contact-card,
.p67-contact-success {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    box-shadow: var(--p67-shadow-soft);
    padding: 1.5rem;
}

.p67-contact-card-head {
    border-bottom: 1px solid var(--p67-border);
    margin: -.1rem 0 1.25rem;
    padding-bottom: 1.15rem;
}

.p67-contact-card-head span {
    color: var(--p67-primary-dark);
    display: block;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.p67-contact-card-head h2 {
    font-size: 1.35rem;
    margin: 0;
}

.p67-contact-card-head p {
    color: var(--p67-text-muted);
    font-size: .95rem;
    line-height: 1.55;
    margin: .45rem 0 0;
}

.p67-contact-card label {
    color: var(--p67-text);
    display: block;
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.p67-contact-card input,
.p67-contact-card textarea {
    background: #ffffff;
    border: 1px solid var(--p67-border-strong);
    border-radius: 8px;
    color: var(--p67-text);
    min-height: 48px;
    padding: .75rem .9rem;
    width: 100%;
}

.p67-contact-card textarea {
    min-height: 168px;
    resize: vertical;
}

.p67-contact-card input:focus,
.p67-contact-card textarea:focus {
    border-color: var(--p67-primary);
    box-shadow: 0 0 0 4px var(--p67-primary-soft);
    outline: none;
}

.p67-contact-card .errorlist {
    color: #b42318;
    font-size: .84rem;
    list-style: none;
    margin: .4rem 0 0;
    padding: 0;
}

.p67-contact-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.4rem;
}

.p67-contact-success {
    margin: 0 auto;
    max-width: 760px;
    padding: 2rem;
}

.p67-contact-success h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 767.98px) {
    .p67-contact-hero {
        padding: 7rem 0 3rem;
    }

    .p67-contact-meta > div {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }

    .p67-contact-card,
    .p67-contact-success {
        border-radius: 8px;
        padding: 1.1rem;
    }
}

/* ===== Looking glass ===== */
.p67-looking-glass-grid {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
}

.p67-lg-panel,
.p67-lg-output,
.p67-lg-alert {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    box-shadow: var(--p67-shadow-soft);
}

.p67-lg-panel {
    padding: 1.5rem;
}

.p67-lg-panel-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.p67-lg-panel-head h2,
.p67-lg-test h2,
.p67-lg-output h2 {
    font-family: var(--p67-heading-font);
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
}

.p67-lg-panel-head p,
.p67-lg-test p,
.p67-lg-help,
.p67-lg-output p {
    color: var(--p67-text-muted);
    margin: .25rem 0 0;
}

.p67-lg-form label {
    color: var(--p67-text);
    display: block;
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.p67-lg-input-row {
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.p67-lg-select-row {
    align-items: center;
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: .25rem;
}

.p67-lg-input-row input,
.p67-lg-select-row select {
    background: #fff;
    border: 1px solid var(--p67-border-strong);
    border-radius: 999px;
    color: var(--p67-text);
    min-height: 50px;
    padding: .75rem 1rem;
    width: 100%;
}

.p67-lg-select-row select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--p67-text-muted) 50%),
        linear-gradient(135deg, var(--p67-text-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 50%,
        calc(100% - 14px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px;
    padding-right: 2.7rem;
}

.p67-lg-input-row input:focus,
.p67-lg-select-row select:focus {
    border-color: var(--p67-primary);
    box-shadow: 0 0 0 4px var(--p67-primary-soft);
    outline: none;
}

.p67-lg-group-pill {
    align-items: center;
    background: var(--p67-primary-soft);
    border: 1px solid rgba(90, 82, 184, .22);
    border-radius: 999px;
    color: var(--p67-primary-dark);
    display: inline-flex;
    font-size: .86rem;
    font-weight: 800;
    min-height: 42px;
    padding: .55rem .9rem;
    white-space: nowrap;
}

.p67-lg-help {
    font-size: .9rem;
}

.p67-lg-form .errorlist {
    color: #b42318;
    font-size: .84rem;
    list-style: none;
    margin: .55rem 0 0;
    padding: 0;
}

.p67-lg-test {
    display: flex;
    flex-direction: column;
}

.p67-doc-card-kicker {
    color: var(--p67-primary-dark);
    display: inline-block;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: .5rem;
    text-transform: uppercase;
}

.p67-lg-kicker-spaced {
    margin-top: 1.25rem;
}

.p67-lg-meta {
    display: grid;
    gap: .6rem;
    margin-top: auto;
    padding-top: 1.2rem;
}

.p67-lg-meta span {
    align-items: center;
    color: var(--p67-text-muted);
    display: inline-flex;
    gap: .55rem;
}

.p67-lg-alert {
    align-items: center;
    color: #b42318;
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
    padding: 1rem 1.1rem;
}

.p67-lg-output {
    margin-top: 1rem;
    overflow: hidden;
}

.p67-lg-output-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--p67-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.25rem 1.35rem;
}

.p67-lg-status {
    border: 1px solid var(--p67-border);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    padding: .4rem .7rem;
    white-space: nowrap;
}

.p67-lg-status-ok {
    background: var(--p67-accent-soft);
    color: #0f7a52;
}

.p67-lg-status-warn {
    background: #fff7ed;
    color: #b45309;
}

.p67-lg-output pre {
    background: #0f172a;
    color: #ede9fe;
    font-size: .92rem;
    line-height: 1.65;
    margin: 0;
    max-height: 460px;
    overflow: auto;
    padding: 1.25rem 1.35rem;
    white-space: pre-wrap;
}

@media (max-width: 991.98px) {
    .p67-looking-glass-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .p67-lg-input-row,
    .p67-lg-select-row,
    .p67-lg-output-head {
        grid-template-columns: 1fr;
    }

    .p67-lg-input-row {
        display: grid;
    }

    .p67-lg-input-row .btn {
        width: 100%;
    }

    .p67-lg-output-head {
        display: grid;
    }
}

/* ===== Public design refinement pass ===== */
:root {
    --p67-primary: #5a52b8;
    --p67-primary-2: #6d5dfc;
    --p67-primary-dark: #393181;
    --p67-primary-soft: rgba(90, 82, 184, 0.1);
    --p67-primary-glow: rgba(90, 82, 184, 0.18);
    --p67-accent: #0f766e;
    --p67-accent-soft: rgba(15, 118, 110, 0.1);
    --p67-bg: #fbfbfd;
    --p67-bg-2: #fbfbfd;
    --p67-bg-3: #f0edf7;
    --p67-surface: #ffffff;
    --p67-surface-2: #faf8ff;
    --p67-border: rgba(15, 23, 42, 0.11);
    --p67-border-strong: rgba(15, 23, 42, 0.18);
    --p67-text: #111827;
    --p67-text-muted: #566174;
    --p67-text-dim: #8792a5;
    --p67-radius: 8px;
    --p67-radius-lg: 8px;
    --p67-shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.06), 0 18px 36px rgba(15, 23, 42, 0.05);
}

body {
    background: var(--p67-bg);
}

.p67-navbar {
    background: rgba(244, 247, 251, 0.94);
}

.p67-navbar.p67-navbar-scrolled,
.p67-navbar.p67-navbar-dashboard {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.p67-navbar .nav-link {
    font-size: .94rem;
    font-weight: 680;
}

.p67-dropdown {
    border-radius: 8px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.13);
    min-width: 14rem;
    padding: .45rem;
}

.p67-dropdown .dropdown-item {
    align-items: center;
    display: flex;
    gap: .65rem;
    min-height: 38px;
}

.p67-dropdown .dropdown-item i {
    color: var(--p67-text-dim);
    text-align: center;
    width: 1rem;
}

.p67-dropdown .dropdown-item:hover i,
.p67-dropdown .dropdown-item:focus i {
    color: var(--p67-primary);
}

.p67-dropdown .dropdown-divider {
    border-color: var(--p67-border);
    margin: .35rem .25rem;
}

.p67-btn-primary,
.p67-btn-ghost {
    border-radius: 7px;
    min-height: 42px;
    padding: .7rem 1.1rem;
}

.p67-btn-primary {
    box-shadow: 0 8px 18px rgba(90, 82, 184, 0.16);
}

.p67-btn-primary:hover {
    box-shadow: 0 10px 22px rgba(57, 49, 129, 0.18);
}

.p67-btn-ghost {
    background: #ffffff;
}

.p67-hero,
.p67-page-hero,
.p67-builder-hero,
.p67-contact-page {
    background: var(--p67-bg);
}

.p67-hero {
    background:
        radial-gradient(circle at 16% 18%, rgba(185, 168, 255, .2), transparent 34%),
        linear-gradient(135deg, rgba(123, 92, 255, .18), rgba(69, 52, 150, .12) 46%, rgba(255, 255, 255, .035) 100%),
        linear-gradient(180deg, #241c42 0%, #2d2355 58%, #352766 100%);
    border-bottom: 0;
    color: #ffffff;
    min-height: 0;
    padding: 8rem 0 5rem;
}

.p67-hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    opacity: .62;
}

.p67-page-hero::before,
.p67-contact-hero::before {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    opacity: .45;
}

.p67-hero-glow,
.p67-cta-glow {
    display: none !important;
}

.p67-hero-row {
    display: block;
    min-height: 0;
}

.p67-hero .col-lg-6 {
    max-width: 100%;
    width: 100%;
}

.p67-hero .col-lg-6:has(.p67-pulsar),
.p67-hero .col-lg-6:has(.p67-home-console) {
    display: none !important;
}

.p67-hero .p67-pulsar,
.p67-hero .p67-home-console {
    display: none !important;
}

.p67-hero-content {
    max-width: 920px;
}

.p67-eyebrow {
    background: rgba(90, 82, 184, 0.08);
    border-color: rgba(90, 82, 184, 0.18);
    border-radius: 7px;
    color: var(--p67-primary-dark);
    letter-spacing: 0;
}

.p67-eyebrow-dot {
    background: var(--p67-accent);
    box-shadow: none;
    animation: none;
}

.p67-hero-title,
.p67-page-hero h1,
.p67-section-title,
.p67-builder-hero h1,
.p67-builder-section h2,
.p67-builder-cta h2,
.p67-builder-article h1,
.p67-builder-article h2,
.p67-contact-hero h1 {
    letter-spacing: 0;
}

.p67-hero-title {
    color: #ffffff;
    font-size: clamp(2.45rem, 5vw, 4.45rem);
    line-height: 1.02;
    max-width: 920px;
}

.p67-gradient-text {
    animation: none;
    background: none;
    color: #b9a8ff;
}

.p67-hero-sub {
    color: rgba(255, 255, 255, .78);
    max-width: 820px;
}

.p67-hero-stats {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    box-shadow: none;
    display: inline-flex;
    padding: .85rem 1rem;
}

.p67-hero-stats strong {
    color: #ffffff;
    font-size: 1.45rem;
}

.p67-hero-stats span,
.p67-hero .p67-link-arrow {
    color: rgba(255, 255, 255, .72);
}

.p67-hero .p67-link-arrow:hover {
    color: #ffffff;
}

.p67-hero-stats-divider {
    background: rgba(255, 255, 255, .2);
}

.p67-home-console {
    display: none !important;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--p67-border);
    border-radius: 8px;
    box-shadow: var(--p67-shadow-soft);
    padding: 1rem;
}

.p67-home-console-top,
.p67-home-console-status {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.p67-home-console-top {
    border-bottom: 1px solid var(--p67-border);
    padding-bottom: .9rem;
}

.p67-home-console-top span,
.p67-home-console-grid span {
    color: var(--p67-text-dim);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.p67-home-console-top strong,
.p67-home-console-grid strong {
    color: var(--p67-text);
    display: block;
}

.p67-home-console-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .95rem 0;
}

.p67-home-console-grid > div {
    background: var(--p67-surface-2);
    border: 1px solid var(--p67-border);
    border-radius: 7px;
    padding: .9rem;
}

.p67-home-console-status {
    border-top: 1px solid var(--p67-border);
    color: var(--p67-text-muted);
    font-size: .9rem;
    padding-top: .9rem;
}

.p67-home-console-status i {
    color: var(--p67-accent);
    font-size: .55rem;
}

.p67-home-console-status a {
    font-weight: 800;
}

.p67-section {
    background: var(--p67-bg);
    padding: 4.5rem 0;
}

.p67-section-alt {
    background: var(--p67-bg);
}

.p67-section-head {
    margin-bottom: 2.35rem;
}

.p67-section-title {
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.p67-page-hero {
    padding: 7rem 0 3rem;
}

.p67-page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.p67-page-hero p {
    max-width: 760px;
}

.p67-feature,
.p67-feature-guide,
.p67-command-panel,
.p67-ops-card,
.p67-plan-fit-card,
.p67-workload-row,
.p67-confidence-card,
.p67-location,
.p67-tool-card,
.p67-stat-card,
.p67-blog-card,
.p67-contact-card,
.p67-contact-success,
.p67-lg-panel,
.p67-lg-output,
.p67-lg-alert {
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.p67-feature:hover,
.p67-blog-card:hover {
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.p67-feature-icon,
.p67-feature-row-icon,
.p67-confidence-icon,
.p67-workload-icon,
.p67-proof-icon {
    background: #f2efff;
    border: 1px solid rgba(90, 82, 184, 0.16);
    border-radius: 8px;
    color: var(--p67-primary);
}

.p67-feature-row {
    background: rgba(255, 255, 255, .74);
    border: 1px solid var(--p67-border);
    border-radius: 8px;
    padding: 1.05rem;
}

.p67-plan {
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 1.65rem 1.45rem;
}

.p67-plan:hover {
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.p67-plan-featured {
    background:
        linear-gradient(180deg, rgba(90, 82, 184, 0.06), rgba(90, 82, 184, 0)),
        var(--p67-surface);
    box-shadow: 0 18px 38px rgba(90, 82, 184, .14);
}

.p67-plan-badge {
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(90, 82, 184, .24);
    letter-spacing: 0;
}

.p67-plan-name {
    font-size: 1.18rem;
}

.p67-plan-tagline,
.p67-plan-billed {
    color: var(--p67-text-muted);
}

.p67-plan-amount {
    font-size: 2.65rem;
}

.p67-plan-specs li {
    align-items: flex-start;
    color: var(--p67-text-muted);
}

.p67-billing-toggle {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.p67-buying-confidence {
    align-items: stretch;
}

.p67-cta-card {
    background: var(--p67-surface);
    border-color: var(--p67-border);
    border-radius: 8px;
    box-shadow: var(--p67-shadow-soft);
}

.p67-footer {
    background: #111827;
    border-top: 0;
    color: #a7b0c0;
}

.p67-footer-title,
.p67-footer-bottom,
.p67-footer-bottom a {
    color: #d5dbe7;
}

.p67-footer-tagline,
.p67-footer-list a,
.p67-footer-legal {
    color: #a7b0c0;
}

.p67-footer-list a:hover,
.p67-footer-bottom a:hover {
    color: #ffffff;
}

.p67-footer-top,
.p67-footer-bottom {
    border-color: rgba(255, 255, 255, .12);
}

.p67-social a {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    color: #d5dbe7;
}

.p67-builder-hero {
    border-bottom: 1px solid var(--p67-border);
    min-height: 460px;
    padding: 7.5rem 0 3.5rem;
}

.p67-builder-hero h1 {
    font-size: clamp(2.15rem, 4.8vw, 4.25rem);
    line-height: 1.03;
}

.p67-builder-grid {
    gap: 1rem;
}

.p67-builder-card {
    border-color: var(--p67-border);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 1.35rem;
}

.p67-builder-callout {
    background: #f2efff;
    border-color: rgba(90, 82, 184, .18);
    border-radius: 8px;
}

.p67-public-rendered-page > h1,
.p67-public-rendered-page > header:not([class]) {
    background: var(--p67-bg);
    border-bottom: 1px solid var(--p67-border);
    padding: 7rem max(1.25rem, calc((100vw - 1140px) / 2)) 3rem;
}

.p67-public-rendered-page > h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin: 0;
}

.p67-blog-card {
    background: #ffffff;
}

.p67-blog-card-icon::after {
    background: linear-gradient(180deg, transparent 35%, rgba(17, 24, 39, .12));
    content: "";
    inset: 0;
    position: absolute;
}

.p67-blog-card-meta {
    letter-spacing: 0;
}

.p67-contact-page {
    background: var(--p67-bg);
}

.p67-contact-hero {
    padding: 8rem 0 5rem;
}

.p67-contact-meta > div,
.p67-contact-card,
.p67-contact-success {
    background: rgba(255, 255, 255, .9);
}

.p67-contact-card input,
.p67-contact-card textarea,
.p67-lg-input-row input,
.p67-lg-select-row select {
    border-radius: 8px;
}

.p67-lg-panel,
.p67-lg-output,
.p67-lg-alert {
    background: #ffffff;
}

.p67-lg-test {
    background:
        linear-gradient(180deg, rgba(90, 82, 184, .06), rgba(90, 82, 184, 0)),
        #ffffff;
}

.p67-lg-output pre {
    background: #0b1220;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Compact purple hero treatment for public sub-pages. */
.p67-page-hero,
.p67-builder-hero,
.p67-contact-hero,
.p67-article-hero,
.p67-public-rendered-page > h1,
.p67-public-rendered-page > header:not([class]) {
    background:
        radial-gradient(circle at 16% 18%, rgba(185, 168, 255, .18), transparent 34%),
        linear-gradient(135deg, rgba(123, 92, 255, .16), rgba(69, 52, 150, .12) 46%, rgba(255, 255, 255, .03) 100%),
        linear-gradient(180deg, #281f4a 0%, #31265b 58%, #3b2b70 100%);
    border-bottom: 0;
    color: #ffffff;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.p67-page-hero,
.p67-contact-hero,
.p67-article-hero {
    padding: 6.65rem 0 2.85rem;
}

.p67-builder-hero {
    min-height: 360px;
    padding: 6.85rem 0 3.15rem;
}

.p67-public-rendered-page > h1,
.p67-public-rendered-page > header:not([class]) {
    padding: 6.65rem max(1.25rem, calc((100vw - 1140px) / 2)) 2.85rem;
}

.p67-page-hero::before,
.p67-builder-hero::before,
.p67-contact-hero::before,
.p67-article-hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    inset: 0;
    opacity: .55;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.p67-page-hero > .container,
.p67-builder-hero > .container,
.p67-contact-hero > .container,
.p67-article-hero > .container {
    position: relative;
    z-index: 1;
}

.p67-page-hero h1,
.p67-builder-hero h1,
.p67-contact-hero h1,
.p67-article-title,
.p67-public-rendered-page > h1,
.p67-public-rendered-page > header:not([class]) h1 {
    color: #ffffff;
}

.p67-page-hero p,
.p67-builder-hero p,
.p67-contact-hero p,
.p67-article-sub,
.p67-article-byline,
.p67-public-rendered-page > header:not([class]) p {
    color: rgba(255, 255, 255, .76);
}

.p67-article-hero .p67-article-byline-author {
    color: #ffffff;
}

.p67-article-hero .p67-article-byline-dot {
    background: rgba(255, 255, 255, .42);
}

.p67-page-hero .p67-eyebrow,
.p67-builder-hero .p67-eyebrow,
.p67-contact-hero .p67-eyebrow,
.p67-article-hero .p67-eyebrow {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .86);
}

@media (max-width: 991.98px) {
    .p67-hero,
    .p67-page-hero,
    .p67-builder-hero {
        padding-top: 6.25rem;
    }

    .p67-hero-stats {
        display: flex;
        width: 100%;
    }

    .p67-home-console-grid,
    .p67-buying-confidence {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .p67-hero,
    .p67-page-hero,
    .p67-builder-hero {
        padding-bottom: 2.5rem;
    }

    .p67-hero-stats {
        align-items: stretch;
        display: grid;
        gap: .75rem;
    }

    .p67-hero-stats-divider {
        display: none;
    }

    .p67-home-console-top,
    .p67-home-console-status {
        align-items: flex-start;
        flex-direction: column;
    }

}
