/* NameFusion marketplace refresh: loaded after styles.css to keep the visual system isolated. */
:root {
    --nf-ink: #102d57;
    --nf-blue: #153d6f;
    --nf-blue-deep: #0c294f;
    --nf-sky: #f7f8fa;
    --nf-orange: #ff643d;
    --nf-line: #dce7f5;
    --nf-copy: #58677e;
}

body,
button,
input,
select {
    font-family: Inter, "Aptos", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Explicitly reset every marketplace display heading to a modern sans-serif stack. */
.hero h1,
.section-heading h2,
.detail-title,
.detail-title strong,
.offer-panel h2,
.stat strong {
    font-family: Inter, "Aptos Display", "Aptos", "Segoe UI Variable Display", "Segoe UI", ui-sans-serif, system-ui, sans-serif !important;
    font-style: normal;
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--nf-line);
}

.site-nav {
    color: #32425e;
    font-weight: 600;
}

.nav-cta,
.button,
.offer-button {
    border-radius: 12px;
    border-color: var(--nf-blue);
    background: var(--nf-blue);
    box-shadow: 0 8px 18px rgba(47, 110, 229, 0.16);
}

.nav-cta:hover,
.button:hover,
.offer-button:hover {
    border-color: var(--nf-blue-deep);
    background: var(--nf-blue-deep);
}

.button--secondary {
    background: #ffffff;
    border-color: var(--nf-line);
    box-shadow: none;
}

.hero {
    background:
        radial-gradient(circle at 87% 8%, rgba(255, 100, 61, 0.18), transparent 25%),
        radial-gradient(circle at 5% 100%, rgba(16, 45, 87, 0.08), transparent 33%),
        linear-gradient(135deg, #ffffff 0%, #f8f9fa 58%, #f4f6f8 100%);
    border-bottom-color: #e5e9ee;
}

.hero__inner {
    gap: 48px;
    padding: 28px 0 68px;
}

.hero__headline {
    padding-top: 72px;
}

.hero__headline .eyebrow {
    margin-bottom: 14px;
}

.eyebrow {
    color: var(--nf-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.eyebrow::before {
    width: 8px;
    height: 8px;
    background: var(--nf-orange);
}

.hero h1 {
    max-width: none;
    color: var(--nf-ink);
    font-size: clamp(3.1rem, 4vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.98;
    white-space: nowrap;
}

.hero-showcase {
    min-width: 0;
    border: 1px solid rgba(16, 45, 87, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 24px 54px rgba(16, 45, 87, 0.09);
    padding: 16px;
}

.hero-showcase__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #5e6e82;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-showcase__header a {
    color: var(--nf-orange);
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

.hero__lead {
    color: var(--nf-copy);
    font-size: 1.13rem;
    line-height: 1.65;
}

.search-panel {
    gap: 8px;
    padding: 6px;
    border: 1px solid #d5e5fa;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(54, 103, 174, 0.14);
}

.search-panel input {
    min-height: 52px;
    border-color: transparent;
    border-radius: 999px;
    padding-left: 18px;
}

.search-panel .button {
    min-height: 52px;
    border-color: var(--nf-orange);
    border-radius: 999px;
    background: var(--nf-orange);
    box-shadow: 0 8px 18px rgba(255, 100, 61, 0.25);
}

.hero__suggestions a {
    border-color: #d9e7fa;
    color: #496489;
}

.hero__microcopy {
    display: none;
}

.hero__suggestions a:hover {
    border-color: #9fc0f7;
    color: var(--nf-blue);
}

.trust-list li {
    border-color: #d9e7fa;
    background: rgba(255, 255, 255, 0.76);
}

.showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mini-domain {
    min-height: 144px;
    border-color: #e1e6ec;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 22px rgba(16, 45, 87, 0.07);
}

.mini-domain__name {
    min-width: 0;
    overflow: hidden;
    font-size: 0.84rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-domain:hover {
    border-color: rgba(255, 100, 61, 0.48);
    box-shadow: 0 20px 36px rgba(16, 45, 87, 0.14);
}

.stats-band,
.stat {
    background: #ffffff;
}

.stats-grid {
    background: var(--nf-line);
    border-color: var(--nf-line);
}

.stat strong {
    color: var(--nf-ink);
}

.stat .stat__eyebrow {
    color: #7890b5;
}

.section-heading h2 {
    color: var(--nf-ink);
    font-weight: 780;
    letter-spacing: -0.055em;
}

.collection-title {
    max-width: 800px;
    margin: 0;
    color: var(--nf-ink);
    font-family: Inter, "Aptos Display", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.04;
}

.landing-hero,
.collection-hero {
    background:
        radial-gradient(circle at 15% 14%, rgba(255, 100, 61, 0.28), transparent 27%),
        radial-gradient(circle at 83% 82%, rgba(255, 145, 83, 0.14), transparent 34%),
        linear-gradient(135deg, #0d274a 0%, #123866 52%, #102d57 100%);
}

.landing-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 0;
}

.landing-hero::after,
.collection-hero::after {
    position: absolute;
    right: -12%;
    bottom: -58%;
    width: min(760px, 62vw);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.landing-hero .hero__headline,
.landing-hero .hero__inner {
    position: relative;
    z-index: 1;
}

.landing-hero .eyebrow {
    color: #ffd3c6;
}

.landing-hero h1 {
    color: #ffffff;
}

.landing-hero .hero__lead {
    color: rgba(255, 255, 255, 0.78);
}

.landing-hero .hero__suggestions,
.landing-hero .hero-showcase__header {
    color: rgba(255, 255, 255, 0.65);
}

.landing-hero .hero__suggestions a {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.landing-hero .trust-list li {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.landing-hero .hero-showcase {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(8, 27, 55, 0.2);
    box-shadow: none;
}

.landing-hero .hero-showcase__header a {
    color: #ffd3c6;
}

.collection-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 104px;
}

.collection-hero__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.collection-hero .eyebrow {
    color: #ffd3c6;
}

.collection-hero .eyebrow::before {
    background: var(--nf-orange);
}

.collection-hero .collection-title {
    max-width: 850px;
    margin: 0 auto;
    color: #ffffff;
}

.collection-hero .detail-lead {
    max-width: 680px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.75);
}

.collection-membership {
    margin: 18px 0 0;
    color: #687385;
    font-size: 0.9rem;
}

.collection-membership a {
    color: var(--nf-ink);
    font-weight: 750;
    text-decoration-color: rgba(255, 100, 61, 0.62);
    text-underline-offset: 3px;
}

/* NameFusion blue is the recognisable, shared entry point for every page type. */
.page-hero-surface,
.landing-hero.page-hero-surface {
    background: #1d5597;
    border-bottom-color: #17477f;
}

.landing-hero .eyebrow,
.collection-hero .eyebrow,
.detail-page .eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.landing-hero h1,
.collection-hero .collection-title,
.detail-title,
.detail-title strong {
    color: #ffffff;
}

.landing-hero .hero__lead,
.collection-hero .detail-lead,
.detail-page .detail-lead {
    color: rgba(255, 255, 255, 0.80);
}

.detail-title span,
.detail-title em,
.detail-page .collection-membership {
    color: rgba(255, 255, 255, 0.70);
}

.detail-page .trust-list li {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.detail-page .collection-membership a,
.detail-page .detail-links a {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.48);
}

.featured-section:first-of-type,
#marketplace {
    background: #f7f9fd;
}

/* Homepage: let search and the domains carry the experience. */
.landing-hero.page-hero-surface {
    background:
        radial-gradient(circle at 50% 0%, rgba(120, 82, 191, 0.11), transparent 42%),
        linear-gradient(180deg, #fbfaff 0%, #f5f2fb 100%);
    border-bottom-color: #e5e0ed;
}

.landing-hero .hero__inner {
    display: flex;
    justify-content: center;
    padding: 76px 0 70px;
}

.landing-hero .hero__copy {
    max-width: 980px;
    text-align: center;
}

.landing-hero .eyebrow {
    margin-bottom: 14px;
    color: #5e4a88;
}

.landing-hero h1 {
    font-size: clamp(2.9rem, 4.3vw, 4.35rem);
    letter-spacing: -0.068em;
    white-space: nowrap;
}

.landing-hero .hero__lead {
    max-width: none;
    margin-top: 16px;
    color: #687080;
    font-size: 1.06rem;
}

.landing-hero .search-panel {
    width: min(100%, 650px);
    margin: 28px auto 0;
    border-color: #ddd6ea;
    box-shadow: 0 16px 32px rgba(47, 31, 83, 0.12);
}

.landing-hero .search-panel .button {
    border-color: var(--nf-orange);
    background: var(--nf-orange);
    color: #ffffff;
}

.landing-hero .hero__microcopy {
    display: none;
}

.featured-section {
    padding: 46px 0 52px;
}

.featured-section .section-heading {
    margin-bottom: 18px;
}

.featured-section .section-heading h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.35rem);
    letter-spacing: -0.052em;
}

.featured-section .button--secondary {
    min-height: 38px;
    padding: 0 15px;
    border-color: #ddd7e6;
    color: var(--nf-ink);
    font-size: 0.82rem;
}

.featured-section .domain-card {
    border-color: #e5e0e9;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(30, 20, 50, 0.07);
}

.featured-section .domain-card:hover {
    border-color: #cfc3df;
    box-shadow: 0 16px 28px rgba(30, 20, 50, 0.11);
    transform: translateY(-2px);
}

/* Shared light hero system for the landing, collection, and listing templates. */
.page-hero-surface {
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 100, 61, 0.08), transparent 24%),
        radial-gradient(circle at 5% 100%, rgba(16, 45, 87, 0.055), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #fbfaf8 55%, #f7f5f2 100%);
    border-bottom: 1px solid #e8e2da;
}

.landing-hero::after,
.collection-hero::after {
    display: none;
}

.landing-hero .eyebrow,
.collection-hero .eyebrow {
    color: #6b625c;
}

.landing-hero h1,
.collection-hero .collection-title {
    color: var(--nf-ink);
}

.landing-hero .hero__lead,
.collection-hero .detail-lead {
    color: #657080;
}

.landing-hero .hero__suggestions,
.landing-hero .hero-showcase__header {
    color: #6c737c;
}

.landing-hero .hero__suggestions a,
.landing-hero .trust-list li {
    border-color: #e1ddd7;
    background: rgba(255, 255, 255, 0.78);
    color: var(--nf-ink);
}

.landing-hero .hero-showcase {
    border-color: #e2ddd6;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 22px 50px rgba(16, 45, 87, 0.08);
}

.landing-hero .hero-showcase__header a {
    color: var(--nf-orange);
}

.collection-proof {
    margin: 22px 0 0;
    color: #687789;
    font-size: 0.92rem;
}

.collection-nav {
    padding-bottom: 36px;
}

.collection-nav__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.collection-nav__card {
    display: flex;
    min-height: 168px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #dfe9f7;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #f6faff);
    color: var(--nf-ink);
    padding: 18px;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.collection-nav__card:hover {
    border-color: #9ec0f7;
    box-shadow: 0 16px 30px rgba(54, 91, 140, 0.12);
    transform: translateY(-3px);
}

.collection-nav__card span {
    color: #6680ab;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.collection-nav__card strong {
    font-size: 1.08rem;
    line-height: 1.2;
}

.collection-nav__card em {
    color: var(--nf-orange);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 750;
}

.domain-card {
    border-color: #e0e9f5;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(54, 91, 140, 0.055);
}

.domain-card:hover {
    border-color: #9bbcf3;
    box-shadow: 0 18px 34px rgba(54, 91, 140, 0.13);
    transform: translateY(-4px);
}

.market-toolbar {
    border-color: #dce8f7;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(54, 91, 140, 0.07);
}

.detail-hero {
    background: #ffffff;
    border-bottom-color: var(--nf-line);
}

.detail-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--nf-ink);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.08;
}

.detail-title strong {
    display: block;
    margin: 0;
    color: var(--nf-ink);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.04;
}

.detail-title span,
.detail-title em {
    display: block;
    margin: 0;
    color: #6c7788;
    font-family: Inter, "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.detail-page .eyebrow {
    color: #5d697a;
}

.detail-page .eyebrow::before {
    background: var(--nf-orange);
}

.detail-page .nav-cta {
    border-color: #dce3ed;
    background: #ffffff;
    box-shadow: none;
    color: var(--nf-ink);
}

.detail-page .nav-cta:hover {
    border-color: #aeb9c8;
    background: #f7f9fc;
    color: var(--nf-ink);
}

.offer-panel {
    border-color: #dbe8f8;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 54px rgba(35, 73, 124, 0.14);
}

.offer-panel__summary {
    border: 1px solid #e1e5eb;
    background: #f7f8fa;
}

.offer-panel__summary span {
    color: #6a7483;
}

.offer-panel__summary strong {
    color: var(--nf-ink);
}

.offer-panel__signal {
    color: #687385 !important;
}

.detail-page .offer-panel .offer-button {
    border-color: var(--nf-orange);
    background: var(--nf-orange);
    box-shadow: 0 10px 20px rgba(255, 100, 61, 0.24);
}

.detail-page .offer-panel .offer-button:hover {
    border-color: #e9522d;
    background: #e9522d;
}

@media (max-width: 1040px) {
    .hero h1 {
        white-space: normal;
    }

    .landing-hero h1 {
        white-space: normal;
    }

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

    .collection-nav__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hero__headline {
        padding-top: 42px;
    }

    .collection-hero {
        padding: 76px 0 70px;
    }

    .hero__inner {
        padding: 46px 0 36px;
    }

    .landing-hero .hero__inner {
        padding: 54px 0 50px;
    }

    .landing-hero h1 {
        font-size: 2.45rem;
        line-height: 1.02;
    }

    .hero h1,
    .detail-title {
        font-size: 2.5rem;
    }

    .detail-title strong {
        font-size: 2rem;
    }

    .search-panel {
        border-radius: 16px;
    }

    .search-panel input,
    .search-panel .button {
        border-radius: 10px;
    }

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

    .collection-nav__grid {
        grid-template-columns: 1fr;
    }

    .collection-nav__card {
        min-height: 0;
        gap: 14px;
    }

    .mini-domain__name {
        font-size: 0.78rem;
    }
}

/* Final shared hero treatment: one solid field, with orange reserved for action. */
.page-hero-surface,
.landing-hero.page-hero-surface {
    background: #1d5597;
    border-bottom-color: #17477f;
}

.landing-hero .eyebrow,
.collection-hero .eyebrow,
.detail-page .eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.landing-hero h1,
.collection-hero .collection-title,
.detail-title,
.detail-title strong {
    color: #ffffff;
}

.landing-hero .hero__lead,
.collection-hero .detail-lead,
.detail-page .detail-lead {
    color: rgba(255, 255, 255, 0.80);
}

.detail-title span,
.detail-title em,
.detail-page .collection-membership {
    color: rgba(255, 255, 255, 0.70);
}

.detail-page .trust-list li {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.detail-page .collection-membership a,
.detail-page .detail-links a {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.48);
}

.featured-section:first-of-type,
#marketplace {
    background: #f7f9fd;
}
