/**
 * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 *
 * Historical Population Origins V2-aligned product page.
 */

:root {
    --hp-ink: #101d1b;
    --hp-ink-soft: #182b27;
    --hp-jade: #2f8b78;
    --hp-jade-dark: #21695b;
    --hp-gold: #d4a017;
    --hp-gold-dark: #a7780d;
    --hp-parchment: #f3eddf;
    --hp-ivory: #fbf8f1;
    --hp-paper: #ffffff;
    --hp-text: #24302e;
    --hp-muted: #68726f;
    --hp-border: #d8d0bf;
    --hp-border-dark: rgba(255, 255, 255, 0.16);
    --hp-clay: #b76c4b;
    --hp-sage: #789482;
    --hp-focus: #f2c84b;
    --hp-shadow-sm: 0 8px 24px rgba(16, 29, 27, 0.08);
    --hp-shadow-md: 0 18px 48px rgba(16, 29, 27, 0.12);
    --hp-radius-sm: 8px;
    --hp-radius-md: 16px;
    --hp-radius-lg: 26px;
    --hp-display: "Playfair Display", Georgia, serif;
    --hp-body: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --hp-content: 1180px;
    --hp-navbar-clearance: 80px;
}

.hp-main {
    min-height: 100vh;
    padding-top: var(--hp-navbar-clearance);
    overflow-x: clip;
    background: var(--hp-ivory);
    color: var(--hp-text);
    font-family: var(--hp-body);
    font-size: 1rem;
    line-height: 1.65;
}

.hp-main *,
.hp-main *::before,
.hp-main *::after,
.hp-desktop-nav *,
.hp-mobile-nav *,
.hp-sticky-cta *,
.hp-back-to-top * {
    box-sizing: border-box;
}

.hp-container,
.hp-related-products {
    width: min(calc(100% - 48px), var(--hp-content));
    max-width: var(--hp-content);
    margin-inline: auto;
}

.hp-main h1,
.hp-main h2,
.hp-main h3,
.hp-main h4,
.hp-related-products h3,
.hp-related-products h4 {
    margin-top: 0;
    color: var(--hp-ink);
    font-family: var(--hp-display);
    font-weight: 600;
    letter-spacing: -0.025em;
}

.hp-main p,
.hp-main dl,
.hp-main ol,
.hp-main ul {
    margin-top: 0;
}

.hp-main a,
.hp-desktop-nav a,
.hp-mobile-nav a,
.hp-sticky-cta a {
    text-underline-offset: 0.2em;
}

.hp-main a:focus-visible,
.hp-main button:focus-visible,
.hp-main summary:focus-visible,
.hp-desktop-nav a:focus-visible,
.hp-mobile-nav a:focus-visible,
.hp-sticky-cta a:focus-visible,
.hp-back-to-top:focus-visible,
.hp-skip-link:focus-visible {
    outline: 3px solid var(--hp-focus);
    outline-offset: 4px;
}

.hp-main section[id],
.hp-main .rpc-pricing-section[id] {
    scroll-margin-top: calc(var(--hp-navbar-clearance) + 14px);
}

.hp-skip-link {
    position: fixed;
    z-index: 1300;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    border: 1px solid var(--hp-jade-dark);
    border-radius: var(--hp-radius-sm);
    background: var(--hp-paper);
    color: var(--hp-ink);
    font: 700 0.875rem/1 var(--hp-body);
    transform: translateY(-180%);
}

.hp-skip-link:focus {
    transform: translateY(0);
}

.hp-scroll-progress {
    position: fixed;
    z-index: 1110;
    top: var(--hp-navbar-clearance);
    right: 0;
    left: 0;
    height: 3px;
    overflow: hidden;
    background: rgba(16, 29, 27, 0.12);
    pointer-events: none;
}

.hp-scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--hp-gold);
    transform: scaleX(0);
    transform-origin: left center;
}

.hp-desktop-nav {
    position: fixed;
    z-index: 950;
    top: calc(var(--hp-navbar-clearance) + 24px);
    left: 18px;
    display: flex;
    width: 126px;
    padding: 8px;
    border: 1px solid rgba(16, 29, 27, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--hp-shadow-sm);
    flex-direction: column;
    gap: 3px;
    font-family: var(--hp-body);
}

.hp-desktop-nav a {
    display: flex;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--hp-muted);
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    align-items: center;
    gap: 9px;
}

.hp-desktop-nav a .dna-icon {
    width: 16px;
    color: var(--hp-jade-dark);
    text-align: center;
}

.hp-desktop-nav a:hover,
.hp-desktop-nav a.active {
    background: var(--hp-parchment);
    color: var(--hp-ink);
}

.hp-eyebrow,
.hp-card-kicker,
.hp-snapshot-kicker,
.hp-demo-label {
    display: inline-flex;
    color: var(--hp-jade-dark);
    font-family: var(--hp-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    align-items: center;
    gap: 8px;
}

.hp-eyebrow--light {
    color: #e4bd4b;
}

.hp-hero {
    position: relative;
    padding: clamp(74px, 9vw, 118px) 0;
    background: var(--hp-ink);
    color: rgba(255, 255, 255, 0.82);
}

.hp-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: clamp(48px, 7vw, 88px);
    align-items: center;
}

.hp-hero-copy h1 {
    max-width: 760px;
    margin: 18px 0 22px;
    color: var(--hp-paper);
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.98;
}

.hp-hero-lead {
    max-width: 690px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    line-height: 1.65;
}

.hp-hero-offer {
    display: grid;
    width: fit-content;
    margin-bottom: 26px;
    padding: 14px 18px;
    border: 1px solid var(--hp-border-dark);
    border-radius: var(--hp-radius-sm);
    grid-template-columns: auto auto;
    gap: 1px 16px;
    align-items: baseline;
}

.hp-hero-offer > span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-hero-offer strong {
    color: var(--hp-paper);
    font-family: var(--hp-display);
    font-size: 1.75rem;
    line-height: 1;
}

.hp-hero-offer small {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.76rem;
}

.hp-hero-actions {
    display: flex;
    margin-bottom: 27px;
    flex-wrap: wrap;
    gap: 12px;
}

.hp-button {
    display: inline-flex;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--hp-radius-sm);
    font-family: var(--hp-body);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.hp-button--gold {
    border-color: var(--hp-gold);
    background: var(--hp-gold);
    color: var(--hp-ink);
}

.hp-button--gold:hover {
    border-color: #e2b52e;
    background: #e2b52e;
    color: var(--hp-ink);
    text-decoration: none;
}

.hp-button--outline-light {
    border-color: rgba(255, 255, 255, 0.34);
    color: var(--hp-paper);
}

.hp-button--outline-light:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.07);
    color: var(--hp-paper);
    text-decoration: none;
}

.hp-trust-list {
    display: flex;
    margin-bottom: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.68);
    flex-wrap: wrap;
    gap: 16px 24px;
    list-style: none;
}

.hp-trust-list li {
    display: flex;
    font-size: 0.86rem;
    align-items: center;
    gap: 7px;
}

.hp-trust-list .dna-icon {
    color: #d9b34a;
}

.hp-report-snapshot {
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: var(--hp-radius-lg);
    background: var(--hp-ink-soft);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);
}

.hp-report-snapshot h2 {
    margin: 9px 0 12px;
    color: var(--hp-paper);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.hp-report-snapshot header p {
    margin-bottom: 27px;
    color: rgba(255, 255, 255, 0.66);
}

.hp-snapshot-period {
    display: flex;
    margin-bottom: 26px;
    padding: 18px 0;
    border-top: 1px solid var(--hp-border-dark);
    border-bottom: 1px solid var(--hp-border-dark);
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.hp-snapshot-period strong {
    color: var(--hp-gold);
    font-family: var(--hp-display);
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    line-height: 1;
}

.hp-snapshot-period span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-snapshot-metrics {
    display: grid;
    margin-bottom: 24px;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hp-snapshot-metrics div {
    min-width: 0;
    padding: 13px 10px;
    border: 1px solid var(--hp-border-dark);
    border-radius: var(--hp-radius-sm);
    text-align: center;
}

.hp-snapshot-metrics dt {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.68rem;
    line-height: 1.2;
}

.hp-snapshot-metrics dd {
    margin: 0;
    color: var(--hp-paper);
    font-weight: 700;
}

.hp-snapshot-note {
    display: flex;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.82rem;
    line-height: 1.45;
    gap: 9px;
}

.hp-snapshot-note .dna-icon {
    margin-top: 3px;
    color: var(--hp-gold);
    flex: 0 0 auto;
}

.hp-section {
    padding: clamp(76px, 9vw, 118px) 0;
}

.hp-section--ivory,
.hp-section--faq {
    background: var(--hp-ivory);
}

.hp-section--paper {
    background: var(--hp-paper);
}

.hp-section--parchment {
    background: var(--hp-parchment);
}

.hp-section-heading {
    max-width: 770px;
    margin-bottom: clamp(38px, 6vw, 62px);
}

.hp-section-heading h2 {
    margin: 12px 0 16px;
    font-size: clamp(2.25rem, 4.5vw, 3.65rem);
    line-height: 1.08;
}

.hp-section-heading p {
    margin-bottom: 0;
    color: var(--hp-muted);
    font-size: 1.08rem;
}

.hp-section-heading--compact {
    max-width: 430px;
    margin-bottom: 0;
}

.hp-section-heading--light h2 {
    color: var(--hp-paper);
}

.hp-section-heading--light p {
    color: rgba(255, 255, 255, 0.69);
}

.hp-preview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: start;
}

.hp-results-card {
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-md);
    background: var(--hp-paper);
    box-shadow: var(--hp-shadow-md);
}

.hp-results-header {
    display: flex;
    margin-bottom: 18px;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.hp-results-header h3 {
    margin: 6px 0 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.hp-demo-label {
    color: var(--hp-gold-dark);
}

.hp-results-period {
    padding: 7px 10px;
    border: 1px solid rgba(47, 139, 120, 0.22);
    border-radius: 999px;
    background: rgba(47, 139, 120, 0.08);
    color: var(--hp-jade-dark);
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.hp-example-notice {
    display: flex;
    margin-bottom: 22px;
    padding: 11px 13px;
    border-left: 3px solid var(--hp-gold);
    background: var(--hp-ivory);
    color: var(--hp-muted);
    font-size: 0.84rem;
    gap: 8px;
}

.hp-example-notice .dna-icon {
    margin-top: 3px;
    color: var(--hp-gold-dark);
}

.hp-result-list {
    display: grid;
    margin-bottom: 0;
    padding: 0;
    gap: 7px;
    list-style: none;
}

.hp-result-row {
    --hp-result-color: var(--hp-jade);
    --hp-result-width: 0%;
    display: grid;
    padding: 14px 13px 12px;
    border: 1px solid rgba(16, 29, 27, 0.08);
    border-radius: var(--hp-radius-sm);
    background: var(--hp-ivory);
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 7px 12px;
    align-items: center;
}

.hp-result-row--gold { --hp-result-color: var(--hp-gold); }
.hp-result-row--ink { --hp-result-color: #4c615d; }
.hp-result-row--clay { --hp-result-color: var(--hp-clay); }
.hp-result-row--sage { --hp-result-color: var(--hp-sage); }

.hp-result-rank {
    color: var(--hp-muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.hp-result-name {
    overflow: hidden;
    color: var(--hp-text);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-result-value {
    color: var(--hp-ink);
    font-weight: 700;
}

.hp-result-track {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(16, 29, 27, 0.09);
    grid-column: 2 / 4;
}

.hp-result-track span {
    display: block;
    width: var(--hp-result-width);
    height: 100%;
    border-radius: inherit;
    background: var(--hp-result-color);
}

.hp-feature-stack {
    display: grid;
    gap: 14px;
}

.hp-feature-card {
    display: grid;
    padding: 22px;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-md);
    background: rgba(255, 255, 255, 0.62);
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
}

.hp-feature-card > .dna-icon {
    display: grid;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(47, 139, 120, 0.1);
    color: var(--hp-jade-dark);
    place-items: center;
}

.hp-feature-card h3 {
    margin: 4px 0 6px;
    font-size: 1.2rem;
}

.hp-feature-card p {
    margin-bottom: 0;
    color: var(--hp-muted);
    font-size: 0.92rem;
}

.hp-card-kicker {
    font-size: 0.66rem;
}

.hp-text-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 6px;
    color: var(--hp-jade-dark);
    font-weight: 700;
    align-items: center;
    gap: 8px;
}

.hp-text-link:hover {
    color: var(--hp-ink);
}

.hp-section--atlas {
    background: var(--hp-ink-soft);
    color: rgba(255, 255, 255, 0.76);
}

.hp-atlas-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(28px, 5vw, 52px);
    align-items: stretch;
}

.hp-atlas-copy {
    display: grid;
    align-content: start;
    gap: 13px;
}

.hp-atlas-copy article {
    display: grid;
    padding: 18px;
    border: 1px solid var(--hp-border-dark);
    border-radius: var(--hp-radius-sm);
    background: rgba(255, 255, 255, 0.035);
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 13px;
}

.hp-atlas-copy article > .dna-icon {
    margin-top: 4px;
    color: var(--hp-gold);
    font-size: 1.05rem;
}

.hp-atlas-copy h3 {
    margin-bottom: 5px;
    color: var(--hp-paper);
    font-family: var(--hp-body);
    font-size: 1rem;
    letter-spacing: 0;
}

.hp-atlas-copy article p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.86rem;
}

.hp-atlas-note {
    display: flex;
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
    gap: 8px;
}

.hp-atlas-note .dna-icon {
    margin-top: 3px;
    color: var(--hp-gold);
}

.hp-map-panel {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--hp-border-dark);
    border-radius: var(--hp-radius-md);
    background: var(--hp-paper);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.hp-map-toolbar {
    display: flex;
    min-height: 50px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hp-border);
    background: var(--hp-ivory);
    color: var(--hp-ink);
    font-size: 0.8rem;
    font-weight: 700;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.hp-map-toolbar > span:first-child {
    display: flex;
    align-items: center;
    gap: 7px;
}

#hpMapStatus {
    color: var(--hp-muted);
    font-weight: 600;
}

.hp-map {
    z-index: 0;
    width: 100%;
    min-height: 500px;
    background: #e9e5d9;
}

.hp-map .leaflet-control-zoom a {
    color: var(--hp-ink);
}

.hp-map .leaflet-control-attribution {
    font-family: var(--hp-body);
    font-size: 0.63rem;
}

.hp-map-popup {
    color: var(--hp-text);
    font-family: var(--hp-body);
    line-height: 1.4;
}

.hp-map-popup strong {
    display: block;
    margin-bottom: 3px;
    color: var(--hp-ink);
    font-family: var(--hp-display);
    font-size: 1rem;
}

.hp-context-notice {
    display: flex;
    max-width: 820px;
    margin-bottom: 34px;
    padding: 15px 18px;
    border: 1px solid rgba(167, 120, 13, 0.22);
    border-radius: var(--hp-radius-sm);
    background: rgba(255, 255, 255, 0.6);
    color: var(--hp-muted);
    gap: 10px;
}

.hp-context-notice .dna-icon {
    margin-top: 4px;
    color: var(--hp-gold-dark);
}

.hp-context-notice p {
    margin-bottom: 0;
}

.hp-timeline {
    position: relative;
    display: grid;
    gap: 0;
}

.hp-timeline::before {
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 176px;
    width: 1px;
    background: var(--hp-border);
    content: "";
}

.hp-timeline article {
    position: relative;
    display: grid;
    min-height: 144px;
    padding: 18px 0;
    grid-template-columns: 148px 56px minmax(0, 1fr);
    align-items: start;
}

.hp-timeline-date {
    padding-top: 5px;
    color: var(--hp-gold-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.hp-timeline-marker {
    position: relative;
    z-index: 1;
    display: block;
    width: 14px;
    height: 14px;
    margin: 6px auto 0;
    border: 3px solid var(--hp-parchment);
    border-radius: 50%;
    background: var(--hp-jade);
    box-shadow: 0 0 0 1px var(--hp-jade);
}

.hp-timeline article > div {
    max-width: 650px;
    padding: 0 0 22px 20px;
    border-bottom: 1px solid var(--hp-border);
}

.hp-timeline article:last-child > div {
    border-bottom: 0;
}

.hp-timeline h3 {
    margin: 6px 0 7px;
    font-size: 1.45rem;
}

.hp-timeline p {
    margin-bottom: 0;
    color: var(--hp-muted);
}

.hp-method-grid {
    display: grid;
    margin-bottom: 42px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hp-method-grid article {
    padding: 24px;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-md);
    background: var(--hp-ivory);
}

.hp-method-grid .dna-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(47, 139, 120, 0.1);
    color: var(--hp-jade-dark);
    place-items: center;
}

.hp-method-grid h3 {
    margin-bottom: 9px;
    font-size: 1.2rem;
}

.hp-method-grid p {
    margin-bottom: 0;
    color: var(--hp-muted);
    font-size: 0.9rem;
}

.hp-guidance-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

.hp-disclosure {
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-sm);
    background: var(--hp-paper);
}

.hp-disclosure summary {
    display: flex;
    min-height: 62px;
    padding: 17px 19px;
    color: var(--hp-ink);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.hp-disclosure summary::-webkit-details-marker {
    display: none;
}

.hp-disclosure summary > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.hp-disclosure summary > .dna-icon:last-child {
    color: var(--hp-jade-dark);
}

.hp-disclosure[open] summary > .dna-icon:last-child {
    transform: rotate(180deg);
}

.hp-disclosure > p,
.hp-disclosure > div {
    margin: 0;
    padding: 0 19px 19px;
    color: var(--hp-muted);
}

.hp-disclosure > div p:last-child {
    margin-bottom: 0;
}

.hp-method-disclosure {
    align-self: stretch;
}

.hp-ai-card {
    display: grid;
    padding: 26px;
    border: 1px solid rgba(47, 139, 120, 0.24);
    border-radius: var(--hp-radius-md);
    background: var(--hp-ink-soft);
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 17px;
}

.hp-ai-card > .dna-icon {
    display: grid;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.14);
    color: var(--hp-gold);
    place-items: center;
}

.hp-ai-card .hp-card-kicker {
    color: #dfb948;
}

.hp-ai-card h3 {
    margin: 5px 0 8px;
    color: var(--hp-paper);
    font-size: 1.35rem;
}

.hp-ai-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.9rem;
}

.hp-pricing-section {
    --rpc-bg: var(--hp-ink);
    --rpc-text-primary: var(--hp-paper);
    --rpc-text-secondary: rgba(255, 255, 255, 0.8);
    --rpc-text-muted: rgba(255, 255, 255, 0.58);
    --rpc-accent: var(--hp-gold);
    --rpc-accent-dim: var(--hp-gold-dark);
    --rpc-cta-bg: var(--hp-gold);
    --rpc-cta-text: var(--hp-ink);
    --rpc-cta-hover: #e2b52e;
    --rpc-border: rgba(255, 255, 255, 0.15);
    --rpc-font-display: var(--hp-display);
    --rpc-font-body: var(--hp-body);
    padding: clamp(76px, 9vw, 112px) 0;
}

.hp-pricing-section .rpc-pricing-heading {
    font-weight: 600;
}

.hp-pricing-section .rpc-pricing-lead {
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--hp-body);
    font-size: 1.08rem;
    font-style: normal;
}

.hp-pricing-section .rpc-pricing-cta-btn {
    border-radius: var(--hp-radius-sm);
}

.hp-pricing-section .rpc-pricing-cta-btn:hover {
    transform: none;
}

.hp-faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(36px, 7vw, 88px);
    align-items: start;
}

.hp-faq-list {
    display: grid;
    gap: 10px;
}

.hp-related-products {
    padding: clamp(68px, 8vw, 100px) 0;
    background: var(--hp-paper);
    color: var(--hp-text);
    font-family: var(--hp-body);
}

.hp-related-title {
    margin-bottom: 32px;
    color: var(--hp-ink);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    text-align: center;
}

.hp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hp-related-card {
    display: flex;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-md);
    background: var(--hp-ivory);
    flex-direction: column;
}

.hp-related-img {
    width: 100%;
    height: 178px;
    object-fit: cover;
}

.hp-related-content {
    display: flex;
    padding: 22px;
    flex: 1;
    flex-direction: column;
}

.hp-related-content h4 {
    margin-bottom: 9px;
    color: var(--hp-ink);
    font-size: 1.25rem;
}

.hp-related-content p {
    margin-bottom: 18px;
    color: var(--hp-muted);
    font-size: 0.9rem;
}

.hp-related-link {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    color: var(--hp-jade-dark);
    font-weight: 700;
    align-items: center;
    gap: 7px;
}

.hp-related-link:hover {
    color: var(--hp-ink);
}

.hp-sticky-cta {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 18px;
    left: 0;
    width: min(calc(100% - 36px), 720px);
    margin-inline: auto;
    padding: 10px 11px 10px 17px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    background: rgba(16, 29, 27, 0.97);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.3);
    color: var(--hp-paper);
    font-family: var(--hp-body);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
}

.hp-sticky-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hp-sticky-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hp-sticky-content > div {
    display: grid;
    line-height: 1.2;
}

.hp-sticky-content > div span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
}

.hp-sticky-content > div strong {
    color: var(--hp-paper);
    font-size: 0.92rem;
}

.hp-sticky-cta .hp-button {
    min-height: 42px;
    padding: 9px 15px;
    font-size: 0.86rem;
}

.hp-back-to-top {
    position: fixed;
    z-index: 930;
    right: 18px;
    bottom: 22px;
    display: grid;
    width: 44px;
    height: 44px;
    border: 1px solid var(--hp-border);
    border-radius: 50%;
    background: var(--hp-paper);
    box-shadow: var(--hp-shadow-sm);
    color: var(--hp-jade-dark);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    place-items: center;
}

.hp-back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hp-mobile-nav {
    display: none;
}

@media (max-width: 1360px) {
    .hp-desktop-nav {
        width: 48px;
    }

    .hp-desktop-nav a {
        padding-inline: 8px;
        justify-content: center;
    }

    .hp-desktop-nav a > span:last-child {
        position: absolute;
        overflow: hidden;
        width: 1px;
        height: 1px;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (max-width: 1100px) {
    .hp-desktop-nav {
        display: none;
    }

    .hp-hero-layout,
    .hp-preview-layout,
    .hp-atlas-layout {
        grid-template-columns: 1fr;
    }

    .hp-report-snapshot {
        max-width: 720px;
    }

    .hp-atlas-copy {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hp-atlas-note {
        grid-column: 1 / -1;
    }

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

@media (max-width: 991.98px) {
    .hp-main {
        padding-bottom: 74px;
    }

    .hp-mobile-nav {
        position: fixed;
        z-index: 1050;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        min-height: 64px;
        padding: 6px 8px max(6px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--hp-border);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -8px 24px rgba(16, 29, 27, 0.08);
        font-family: var(--hp-body);
        grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    }

    .hp-mobile-nav a {
        display: grid;
        min-width: 0;
        padding: 5px 2px;
        border-radius: 7px;
        color: var(--hp-muted);
        font-size: 0.66rem;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        place-items: center;
        gap: 4px;
    }

    .hp-mobile-nav a.active {
        background: var(--hp-parchment);
        color: var(--hp-ink);
    }

    .hp-mobile-nav .dna-icon {
        color: var(--hp-jade-dark);
        font-size: 1rem;
    }

    .hp-sticky-cta {
        bottom: 78px;
    }

    .hp-back-to-top {
        bottom: 80px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --hp-navbar-clearance: 72px;
    }

    .hp-container,
    .hp-related-products {
        width: min(calc(100% - 32px), var(--hp-content));
    }

    .hp-hero,
    .hp-section {
        padding: 66px 0;
    }

    .hp-hero-copy h1 {
        font-size: clamp(2.65rem, 12vw, 4rem);
    }

    .hp-hero-layout {
        gap: 38px;
    }

    .hp-snapshot-metrics {
        grid-template-columns: 1fr;
    }

    .hp-snapshot-metrics div {
        display: flex;
        text-align: left;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .hp-snapshot-metrics dt {
        margin-bottom: 0;
    }

    .hp-atlas-copy,
    .hp-method-grid,
    .hp-guidance-layout,
    .hp-faq-layout,
    .hp-related-grid {
        grid-template-columns: 1fr;
    }

    .hp-section-heading--compact {
        margin-bottom: 28px;
    }

    .hp-map {
        min-height: 420px;
    }

    .hp-timeline::before {
        left: 7px;
    }

    .hp-timeline article {
        min-height: 0;
        padding: 0 0 30px;
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .hp-timeline-date {
        margin-bottom: 6px;
        padding-top: 0;
        grid-column: 2;
    }

    .hp-timeline-marker {
        margin: 6px 0 0;
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .hp-timeline article > div {
        padding: 0 0 25px;
        grid-column: 2;
    }

    .hp-sticky-cta {
        width: calc(100% - 24px);
        padding-left: 12px;
    }

    .hp-sticky-content > div span {
        display: none;
    }

    .hp-sticky-content > div strong {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .hp-hero-actions,
    .hp-hero-actions .hp-button {
        width: 100%;
    }

    .hp-hero-offer {
        width: 100%;
    }

    .hp-trust-list {
        display: grid;
        gap: 9px;
    }

    .hp-report-snapshot,
    .hp-results-card {
        padding: 22px;
        border-radius: 14px;
    }

    .hp-snapshot-period {
        display: grid;
    }

    .hp-results-header {
        display: grid;
    }

    .hp-results-period {
        width: fit-content;
    }

    .hp-result-row {
        grid-template-columns: 26px minmax(0, 1fr) auto;
        gap: 7px 8px;
    }

    .hp-result-name {
        font-size: 0.88rem;
    }

    .hp-feature-card,
    .hp-ai-card {
        grid-template-columns: 1fr;
    }

    .hp-map-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .hp-map {
        min-height: 360px;
    }

    .hp-sticky-content > div {
        display: none;
    }

    .hp-sticky-cta .hp-button {
        width: 100%;
    }

    .hp-back-to-top {
        right: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-main *,
    .hp-main *::before,
    .hp-main *::after,
    .hp-sticky-cta,
    .hp-back-to-top,
    .hp-mobile-nav *,
    .hp-desktop-nav * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .hp-desktop-nav,
    .hp-mobile-nav,
    .hp-scroll-progress,
    .hp-sticky-cta,
    .hp-back-to-top,
    .hp-hero-actions,
    .hp-map-toolbar,
    .hp-map {
        display: none !important;
    }

    .hp-main {
        padding: 0;
    }

    .hp-hero,
    .hp-section--atlas,
    .hp-pricing-section {
        background: var(--hp-paper) !important;
        color: var(--hp-text) !important;
    }

    .hp-hero h1,
    .hp-section-heading--light h2 {
        color: var(--hp-ink) !important;
    }
}
