/* Digital Registry — colourful creative homepage */

:root {
    --px-navy: #0b3d5c;
    --px-ink: #102a43;
    --px-teal: #0d9488;
    --px-teal-deep: #0f766e;
    --px-blue: #2563eb;
    --px-orange: #f97316;
    --px-sun: #fb923c;
    --px-fog: #f0f9ff;
    --px-line: #dbeafe;
    --px-muted: #5b6f82;
}

.marketing-body {
    font-family: "Outfit", "Sora", system-ui, sans-serif;
    color: var(--px-ink);
    background: #fff;
}

/* Header polish */
.dr-header.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
}

.dr-header .brand-name,
.brand-name {
    font-family: "Fraunces", Georgia, serif !important;
    font-weight: 700;
    color: var(--px-navy) !important;
    background: none !important;
    -webkit-text-fill-color: unset;
}

.home-nav .nav-link {
    background: transparent !important;
    color: #486581 !important;
    font-weight: 600;
}

.home-nav .nav-link.active,
.home-nav .nav-link:hover {
    color: var(--px-teal-deep) !important;
}

.home-nav .nav-link.active::after {
    background: var(--px-orange);
}

.btn-site-login {
    border: 1.5px solid var(--px-navy);
    color: var(--px-navy) !important;
    border-radius: 999px;
    font-weight: 700;
}

.btn-site-login:hover {
    background: var(--px-navy);
    color: #fff !important;
}

.site-header .btn-site-primary {
    background: linear-gradient(120deg, var(--px-teal), var(--px-blue));
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.site-header .btn-site-primary:hover {
    filter: brightness(1.05);
}

/* —— Hero —— */
.px-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 2.25rem) 0 2.75rem;
    overflow: hidden;
    color: #fff;
}

.px-hero-media {
    position: absolute;
    inset: 0;
}

.px-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    animation: pxKen 18s ease-in-out infinite alternate;
}

.px-hero-wash {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(11, 61, 92, 0.88) 0%, rgba(11, 61, 92, 0.55) 42%, rgba(13, 148, 136, 0.35) 100%),
        linear-gradient(180deg, rgba(7, 19, 31, 0.25) 0%, rgba(7, 19, 31, 0.55) 100%);
}

.px-hero-shape {
    position: absolute;
    border-radius: 40% 60% 55% 45%;
    filter: blur(2px);
    opacity: 0.45;
    animation: pxFloat 9s ease-in-out infinite;
}

.px-hero-shape--1 {
    width: 280px;
    height: 280px;
    right: 8%;
    top: 18%;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.55), transparent 70%);
}

.px-hero-shape--2 {
    width: 220px;
    height: 220px;
    left: 42%;
    bottom: 12%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.45), transparent 70%);
    animation-delay: 1.2s;
}

.px-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.px-badge {
    display: inline-flex;
    margin: 0 0 0.75rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.px-brand {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2.8rem, 6.5vw, 4.6rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin: 0 0 0.45rem;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.px-headline {
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 0.7rem;
    color: #fff7ed;
}

.px-lead {
    max-width: 36rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
    margin: 0 0 1.25rem;
}

.px-hero-cta,
.px-finale-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Buttons */
.px-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.9rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.px-btn--sun {
    background: linear-gradient(120deg, #fb923c, #f97316 55%, #ea580c);
    color: #fff;
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.35);
}

.px-btn--glass {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.px-btn--navy {
    background: var(--px-navy);
    color: #fff;
    box-shadow: 0 12px 28px rgba(11, 61, 92, 0.25);
}

/* Ribbon */
.px-ribbon {
    background: linear-gradient(90deg, #0d9488, #2563eb 50%, #f97316);
    color: #fff;
    overflow: hidden;
    padding: 0.95rem 0;
}

.px-ribbon-track {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.px-ribbon-track span {
    position: relative;
    padding-left: 1rem;
}

.px-ribbon-track span::before {
    content: "✦";
    position: absolute;
    left: 0;
    opacity: 0.8;
    font-size: 0.7rem;
    top: 0.15em;
}

/* Showcase */
.px-showcase {
    padding: 3.25rem 0 2.75rem;
    background:
        radial-gradient(40% 50% at 0% 0%, rgba(13, 148, 136, 0.12), transparent 60%),
        radial-gradient(40% 50% at 100% 10%, rgba(249, 115, 22, 0.1), transparent 60%),
        #f8fafc;
}

.px-showcase-head,
.px-spectrum-head,
.px-journey-head {
    max-width: 40rem;
    margin-bottom: 1.5rem;
}

.px-eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--px-teal-deep);
}

.px-eyebrow--light { color: #99f6e4; }

.px-showcase-head h2,
.px-spectrum-head h2,
.px-journey-head h2,
.px-split-body h2 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: var(--px-ink);
    margin: 0;
}

.px-showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.1rem;
}

.px-panel {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 220px;
    box-shadow: 0 18px 40px rgba(16, 42, 67, 0.12);
    isolation: isolate;
}

.px-panel--tall {
    grid-row: span 2;
    min-height: 460px;
}

.px-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.px-panel:hover img { transform: scale(1.05); }

.px-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(7, 19, 31, 0.82) 100%);
    z-index: 1;
}

.px-panel-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.5rem;
    color: #fff;
}

.px-chip {
    display: inline-flex;
    margin-bottom: 0.7rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.px-chip--teal { background: rgba(45, 212, 191, 0.25); color: #99f6e4; }
.px-chip--blue { background: rgba(96, 165, 250, 0.28); color: #bfdbfe; }
.px-chip--orange { background: rgba(251, 146, 60, 0.28); color: #fed7aa; }

.px-panel-copy h3 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.45rem;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}

.px-panel-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Spectrum */
.px-spectrum {
    padding: 3.25rem 0;
    background:
        linear-gradient(160deg, #0b3d5c 0%, #0f766e 48%, #1d4ed8 120%);
    color: #fff;
}

.px-spectrum-head h2 { color: #fff; }

.px-spectrum-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}

.px-spec {
    border-radius: 18px;
    padding: 1.25rem 1.15rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.px-spec:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.16);
}

.px-spec-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
    color: #fff;
}

.px-spec--c1 .px-spec-icon { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.px-spec--c2 .px-spec-icon { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.px-spec--c3 .px-spec-icon { background: linear-gradient(135deg, #fb923c, #f97316); }
.px-spec--c4 .px-spec-icon { background: linear-gradient(135deg, #34d399, #059669); }
.px-spec--c5 .px-spec-icon { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.px-spec--c6 .px-spec-icon { background: linear-gradient(135deg, #f472b6, #db2777); }

.px-spec h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.px-spec p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

/* Split */
.px-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 420px;
}

.px-split-media {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.px-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.px-split-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 7% 2.5rem 5%;
    background:
        radial-gradient(50% 60% at 100% 0%, rgba(249, 115, 22, 0.12), transparent 60%),
        #fff;
}

.px-split-body p {
    color: var(--px-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 1rem 0 1.25rem;
    max-width: 34rem;
}

.px-checklist {
    list-style: none;
    margin: 0 0 1.6rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.px-checklist li {
    position: relative;
    padding-left: 1.7rem;
    font-weight: 700;
    color: var(--px-ink);
}

.px-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6, #2563eb);
    box-shadow: inset 0 0 0 3px #fff;
}

/* Journey */
.px-journey {
    padding: 3.25rem 0;
    background: #ecfeff;
}

.px-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.px-step {
    border-radius: 22px;
    padding: 1.4rem 1.25rem;
    color: #fff;
    min-height: 180px;
    box-shadow: 0 18px 36px rgba(16, 42, 67, 0.12);
}

.px-step--teal { background: linear-gradient(160deg, #14b8a6, #0f766e); }
.px-step--blue { background: linear-gradient(160deg, #3b82f6, #1d4ed8); }
.px-step--orange { background: linear-gradient(160deg, #fb923c, #ea580c); }

.px-step span {
    display: inline-block;
    font-family: "Fraunces", Georgia, serif;
    font-size: 2rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.px-step h3 {
    font-size: 1.35rem;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.px-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
}

/* Finale */
.px-finale {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    padding: 3.5rem 0;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.px-finale-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.px-finale-wash {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(11, 61, 92, 0.88), rgba(13, 148, 136, 0.75) 55%, rgba(234, 88, 12, 0.65));
}

.px-finale-content {
    position: relative;
    z-index: 2;
}

.px-finale h2 {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    letter-spacing: -0.03em;
    margin: 0 0 0.8rem;
}

.px-finale p {
    max-width: 34rem;
    margin: 0 auto 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
}

.marketing-body .site-footer {
    background: #07131f;
}

@keyframes pxKen {
    from { transform: scale(1.02) translateY(0); }
    to { transform: scale(1.08) translateY(-1.5%); }
}

@keyframes pxFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@media (max-width: 991.98px) {
    .px-hero { align-items: center; padding-top: calc(var(--header-h) + 1.75rem); }
    .px-showcase-grid { grid-template-columns: 1fr; }
    .px-panel--tall { grid-row: auto; min-height: 300px; }
    .px-spectrum-grid { grid-template-columns: repeat(2, 1fr); }
    .px-split { grid-template-columns: 1fr; }
    .px-journey-grid { grid-template-columns: 1fr; }
    .home-nav .nav-link.active::after { display: none; }
}

@media (max-width: 767.98px) {
    .px-spectrum-grid { grid-template-columns: 1fr; }
    .px-brand { font-size: clamp(2.5rem, 11vw, 3.2rem); }
    .px-hero { padding-bottom: 2.25rem; }
    .px-showcase,
    .px-spectrum,
    .px-journey { padding: 2.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
    .px-hero-img,
    .px-hero-shape {
        animation: none !important;
    }
}
