/**
 * NIC Registry Platform - Public Site Editorial & Institutional Theme
 *
 * Implements DESIGN.md (4-Color Token System + clamp() Scale + CSS Grid)
 * Preserves 100% compatibility with Light/Dark modes and Custom UI Select.
 */

body.public-registry-theme {
    --paper: #FFFFFF;
    --paper-rgb: 255, 255, 255;
    --ink: #1E293B;
    --ink-rgb: 30, 41, 59;
    --signal: #D97706;
    --signal-hover: #B45309;
    --signal-bright: #FBBF24;
    --signal-rgb: 217, 119, 6;
    --mute: #64748B;
    --soft: #F8FAFC;
    --border-hairline: #E2E8F0;
    --border-strong: #CBD5E1;
    --slate-band: #1E293B;
    --royal-ink: #1E3A8A;

    /* Map base tokens smoothly for shared components */
    --bg-body: var(--paper);
    --bg-surface: var(--paper);
    --bg-surface-alt: var(--soft);
    --text-primary: var(--ink);
    --text-secondary: var(--mute);
    --text-muted: var(--mute);
    --primary: var(--signal);
    --primary-hover: var(--signal-hover);
    --primary-light: rgba(217, 119, 6, 0.10);
    --glow-primary: rgba(217, 119, 6, 0.18);
    --border-color: var(--border-hairline);
    --border-focus: var(--signal);

    --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

    --fs-display: clamp(2.15rem, 1.45rem + 2.5vw, 3.45rem);
    --fs-h1: clamp(1.75rem, 1.30rem + 1.5vw, 2.35rem);
    --fs-h2: clamp(1.35rem, 1.10rem + 0.85vw, 1.75rem);
    --fs-h3: clamp(1.08rem, 1.00rem + 0.30vw, 1.24rem);
    --fs-lead: clamp(1.00rem, 0.94rem + 0.22vw, 1.14rem);
    --fs-body: clamp(0.9375rem, 0.91rem + 0.10vw, 1.00rem);
    --fs-mono: clamp(0.80rem, 0.77rem + 0.08vw, 0.875rem);
    --fs-micro: clamp(0.73rem, 0.71rem + 0.05vw, 0.78rem);

    font-family: var(--font-sans);
    background-color: var(--paper);
    color: var(--ink);
}

html[data-theme="dark"] body.public-registry-theme {
    --paper: #0B111A;
    --paper-rgb: 11, 17, 26;
    --ink: #F1F5F9;
    --ink-rgb: 241, 245, 249;
    --signal: #F59E0B;
    --signal-hover: #FBBF24;
    --signal-bright: #FBBF24;
    --signal-rgb: 245, 158, 11;
    --mute: #94A3B8;
    --soft: #131C2A;
    --border-hairline: #233044;
    --border-strong: #334155;
    --slate-band: #111A27;
    --royal-ink: #93C5FD;

    --bg-body: var(--paper);
    --bg-surface: #131C2A;
    --bg-surface-alt: #0F172A;
    --text-primary: var(--ink);
    --text-secondary: var(--mute);
    --text-muted: var(--mute);
    --primary: var(--signal);
    --primary-hover: var(--signal-hover);
    --primary-light: rgba(245, 158, 11, 0.14);
    --glow-primary: rgba(245, 158, 11, 0.22);
    --border-color: var(--border-hairline);
    --border-focus: var(--signal);
}

body.public-registry-theme h1,
body.public-registry-theme h2,
body.public-registry-theme h3,
body.public-registry-theme h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.025em;
}

body.public-registry-theme .container {
    max-width: 1220px;
}

/* =========================================================================
 * 1. TOP INSTITUTIONAL UTILITY BAR (Image 2)
 * ========================================================================= */
.public-registry-theme .utility-bar {
    background-color: var(--paper);
    border-bottom: 1px solid var(--border-hairline);
    font-size: var(--fs-micro);
    color: var(--mute);
    padding: 0.45rem 0;
}

.public-registry-theme .utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.public-registry-theme .utility-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
}

.public-registry-theme .utility-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #0066B3;
    display: inline-block;
    flex-shrink: 0;
}

html[data-theme="dark"] .public-registry-theme .utility-status-dot {
    background-color: #38BDF8;
}

.public-registry-theme .utility-status-text {
    font-weight: 600;
    color: var(--ink);
}

.public-registry-theme .utility-tlds {
    color: var(--mute);
}

.public-registry-theme .utility-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
}

.public-registry-theme .utility-links a {
    color: var(--mute);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.public-registry-theme .utility-links a:hover {
    color: var(--signal);
}

/* =========================================================================
 * 2. INSTITUTIONAL NAVBAR (Image 3)
 * ========================================================================= */
.public-registry-theme .navbar {
    background-color: var(--paper);
    border-bottom: 1px solid var(--border-hairline);
    box-shadow: none;
}

.public-registry-theme .nav-container {
    height: 70px;
}

.public-registry-theme .nav-brand {
    gap: 10px;
    white-space: nowrap;
}

.public-registry-theme .brand-badge {
    background: transparent;
    color: var(--royal-ink);
    border: 2px dashed var(--signal);
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: none;
}

.public-registry-theme .brand-name {
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.public-registry-theme .brand-subdomain {
    color: var(--royal-ink);
}

.public-registry-theme .brand-tld-accent {
    color: var(--signal);
    font-weight: 700;
}

.public-registry-theme .nav-links {
    gap: 12px;
}

.public-registry-theme .nav-link {
    color: var(--mute);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.public-registry-theme .nav-link:hover,
.public-registry-theme .nav-link.active {
    color: var(--ink);
    background-color: transparent;
}

.public-registry-theme .nav-link.active::after {
    bottom: -4px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: var(--signal);
}

.public-registry-theme .nav-actions-group .lang-select-container {
    min-width: 118px;
}

.public-registry-theme .nav-actions-group .ui-select-trigger {
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    background-color: var(--paper);
    min-height: 36px;
    font-size: 0.84rem;
    font-weight: 500;
}

.public-registry-theme .theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-hairline);
    background-color: var(--paper);
    color: var(--ink);
}

.public-registry-theme .theme-toggle-btn:hover {
    border-color: var(--signal);
    background-color: var(--soft);
}

.public-registry-theme .btn-manager-pill {
    background: var(--signal);
    color: #FFFFFF !important;
    border-radius: 8px;
    padding: 0 16px;
    height: 36px;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: none;
    white-space: nowrap;
}

html[data-theme="dark"] .public-registry-theme .btn-manager-pill {
    color: #0B111A !important;
}

.public-registry-theme .btn-manager-pill:hover {
    background: var(--signal-hover);
    box-shadow: none;
}

/* =========================================================================
 * 3. HERO SECTION WITH 3-TAB PILL SEARCH (Image 1 Top)
 * ========================================================================= */
.public-registry-theme .hero-section {
    background: var(--paper);
    padding: clamp(3rem, 5.5vw, 4.75rem) 0 clamp(3rem, 5vw, 4.25rem);
    overflow: visible;
}

.public-registry-theme .hero-badge {
    background-color: var(--soft);
    border: 1px solid var(--border-hairline);
    color: var(--mute);
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    font-weight: 600;
    padding: 5px 14px;
    margin-bottom: 18px;
    box-shadow: none;
}

.public-registry-theme .hero-title {
    font-size: var(--fs-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 14px;
}

.public-registry-theme .hero-highlight {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--signal);
}

.public-registry-theme .hero-subtitle {
    font-size: var(--fs-lead);
    color: var(--mute);
    max-width: 660px;
    margin: 0 auto 28px;
}

/* 3 Rounded Lookup Tabs */
.public-registry-theme .hero-lookup-tabs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.public-registry-theme .hero-lookup-tab {
    padding: 8px 18px;
    border-radius: 9999px;
    border: 1px solid var(--border-hairline);
    background-color: var(--paper);
    color: var(--mute);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.public-registry-theme .hero-lookup-tab:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.public-registry-theme .hero-lookup-tab.is-active {
    background-color: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

/* Pill Search Bar (Image 1) */
.public-registry-theme .hero-section .search-card {
    background: var(--paper);
    border: 1px solid var(--border-hairline);
    border-radius: 9999px;
    padding: 6px 6px 6px 20px;
    max-width: 720px;
    margin: 0 auto 24px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
}

html[data-theme="dark"] .public-registry-theme .hero-section .search-card {
    background: var(--soft);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.public-registry-theme .hero-section .search-input-group {
    background-color: transparent;
    border: none;
    border-radius: 9999px;
    padding: 0;
    gap: 6px;
}

.public-registry-theme .hero-section .search-input-group:focus-within {
    border-color: transparent;
    box-shadow: none;
}

.public-registry-theme .hero-section .search-card:focus-within {
    border-color: var(--signal);
    box-shadow: 0 0 0 3px var(--glow-primary), 0 6px 24px rgba(15, 23, 42, 0.06);
}

.public-registry-theme .hero-section .search-input {
    font-size: 1rem;
    padding: 10px 8px;
}

.public-registry-theme .hero-section .tld-select-container {
    min-width: 118px;
}

.public-registry-theme .hero-section .tld-select-container .ui-select-trigger {
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-hairline);
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 12px;
    box-shadow: none !important;
}

.public-registry-theme .hero-section .btn-search {
    background: var(--signal);
    color: #FFFFFF;
    border-radius: 9999px;
    padding: 11px 28px;
    font-size: 0.94rem;
    font-weight: 600;
    box-shadow: none;
}

html[data-theme="dark"] .public-registry-theme .hero-section .btn-search {
    color: #0B111A;
}

.public-registry-theme .hero-section .btn-search:hover {
    background: var(--signal-hover);
    filter: none;
    box-shadow: none;
}

.public-registry-theme .hero-section .quick-result-box {
    max-width: 720px;
    margin: 0 auto 22px;
    text-align: left;
}

.public-registry-theme .wholesale-notice-banner {
    background-color: var(--soft);
    border: 1px solid var(--border-hairline);
    border-radius: 10px;
    padding: 12px 20px;
    max-width: 760px;
    font-size: 0.9rem;
    box-shadow: none;
}

.public-registry-theme .notice-link {
    color: var(--signal);
}

/* =========================================================================
 * 4. FULL-WIDTH DARK SLATE METRICS STRIP (Image 1 Bottom)
 * ========================================================================= */
.public-registry-theme .registry-metrics-band {
    background-color: var(--slate-band);
    color: #FFFFFF;
    padding: 2.75rem 0;
}

.public-registry-theme .metrics-band-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.public-registry-theme .metric-band-cell {
    padding: 0.35rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.public-registry-theme .metric-band-cell:last-child {
    border-right: none;
}

.public-registry-theme .metric-band-value {
    font-size: clamp(1.5rem, 1.25rem + 1vw, 2.05rem);
    font-weight: 700;
    color: var(--signal-bright);
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.public-registry-theme .metric-band-label {
    margin-top: 0.35rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.78);
}

/* =========================================================================
 * 5. DUAL-AUDIENCE BIFURCATION BAND (preview.html)
 * ========================================================================= */
.public-registry-theme .audience-section {
    padding: 3.5rem 0;
    background-color: var(--paper);
    border-bottom: 1px solid var(--border-hairline);
}

.public-registry-theme .audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border-hairline);
    border-radius: 12px;
    overflow: hidden;
}

.public-registry-theme .audience-col {
    padding: 2.25rem 2.5rem;
    background-color: var(--paper);
}

.public-registry-theme .audience-col:first-child {
    border-right: 1px solid var(--border-hairline);
}

.public-registry-theme .audience-col.alt {
    background-color: var(--soft);
}

.public-registry-theme .audience-tag {
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--signal);
    margin-bottom: 0.55rem;
    display: block;
}

.public-registry-theme .audience-title {
    font-size: var(--fs-h2);
    margin-bottom: 0.75rem;
}

.public-registry-theme .audience-desc {
    color: var(--mute);
    font-size: 0.94rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.public-registry-theme .audience-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}

.public-registry-theme .audience-list li {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
}

.public-registry-theme .audience-list li::before {
    content: '—';
    color: var(--signal);
    font-weight: 700;
}

.public-registry-theme .audience-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--signal);
    text-decoration: none;
}

.public-registry-theme .audience-link:hover {
    text-decoration: underline;
}

/* =========================================================================
 * 6. MANAGED EXTENSIONS CARDS + WHOLESALE SCHEDULE TABLE
 * ========================================================================= */
.public-registry-theme .tld-grid-section {
    padding: 4rem 0;
    background-color: var(--paper);
    border-bottom: 1px solid var(--border-hairline);
}

.public-registry-theme .tld-card {
    border-radius: 12px;
    border: 1px solid var(--border-hairline);
    box-shadow: none;
    background-color: var(--paper);
}

.public-registry-theme .tld-card:hover {
    border-color: var(--signal);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.public-registry-theme .tld-card-featured {
    border: 2px solid var(--signal);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.12);
}

.public-registry-theme .featured-ribbon {
    background: var(--signal);
    color: #FFFFFF;
    box-shadow: none;
}

html[data-theme="dark"] .public-registry-theme .featured-ribbon {
    color: #0B111A;
}

.public-registry-theme .tld-card-name {
    font-family: var(--font-mono);
    color: var(--ink);
}

.public-registry-theme .tld-card-featured .tld-card-name {
    color: var(--signal);
}

.public-registry-theme .tld-card-footer .btn-primary {
    background: var(--signal);
    color: #FFFFFF;
    box-shadow: none;
}

html[data-theme="dark"] .public-registry-theme .tld-card-footer .btn-primary {
    color: #0B111A;
}

/* Wholesale Fee Schedule Table */
.public-registry-theme .schedule-table-block {
    margin-top: 3.25rem;
}

.public-registry-theme .schedule-head {
    margin-bottom: 1.25rem;
}

.public-registry-theme .schedule-head h3 {
    font-size: var(--fs-h2);
    margin-bottom: 0.35rem;
}

.public-registry-theme .schedule-head p {
    color: var(--mute);
    font-size: 0.94rem;
}

.public-registry-theme .registry-table-wrap {
    border: 1px solid var(--border-hairline);
    border-radius: 10px;
    overflow-x: auto;
    background-color: var(--paper);
}

.public-registry-theme .registry-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}

.public-registry-theme .registry-table th {
    background-color: var(--soft);
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--border-hairline);
    font-size: var(--fs-micro);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mute);
    white-space: nowrap;
}

.public-registry-theme .registry-table td {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--border-hairline);
    vertical-align: middle;
    white-space: nowrap;
}

.public-registry-theme .registry-table tr:last-child td {
    border-bottom: none;
}

.public-registry-theme .registry-table tbody tr:hover {
    background-color: var(--soft);
}

.public-registry-theme .table-tld-cell {
    font-family: var(--font-mono);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
}

.public-registry-theme .table-tld-cell.is-host {
    color: var(--signal);
}

.public-registry-theme .table-host-badge {
    margin-left: 0.45rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    background-color: var(--primary-light);
    color: var(--signal);
}

.public-registry-theme .btn-table-lookup {
    padding: 0.38rem 0.85rem;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.public-registry-theme .btn-table-lookup:hover {
    background-color: var(--signal);
    border-color: var(--signal);
    color: #FFFFFF;
}

html[data-theme="dark"] .public-registry-theme .btn-table-lookup:hover {
    color: #0B111A;
}

/* =========================================================================
 * 7. HARMONIZED STRATEGIC PILLARS & CTA FUNNEL
 * ========================================================================= */
.public-registry-theme .value-pillars-section {
    background-color: var(--soft);
    border-top: none;
    border-bottom: 1px solid var(--border-hairline);
    padding: 4.25rem 0;
}

.public-registry-theme .pillar-badge-header {
    background: var(--primary-light);
    color: var(--signal);
    border-color: rgba(217, 119, 6, 0.25);
}

.public-registry-theme .pillar-card {
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--border-hairline);
    --card-accent: var(--signal);
    --card-accent-glow: rgba(217, 119, 6, 0.15);
}

.public-registry-theme .pillar-icon-box {
    background: var(--primary-light);
    color: var(--signal);
}

.public-registry-theme .pillar-badge {
    background: var(--soft);
    color: var(--ink);
    border: 1px solid var(--border-hairline);
}

.public-registry-theme .check-badge {
    background: var(--primary-light);
    color: var(--signal);
}

.public-registry-theme .cta-funnel-card {
    background: var(--paper);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    box-shadow: none;
}

.public-registry-theme .cta-funnel-badge {
    color: var(--signal);
}

.public-registry-theme .cta-btn-highlight {
    background: var(--signal);
    color: #FFFFFF;
    box-shadow: none;
}

html[data-theme="dark"] .public-registry-theme .cta-btn-highlight {
    color: #0B111A;
}

/* =========================================================================
 * 8. 4/8 STANDARDS & GOVERNANCE SECTION (preview.html)
 * ========================================================================= */
.public-registry-theme .standards-section {
    padding: 4.25rem 0;
    background-color: var(--paper);
}

.public-registry-theme .standards-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.public-registry-theme .standards-intro {
    grid-column: span 4;
}

.public-registry-theme .standards-intro h2 {
    font-size: var(--fs-h1);
    margin-bottom: 0.75rem;
}

.public-registry-theme .standards-intro p {
    color: var(--mute);
    font-size: 0.94rem;
    line-height: 1.6;
}

.public-registry-theme .standards-list {
    grid-column: span 8;
    border-top: 1px solid var(--border-hairline);
}

.public-registry-theme .standard-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.25rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--border-hairline);
}

.public-registry-theme .standard-ref {
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    font-weight: 600;
    color: var(--signal);
    padding-top: 0.15rem;
}

.public-registry-theme .standard-title {
    font-size: var(--fs-h3);
    margin-bottom: 0.3rem;
}

.public-registry-theme .standard-desc {
    color: var(--mute);
    font-size: 0.92rem;
}

/* =========================================================================
 * 9. INSTITUTIONAL DEEP SLATE FOOTER (Preserving all data)
 * ========================================================================= */
.public-registry-theme .footer {
    background-color: var(--slate-band);
    color: rgba(255, 255, 255, 0.78);
    border-top: none;
    margin-top: 0;
}

.public-registry-theme .footer .footer-title,
.public-registry-theme .footer .footer-heading,
.public-registry-theme .footer .notice-title,
.public-registry-theme .footer .trust-pill-title,
.public-registry-theme .footer .compliance-status-item strong {
    color: #FFFFFF;
}

.public-registry-theme .footer .brand-badge {
    border-color: var(--signal-bright);
    color: #FFFFFF;
}

.public-registry-theme .footer .footer-links li a,
.public-registry-theme .footer .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.78);
}

.public-registry-theme .footer .footer-links li a:hover,
.public-registry-theme .footer .footer-bottom-links a:hover,
.public-registry-theme .footer .notice-cta-link {
    color: var(--signal-bright);
}

.public-registry-theme .footer-notice-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.public-registry-theme .footer-trust-strip {
    background: transparent;
    background-color: transparent;
    border-top-color: rgba(255, 255, 255, 0.12);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.public-registry-theme .trust-badge-pill {
    background: rgba(255, 255, 255, 0.04);
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.public-registry-theme .trust-pill-title {
    color: #f8fafc;
}

.public-registry-theme .trust-pill-desc,
.public-registry-theme .footer-copyright {
    color: rgba(255, 255, 255, 0.68);
}

.public-registry-theme .badge-protocol-pill {
    background: rgba(251, 191, 36, 0.16);
    color: var(--signal-bright);
    border-color: rgba(251, 191, 36, 0.35);
}

/* =========================================================================
 * 10. RESPONSIVE BREAKPOINTS
 * ========================================================================= */
@media (max-width: 960px) {
    .public-registry-theme .metrics-band-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 0;
    }
    .public-registry-theme .metric-band-cell:nth-child(even) {
        border-right: none;
    }
    .public-registry-theme .audience-grid {
        grid-template-columns: 1fr;
    }
    .public-registry-theme .audience-col:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border-hairline);
    }
    .public-registry-theme .standards-intro,
    .public-registry-theme .standards-list {
        grid-column: span 12;
    }
    .public-registry-theme .standard-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
}

@media (max-width: 768px) {
    .public-registry-theme .utility-links {
        display: none;
    }
    .public-registry-theme .hero-section .search-card {
        border-radius: 16px;
        padding: 10px;
    }
    .public-registry-theme .hero-section .search-input-group {
        flex-wrap: wrap;
    }
    .public-registry-theme .hero-section .btn-search {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }
    .public-registry-theme .metrics-band-grid {
        grid-template-columns: 1fr;
    }
    .public-registry-theme .metric-band-cell {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0.75rem 0;
    }
    .public-registry-theme .metric-band-cell:last-child {
        border-bottom: none;
    }
}

/* =========================================================================
 * 11. MINIMALIZED BUTTONS, LINKS & NO-WRAP ENFORCEMENT
 * ========================================================================= */
.public-registry-theme .btn,
.public-registry-theme .btn-primary,
.public-registry-theme .btn-secondary,
.public-registry-theme .btn-outline,
.public-registry-theme .btn-manager-pill,
.public-registry-theme .nav-link,
.public-registry-theme .badge,
.public-registry-theme .badge-protocol-pill,
.public-registry-theme .hero-badge,
.public-registry-theme table th,
.public-registry-theme table td {
    white-space: nowrap;
}

.public-registry-theme .btn,
.public-registry-theme .btn-primary,
.public-registry-theme .btn-secondary,
.public-registry-theme .btn-outline {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    box-shadow: none;
}

.public-registry-theme .btn:hover,
.public-registry-theme .btn-primary:hover,
.public-registry-theme .btn-secondary:hover,
.public-registry-theme .btn-outline:hover {
    box-shadow: none;
}

.public-registry-theme .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .public-registry-theme .nav-links {
        gap: 8px;
    }
    .public-registry-theme .nav-link {
        padding: 6px 8px;
        font-size: 0.88rem;
    }
}
