/* Content pages built from the content team's docs (tools/build-pages.mjs), plus the nav dropdowns
   shared by every page. Uses the Figma tokens and components from styles.css and buy.css. */

/* ---------- Nav mega menus (Buy, Sell, Services) ----------
   A full-width panel under the sticky nav bar: navy intro card, gold-ruled link columns, a footer row of quick links. */
.nav-links .has-drop { position: static; }
.nav-drop { position: absolute; top: 100%; left: 0; right: 0; z-index: 60; border-top: 1px solid #e6e6e6; background: #fbfbfb; box-shadow: 0 30px 50px rgba(11, 17, 24, .18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; } /* hover bridge from the menu item */
.has-drop:hover .nav-drop, .has-drop:focus-within .nav-drop { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover > a.has-caret > img, .has-drop:focus-within > a.has-caret > img { transform: none; }
.mega { padding-block: 28px 0; }
.mega-top { display: grid; grid-template-columns: 327px repeat(var(--cols), minmax(0, 1fr)); gap: 36px; }
.mega-card { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 22px; border-radius: 18px; background: radial-gradient(120% 90% at 100% 0%, #26364a 0%, var(--navy) 55%, #0f1822 100%); color: #fff; }
.mega-card b { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.mega-card p { margin-top: 14px; color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 300; line-height: 1.6; }
.nav-links .mega-card a { display: inline-flex; align-items: center; gap: 8px; height: auto; margin-top: 18px; color: var(--gold); font-size: 16px; font-weight: 700; }
.nav-links .mega-card a img { width: 12px; transform: none; filter: brightness(0) saturate(100%) invert(76%) sepia(64%) saturate(724%) hue-rotate(358deg) brightness(97%); transition: transform .2s; }
.nav-links .mega-card a:hover img { transform: translateX(3px); }
.mega-col { display: grid; align-content: start; }
.nav-links .mega-col a { display: block; height: auto; padding: 9px 0; border-radius: 0; color: var(--ink-2); font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1.3; transition: color .15s; }
.nav-links .mega-col a.mega-head { margin-bottom: 10px; padding: 6px 0 12px; border-bottom: 2px solid var(--gold); color: var(--navy); font-weight: 700; }
.nav-links .mega-col a:hover { color: var(--gold-dark); }
.mega-foot { display: flex; flex-wrap: wrap; gap: 8px 34px; margin-top: 26px; padding-block: 18px 22px; border-top: 1px solid #e3e3e3; }
.nav-links .mega-foot a { display: inline-flex; align-items: center; gap: 9px; height: auto; color: var(--navy); font-family: var(--sans); font-size: 16px; font-weight: 600; }
.nav-links .mega-foot a img { width: 18px; min-width: 18px; transform: none; }
.nav-links .mega-foot a:hover { color: var(--gold-dark); }
@media (prefers-reduced-motion: reduce) { .nav-drop { transition: none; transform: none; } }
.mobile-sub { display: grid; padding: 0 0 6px 14px; }
.mobile-nav .mobile-sub a { padding: 7px 0; border: 0; color: rgba(255, 255, 255, .72); font-size: 15px; }

/* ---------- Page hero ---------- */
.hero-page { height: auto; min-height: calc(560 * var(--u)); padding-bottom: calc(150 * var(--u)); --hx: 0; --hy: 0; --hw: 1920; --hh: 900; }
.hero-page .hero-bg { height: 100%; min-height: 100%; }
.hero-page::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(22, 34, 48, .94) 0%, rgba(22, 34, 48, .82) 42%, rgba(22, 34, 48, .25) 78%); }
.hero-page .hero-inner { padding-top: calc(70 * var(--u)); }
.hero-page h1 { max-width: calc(1000 * var(--u)); font-size: max(36px, calc(74 * var(--u))); line-height: 1.08; }
.hero-page .hero-sub { max-width: calc(860 * var(--u)); margin-top: calc(22 * var(--u)); font-size: max(16px, calc(22 * var(--u))); line-height: 1.3; }
.hero-page .hero-sub + .hero-sub { margin-top: calc(12 * var(--u)); color: rgba(255, 255, 255, .82); }
.hero-page .doc-btns { margin-top: calc(32 * var(--u)); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0 0 calc(26 * var(--u)); padding: 0; list-style: none; font-size: max(13px, calc(16 * var(--u))); font-weight: 500; }
.crumbs li { color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; margin-inline: 10px; color: var(--gold); }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Doc content blocks ---------- */
.doc { max-width: calc(960 * var(--u)); color: var(--text); }
.doc > :first-child { margin-top: 0; }
.doc h2 { margin-top: calc(72 * var(--u)); color: var(--navy); font-size: max(26px, calc(44 * var(--u))); font-weight: 700; line-height: 1.11; letter-spacing: -.02em; scroll-margin-top: 120px; }
.doc h3 { margin-top: calc(40 * var(--u)); color: var(--navy); font-size: max(20px, calc(28 * var(--u))); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.doc p { margin-top: calc(20 * var(--u)); font-size: max(16px, calc(22 * var(--u))); font-weight: 300; line-height: 1.5; }
.doc h2 + p, .doc h3 + p { margin-top: calc(18 * var(--u)); }
.doc .doc-note { padding: calc(16 * var(--u)) calc(20 * var(--u)); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: var(--cream); font-size: max(14px, calc(17 * var(--u))); font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.doc-list { display: grid; gap: calc(16 * var(--u)); margin-top: calc(26 * var(--u)); }
.doc-list li { position: relative; padding-left: max(30px, calc(42 * var(--u))); font-size: max(16px, calc(22 * var(--u))); font-weight: 300; line-height: 1.45; }
.doc-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: max(18px, calc(24 * var(--u))); height: max(18px, calc(24 * var(--u))); border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23162230' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat; }
.doc-list b { color: var(--navy); font-weight: 800; }
.doc-btns { display: flex; flex-wrap: wrap; gap: calc(10 * var(--u)); margin-top: calc(30 * var(--u)); }
.doc-btns .btn { gap: calc(10 * var(--u)); }
.doc-btns .btn img { width: max(12px, calc(14 * var(--u))); }
.btn-grey { background: #e6e6e6; color: #0b1118; }
.hero .btn-grey { background: #d9d9d9; }

.doc-table-wrap { margin-top: calc(30 * var(--u)); overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.page-top .doc-table-wrap { margin-top: 0; }
.doc-table { width: 100%; border-collapse: collapse; font-size: max(14px, calc(18 * var(--u))); }
.doc-table th, .doc-table td { padding: calc(16 * var(--u)) calc(20 * var(--u)); border-bottom: 1px solid #e5e5e5; text-align: left; vertical-align: top; line-height: 1.4; }
.doc-table thead th { background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
.doc-table tbody th { color: var(--navy); font-weight: 800; }
.doc-table tbody tr:last-child > * { border-bottom: 0; }
.doc-table tbody tr:nth-child(even) { background: #fafafa; }
.doc-table a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.live-cell { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--cream); color: var(--gold-dark); font-size: .85em; font-weight: 700; white-space: nowrap; }
.live-cell::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #06c94a; }

.doc-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(260px, calc(340 * var(--u))), 1fr)); gap: calc(24 * var(--u)); margin-top: calc(34 * var(--u)); }
.doc-products .pcard { height: auto; min-height: calc(620 * var(--u)); padding-inline: calc(40 * var(--u)); }
.doc-products .pcard-img { height: calc(360 * var(--u)); }
.doc-products .pcard-img img { max-height: calc(260 * var(--u)); }
/* Products sit three to a row, wider than the centred text column above them; one or two cards are centred */
@media (min-width: 1025px) { .doc-products { grid-template-columns: repeat(auto-fit, calc((100% - 2 * 24 * var(--u)) / 3)); justify-content: center; width: min(calc(1440 * var(--u)), calc(100vw - 40px)); margin-left: 50%; transform: translateX(-50%); } }
.doc-products .pcard-img img.round { max-height: calc(250 * var(--u)); }
.doc-products .pcard-pure, .doc-products .pcard-price { flex-wrap: wrap; white-space: normal; row-gap: 8px; }

.faq-page { padding-top: 0; }
.faq-page details p { padding: 0 calc(48 * var(--u)) calc(22 * var(--u)) 0; font-size: max(15px, calc(22 * var(--u))); font-weight: 300; line-height: 1.41; color: var(--text); }
.faq-page details p + p { margin-top: calc(-8 * var(--u)); }
.faq-page details[open] summary { font-weight: 800; }

/* ---------- Price desk (Ehab: the price table sits at the top of every price page) ---------- */
.price-desk { position: relative; z-index: 3; margin-top: calc(-107 * var(--u)); }
.pd-table-wrap { margin-top: calc(30 * var(--u)); overflow-x: auto; border-radius: 15px; }
.pd-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: max(14px, calc(18 * var(--u))); }
.pd-table th, .pd-table td { padding: calc(18 * var(--u)) calc(22 * var(--u)); text-align: left; vertical-align: middle; line-height: 1.3; }
.pd-table thead th { background: var(--navy); color: #fff; font-weight: 800; font-size: max(13px, calc(17 * var(--u))); letter-spacing: .01em; }
.pd-table thead th.pd-buy { background: var(--gold); color: var(--navy); }
.pd-table thead th.pd-sell { background: var(--blue); }
.pd-table tbody th { background: #fff; color: var(--navy); font-weight: 800; white-space: nowrap; }
.pd-table tbody td { background: #fff; color: var(--ink-2); font-weight: 500; }
.pd-table tbody tr + tr > * { border-top: 1px solid #e3e3e3; }
.pd-table tbody td.pd-buy { background: #fff3c4; color: var(--navy); }
.pd-table tbody td.pd-sell { background: #e7edf5; color: var(--navy); }
.pd-table tbody tr + tr td.pd-buy { border-top-color: #f0dc96; }
.pd-table tbody tr + tr td.pd-sell { border-top-color: #cdd7e4; }
.pd-num { font-family: var(--manrope); font-size: max(16px, calc(22 * var(--u))); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.pd-table small { margin-left: 4px; color: var(--ink-2); font-size: .78em; font-weight: 600; opacity: .7; }
.pd-chg { color: #e00; font-family: var(--manrope); font-weight: 700; }
.pd-actions { display: flex; justify-content: center; gap: calc(12 * var(--u)); margin-top: calc(28 * var(--u)); }
.pd-actions .btn { min-width: calc(220 * var(--u)); gap: calc(12 * var(--u)); font-weight: 700; }
.pd-actions .btn-navy { color: var(--gold); }

/* ---------- Sections in the Figma vocabulary ---------- */
.pg-intro { padding-top: calc(110 * var(--u)); max-width: calc(1100 * var(--u)); }
.pg-intro .lead { color: var(--navy); }
.pg-intro > p:not(.lead), .pg-narrow > p, .pg-after > p, .pg-card p, .choice-grid article > p { margin-top: calc(20 * var(--u)); font-size: max(16px, calc(22 * var(--u))); font-weight: 300; line-height: 1.5; color: var(--text); }
.pg-intro .doc-btns { margin-top: calc(32 * var(--u)); }
.pg-body { padding-bottom: calc(140 * var(--u)); }
.pg-body-top { padding-top: calc(10 * var(--u)); }
.pg-body > :first-child.pg-band, .pg-body > :first-child.pg-pair { margin-top: calc(110 * var(--u)); }
.pg-body h2 { color: var(--navy); font-size: max(26px, calc(48 * var(--u))); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; scroll-margin-top: 120px; }
.pg-body .lead { margin-top: calc(24 * var(--u)); font-size: max(16px, calc(26 * var(--u))); max-width: calc(1017 * var(--u)); }
.pg-body .doc-note { margin-top: calc(24 * var(--u)); padding: calc(16 * var(--u)) calc(20 * var(--u)); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: var(--cream); font-size: max(14px, calc(17 * var(--u))); font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.pg-band .doc-note, .pg-pair .doc-note { background: #fff; }

/* Image + copy split (alternates sides) */
.pg-split { align-items: center; }
.pg-split .split-img { height: calc(540 * var(--u)); }
.pg-split-r { grid-template-columns: 1fr calc(702 * var(--u)); }
.pg-split-r .split-img { order: 2; }
.pg-split .split-copy { padding-top: 0; }
.pg-split .split-copy > p { margin-top: calc(22 * var(--u)); font-size: max(16px, calc(22 * var(--u))); line-height: 1.45; }
.pg-split .dots { margin-top: calc(26 * var(--u)); padding-left: 0; gap: calc(20 * var(--u)); }
.pg-split .dots li, .pg-wide .dots li, .pg-intro .dots li, .pg-card .dots li, .choice-grid .dots li { font-size: max(16px, calc(21 * var(--u))); line-height: 1.4; }
.pg-split .dots b, .pg-wide .dots b, .pg-intro .dots b, .pg-card .dots b, .choice-grid .dots b, .pay .dots b { margin-bottom: calc(6 * var(--u)); font-size: max(16px, calc(22 * var(--u))); }

/* Three points: the gold-ring checklist */
.pg-checks { padding-top: calc(140 * var(--u)); }
.pg-checks .check-grid { gap: calc(60 * var(--u)); justify-content: stretch; grid-template-columns: repeat(3, 1fr); }
.pg-checks .check-grid h3 { font-size: max(21px, calc(32 * var(--u))); }
.pg-checks .check-grid p { margin-top: calc(18 * var(--u)); font-size: max(15px, calc(21 * var(--u))) !important; line-height: 1.4 !important; letter-spacing: 0 !important; }
.pg-after { max-width: calc(1100 * var(--u)); }

/* Longer lists: cream band, two columns of dots */
.pg-band .pay-grid { margin-top: calc(48 * var(--u)); grid-template-columns: 1fr 1fr; }
.pg-band .dots { gap: calc(26 * var(--u)); }
.pg-band .dots li { line-height: 1.35; }

/* Two subsections: Bars vs Coins style cards */
.pg-pair { padding: calc(120 * var(--u)) 0 calc(130 * var(--u)); }
.pg-body > .pg-pair:not(:first-child), .pg-body > .pg-band:not(:first-child) { margin-top: calc(140 * var(--u)); }
.pg-pair .choice-grid article > img { height: calc(340 * var(--u)); object-position: center; }
.pg-pair .choice-grid h3 { margin-top: calc(34 * var(--u)); font-size: max(22px, calc(36 * var(--u))); }
.pg-pair .doc-btns { margin-top: calc(26 * var(--u)); }

/* Three or four subsections: bordered cards */
.pg-cards, .pg-wide, .pg-products { padding-top: calc(140 * var(--u)); }
.pg-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(calc(300 * var(--u)), 1fr)); gap: calc(24 * var(--u)); margin-top: calc(44 * var(--u)); }
.pg-card { padding: calc(36 * var(--u)); border: 1px solid #d9ad64; border-radius: 20px; background: #fff; }
.pg-card h3 { color: var(--navy); font-size: max(20px, calc(28 * var(--u))); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.pg-card .dots { margin-top: calc(18 * var(--u)); gap: calc(14 * var(--u)); }

/* Long copy, tables, subsection-heavy sections */
.pg-narrow { max-width: calc(1100 * var(--u)); }
.pg-wide h3 { margin-top: calc(40 * var(--u)); color: var(--navy); font-size: max(20px, calc(30 * var(--u))); font-weight: 800; letter-spacing: -.02em; }
.pg-wide .dots { margin-top: calc(26 * var(--u)); gap: calc(18 * var(--u)); }
.pg-products .doc-products { margin-top: calc(44 * var(--u)); grid-template-columns: repeat(3, 1fr); }

/* Closing section with buttons: the navy invest banner */
.pg-cta { margin-top: calc(140 * var(--u)); }
.pg-cta .invest-card { height: auto; min-height: calc(420 * var(--u)); padding-bottom: calc(80 * var(--u)); }
.pg-cta .invest-card > img { left: 30%; top: 0; width: 70%; height: 100%; filter: none; }
.pg-cta h2 { max-width: calc(760 * var(--u)); color: #fff; font-size: max(26px, calc(50 * var(--u))); font-weight: 900; line-height: 1.08; }
.pg-cta p { max-width: calc(700 * var(--u)); margin-top: calc(20 * var(--u)); color: rgba(255, 255, 255, .88); font-size: max(16px, calc(22 * var(--u))); font-weight: 300; line-height: 1.45; }
.pg-cta .doc-btns { margin-top: calc(30 * var(--u)); }
.pg-cta .btn-grey { background: #fff; }

/* Related pages */
.pg-related { padding-bottom: calc(120 * var(--u)); }
.pg-related h2 { color: var(--navy); font-size: max(24px, calc(40 * var(--u))); font-weight: 700; letter-spacing: -.02em; }
.pg-related-row { display: flex; flex-wrap: wrap; gap: calc(12 * var(--u)); margin-top: calc(26 * var(--u)); }
.pg-related-row a { display: inline-flex; align-items: center; gap: 10px; height: max(42px, calc(52 * var(--u))); padding-inline: calc(24 * var(--u)); border: 1px solid #d9ad64; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: max(14px, calc(18 * var(--u))); transition: background-color .2s, transform .2s; }
.pg-related-row a:hover { background: var(--cream); transform: translateY(-2px); }
.pg-related-row img { width: 11px; }

@media (max-width: 1024px) {
  .price-desk { margin-top: -60px; padding: 20px 14px; }
  .pd-table th, .pd-table td { padding: 12px 14px; }
  .pd-actions { flex-direction: column; }
  .pd-actions .btn { width: 100%; }
  .pg-intro { padding-top: 56px; }
  .pg-split, .pg-split-r { grid-template-columns: 1fr; gap: 24px; padding-top: 64px; }
  .pg-split-r .split-img { order: 0; }
  .pg-split .split-img { height: 240px; }
  .pg-checks, .pg-cards, .pg-wide, .pg-products { padding-top: 64px; }
  .pg-checks .check-grid { grid-template-columns: 1fr; gap: 32px; }
  .pg-band .pay-grid, .pg-products .doc-products { grid-template-columns: 1fr; }
  .pg-body > .pg-pair:not(:first-child), .pg-body > .pg-band:not(:first-child), .pg-body > :first-child.pg-band, .pg-body > :first-child.pg-pair, .pg-cta { margin-top: 64px; }
  .pg-pair { padding: 56px 0; }
  .pg-pair .choice-grid article > img { height: 200px; }
  .pg-cta .invest-card { padding: 40px 22px; }
  .pg-cta .invest-card > img { left: 0; width: 100%; }
  .pg-body { padding-bottom: 72px; }
  .pg-related { padding-bottom: 64px; }
  .pg-body .choice-grid > *, .pg-card-grid > *, .pg-body .pay-grid > *, .pg-body .check-grid > * { min-width: 0; }
  .pg-card-grid { grid-template-columns: 1fr; }
  .pg-card { padding: 22px; }
  .pg-body .btn { height: auto; min-height: 44px; padding-block: 10px; white-space: normal; text-align: left; }
}

/* ---------- Hubs ---------- */
.hub { padding-block: calc(110 * var(--u)) calc(150 * var(--u)); }
.hub-head { margin: calc(60 * var(--u)) 0 calc(24 * var(--u)); color: var(--navy); font-size: max(26px, calc(44 * var(--u))); font-weight: 700; letter-spacing: -.02em; }
.hub-head:first-child { margin-top: 0; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(24 * var(--u)); }
.hub-card { display: flex; flex-direction: column; padding: calc(34 * var(--u)); border: 1px solid #d9ad64; border-radius: 20px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 34, 48, .12); }
.hub-card h3 { color: var(--navy); font-size: max(20px, calc(28 * var(--u))); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.hub-card p { flex: 1; margin-top: calc(14 * var(--u)); font-size: max(15px, calc(18 * var(--u))); font-weight: 300; line-height: 1.45; color: var(--text); }
.hub-card span { display: inline-flex; align-items: center; gap: 8px; margin-top: calc(20 * var(--u)); color: var(--navy); font-weight: 700; font-size: max(14px, calc(17 * var(--u))); }
/* Guide cards with a photo across the top (Resources hub) */
.hub-card-photo { padding-top: 0; overflow: hidden; }
/* Brand directory on /brands */
.brand-dir { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(18 * var(--u)); margin: calc(40 * var(--u)) 0 calc(56 * var(--u)); }
.brand-card { display: flex; flex-direction: column; padding: calc(26 * var(--u)) calc(28 * var(--u)); border: 1px solid #d9ad64; border-radius: 16px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.brand-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(22, 34, 48, .1); }
.brand-card h3 { color: var(--navy); font-size: max(17px, calc(23 * var(--u))); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.brand-card p { flex: 1; margin-top: calc(8 * var(--u)); color: var(--text); font-size: max(14px, calc(17 * var(--u))); font-weight: 300; }
.brand-card span { display: inline-flex; align-items: center; gap: 8px; margin-top: calc(16 * var(--u)); color: var(--navy); font-weight: 700; font-size: max(13px, calc(16 * var(--u))); }
@media (max-width: 1024px) { .brand-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 36px; } }
.hub + .rc-cta { margin-top: 0; }
/* A closing banner keeps one section gap before the contact card, as on the Figma-layout pages */
.rc-page > .rc-cta:last-child, .hub + .rc-cta { margin-bottom: calc(140 * var(--u)); }
@media (max-width: 1024px) { .rc-page > .rc-cta:last-child, .hub + .rc-cta { margin-bottom: 72px; } }
/* That gap is the whole gap when an FAQ follows: the FAQ drops its own top padding (QA 2026-11-20: it was doubled) */
.rc-page:has(> .rc-cta:last-child) + .faq { padding-top: 0; }
.hub-card-photo > img { width: calc(100% + 68 * var(--u)); max-width: none; height: calc(230 * var(--u)); min-height: 150px; margin: 0 calc(-34 * var(--u)) calc(26 * var(--u)); object-fit: cover; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 1024px) {
  .nav-drop { display: none; }
  .hero-page { min-height: 0; padding-bottom: 90px; }
  .hero-page::after { background: linear-gradient(180deg, rgba(22, 34, 48, .88), rgba(22, 34, 48, .72)); }
  .hero-page .hero-inner { padding: 36px 0 0; }
  .hero-page h1 { font-size: clamp(32px, 8.4vw, 54px); }
  .doc h2 { margin-top: 48px; }
  .doc-products { grid-template-columns: 1fr; }
  .doc-products .pcard-img { height: auto; }
  .hub { padding-block: 56px 80px; }
  .hub-grid { grid-template-columns: 1fr; }
  .faq-page { padding-bottom: 80px; }
}

/* Phones: each price row becomes a stacked card so Buy and Sell stay visible without sideways scrolling */
@media (max-width: 640px) {
  .pd-table-wrap { overflow: visible; border-radius: 0; }
  .pd-table thead { display: none; }
  .pd-table, .pd-table tbody { display: block; }
  .pd-table tbody tr { display: grid; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 14px; overflow: hidden; background: #fff; }
  .pd-table tbody tr + tr > * { border-top: 0; }
  .pd-table tbody th { background: var(--navy); color: #fff; }
  .pd-table tbody td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid #ececec; text-align: right; }
  .pd-table tbody td::before { content: attr(data-label); color: var(--ink-2); font-weight: 600; font-size: 13px; text-align: left; }
}

/* ---------- Recipe pages (Gold first): Figma homepage / Buy page components reused as-is ---------- */
/* Rates panel holding Ehab's table: each row is styled like a Buy page rate card */
.rc-rates h2 { margin-top: calc(24 * var(--u)); }
.rate-table { width: 100%; margin-top: calc(26 * var(--u)); border-collapse: separate; border-spacing: 0 calc(14 * var(--u)); color: var(--navy); }
.rate-table thead th { padding: 0 calc(26 * var(--u)) calc(2 * var(--u)); text-align: left; font-size: max(12px, calc(16 * var(--u))); font-weight: 500; white-space: nowrap; }
.rate-table thead th.rt-buy, .rate-table thead th.rt-sell { font-weight: 800; }
.rt-row > * { padding: calc(24 * var(--u)) calc(26 * var(--u)); text-align: left; vertical-align: middle; border-block: 1px solid #c5c5c5; background: linear-gradient(rgba(217, 217, 217, .7), rgba(183, 183, 183, .7)); }
.rt-row > :first-child { border-left: 1px solid #c5c5c5; border-radius: 20px 0 0 20px; }
.rt-row > :last-child { border-right: 1px solid #c5c5c5; border-radius: 0 20px 20px 0; }
.rt-gold > * { border-color: #aa790b !important; background: linear-gradient(rgba(255, 195, 0, .5), rgba(217, 173, 100, .5)); }
.rt-name { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); font-size: max(16px, calc(22 * var(--u))); font-weight: 900; white-space: nowrap; }
.rt-name img { width: max(8px, calc(10 * var(--u))); }
.rt-row td { font-size: max(14px, calc(18 * var(--u))); font-weight: 600; line-height: 1.3; }
.rt-row td.rt-buy .pd-num, .rt-row td.rt-sell .pd-num { font-family: var(--sans); font-size: max(20px, calc(32 * var(--u))); font-weight: 900; letter-spacing: -.01em; }
.rt-row td small { margin-left: 4px; font-size: .8em; font-weight: 600; opacity: .7; }
.rc-rates .pd-actions { margin-top: calc(18 * var(--u)); }

.rc-after { max-width: calc(980 * var(--u)); margin: calc(70 * var(--u)) auto 0; text-align: center; }
.rc-after p { font-size: max(16px, calc(24 * var(--u))); font-weight: 300; line-height: 1.4; color: var(--text); }
.rc-after .doc-btns { justify-content: center; }
.rc-after-left { margin: calc(46 * var(--u)) 0 0; text-align: left; }
.rc-after-left .doc-btns { justify-content: flex-start; }

.rc-tabs .dealer-panel p { margin-top: calc(12 * var(--u)); }
.rc-products .prod-wrap { margin-top: calc(56 * var(--u)); }
.rc-products .prod-head p { max-width: calc(1100 * var(--u)); font-size: max(16px, calc(26 * var(--u))); font-weight: 400; line-height: 1.35; }

.rc-choice { padding-bottom: calc(140 * var(--u)); }
.rc-choice .choice-grid article > p { margin-top: calc(18 * var(--u)); font-size: max(15px, calc(22 * var(--u))); font-weight: 300; line-height: 1.45; color: var(--text); }
.rc-choice .choice-grid .doc-btns { margin-top: auto; padding-top: calc(30 * var(--u)); }

.rc-navy { height: auto; min-height: calc(820 * var(--u)); margin-top: calc(140 * var(--u)); }
.rc-navy > img { object-position: center; }

.contact-dl dd:has(a[href^="mailto:"]) { text-transform: none; }
.rc-pay .lead { margin-top: calc(24 * var(--u)); }
/* Buy page checklist, when a section has more than three points */
.checks .check-grid { row-gap: calc(70 * var(--u)); }


.rc-page + .faq-page { padding-top: calc(140 * var(--u)); }

@media (max-width: 1024px) {
  .rate-table thead { display: none; }
  .rate-table, .rate-table tbody { display: block; }
  .rate-table tbody tr { display: grid; margin-bottom: 12px; border: 1px solid #c5c5c5; border-radius: 18px; overflow: hidden; background: linear-gradient(rgba(217, 217, 217, .7), rgba(183, 183, 183, .7)); }
  .rate-table tbody tr.rt-gold { border-color: #aa790b; background: linear-gradient(rgba(255, 195, 0, .5), rgba(217, 173, 100, .5)); }
  .rt-row > * { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 16px; border: 0 !important; border-radius: 0 !important; background: none !important; text-align: right; }
  .rt-row > th { padding-top: 16px; }
  .rt-row td::before { content: attr(data-label); font-size: 13px; font-weight: 500; text-align: left; }
  .rc-navy { min-height: 0; margin-top: 64px; }
  .rc-after { margin-top: 36px; }
  .rc-page + .faq-page { padding-top: 64px; }
}

/* Closing call to action: the Figma invest banner, as a standalone section */
.rc-cta { margin-top: calc(140 * var(--u)); }
.rc-cta .invest-card { height: auto; min-height: calc(450 * var(--u)); padding-bottom: calc(80 * var(--u)); } /* grows with long closing copy */
.rc-cta .invest-card p { max-width: calc(667 * var(--u)); margin-top: calc(18 * var(--u)); color: rgba(255, 255, 255, .85); font-size: max(15px, calc(22 * var(--u))); font-weight: 300; line-height: 1.4; }

/* Why choose: 3 x 2 trust grid */
.rc-why { padding-top: calc(140 * var(--u)); }
.why-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: calc(24 * var(--u)); margin-top: calc(70 * var(--u)); }
.why-card { display: flex; flex-direction: column; min-height: calc(340 * var(--u)); padding: calc(38 * var(--u)) calc(36 * var(--u)); border: .7px solid #d9ad64; border-radius: 24px; background: #fff; color: var(--navy); transition: transform .25s ease, box-shadow .25s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 34, 48, .1); }
.why-card .check-ico { width: max(64px, calc(86 * var(--u))); }
.why-card h3 { margin-top: calc(26 * var(--u)); font-size: max(21px, calc(30 * var(--u))); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.why-card p { margin-top: calc(14 * var(--u)); font-size: max(15px, calc(20 * var(--u))); font-weight: 300; line-height: 1.45; color: var(--text); }
.why-navy { justify-content: flex-end; border: 0; background: var(--navy); }
.why-navy .why-big { color: var(--gold); font-size: max(56px, calc(110 * var(--u))); font-weight: 900; line-height: .9; letter-spacing: -.04em; }
.why-navy h3 { margin-top: calc(18 * var(--u)); color: #fff; }
.why-navy p { color: rgba(255, 255, 255, .78); }
.why-photo { padding: 0; overflow: hidden; }
.why-photo img { width: 100%; height: calc(190 * var(--u)); min-height: 150px; object-fit: cover; }
.why-photo > div { padding: calc(28 * var(--u)) calc(36 * var(--u)) calc(36 * var(--u)); }
.why-photo h3 { margin-top: 0; }
.why-gold { border: 0; background: var(--gold); }
.why-gold .check-ico { border-color: var(--navy); }
.why-gold p { color: var(--navy); font-weight: 400; }
.why-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: calc(22 * var(--u)); color: var(--navy); font-weight: 800; font-size: max(15px, calc(18 * var(--u))); }
.why-link img { width: 11px; transition: transform .2s; }
.why-link:hover img { transform: translateX(3px); }

/* Why consider: sticky side + benefit grid */
.rc-benefits { display: grid; grid-template-columns: calc(560 * var(--u)) 1fr; gap: calc(90 * var(--u)); align-items: start; padding-top: calc(140 * var(--u)); }
.ben-side { position: sticky; top: 130px; }
.ben-side h2 { color: var(--navy); font-size: max(30px, calc(64 * var(--u))); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.ben-side p { margin-top: calc(24 * var(--u)); font-size: max(16px, calc(22 * var(--u))); font-weight: 300; line-height: 1.45; color: var(--text); }
.ben-side img { width: 100%; height: calc(360 * var(--u)); margin-top: calc(36 * var(--u)); object-fit: cover; border-radius: 24px; }
.ben-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(52 * var(--u)) calc(48 * var(--u)); }
.ben { padding-top: calc(24 * var(--u)); border-top: 3px solid var(--gold); }
.ben h3 { color: var(--navy); font-size: max(19px, calc(26 * var(--u))); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.ben p { margin-top: calc(12 * var(--u)); font-size: max(15px, calc(20 * var(--u))); font-weight: 300; line-height: 1.5; color: var(--text); }
.ben-lead { grid-column: 1 / -1; }
.ben-lead p { max-width: calc(560 * var(--u)); }

@media (prefers-reduced-motion: reduce) { .why-card, .why-link img { transition: none; } .why-card:hover { transform: none; } }
@media (max-width: 1024px) {
  .rc-cta { margin-top: 64px; }
  .rc-why, .rc-benefits { padding-top: 64px; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .why-card { min-height: 0; padding: 26px 22px; }
  .why-photo { padding: 0; }
  .why-photo > div { padding: 20px 22px 24px; }
  .rc-benefits { grid-template-columns: 1fr; gap: 32px; }
  .ben-side { position: static; }
  .ben-side img { height: 220px; }
  .ben-grid { grid-template-columns: 1fr; gap: 28px; }
  .ben-lead { grid-column: 1 / -1; }
}
@media (min-width: 1025px) and (max-width: 1280px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }

/* Price panel (content pages, per client review): status row, copy, then full-width cards coloured by metal */
.rc-head { margin-top: calc(24 * var(--u)); }
.rc-head h2 { margin-top: 0 !important; }
.rc-head .rates-desc { max-width: calc(760 * var(--u)); font-size: max(15px, calc(20 * var(--u))); line-height: 1.5; }
.rc-head .pd-actions { justify-content: flex-start; margin-top: calc(24 * var(--u)) !important; }
.rc-head .pd-actions .btn { min-width: 0; }
.rc-grid { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-top: calc(32 * var(--u)); }
.rc-grid .rate { justify-content: space-between; }
.rc-grid .rate dl { margin-top: calc(14 * var(--u)); }
.rc-grid .rt-side > a { display: inline-flex; align-items: center; gap: 8px; margin-top: calc(16 * var(--u)); color: var(--navy); font-size: max(14px, calc(18 * var(--u))); font-weight: 900; }
.rc-grid .rt-side > a img { width: max(10px, calc(12 * var(--u))); transition: transform .2s; }
.rc-grid .rt-side > a:hover img { transform: translateX(3px); }
/* Card colour follows the metal */
.rate-gold { border-color: #aa790b; }
.rate-gold::before { background: linear-gradient(134deg, #ffc300 0%, #d9ad64 98%); opacity: .5; }
.rate-silver { border-color: #b9c0c8; }
.rate-silver::before { background: linear-gradient(134deg, #ffffff 0%, #e6e9ed 55%, #cdd3da 100%); opacity: 1; }
.rate-platinum { border-color: #a7b2be; }
.rate-platinum::before { background: linear-gradient(134deg, #f3f6f9 0%, #d8dfe7 55%, #bcc6d1 100%); opacity: 1; }
.rate-palladium { border-color: #9da5ae; }
.rate-palladium::before { background: linear-gradient(134deg, #eef0f2 0%, #d2d6db 55%, #b3b9c1 100%); opacity: 1; }
.rate-silver h3, .rate-platinum h3, .rate-palladium h3 { color: var(--navy); }
/* One product: a single wide card, price on the left, details and link on the right */
.rc-one .rate { flex-direction: row; align-items: center; gap: calc(40 * var(--u)); padding: calc(30 * var(--u)) calc(36 * var(--u)); }
.rc-one .rt-main { flex: 1; }
.rc-one .rt-main header { justify-content: flex-start; gap: 14px; }
.rc-one .rt-side { flex: 0 0 calc(520 * var(--u)); }
.rc-one .rate dl { margin-top: 0; }
.rt-purity { display: inline-flex; align-items: center; height: max(24px, calc(30 * var(--u))); padding-inline: 10px; border-radius: 999px; background: #0b1118; color: var(--gold); font-size: max(11px, calc(14 * var(--u))); font-weight: 600; white-space: nowrap; }
.rt-weights dd { max-width: 58%; text-align: right; line-height: 1.25; }
.rt-weights { align-items: flex-start !important; padding-block: 4px; line-height: 1.25 !important; }
.rt-weights dt { line-height: 1.25; }
@media (max-width: 1024px) {
  .rc-grid { grid-template-columns: 1fr 1fr; }
  .rc-one { grid-template-columns: 1fr; }
  .rc-one .rate { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 18px; }
  .rc-one .rt-side { flex: none; }
  .rc-head .rates-desc { max-width: none; }
}
@media (max-width: 560px) { .rc-grid { grid-template-columns: 1fr; } }

/* ---------- Shared component system: variants used across all content pages ---------- */
.rc-page-top > :first-child:not(.about) { margin-top: 0; }
.rc-page-top > .rc-about:first-child { padding-top: calc(120 * var(--u)); }
/* Buy page photo split, mirrored */
.split-r { grid-template-columns: 1fr calc(702 * var(--u)); }
.split-r .split-img { order: 2; }
.rc-split { align-items: center; }
.rc-split .split-copy { padding-top: 0; }
.rc-split .split-copy .doc-btns { margin-top: calc(32 * var(--u)); }
.rc-split .split-copy .doc-note { margin-top: calc(24 * var(--u)); }
/* Homepage centred header as a text section */
.rc-center { padding-top: calc(140 * var(--u)); }
.rc-center .center-head > p { margin-top: calc(26 * var(--u)); }
.rc-center .center-head .doc-btns { justify-content: center; margin-top: calc(34 * var(--u)); }
.rc-center .center-head .dots { max-width: calc(900 * var(--u)); margin: calc(30 * var(--u)) auto 0; text-align: left; }
.rc-center .doc-note { max-width: calc(900 * var(--u)); margin: calc(24 * var(--u)) auto 0; text-align: left; }
.rc-chips .pg-related-row { justify-content: center; margin-top: calc(40 * var(--u)); }
.rc-chips .pg-related-row span { display: inline-flex; align-items: center; height: max(42px, calc(52 * var(--u))); padding-inline: calc(24 * var(--u)); border: 1px solid #d9d9d9; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: max(14px, calc(18 * var(--u))); }
.rc-chips .rc-after:empty { display: none; }
/* Navy card and dealer card copy */
.rc-navy .refining-copy > p { margin-top: calc(26 * var(--u)); font-size: max(15px, calc(24 * var(--u))); line-height: 1.35; }
.rc-navy .refining-copy h2 + p { margin-top: calc(36 * var(--u)); }
.rc-navy .dots li, .rc-navy .dots b { color: #fff; }
/* On the Figma-style pages the generic navy h2 colour won over the card's white (heading invisible on navy) */
.rc-navy .refining-copy :is(h2, h3, p):not(#_) { color: #fff; }
.rc-navy .refining-copy > p:not(#_) { color: rgba(255, 255, 255, .85); }
.rc-navy .refining-copy > p + .dots { margin-top: calc(24 * var(--u)); }
/* A navy card is a card, not a full-bleed band, so it keeps its gap after a cream band */
.fg-page > .cream-band + .rc-navy:not(#_) { margin-top: calc(110 * var(--u)); }
.rc-navy .doc-btns { margin-top: calc(36 * var(--u)); }
.rc-navy .btn-grey { background: #fff; }
/* At least as tall as the photo (882u); 1000u left 118u of empty space under it (QA 2026-11-20). A longer card still grows it. */
.rc-bdealer { height: auto; min-height: calc(882 * var(--u)); }
/* The card stays in the flow here so the section grows with longer doc copy (the photo stays pinned behind it) */
.rc-bdealer { padding-top: calc(117 * var(--u)); } /* the card's offset below the photo top (a margin would collapse through the section) */
.rc-bdealer .bdealer-card { position: relative; top: auto; min-height: 0; }
.rc-bdealer .bdealer-card > p { font-size: max(16px, calc(26 * var(--u))); line-height: 1.3; letter-spacing: -.02em; }
/* Lists inside photo cards and the benefits column */
.choice-grid article .dots { margin-top: calc(18 * var(--u)); }
.ben-after { grid-column: 1 / -1; }
.ben-after p { font-size: max(15px, calc(20 * var(--u))); font-weight: 300; line-height: 1.5; color: var(--text); }
.ben-after .doc-btns { margin-top: calc(24 * var(--u)); }
.rc-wide { padding-top: calc(140 * var(--u)); }
.rc-wide h2 { color: var(--navy); font-size: max(28px, calc(56 * var(--u))); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; }
.rc-wide .pg-narrow > p { margin-top: calc(22 * var(--u)); font-size: max(16px, calc(22 * var(--u))); font-weight: 300; line-height: 1.5; color: var(--text); }
.rc-wide .dots { margin-top: calc(24 * var(--u)); }
.pcard h3 a:hover { color: var(--gold-dark); }
@media (max-width: 1024px) {
  .split-r { grid-template-columns: 1fr; }
  .split-r .split-img { order: 0; }
  .rc-center, .rc-wide { padding-top: 64px; }
  .rc-bdealer { min-height: 0; }
  .rc-bdealer { padding-top: 0; }
  .rc-bdealer .bdealer-card { margin: -60px 12px 0; }
  .rc-page-top > .rc-about:first-child { padding-top: 56px; }
}
/* Five cards in three columns: the first spans two, so the grid has no empty cell */
.why-five > :first-child { grid-column: span 2; }
@media (max-width: 1024px) { .why-five > :first-child { grid-column: auto; } }

/* FAQs page: one FAQ block per topic, with the topic's short guide under its heading */
.faq-topic { padding-top: calc(110 * var(--u)); padding-bottom: 0; }
.faq-topic:last-child { padding-bottom: calc(140 * var(--u)); }
.faq-topic header .faq-guide { margin-top: calc(28 * var(--u)); color: var(--navy); font-size: max(18px, calc(24 * var(--u))); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.faq-topic header p { margin-top: calc(12 * var(--u)); color: var(--text); font-size: max(15px, calc(18 * var(--u))); font-weight: 300; line-height: 1.5; }
@media (max-width: 1024px) {
  .faq-topic { padding-block: 56px 0; }
  .faq-topic:last-child { padding-bottom: 72px; }
}

/* Brand catalogue (Shop by Brand pages): accordion by origin, brand cards with their products */
.bcat { padding-top: calc(140 * var(--u)); }
.bcat .center-head h2 { font-size: max(28px, calc(64 * var(--u))); line-height: .94; letter-spacing: -.02em; }
.bcat .center-head p { margin-top: calc(24 * var(--u)); font-size: max(16px, calc(24 * var(--u))); color: var(--text); }
.bcat-list { margin-top: calc(56 * var(--u)); border-top: 1px solid #d0d0d0; }
.bcat-item { border-bottom: 1px solid #d0d0d0; }
.bcat-item h3 { margin: 0; }
.bcat-item button { display: flex; align-items: center; gap: calc(18 * var(--u)); width: 100%; min-height: max(64px, calc(96 * var(--u))); padding: 0; border: 0; background: none; color: var(--navy); font-size: max(20px, calc(36 * var(--u))); font-weight: 700; letter-spacing: -.02em; text-align: left; transition: color .2s; }
.bcat-item button:hover { color: var(--gold-dark); }
.bcat-count { padding: 4px calc(14 * var(--u)); border-radius: 999px; background: var(--cream); color: var(--navy); font-size: max(12px, calc(16 * var(--u))); font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.bcat-icon { position: relative; flex: none; width: max(28px, calc(40 * var(--u))); aspect-ratio: 1; margin-left: auto; border: 2px solid var(--gold); border-radius: 50%; }
.bcat-icon::before, .bcat-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 42%; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .3s ease; }
.bcat-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open .bcat-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.bcat-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.is-open > .bcat-panel { grid-template-rows: 1fr; }
.bcat-inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .4s; }
.is-open .bcat-inner { visibility: visible; transition-delay: 0s; }
.bc-body { padding-bottom: calc(44 * var(--u)); }
.bc-brand + .bc-brand, .bc-brand + .bc-request { margin-top: calc(48 * var(--u)); }
.bc-brand header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: calc(22 * var(--u)); }
.bc-brand h4 { margin: 0; color: var(--navy); font-size: max(22px, calc(36 * var(--u))); font-weight: 700; letter-spacing: -.02em; }
.bc-brand h4::first-letter { text-transform: uppercase; }
/* Homepage product cards, sized four to a row */
.bc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(22 * var(--u)); }
.bc-cards .pcard { height: auto; padding: 0 calc(26 * var(--u)) calc(26 * var(--u)); }
.bc-cards .pcard-img { height: calc(250 * var(--u)); padding-top: calc(20 * var(--u)); margin-bottom: calc(20 * var(--u)); }
.bc-cards .pcard-img img { max-height: calc(200 * var(--u)); }
.bc-cards .pcard-img img.round { max-height: calc(190 * var(--u)); }
.bc-cards .pcard h3 { min-height: 0; font-size: max(16px, calc(20 * var(--u))); line-height: 1.2; }
.bc-cards .pcard-pure, .bc-cards .pcard-price { flex-wrap: wrap; row-gap: 6px; white-space: normal; }
.bc-cards .pcard-price { margin-top: auto; }
.bc-cards .pcard-pure { margin-bottom: calc(20 * var(--u)); }
.bc-request { padding: calc(26 * var(--u)) calc(30 * var(--u)); border-radius: 20px; background: var(--cream); }
.bc-request p { color: var(--text); font-size: max(14px, calc(18 * var(--u))); line-height: 1.5; }
.bc-request p b { color: var(--navy); }
.bc-request p a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.bc-request .pg-related-row { margin-top: calc(16 * var(--u)); }
.bc-more { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-dark); font-size: max(14px, calc(18 * var(--u))); font-weight: 700; white-space: nowrap; }
.bc-more img { width: 12px; transition: transform .2s; }
.bc-more:hover img { transform: translateX(3px); }
@media (max-width: 1024px) {
  .bcat { padding-top: 72px; }
  .bc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bc-cards .pcard { padding: 0 14px 16px; }
  .bc-cards .pcard-img { height: 150px; padding-top: 12px; }
  .bc-cards .pcard-img img, .bc-cards .pcard-img img.round { max-height: 120px; }
  .bc-brand header { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .bcat-panel, .bcat-icon::before, .bcat-icon::after { transition: none; }
}

/* Sell page sections reused on content pages: steps band, navy value cards, prepare split */
.rc-steps { margin-top: calc(140 * var(--u)); padding: calc(120 * var(--u)) 0 calc(130 * var(--u)); }
.rc-steps .steps-head { align-items: start; }
.steps-lead { margin-top: calc(24 * var(--u)); max-width: calc(640 * var(--u)); font-size: max(15px, calc(22 * var(--u))); font-weight: 300; line-height: 1.4; color: var(--text); }
.rc-steps .step-grid { column-gap: calc(50 * var(--u)); }
.rc-steps .step-grid li { padding-right: calc(30 * var(--u)); }
.step-num { color: var(--navy); font-size: max(26px, calc(44 * var(--u))); font-weight: 700; line-height: 1; }
.rc-steps .step-grid p { font-size: max(15px, calc(20 * var(--u))); line-height: 1.45; letter-spacing: 0; }
.rc-steps .step-grid .step-ico + p { margin-top: calc(20 * var(--u)); }
.rc-steps .steps-note { font-size: max(15px, calc(22 * var(--u))); line-height: 1.4; }
.rc-values .values-lead { margin-top: calc(28 * var(--u)); max-width: calc(1100 * var(--u)); }
.rc-values .value-grid p { line-height: 1.4; }
.rc-prepare .split-copy > p { margin-top: calc(24 * var(--u)); }
@media (max-width: 1024px) {
  .rc-steps { margin-top: 72px; padding: 56px 0; }
  .steps-lead { max-width: none; }
  .rc-steps .step-grid li { padding-right: 0; }
  .rc-steps .step-grid p { max-width: none; }
  .rc-steps .step-ico { width: 56px; border-width: 3px; }
  .step-num { font-size: 22px; }
}
/* Cream band behind every second of two back-to-back photo splits */
.rc-band { margin-top: calc(140 * var(--u)); padding-block: calc(110 * var(--u)); }
.rc-band > .split { padding-top: 0; }
@media (max-width: 1024px) { .rc-band { margin-top: 72px; padding-block: 48px; } }

/* Disclaimers: fine print at the end of their section */
.rc-note { order: 9; grid-column: 1 / -1; max-width: calc(1100 * var(--u)); margin-top: calc(36 * var(--u)); padding-top: calc(16 * var(--u)); border-top: 1px solid rgba(22, 34, 48, .18); text-align: left; }
.rc-note p { color: #5f6368; font-size: max(13px, calc(16 * var(--u))); font-weight: 400; line-height: 1.55; }
.rc-note p + p { margin-top: 6px; }
.center-head ~ .rc-note, .rc-center .rc-note, .rc-why .rc-note, .rc-values .rc-note { margin-inline: auto; }

/* "How to Prepare" checklists (Sell page split): photo stretches with the copy; bold lead-ins as on the Buy page lists */
.rc-prepare { align-items: stretch; }
.rc-prepare .prepare-img { height: auto; min-height: calc(560 * var(--u)); }
.rc-prepare .split-copy { padding-block: calc(22 * var(--u)) calc(10 * var(--u)); }
.rc-prepare .split-copy > p { font-size: max(15px, calc(21 * var(--u))); font-weight: 300; line-height: 1.45; color: var(--text); }
.rc-prepare .dots { margin-top: calc(32 * var(--u)); gap: calc(24 * var(--u)); }
.rc-prepare .dots li { font-size: max(15px, calc(21 * var(--u))); line-height: 1.4; }
.rc-prepare .dots li b { margin-bottom: calc(6 * var(--u)); font-size: max(17px, calc(24 * var(--u))); font-weight: 800; letter-spacing: -.01em; }
.rc-prepare .dots + p { margin-top: calc(30 * var(--u)); }
.rc-prepare .doc-btns { margin-top: calc(32 * var(--u)); }
@media (max-width: 1024px) {
  .rc-prepare .prepare-img { min-height: 0; aspect-ratio: 4 / 3; }
  .rc-prepare .split-copy > p { max-width: none; }
}

/* Process steps as photo cards (rolled out per page via STEP_CARDS in build-pages.mjs) */
.rc-stepcards { margin-top: calc(140 * var(--u)); padding: calc(120 * var(--u)) 0 calc(130 * var(--u)); }
.rc-stepcards .center-head h2 { font-size: max(28px, calc(64 * var(--u))); line-height: .94; letter-spacing: -.02em; }
.rc-stepcards .center-head p { margin-top: calc(24 * var(--u)); font-size: max(16px, calc(24 * var(--u))); color: var(--text); }
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(26 * var(--u)); margin: calc(60 * var(--u)) 0 0; padding: 0; list-style: none; }
.sc { position: relative; display: flex; flex-direction: column; overflow: hidden; border: .7px solid #d9ad64; border-radius: 20px; background: #fff; transition: transform .25s, box-shadow .25s; }
.sc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 34, 48, .12); }
.sc-img { height: calc(230 * var(--u)); }
.sc-img img { transition: transform .5s ease; }
.sc:hover .sc-img img { transform: scale(1.05); }
.sc-num { position: absolute; left: calc(26 * var(--u)); top: calc(230 * var(--u)); display: grid; place-items: center; width: max(52px, calc(66 * var(--u))); aspect-ratio: 1; border: max(3px, calc(4 * var(--u))) solid #fff; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: max(18px, calc(24 * var(--u))); font-weight: 800; transform: translateY(-50%); }
.sc-body { padding: calc(52 * var(--u)) calc(30 * var(--u)) calc(32 * var(--u)); }
.sc-body h3 { color: var(--navy); font-size: max(19px, calc(26 * var(--u))); font-weight: 800; letter-spacing: -.02em; }
.sc-body h3 + p { margin-top: calc(10 * var(--u)); }
.sc-body p { color: var(--text); font-size: max(15px, calc(20 * var(--u))); font-weight: 400; line-height: 1.45; }
.sc-note { max-width: calc(1000 * var(--u)); margin: calc(44 * var(--u)) auto 0; text-align: center; font-size: max(15px, calc(22 * var(--u))); line-height: 1.4; color: var(--text); }
.sc-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: calc(28 * var(--u)); }
@media (max-width: 1024px) {
  .rc-stepcards { margin-top: 72px; padding: 56px 0; }
  .sc-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .sc-img { height: 190px; }
  .sc-num { top: 190px; }
  .sc-body { padding: 40px 20px 24px; }
}
@media (min-width: 641px) and (max-width: 1024px) { .sc-grid { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .sc, .sc-img img { transition: none; } .sc:hover, .sc:hover .sc-img img { transform: none; } }

/* A cream-band section that follows another cream section renders on white (alternating background rhythm) */
.cream-band.is-plain { background: transparent; padding-block: 0; }

/* Photo link cards (homepage "Refine / Buy / Sell" cards) for a row of page links */
.rc-links { padding-top: calc(140 * var(--u)); }
/* On Figma-style pages the section gap is already a margin; the padding would double it (brand pages) */
.fg-page > .rc-links:not(#_) { padding-top: 0; }
.rc-links .center-head h2 { font-size: max(28px, calc(64 * var(--u))); line-height: .94; letter-spacing: -.02em; }
.rc-links .center-head p { margin-top: calc(20 * var(--u)); font-size: max(16px, calc(22 * var(--u))); line-height: 1.45; color: var(--text); }
.lc-grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: calc(20 * var(--u)); margin-top: calc(48 * var(--u)); }
.lc-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: calc(300 * var(--u)); padding: calc(24 * var(--u)); border-radius: 18px; overflow: hidden; color: #fff; }
.lc-img { position: absolute; inset: 0; z-index: -2; }
.lc-img img { transition: transform .5s ease; }
.lc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 34, 48, .05) 25%, rgba(22, 34, 48, .92) 100%); }
.lc-card:hover .lc-img img { transform: scale(1.06); }
.lc-label { max-width: 75%; font-size: max(18px, calc(26 * var(--u))); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.lc-arrow { flex: none; width: max(36px, calc(44 * var(--u))); transition: transform .2s; }
.lc-card:hover .lc-arrow { transform: translateX(4px); }
.lc-after { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; margin-top: calc(28 * var(--u)); padding: calc(26 * var(--u)) calc(32 * var(--u)); border-radius: 18px; background: var(--cream); }
.lc-after p { max-width: calc(820 * var(--u)); font-size: max(15px, calc(20 * var(--u))); line-height: 1.45; color: var(--navy); }
.lc-after .doc-btns { flex: none; margin: 0; }
/* A closing button on its own sits centred under the cards, without the cream box */
.lc-after:not(:has(p)) { justify-content: center; padding: 0; background: none; }
@media (max-width: 1024px) {
  .rc-links { padding-top: 72px; }
  .lc-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .lc-card { min-height: 180px; padding: 16px; }
  .lc-after { flex-direction: column; align-items: flex-start; padding: 20px; }
  .lc-after:not(:has(p)) { align-items: center; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .lc-img img, .lc-arrow { transition: none; } .lc-card:hover .lc-img img, .lc-card:hover .lc-arrow { transform: none; } }

/* Hero: one primary button; further actions (Get Directions) as simple text links (client review) */
.hero-page .hero-btns { align-items: center; gap: 10px 26px; }
.hero-page .hero-btns .btn-grey { height: auto; padding: 6px 0; border-radius: 0; background: none; box-shadow: none; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(237, 189, 34, .7); text-underline-offset: 6px; }
.hero-page .hero-btns .btn-grey:hover { transform: none; box-shadow: none; color: var(--gold); }
.hero-page .hero-btns .btn-grey img { filter: brightness(0) invert(1); }

/* "Why choose" variants (client review: vary the trust cards between pages) */
.rc-why-photo .why-photo img { height: calc(220 * var(--u)); }
.rc-why-icon .why-icon { align-items: flex-start; border-color: #e6d3a8; background: #fff; }
.rc-why-icon .why-icon .check-ico { width: max(64px, calc(84 * var(--u))); border-width: 2px; background: var(--cream); }
.rc-why-icon .why-icon:hover { border-color: var(--gold); }


/* ---------- Content-page type scale (client review: consistent paragraph sizes) ----------
   Section intro 24px, body copy 22px, card text 20px (at 1920; scales with --u, floors for small screens).
   Scoped to .rc-page and .faq-doc so the hand-built Figma pages keep their exact sizes. */
.rc-page .center-head p, .rc-page .lead { font-size: max(16px, calc(24 * var(--u))); font-weight: 300; line-height: 1.45; }
.rc-page .split-copy > p, .rc-page .split-copy .dots li, .rc-page .refining-copy p, .rc-page .bdealer-card > p,
.rc-page .choice-grid p, .rc-page .choice-grid .dots li, .rc-page .ben-side p, .rc-page .rc-cta .invest-card p,
.rc-page .rc-after p, .rc-page .steps-lead, .rc-page .sc-note, .rc-page .lc-after p { font-size: max(16px, calc(22 * var(--u))); line-height: 1.5; }
.rc-page .why-card p, .rc-page .ben p, .rc-page .sc-body p, .rc-page .value-grid p, .rc-page .check-grid p,
.rc-page .bc-request p { font-size: max(15px, calc(20 * var(--u))); line-height: 1.5; }
.faq-doc .faq-list summary { font-size: max(16px, calc(24 * var(--u))); font-weight: 500; }
.faq-doc .faq-list details[open] summary { font-weight: 600; }
.faq-doc details p { font-size: max(15px, calc(20 * var(--u))); line-height: 1.55; }
.rc-page .rc-products p:not(.pcard-pure):not(.pcard-price) { font-size: max(16px, calc(24 * var(--u))); font-weight: 300; }
.rc-page .check-grid > * p { font-size: max(15px, calc(20 * var(--u))); line-height: 1.5; letter-spacing: 0; }

/* ---------- Metal price panel (client review): page copy and actions beside one card for the metal ---------- */
.mp { padding: calc(36 * var(--u)) calc(40 * var(--u)) calc(56 * var(--u)) calc(60 * var(--u)); }
.mp-top { display: flex; align-items: center; justify-content: flex-end; gap: calc(24 * var(--u)); }
.mp-body { display: grid; grid-template-columns: 1fr calc(333 * var(--u)); gap: calc(60 * var(--u)); align-items: center; margin-top: calc(14 * var(--u)); }
.mp-copy h2 { margin-top: 0; font-size: max(26px, calc(44 * var(--u))); line-height: 1.1; }
.mp-copy > p { margin-top: calc(24 * var(--u)); max-width: calc(950 * var(--u)); color: var(--ink-2); font-size: max(16px, calc(23 * var(--u))); font-weight: 500; line-height: 1.38; }
.mp-copy > p + p { margin-top: calc(18 * var(--u)); }
.mp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px calc(34 * var(--u)); margin-top: calc(36 * var(--u)); }
.mp-actions .btn img { width: max(14px, calc(16 * var(--u))); height: auto; }
.mp-note { margin-top: calc(26 * var(--u)) !important; font-size: max(13px, calc(17 * var(--u))) !important; font-weight: 400 !important; color: var(--text) !important; }
.mp-card { padding: calc(30 * var(--u)) calc(30 * var(--u)) calc(26 * var(--u)); }
.mp-card .rate-unit { margin-top: calc(16 * var(--u)); }
.mp-card .rate-price { font-size: max(28px, calc(44 * var(--u))); }
.mp-card dl div { align-items: flex-start; }
.mp-card dd { text-align: right; }
.mp-card .mp-weights { display: block; }
.mp-card .mp-weights dd { margin-top: 2px; text-align: left; line-height: 1.35; }
.mp-card dl div + div { margin-top: calc(8 * var(--u)); }
.mp-card > a { display: inline-flex; align-items: center; gap: 8px; margin-top: calc(18 * var(--u)); color: var(--navy); font-size: max(15px, calc(19 * var(--u))); font-weight: 800; }
.mp-card > a img { width: max(10px, calc(12 * var(--u))); transition: transform .2s; }
.mp-card > a:hover img { transform: translateX(3px); }
@media (max-width: 1024px) {
  .mp { padding: 22px 16px 28px; }
  .mp-top { justify-content: flex-start; }
  .mp-body { grid-template-columns: 1fr; gap: 28px; }
}

/* Hero copy as a lead section under the title-only hero (pages without a price panel) */
.hero-copy { margin-top: calc(90 * var(--u)); }
.hero-copy p { max-width: calc(1365 * var(--u)); color: var(--navy); font-size: max(17px, calc(30 * var(--u))); font-weight: 500; line-height: 1.3; }
.hero-copy p + p { margin-top: calc(24 * var(--u)); }
/* The opening title is the same size on every page (the generic h2 on the plainer layouts was 24px) */
.hero-copy-titled h2:not(#_) { margin-bottom: calc(28 * var(--u)); color: var(--navy); font-size: max(30px, calc(74 * var(--u))); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; }
.rates-desc + .rates-desc { margin-top: calc(14 * var(--u)); }
@media (max-width: 1024px) { .hero-copy { margin-top: 48px; } }
/* "Related pages" straight after the page body (no FAQ block in between) needs its own space above */
.rc-page + .pg-related { margin-top: calc(120 * var(--u)); }
@media (max-width: 1024px) { .rc-page + .pg-related { margin-top: 64px; } }

/* ---------- Blog (CMS): /blogs and /blogs/<post> ---------- */
.blog-page { padding-top: calc(90 * var(--u)); }
.blog-page > .hero-copy { margin-top: 0; }
.blog-list { margin-top: calc(70 * var(--u)); }
.blog-page > .blog-list:first-child { margin-top: 0; }
.blog-card { padding: 0; overflow: hidden; }
.blog-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card > time, .blog-card > h3, .blog-card > p, .blog-card > span { margin-inline: calc(34 * var(--u)); }
.blog-card > time { margin-top: calc(26 * var(--u)); color: #8a6d2f; font-size: max(13px, calc(16 * var(--u))); font-weight: 600; }
.blog-card > span { margin-bottom: calc(30 * var(--u)); }
.hub-card time { display: block; color: #8a6d2f; font-size: max(13px, calc(16 * var(--u))); font-weight: 600; }
.blog-post { max-width: calc(1000 * var(--u)); }
.blog-meta { color: #8a6d2f; font-size: max(14px, calc(18 * var(--u))); font-weight: 600; }
.blog-cover { width: 100%; margin-top: calc(28 * var(--u)); border-radius: 24px; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-body { max-width: none; margin-top: calc(40 * var(--u)); }
.blog-body ul, .blog-body ol { margin-top: calc(18 * var(--u)); padding-left: 1.3em; font-size: max(16px, calc(22 * var(--u))); font-weight: 300; line-height: 1.5; }
.blog-body ol { list-style: decimal; }
/* Blog lists use the site's gold check too */
.blog-body ul { padding-left: 0; }
.blog-body ul > li { position: relative; padding-left: max(30px, calc(42 * var(--u))); list-style: none; }
.blog-body ul > li::before { content: ""; position: absolute; left: 0; top: .2em; width: max(18px, calc(24 * var(--u))); height: max(18px, calc(24 * var(--u))); border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23162230' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat; }
.blog-body li + li { margin-top: 8px; }
.blog-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.blog-body strong { font-weight: 700; }
.blog-body h4, .blog-body h5 { margin-top: calc(32 * var(--u)); color: var(--navy); font-size: max(18px, calc(24 * var(--u))); font-weight: 700; }
.blog-body img { max-width: 100%; height: auto; margin-top: calc(24 * var(--u)); border-radius: 16px; }
.blog-body blockquote { margin-top: calc(24 * var(--u)); padding-left: 20px; border-left: 3px solid var(--gold); }
.blog-more { margin-top: calc(110 * var(--u)); padding-bottom: calc(40 * var(--u)); }
@media (max-width: 1024px) { .blog-page { padding-top: 48px; } .blog-list { margin-top: 40px; } .blog-more { margin-top: 64px; } }

/* Opening copy under the hero: room under the banner (client, Nov 2026) */
.rc-page-top > .hero-copy:first-child { margin-top: calc(90 * var(--u)); }

/* About "Trust Is Earned" (client's mock-up, Nov 2026): dark band, office photo beside the copy */
.trust-band { margin-top: calc(130 * var(--u)); padding-block: calc(96 * var(--u)); background: var(--navy); color: #fff; }
.trust-band .trust { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: calc(84 * var(--u)); align-items: center; }
.trust-band .trust-img { width: 100%; aspect-ratio: 564 / 656; object-fit: cover; border-radius: 16px; }
.trust-band .trust-copy h2 { margin: 0; color: #fff; font-size: max(30px, calc(64 * var(--u))); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.trust-band .trust-copy p { margin-top: calc(28 * var(--u)); color: rgba(255, 255, 255, .88); font-size: max(16px, calc(22 * var(--u))); font-weight: 300; line-height: 1.5; }
.trust-band .trust-more { margin-top: calc(40 * var(--u)); padding-top: calc(36 * var(--u)); border-top: 1px solid rgba(217, 173, 100, .55); }
.trust-band .trust-more h3 { margin: 0; color: #d9ad64; font-size: max(20px, calc(30 * var(--u))); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.trust-band .trust-more p { margin-top: calc(14 * var(--u)); }
.trust-band .doc-btns { margin-top: calc(36 * var(--u)); }

/* About closing line under the gold bars, on a clean white band */
.guarantee-band { margin-top: calc(130 * var(--u)); padding-block: calc(80 * var(--u)) calc(100 * var(--u)); background: #fff; }
.guarantee-band .guarantee { text-align: center; }
.guarantee-band .guarantee img { width: min(100%, calc(860 * var(--u))); height: auto; margin-inline: auto; }
.guarantee-band .guarantee h2 { max-width: calc(900 * var(--u)); margin: calc(36 * var(--u)) auto 0; color: var(--navy); font-size: max(24px, calc(48 * var(--u))); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.guarantee-band .guarantee p { max-width: calc(860 * var(--u)); margin: calc(18 * var(--u)) auto 0; font-size: max(16px, calc(22 * var(--u))); font-weight: 300; line-height: 1.5; }

@media (max-width: 1024px) {
  .rc-page-top > .hero-copy:first-child { margin-top: 40px; }
  .trust-band { margin-top: 64px; padding-block: 48px; }
  .trust-band .trust { grid-template-columns: 1fr; gap: 28px; }
  .trust-band .trust-img { aspect-ratio: 4 / 3; }
  .guarantee-band { margin-top: 64px; padding-block: 40px 56px; }
}
.rc-navy .refining-copy h3 { margin-top: calc(14 * var(--u)); color: #fff; font-size: max(18px, calc(28 * var(--u))); font-weight: 600; line-height: 1.25; }
.trust-band + .guarantee-band { margin-top: 0; }

/* Client mock-ups (Nov 2026): card grids, photo steps and two checklists */
.ccards, .tlists { margin-top: calc(130 * var(--u)); }
:is(.ccards, .psteps, .tlists) .center-head { max-width: calc(1100 * var(--u)); margin-inline: auto; text-align: center; }
:is(.ccards, .psteps, .tlists) .center-head h2 { color: var(--navy); font-size: max(28px, calc(56 * var(--u))); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
:is(.ccards, .psteps) .center-head p { margin-top: calc(18 * var(--u)); color: var(--text); font-size: max(16px, calc(22 * var(--u))); line-height: 1.45; }
.ccards-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: calc(22 * var(--u)); margin: calc(48 * var(--u)) auto 0; }
.ccards-grid[style*="--cols:2"] { max-width: calc(1060 * var(--u)); }
.ccards-grid article { padding: calc(30 * var(--u)) calc(30 * var(--u)) calc(32 * var(--u)); border: .7px solid #d9ad64; border-radius: 20px; background: #fff; }
.ccards-grid h3 { color: var(--navy); font-size: max(18px, calc(26 * var(--u))); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.ccards-grid .check-ico + h3 { margin-top: calc(18 * var(--u)); }
.ccards-grid .check-ico img { width: max(44px, calc(56 * var(--u))); height: auto; }
.ccards-grid p { margin-top: calc(12 * var(--u)); color: var(--text); font-size: max(15px, calc(19 * var(--u))); font-weight: 300; line-height: 1.45; }
.ccards-grid[style*="--cols:5"] article { padding-inline: calc(22 * var(--u)); }
.ccards-after { max-width: calc(1000 * var(--u)); margin: calc(36 * var(--u)) auto 0; text-align: center; }
.ccards-after p { color: var(--navy); font-size: max(16px, calc(22 * var(--u))); line-height: 1.45; }
.ccards-after p + p { margin-top: calc(14 * var(--u)); }
.ccards-after .doc-btns { justify-content: center; margin-top: calc(26 * var(--u)); }

.psteps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(44 * var(--u)); margin: calc(52 * var(--u)) 0 0; padding: 0; list-style: none; }
.psteps-row li { position: relative; display: flex; flex-direction: column; overflow: hidden; border: .7px solid #d9ad64; border-radius: 20px; background: #fff; }
.psteps-row li + li::before { content: "→"; position: absolute; left: calc(-34 * var(--u)); top: calc(150 * var(--u)); color: var(--gold-dark); font-size: max(18px, calc(24 * var(--u))); font-weight: 700; }
.psteps-row li { overflow: visible; }
.psteps-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px 20px 0 0; }
.psteps-row li > div { padding: calc(26 * var(--u)) calc(28 * var(--u)) calc(30 * var(--u)); }
.psteps-row h3 { color: var(--navy); font-size: max(18px, calc(26 * var(--u))); font-weight: 700; line-height: 1.2; }
.psteps-row p { margin-top: calc(12 * var(--u)); color: var(--text); font-size: max(15px, calc(19 * var(--u))); font-weight: 300; line-height: 1.45; }

.tlists-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(22 * var(--u)); max-width: calc(1180 * var(--u)); margin: calc(44 * var(--u)) auto 0; }
.tlists-grid article { padding: calc(32 * var(--u)) calc(34 * var(--u)); border: .7px solid #d9ad64; border-radius: 20px; background: #fcfaf4; }
.tlists-grid h3 { color: var(--navy); font-size: max(20px, calc(30 * var(--u))); font-weight: 700; }
.tlists-grid ul { margin: calc(18 * var(--u)) 0 0; padding: 0; list-style: none; }
.tlists-grid li { position: relative; padding-left: max(30px, calc(42 * var(--u))); color: var(--navy); font-size: max(15px, calc(20 * var(--u))); line-height: 1.45; }
.tlists-grid li + li { margin-top: calc(12 * var(--u)); }
.tlists-grid li::before { content: ""; position: absolute; left: 0; top: .2em; width: max(18px, calc(24 * var(--u))); height: max(18px, calc(24 * var(--u))); border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23162230' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat; }

@media (max-width: 1024px) {
  .ccards, .tlists { margin-top: 64px; }
  .ccards-grid, .ccards-grid[style*="--cols:5"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
  .psteps-row, .tlists-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .psteps-row li + li::before { display: none; }
  .ccards-grid article, .tlists-grid article { padding: 20px; }
}
@media (max-width: 560px) { .ccards-grid, .ccards-grid[style*="--cols:5"] { grid-template-columns: 1fr; } }

/* Metal Prices (client, Nov 2026): the home page's cards + price board over the hero, the board identical to home's
   (same grid; per oz / per kg in place of bid / ask), plus a Buy / Sell switch and the USD/CAD rate */
.mp-quick .qcards { grid-auto-rows: 1fr; }
.mp-quick .qcard { height: auto; min-height: calc(184 * var(--u)); }
.mp-quick .qcard > img { left: 0; top: 0; width: 100%; height: 100%; }
/* Five columns as on the old 24gold.ca table, drawn like the home board: its header, row heights and colours (spot and
   buying in the USD column's blues, selling in the CAD column's gold); one more row for USD/CAD */
.board-mp .board-grid { grid-template-columns: minmax(0, .8fr) repeat(3, minmax(0, 1.55fr)) minmax(0, 1.35fr); column-gap: calc(14 * var(--u)); }
/* Client, Nov 2026: no spot columns; the Buy / Sell switch shows one side (Buy = our selling price, Sell = our buying price) */
.board-mp .board-grid:not(#_) { grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr) minmax(0, 1.35fr); }
.board-mp .col-spot, .board-mp[data-side="buy"] .col-buying, .board-mp[data-side="sell"] .col-selling { display: none; }
.board-mp .col { grid-template-rows: calc(41 * var(--u)) calc(50 * var(--u)) repeat(5, calc(62 * var(--u))); }
.board-mp .col-metal .cell { width: auto; }
.board-mp .cell-fx { font-weight: 700; color: var(--navy); }
.board-mp .col-head img { width: calc(30 * var(--u)); min-width: 18px; height: auto; }
.board-mp .col-head .flag-usd { width: calc(34 * var(--u)); min-width: 20px; }
html:not([data-ccy="USD"]) .board-mp .flag-usd, html[data-ccy="USD"] .board-mp .flag-cad { display: none; }
.board-mp .pair span { padding-right: calc(16 * var(--u)); }
.col-spot, .col-selling, .col-buying { border-radius: 15px; overflow: hidden; }
.col-spot .pair, .col-buying .pair { background: var(--blue); color: #fff; }
.col-spot .pair > span:last-child, .col-buying .pair > span:last-child { background: var(--blue-2); }
.col-spot .pair:not(.pair-head) > span:first-child, .col-buying .pair:not(.pair-head) > span:first-child { border-top: 1px solid #24374f; }
.col-spot .pair:not(.pair-head) > span:last-child, .col-buying .pair:not(.pair-head) > span:last-child { border-top: 1px solid #2f4560; }
.col-selling .pair { background: var(--gold); color: var(--navy); }
.col-selling .pair > span:last-child { background: var(--gold-light); }
.col-selling .pair:not(.pair-head) > span { border-top: 1px solid #816f29; }
.board-mp .pair span span { background: none !important; border: 0 !important; padding: 0; }
/* The five-column table needs more width than home's three: narrower cards, tighter change cells */
.mp-quick { grid-template-columns: calc(380 * var(--u)) 1fr; }
.mp-quick .chips { flex-wrap: wrap; row-gap: calc(8 * var(--u)); }
/* Change: two equal-share halves, the ± and % headers centred over their values (every row is its own grid, so the
   shares are fixed rather than sized by content) */
.board-mp .col-chg .pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.board-mp .col-chg .pair > span { justify-content: center; gap: calc(5 * var(--u)); padding: 0 calc(4 * var(--u)) !important; }
.board-mp .col-chg .pair span span { padding: 0 !important; }
.board-foot .fx { display: flex; align-items: center; gap: calc(8 * var(--u)); white-space: nowrap; }
.board-foot .fx b { font-weight: 800; }
.fx-chg { display: inline-flex; align-items: center; gap: 4px; color: #d40000; font-weight: 700; }
.fx-chg img { transform: rotate(180deg); width: calc(13.5 * var(--u)); min-width: 9px; }
.fx.is-up .fx-chg { color: #07a33f; }
.fx.is-up .fx-chg img { transform: none; }
/* The % cell holds the arrow and a nested value; only the cell itself takes the row rule */
.board-mp .pair span span { border: 0 !important; padding: 0; }
/* The rate sits in the table's USD/CAD row; on phones (no spot or change columns) it moves under the table */
.fx-phone { display: none !important; }
.mp-head:not(#_) { margin-top: calc(110 * var(--u)); }
/* Client, Nov 2026 (Loom "Inconsistent Paragraph Sizing Check"): the section intros on Metal Prices ("Live Metal Prices",
   "Scrap and Melt Prices…") read at the page's body-text size, not the larger lead size */
.mp-head:not(#_) .lead, .mp-head ~ .rc-page:not(#_) .lead { font-size: max(16px, calc(24 * var(--u))); font-weight: 300; line-height: 1.5; letter-spacing: 0; }
@media (max-width: 1024px) {
  .mp-head:not(#_) { margin-top: 48px; }
  .mp-quick { grid-template-columns: 1fr; }
  /* Phones: metal, the chosen side's prices and the change */
  .board-mp .board-grid:not(#_) { grid-template-columns: 62px minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 6px; }
  .board-mp .col { grid-template-rows: 44px 30px repeat(5, 48px); }
  .board-mp .col-head { font-size: 12px; gap: 4px; }
  .board-mp .col-head img { min-width: 14px; }
  .board-mp .pair { font-size: 11px; }
  .board-mp .pair span { padding-right: 5px; }
  .board-mp .col-metal .cell { font-size: 13px; }
  .board-mp .board-meta { justify-content: flex-start; }
  .board-mp .col-chg .pair { grid-template-columns: 1fr; }
}

/* Blog list pages (/blogs?page=N, 10 posts each, as on 24gold.ca) */
.blog-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: calc(56 * var(--u)); }
.blog-pager :is(.pg-num, .pg-step) { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: 15px; }
.blog-pager a:hover { border-color: var(--gold); }
.blog-pager [aria-current="page"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.blog-pager .pg-gap { padding-inline: 4px; color: var(--text); }

/* Featured Blogs (CMS "Featured" tick) on /blogs: the newest one large, up to three beside it */
.blog-featured { margin-top: calc(70 * var(--u)); }
.blog-page > .blog-featured:first-child { margin-top: 0; }
.bf-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: calc(28 * var(--u)); }
.bf-grid.bf-solo { grid-template-columns: minmax(0, 1fr); max-width: calc(900 * var(--u)); }
.bf-lead, .bf-item { border: 1px solid #d9ad64; border-radius: 20px; overflow: hidden; background: #fff; color: var(--navy); transition: box-shadow .2s, transform .2s; }
.bf-lead:hover, .bf-item:hover { box-shadow: 0 10px 30px rgba(22, 34, 48, .1); transform: translateY(-2px); }
.bf-lead { display: flex; flex-direction: column; }
.bf-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bf-copy { display: flex; flex-direction: column; gap: calc(12 * var(--u)); padding: calc(30 * var(--u)) calc(34 * var(--u)) calc(32 * var(--u)); }
.bf-lead h3 { font-size: max(21px, calc(32 * var(--u))); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.bf-lead p { color: var(--text); font-size: max(15px, calc(19 * var(--u))); line-height: 1.5; }
.bf-lead span { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 600; }
.bf-side { display: grid; grid-auto-rows: 1fr; gap: calc(20 * var(--u)); }
.bf-item { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); align-items: stretch; }
.bf-thumb { width: 100%; height: 100%; min-height: calc(150 * var(--u)); object-fit: cover; }
.bf-item > div { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: calc(18 * var(--u)) calc(22 * var(--u)); }
.bf-item h3 { font-size: max(16px, calc(20 * var(--u))); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.blog-featured time { color: #8a6d2f; font-size: max(13px, calc(15 * var(--u))); font-weight: 600; }
@media (max-width: 1024px) {
  .bf-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bf-side { grid-auto-rows: auto; gap: 14px; }
  .bf-item { grid-template-columns: 120px minmax(0, 1fr); }
  .bf-thumb { min-height: 100px; }
}

/* Every contact card looks like Home's (user, Nov 2026): rows between two rules, values under the icons, the phone
   numbers spaced as on Home. Home itself (.contact without a modifier) is the reference and is untouched. */
:is(.contact-buy, .contact-sell) .contact-dl:not(#_) { margin-top: calc(47 * var(--u)); padding-block: calc(47 * var(--u)) calc(48 * var(--u)); border-block: 1px solid rgba(22, 34, 48, .35); gap: calc(29 * var(--u)) calc(30 * var(--u)); }
:is(.contact-buy, .contact-sell) .contact-dl:not(#_) dd { padding-left: 0; margin-top: calc(11 * var(--u)); font-weight: 600; font-size: max(14px, calc(20 * var(--u))); line-height: 1.1; }
:is(.contact-buy, .contact-sell) .contact-dl:not(#_) > div:nth-child(3) dd { margin-top: calc(4 * var(--u)); line-height: 1.7; }
:is(.contact-buy, .contact-sell) .contact-dl:not(#_) dt { font-weight: 900; font-size: max(15px, calc(22 * var(--u))); }
:is(.contact-buy, .contact-sell) .contact-btns:not(#_) { margin-top: calc(40 * var(--u)); }
.fg-contact h2:not(#_) { padding-bottom: 0; border-bottom: 0; }
@media (min-width: 1025px) { :is(.contact-buy, .contact-sell) .contact-dl:not(#_) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* Price history chart before the FAQ on price pages (js/chart.js) */
.pchart { margin-top: calc(105 * var(--u)); padding: calc(40 * var(--u)) calc(44 * var(--u)) calc(30 * var(--u)); border: 1px solid #d9ad64; border-radius: 20px; background: #fff; }
.fg-page > .pchart, .rc-page + .pchart { margin-top: calc(105 * var(--u)); }
.pchart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 28px; }
.pchart h2:not(#_) { color: var(--navy); font-size: max(26px, calc(48 * var(--u))); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.pchart-sum { margin-top: 10px; min-height: 1.5em; color: var(--text); font-size: max(14px, calc(18 * var(--u))); }
.pchart-now { color: var(--navy); font-weight: 800; font-size: max(18px, calc(26 * var(--u))); }
.pchart-ch { font-weight: 700; }
.pchart-ch.is-up { color: #07a33f; }
.pchart-ch.is-down { color: #d40000; }
.pchart-meta { color: #5b6573; }
.pchart-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pchart-seg { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.pchart-seg button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: #6b7480; font-weight: 600; font-size: 14px; cursor: pointer; }
.pchart-seg button.is-on { background: var(--navy); color: #fff; }
.pchart-seg button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pchart-plot { position: relative; margin-top: calc(26 * var(--u)); min-height: 230px; touch-action: pan-y; }
.pchart.is-loading .pchart-plot { opacity: .55; transition: opacity .2s; }
.pchart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pchart-grid { stroke: #e7e3d8; stroke-width: 1; }
.pchart-ylab, .pchart-xlab { fill: #6b7480; font-size: 12px; font-family: inherit; }
.pchart-line { fill: none; stroke: #b8860b; stroke-width: 2.5; stroke-linejoin: round; }
.pchart-cross { stroke: var(--navy); stroke-width: 1; stroke-dasharray: 3 3; }
.pchart-dot { fill: #fff; stroke: #b8860b; stroke-width: 2.5; }
.pchart-tip { position: absolute; z-index: 2; display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 13px; line-height: 1.3; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(22, 34, 48, .25); }
.pchart-tip b { font-size: 15px; }
.pchart-tip[hidden] { display: none; }
.pchart-empty { display: grid; place-items: center; min-height: 230px; color: #6b7480; text-align: center; }
@media (max-width: 1024px) {
  .pchart { margin-top: 72px; padding: 22px 16px 18px; }
  .pchart-ctrl { gap: 8px; }
  .pchart-seg button { padding: 0 10px; font-size: 13px; }
}
/* Chart header on Live Metal Prices: live bid / ask / change (as on the old 24gold.ca chart) and the update time */
.pchart-quote { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 12px; color: var(--navy); font-size: max(15px, calc(20 * var(--u))); font-weight: 600; }
.pchart-quote b { font-weight: 800; }
.pchart-quote > span + span { padding-left: 20px; border-left: 1px solid var(--line); }
.pchart-change { white-space: nowrap; }
.pchart-change b { color: #d40000; }
.pchart-change.is-up b { color: #07a33f; }
.pchart-change img { display: inline-block; margin-left: 6px; vertical-align: middle; transform: rotate(180deg); }
.pchart-change.is-up img { transform: none; }
.pchart-updated { margin-top: 6px; color: #6b7480; font-size: 13px; }
.pchart > .pchart-sum { margin-top: calc(20 * var(--u)); }
.mp-quick + .pchart { margin-top: calc(70 * var(--u)); }
@media (max-width: 1024px) {
  .pchart-quote > span + span { padding-left: 0; border-left: 0; }
  .mp-quick + .pchart { margin-top: 40px; }
}
