/* CoinFinder landing page. Brand: B&G brown, gold and cream. Layout: full-bleed dark bands, 1180px content column. */
.cfp {
    --p-ink: #f1e9dc;
    --p-muted: #adadad;
    --p-gold: #c9ad73;
    --p-gold-hi: #e6cf98;
    --p-line: rgba(201, 173, 115, .26);
    --p-bg: #151518;
    --p-bg-2: #1a1a1d;
    --p-deep: #0e0e11;
    --p-display: 'Marcellus', 'Trajan Pro', Georgia, 'Times New Roman', serif;
    --p-body: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --p-label: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    background: var(--p-bg);
    color: var(--p-ink);
    font-family: var(--p-body);
    font-size: 17px;
    line-height: 1.65;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
.cfp *, .cfp *::before, .cfp *::after { box-sizing: border-box; }
.cfp p { margin: 0 0 1em; }
.cfp a { color: var(--p-gold-hi); text-decoration: none; }
.cfp a:hover { color: #ffffff; }
.cfp h1, .cfp h2, .cfp h3 { font-family: var(--p-display); font-weight: 400; color: var(--p-ink); letter-spacing: .01em; text-transform: none; text-wrap: balance; margin: 0; }
.cfp h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; margin-bottom: 18px; }
.cfp h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 8px; }
.cfp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.cfp-kicker { font-family: var(--p-label); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--p-gold); margin: 0 0 14px; }
.cfp :focus-visible { outline: 2px solid var(--p-gold-hi); outline-offset: 3px; }

/* Buttons */
.cfp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cfp .cfp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 6px; font-family: var(--p-label); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: background .15s, border-color .15s; }
.cfp .cfp-btn-gold { background: linear-gradient(180deg, #dcc28a, #b89b5f); color: #161619; box-shadow: inset 0 1px 0 rgba(255, 240, 200, .5), 0 8px 22px rgba(0, 0, 0, .35); }
.cfp .cfp-btn-gold:hover { background: linear-gradient(180deg, #e7d09b, #c3a66a); color: #161619; }
.cfp .cfp-btn-ghost { color: var(--p-ink); border: 1px solid rgba(241, 233, 220, .4); }
.cfp .cfp-btn-ghost:hover { border-color: var(--p-gold-hi); color: #ffffff; }

/* Strip + nav */
.cfp-strip { background: var(--p-deep); color: var(--p-muted); font-size: 13px; padding-block: 8px; border-bottom: 1px solid rgba(201, 173, 115, .12); }
.cfp-strip .cfp-wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.cfp-strip a { color: var(--p-ink); font-weight: 700; }
.cfp-nav { background: linear-gradient(180deg, #18181b, var(--p-bg)); border-bottom: 1px solid var(--p-line); padding-block: 14px; }
.cfp-nav .cfp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.cfp-brand { display: block; line-height: 0; }
.cfp-brand img { display: block; width: 230px; max-width: 100%; height: auto; }
.cfp-links { display: flex; gap: 4px 26px; flex-wrap: wrap; font-family: var(--p-label); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.cfp-links a { color: var(--p-ink); opacity: .85; padding-block: 8px; }
.cfp-links a:hover { opacity: 1; color: var(--p-gold-hi); }

/* Hero */
.cfp-hero { position: relative; padding-block: clamp(56px, 8vw, 110px); background: linear-gradient(90deg, rgba(13, 13, 16, .97) 0%, rgba(22, 22, 25, .88) 45%, rgba(22, 22, 25, .35) 100%), url("https://www.coinfinder.co.uk/wp-content/uploads/2026/07/slider_1.webp") 70% center / cover; }
.cfp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .75fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cfp-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.04; margin-bottom: 22px; }
.cfp-hero h1 span { display: block; color: var(--p-gold-hi); }
.cfp-lede { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: rgba(241, 233, 220, .86); max-width: 56ch; margin-bottom: 28px !important; }
.cfp-sample { background: linear-gradient(180deg, rgba(29, 29, 32, .94), rgba(22, 22, 25, .96)); border: 1px solid rgba(201, 173, 115, .4); border-radius: 12px; padding: 26px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cfp-sample p { margin: 0; }
.cfp-sample-tag { font-family: var(--p-label); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--p-muted); margin-bottom: 16px !important; padding-bottom: 12px; border-bottom: 1px solid var(--p-line); }
.cfp-sample-match { display: flex; align-items: center; gap: 8px; font-family: var(--p-label); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p-gold-hi); margin-bottom: 8px !important; }
.cfp-meter { width: 64px; height: 5px; border-radius: 3px; background: rgba(201, 173, 115, .2); overflow: hidden; }
.cfp-meter b { display: block; width: 99%; height: 100%; background: var(--p-gold); }
.cfp-sample-title { font-family: var(--p-display); font-size: 1.7rem; line-height: 1.15; }
.cfp-sample-meta { color: var(--p-muted); font-size: 14.5px; margin: 4px 0 16px !important; }
.cfp-sample-spink { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 14px; border: 1px solid rgba(201, 173, 115, .4); border-radius: 8px; background: rgba(201, 173, 115, .08); margin-bottom: 14px; }
.cfp-sample-spink span { font-family: var(--p-label); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--p-muted); }
.cfp-sample-spink strong { font-family: var(--p-display); font-weight: 400; font-size: 1.45rem; color: var(--p-gold-hi); letter-spacing: .04em; }
.cfp-sample-legend { display: grid; gap: 2px; margin: 0; }
.cfp-sample-legend dt { font-family: var(--p-label); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--p-muted); margin-top: 8px; }
.cfp-sample-legend dd { margin: 0; font-family: var(--p-display); letter-spacing: .12em; color: var(--p-gold-hi); font-size: 15px; }

/* Scanner band */
.cfp-scan { padding-block: clamp(40px, 6vw, 80px); background: radial-gradient(90% 70% at 50% 0%, #2d2d30 0%, #161619 55%, var(--p-bg) 100%); scroll-margin-top: 0; }

/* Scanner with partner rails either side (2 tiles wide). Below 1280px the rails drop under the scanner. */
.cfp-scan-grid { max-width: 1480px; margin: 0 auto; padding-inline: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 780px) minmax(0, 1fr); gap: 28px; align-items: start; }
.cfp-scan-main { grid-column: 2; grid-row: 1; min-width: 0; }
.cfp-rail-left { grid-column: 1; grid-row: 1; }
.cfp-rail-right { grid-column: 3; grid-row: 1; }
.cfp-rail { position: sticky; top: 20px; min-width: 0; }
.cfp-rail-label { font-family: var(--p-label); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--p-muted); margin: 0 0 10px !important; text-align: center; }
.cfp-rail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cfp .cfp-tile { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 10px; border-radius: 8px; background: linear-gradient(180deg, #1d1d20, #161619); border: 1px solid rgba(201, 173, 115, .22); transition: border-color .15s, transform .15s; overflow: hidden; }
.cfp .cfp-tile:hover { border-color: var(--p-gold); transform: translateY(-1px); }
.cfp-tile img { width: 100%; height: 100%; object-fit: contain; }
.cfp-tile-name { font-family: var(--p-label); font-size: 12px; font-weight: 600; text-align: center; color: var(--p-ink); }
.cfp .cfp-tile-free { border-style: dashed; background: transparent; text-align: center; align-content: center; gap: 2px; }
.cfp-tile-free span { font-size: 12px; color: var(--p-muted); }
.cfp-tile-free small { font-family: var(--p-label); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--p-gold); }
@media (max-width: 1279px) {
    .cfp-scan-grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
    .cfp-scan-main, .cfp-rail-left, .cfp-rail-right { grid-column: 1; grid-row: auto; }
    .cfp-rail { position: static; }
    .cfp-rail-right .cfp-rail-label { display: none; }
    .cfp-rail-left { margin-top: 8px; }
    .cfp-rail-right { margin-top: -18px; }
    .cfp-rail-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* Hero timing note */
.cfp-hero-note { display: flex; gap: 10px; align-items: center; margin: 18px 0 0 !important; font-size: 14.5px; color: var(--p-gold-hi); }
.cfp-hero-note svg { flex: none; width: 18px; height: 18px; color: var(--p-gold); }

/* Partners page */
.cfp-partners-intro { padding-block: clamp(48px, 6vw, 80px) 10px; }
.cfp-partners-intro p { color: var(--p-muted); max-width: 62ch; }
.cfp-partners { display: grid; gap: 22px; padding-block: 20px clamp(48px, 6vw, 80px); }
.cfp-partner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; padding: 26px; border-radius: 12px; background: linear-gradient(180deg, var(--p-bg-2), var(--p-bg)); border: 1px solid var(--p-line); scroll-margin-top: 20px; }
.cfp-partner-logo { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 16px; border-radius: 8px; background: var(--p-deep); border: 1px solid rgba(201, 173, 115, .18); }
.cfp-partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.cfp-partner h2 { font-size: 1.6rem; margin-bottom: 10px; }
.cfp-partner-body p { color: var(--p-muted); font-size: 15.5px; }
.cfp .cfp-partner-link { font-family: var(--p-label); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--p-gold-hi); }
.cfp-advertise { padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--p-line); background: linear-gradient(180deg, #1f1f22, var(--p-bg)); scroll-margin-top: 20px; }
.cfp-advertise p { color: var(--p-muted); max-width: 62ch; }
@media (max-width: 720px) { .cfp-partner { grid-template-columns: 1fr; padding: 20px; } .cfp-partner-logo { max-width: 240px; } }

/* Trust */
.cfp-trust { background: var(--p-deep); border-block: 1px solid rgba(201, 173, 115, .14); }
.cfp-trust ul { list-style: none; margin: 0 auto; padding-block: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cfp-trust li { text-align: center; margin: 0; }
.cfp-trust strong { display: block; font-family: var(--p-display); font-weight: 400; font-size: 1.75rem; color: var(--p-gold-hi); margin-bottom: 4px; }
.cfp-trust span { display: block; font-size: 13px; line-height: 1.5; color: var(--p-muted); }

/* Sections */
.cfp-section { padding-block: clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--p-bg-2), var(--p-bg)); }
.cfp-section + .cfp-section { border-top: 1px solid rgba(201, 173, 115, .12); }
.cfp-section-lede { color: var(--p-muted); max-width: 60ch; margin-top: -6px !important; }
.cfp-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.cfp-steps li { margin: 0; padding-top: 22px; border-top: 1px solid var(--p-line); min-width: 0; }
.cfp-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--p-gold); color: var(--p-gold-hi); font-family: var(--p-display); font-size: 16px; margin-bottom: 14px; }
.cfp-steps p { color: var(--p-muted); font-size: 15.5px; margin: 0; }

/* Split */
.cfp-split { background: #f3eee6; color: #242427; padding-block: clamp(56px, 7vw, 96px); }
.cfp-split-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cfp-photo { min-height: 440px; border-radius: 10px; background: url("https://www.coinfinder.co.uk/wp-content/uploads/2026/07/b_and_g_coins_valuations.webp") center / cover; box-shadow: 0 24px 60px rgba(36, 36, 39, .25); }
.cfp-split h2 { color: #1d1d20; }
.cfp-split .cfp-kicker { color: #8a6f3c; }
.cfp-split p { color: #515154; }
.cfp-split a { color: #7a5f2c; font-weight: 700; border-bottom: 1px solid rgba(122, 95, 44, .35); }
.cfp-split a:hover { color: #1d1d20; }
.cfp-sig { font-family: var(--p-display); font-size: 1.35rem; color: #7a5f2c !important; margin-top: 22px !important; padding-left: 16px; border-left: 2px solid #c9ad73; }

/* FAQ */
.cfp-faq-grid { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 64px); align-items: start; }
.cfp-faq { border-top: 1px solid var(--p-line); }
.cfp-faq details { border-bottom: 1px solid var(--p-line); }
.cfp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--p-label); font-size: 15px; font-weight: 600; color: var(--p-ink); }
.cfp-faq summary::-webkit-details-marker { display: none; }
.cfp-faq summary::after { content: "+"; color: var(--p-gold); font-size: 20px; line-height: 1; }
.cfp-faq details[open] summary::after { content: "\2212"; }
.cfp-faq details p { color: var(--p-muted); font-size: 15.5px; margin: 0; padding: 0 0 20px; max-width: 64ch; }

/* Close + footer */
.cfp-close { text-align: center; padding-block: clamp(56px, 7vw, 96px); background: linear-gradient(180deg, #1f1f22, var(--p-bg)); border-top: 1px solid var(--p-line); }
.cfp-close p { color: var(--p-muted); }
.cfp-close .cfp-actions { justify-content: center; margin-top: 22px; }
.cfp-foot { background: var(--p-deep); border-top: 1px solid rgba(201, 173, 115, .18); color: var(--p-muted); font-size: 13.5px; padding-block: 22px; }
.cfp-foot .cfp-wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }

@media (max-width: 900px) {
    .cfp-hero-grid, .cfp-split-grid, .cfp-faq-grid { grid-template-columns: 1fr; }
    .cfp-sample { max-width: 460px; }
    .cfp-photo { min-height: 300px; }
}
@media (max-width: 720px) {
    .cfp { font-size: 16px; }
    .cfp-strip { font-size: 12px; text-align: center; }
    .cfp-strip .cfp-wrap { justify-content: center; }
    .cfp-strip-r { display: none; }
    .cfp-nav { padding-block: 12px; }
    .cfp-nav .cfp-wrap { justify-content: center; }
    .cfp-brand img { width: 190px; }
    .cfp-links { width: 100%; justify-content: center; gap: 4px 20px; font-size: 12px; }
    .cfp-hero { padding-block: 40px 48px; background-position: 62% center; }
    .cfp-hero h1 { font-size: 2.3rem; }
    .cfp-actions .cfp-btn { flex: 1 1 100%; }
    .cfp-steps { grid-template-columns: 1fr; gap: 26px; }
    .cfp-trust ul { grid-template-columns: 1fr 1fr; padding-block: 26px; gap: 20px 12px; }
    .cfp-scan { padding-inline: 0; }
    .cfp-scan .cfp-wrap { padding-inline: 10px; }
    .cfp-sample { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cfp * { transition: none !important; } }

/* Theme chrome: the landing page draws its own header and footer. Astra per-page settings also turn these off; this is the fallback. */
body.cfp-page .site-header, body.cfp-page #masthead, body.cfp-page .ast-mobile-header-wrap, body.cfp-page .site-footer, body.cfp-page #colophon, body.cfp-page .entry-header, body.cfp-page #ast-scroll-top { display: none !important; }
body.cfp-page .site-content > .ast-container, body.cfp-page.ast-plain-container .site-content > .ast-container { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
body.cfp-page #primary, body.cfp-page .content-area { margin: 0 !important; padding: 0 !important; width: 100% !important; }
body.cfp-page .entry-content > .cfp:first-child { margin-top: 0; }

/* Theme link underlines off inside the landing page and scanner */
.entry-content .cfp a, .entry-content .cfp a:hover, .entry-content .cfp a:focus, .entry-content .coinfinder-scanner .cfs-btn { text-decoration: none; }
.entry-content .cfp-split a { text-decoration: none; }
.entry-content .coinfinder-scanner .cfs-btn-link, .entry-content .coinfinder-scanner .cfs-fine a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .cfp-links { gap: 4px 14px; letter-spacing: .04em; } }
@media (max-width: 440px) { .cfp-links a:nth-child(4) { display: none; } }

/* Larger partner logos (double size) */
.cfp-rail-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cfp .cfp-tile { aspect-ratio: 3 / 2; padding: 8px; }
.cfp-tile-free span { font-size: 14px; }
.cfp-tile-free small { font-size: 11px; }
@media (min-width: 1800px) { .cfp-scan-grid { max-width: 1900px; } .cfp-rail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1279px) { .cfp-rail-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
@media (max-width: 1279px) { .cfp .cfp-tile { aspect-ratio: 2 / 1; } }
@media (max-width: 600px) { .cfp-rail-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } .cfp .cfp-tile { aspect-ratio: 5 / 2; padding: 10px 18px; } }
.entry-content .cfp .cfp-tile img, .cfp .cfp-tile img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.cfp .cfp-tile { position: relative; }
.entry-content .cfp .cfp-tile img, .cfp .cfp-tile img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); max-width: none; object-fit: contain; }

/* Real-result hero card */
.cfp-sample-top { display: flex; gap: 16px; align-items: center; margin-bottom: 4px; }
.cfp-sample-pair { display: flex; flex: none; }
.cfp-sample-pair img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid #111111; box-shadow: 0 6px 16px rgba(0, 0, 0,.55); }
.cfp-sample-pair img + img { margin-left: -14px; }
.cfp-sample-top .cfp-sample-title { font-size: 1.45rem; }
.cfp-sample-tip { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--p-line); font-size: 13.5px; color: var(--p-muted); }

/* ---- Noir: black and graphite with gold accents ---- */
.cfp { --p-bg: #0b0b0c; --p-bg-2: #141415; --p-deep: #060607; --p-ink: #f2f1ee; --p-muted: #a9a8a6; }
.cfp-hero { position: relative; background: #0b0b0c; isolation: isolate; }
.cfp-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("https://www.coinfinder.co.uk/wp-content/uploads/2026/07/slider_1.webp") 70% center / cover; filter: grayscale(1) contrast(1.08) brightness(.75); }
.cfp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,6,7,.97) 0%, rgba(10,10,11,.88) 45%, rgba(10,10,11,.35) 100%); }
.cfp-photo { filter: grayscale(.85) contrast(1.05); }
.cfp-split { background: #ececeb; }
.cfp-split h2 { color: #111112; }
.cfp-split p { color: #4d4d50; }
.cfp-nav { background: linear-gradient(180deg, #121213, #0b0b0c); }

body.cfp-page { background: #060607; }

/* Legal pages (privacy policy) inside the Coin Finder frame. */
.cfp-legal { padding-block: clamp(44px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.cfp-legal .cfp-wrap { max-width: 780px; }
.cfp-legal h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; margin-bottom: 10px; }
.cfp-legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--p-gold-hi); margin: 38px 0 10px; padding-top: 22px; border-top: 1px solid var(--p-line); }
.cfp-legal p { color: var(--p-muted); }
.cfp-legal em { color: var(--p-muted); font-size: .92em; }
/* Account link: picked out in gold so returning members can find it. */
.cfp-links a[href*="/account"] { color: var(--p-gold-hi); opacity: 1; }

/* Tables on the privacy policy. Scroll sideways on phones rather than squash. */
.cfp-legal .cfp-table { overflow-x: auto; margin: 6px 0 18px; border: 1px solid var(--p-line); border-radius: 8px; }
.cfp-legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.cfp-legal th, .cfp-legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--p-line); color: var(--p-muted); }
.cfp-legal th { font-family: var(--p-label); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--p-ink); background: rgba(255, 255, 255, .03); }
.cfp-legal tr:last-child td { border-bottom: 0; }
.cfp-legal ul { color: var(--p-muted); padding-left: 1.2em; margin: 0 0 1em; }

/* Premium Membership tab stands out in the header. */
.cfp-links a[href*="/premium-membership"] { color: var(--p-gold-hi); opacity: 1; }
