/* Buyer's guide pages (metal-nfc-business-cards.php). Builds on abutic-nfc-v2 tokens and the help-center hero/FAQ. */
.gd-hero__inner { max-width: 860px; }
.gd-hero h1 { font-size: clamp(38px, 5.6vw, 68px); }
.gd-lead { max-width: 640px; }
.gd-lead b { color: var(--nx-ink); }
.gd-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.gd-rating { margin: 16px 0 0; font-size: 14px; font-weight: 600; color: var(--nx-muted); }
.gd-rating span { color: #f59e0b; letter-spacing: 1px; margin-right: 4px; }

/* bottom only: shorthand padding would wipe .nx-wrap's side gutters */
.gd-sec { padding-bottom: 56px; }
.gd-h2 { margin: 0 0 8px; font: 800 clamp(26px, 3.2vw, 36px)/1.1 var(--nx-display); letter-spacing: -0.03em; color: var(--nx-ink); }
.gd-sub { margin: 0 0 18px; max-width: 640px; color: var(--nx-muted); font-size: 16px; }

.gd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.gd-facts > div { padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line); }
.gd-facts dt { margin: 0 0 4px; font: 700 12.5px var(--nx-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--nx-blue); }
.gd-facts dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: #1e293b; }

.gd-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line), 0 18px 40px -32px rgba(15, 23, 42, 0.45); }
.gd-table-wrap:focus-visible { outline: 2px solid var(--nx-blue); outline-offset: 2px; }
.gd-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.gd-table th, .gd-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--nx-line); line-height: 1.45; }
.gd-table tbody tr:last-child > * { border-bottom: 0; }
.gd-table thead th { font: 800 14px var(--nx-display); color: var(--nx-ink); background: #f8fafc; }
.gd-table thead th.is-us { color: var(--nx-blue); }
.gd-table tbody th { width: 160px; font-weight: 700; color: var(--nx-ink); }
.gd-table td { color: #475569; }
.gd-table td.is-us { color: #0f172a; background: rgba(37, 99, 235, 0.035); }
.gd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gd-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.gd-pick__card { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 20px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line), 0 18px 40px -32px rgba(15, 23, 42, 0.45); text-decoration: none; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s; }
.gd-pick__card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.22), 0 22px 40px -24px rgba(37, 99, 235, 0.5); }
.gd-pick__card img { width: 100%; height: auto; aspect-ratio: 14 / 9; object-fit: cover; border-radius: 16px; background: #f1f5f9; margin-bottom: 8px; }
.gd-pick__card b { display: flex; align-items: center; gap: 8px; font: 800 20px var(--nx-display); color: var(--nx-ink); }
.gd-pick__card b small { padding: 3px 8px; border-radius: 999px; background: rgba(37, 99, 235, 0.1); color: var(--nx-blue); font: 700 11.5px var(--nx-body); }
.gd-pick__card span { font-size: 15px; line-height: 1.5; color: #475569; }
.gd-pick__card em { margin-top: 4px; font-style: normal; font-weight: 700; font-size: 14.5px; color: var(--nx-blue); }

.gd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: gd; }
.gd-steps li { position: relative; padding: 20px 18px 18px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line); counter-increment: gd; }
.gd-steps li::before { content: counter(gd); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 10px; background: var(--nx-grad); color: #fff; font: 800 15px var(--nx-display); }
.gd-steps b { display: block; font: 800 17px var(--nx-display); color: var(--nx-ink); }
.gd-steps span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: #475569; }

.gd-faq { margin-top: 18px; max-width: 860px; }
.gd-more { margin: 14px 0 0; color: var(--nx-muted); }
.gd-more a { color: var(--nx-blue); font-weight: 600; }

.gd-final { padding: 40px 24px; border-radius: 28px; text-align: center; background: linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%); box-shadow: 0 0 0 1px var(--nx-line); }
.gd-final h2 { margin: 0; font: 800 clamp(26px, 3.4vw, 38px)/1.1 var(--nx-display); letter-spacing: -0.03em; color: var(--nx-ink); }
.gd-final p { margin: 10px 0 0; color: var(--nx-muted); }

@media (max-width: 760px) {
  .gd-facts, .gd-pick, .gd-steps { grid-template-columns: 1fr; }
  .gd-sec { padding-bottom: 44px; }
  .gd-ctas .nx-btn { flex: 1 1 100%; justify-content: center; }
}

/* ---- comparison pages (compare.php) ---- */
.cmp .nx-kicker a { color: inherit; text-decoration: none; }
.cmp .nx-kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cmp-answer { max-width: 760px; margin: 10px 0 0; padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18), 0 18px 40px -30px rgba(37, 99, 235, 0.5); font-size: 17px; line-height: 1.6; color: #1e293b; }
.cmp-answer b { color: var(--nx-ink); }
.cmp-table { min-width: 620px; }
.cmp-table tbody th { width: 190px; }
.cmp-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.cmp-fit__col { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line); }
.cmp-fit__col.is-us { box-shadow: 0 0 0 1.5px rgba(37, 99, 235, 0.35); background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), #fff 60%); }
.cmp-fit__col h3 { margin: 0; font: 800 19px var(--nx-display); color: var(--nx-ink); }
.cmp-fit__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.cmp-fit__col li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; color: #334155; }
.cmp-fit__col li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid #94a3b8; border-bottom: 2px solid #94a3b8; transform: rotate(-45deg); }
.cmp-fit__col.is-us li::before { border-color: var(--nx-blue); }
.cmp-fit__col .nx-btn { align-self: flex-start; margin-top: auto; }
.cmp-h3 { font-size: clamp(20px, 2.4vw, 24px); }
.cmp-sources { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: #475569; font-size: 15px; }
.cmp-sources a, .cmp-note a, .cmp-more a { color: var(--nx-blue); text-underline-offset: 3px; }
.cmp-note, .cmp-more { margin: 14px 0 0; color: var(--nx-muted); font-size: 14.5px; }
.cmp-hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cmp-hub__card { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line); text-decoration: none; transition: transform 0.2s var(--nx-ease), box-shadow 0.2s; }
.cmp-hub__card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.22), 0 22px 40px -24px rgba(37, 99, 235, 0.45); }
.cmp-hub__card b { font: 800 20px var(--nx-display); color: var(--nx-ink); }
.cmp-hub__card span { font-size: 15px; line-height: 1.5; color: #475569; }
.cmp-hub__card em { margin-top: auto; font-style: normal; font-weight: 700; font-size: 14.5px; color: var(--nx-blue); }
@media (max-width: 860px) {
  .cmp-fit, .cmp-hub { grid-template-columns: 1fr; }
  .cmp-answer { font-size: 16px; padding: 16px 18px; }
}
.cmp-fit--one { grid-template-columns: minmax(0, 760px); }
