/*
 * NetAPI theme (2026-10-28): the look of the design canvas "NetAPI redesign" applied to the whole site.
 * Loaded after bootstrap.min.css and custom.css, so everything here overrides them.
 *
 * Tokens: ground #eef1f4 with a faint 32px grid, surface #ffffff, ink #14191f, text #2a3340, muted #5c6b7a,
 * line #d3d9e0, accent #f27131 (brand orange, buttons and charts), green #1f7a3a (free / ok), link #0b5ed7.
 * Type: Barlow Condensed (display headings, uppercase), IBM Plex Sans (body), IBM Plex Mono (eyebrows, table
 * headers, figures). The fonts come from Google Fonts (header_common.php); self-host them before launch if wanted.
 */

:root {
    --na-bg: #eef1f4;
    --na-surface: #ffffff;
    --na-ink: #14191f;
    --na-text: #2a3340;
    --na-muted: #5c6b7a;
    --na-line: #d3d9e0;
    --na-line-soft: #e6eaef;
    --na-accent: #f27131;
    --na-accent-dark: #e0631f;
    --na-green: #1f7a3a;
    --na-link: #0b5ed7;
    --na-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --na-body: 'IBM Plex Sans', Arial, sans-serif;
    --na-mono: 'IBM Plex Mono', Consolas, monospace;
}

/* ---------- ground and type ---------- */

html {
    background: var(--na-bg);
}

body {
    font-family: var(--na-body);
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--na-text);
    background: var(--na-bg);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: linear-gradient(rgba(20, 25, 31, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 25, 31, .025) 1px, transparent 1px);
    background-size: 34px 34px; /* 32 px + 5 %, owner 2026-10-28 */
}

body > * {
    position: relative;
    z-index: 1;
}

p,
li {
    font-size: 1em;
}

a {
    color: var(--na-link);
}

a:hover,
a:focus {
    color: var(--na-ink);
}

/* display headings on the landing pages: the condensed face of the canvas; uppercase only for the H1 and the
   section headings (.na-h2 / .na-display), the other H2s keep their case (long subtitles read badly in caps) */
.na-landing h1,
.na-landing h2,
.na-landing .h1,
.na-landing .h2,
.na-landing h3.h4,
.na-landing .index-h4,
.na-landing .index-wecrawl-1,
.na-display {
    font-family: var(--na-display);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.05;
    color: var(--na-ink);
}

.na-landing h1,
.na-h2,
.na-display {
    text-transform: uppercase;
}

.na-landing h2:not(.na-h2):not(.na-display) {
    font-weight: 700;
    font-size: 1.6rem;
}

/* the templates colour their H1 orange and the H2 green inline: the H1 takes the ink of the canvas, the subtitle keeps its green */
.na-landing h1[style] {
    color: var(--na-ink) !important;
}

.na-landing h1 {
    font-size: 50px;
}

/* the smaller H1 variant (44 px): used on /plans/ for now, add the class where wanted */
.na-landing h1.na-h1-sm {
    font-size: 44px;
}

/* the green one-line subtitles under the H1 (zone, DNS, registrar, report pages) keep the body face,
   20 px / 500 like the subtitle of the compromised list pages */
.na-landing h2.h4[style],
.na-landing h2.h5[style],
.na-landing h2.index-h2 {
    text-transform: none;
    font-family: var(--na-body);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
    font-size: 20px;
}

.na-landing h3,
.na-landing h4,
.na-landing h5,
.na-landing h6 {
    color: var(--na-ink);
    font-weight: 600;
}

.na-landing .faq h3.h5,
.na-landing .faq h4.h6 {
    font-size: 18px;
    font-weight: 600;
}

.na-eyebrow {
    font-family: var(--na-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--na-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.na-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--na-accent);
}

.na-eyebrow-live::before {
    background: #2fbf71;
    animation: na-blink 6s ease-in-out infinite;
}

@keyframes na-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .2; }
}

@media (prefers-reduced-motion: reduce) {
    .na-eyebrow-live::before { animation: none; }
}

.na-mono {
    font-family: var(--na-mono);
}

/* one content column for the header, the footer content and the page sections: every section spans exactly these
   1400 px (the side gutter comes from Bootstrap's .container-fluid, so no padding here) */
.na-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

/* the landing content column (Bootstrap col-xxl-8 offset-2 in the templates) keeps its width; cards get the canvas look */

/* ---------- header ---------- */

.na-header {
    background: var(--na-surface);
    border-bottom: 1px solid var(--na-line);
    position: relative;
    z-index: 20;
}

.na-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    min-height: 68px;
}

.na-logo {
    font-family: var(--na-display);
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}

.na-logo-net { color: var(--na-muted); }
.na-logo-api { color: var(--na-accent); }

.na-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.na-nav > a,
.na-dd > a {
    color: var(--na-text);
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.na-nav > a:hover,
.na-dd > a:hover,
.na-dd:focus-within > a {
    background: #e3e8ed;
    color: var(--na-ink);
}

.na-dd {
    position: relative;
}

.na-dd > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.na-dd > a svg {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    color: var(--na-ink);
}

.na-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background: var(--na-surface);
    border: 1px solid var(--na-line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(20, 25, 31, .14);
    padding: 8px 0;
    z-index: 50;
    flex-direction: column;
}

.na-dd:hover .na-menu,
.na-dd:focus-within .na-menu {
    display: flex;
}

.na-menu a {
    display: block;
    padding: 7px 16px;
    font-size: 14.5px;
    font-weight: 400;
    color: var(--na-text);
    text-decoration: none !important;
    white-space: normal;
}

.na-menu a:hover {
    background: #e3e8ed;
    color: var(--na-ink);
}

.na-menu h6 {
    font-family: var(--na-mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--na-muted);
    margin: 6px 16px 4px;
    font-weight: 500;
}

.na-menu hr {
    border: 0;
    border-top: 1px solid var(--na-line-soft);
    margin: 6px 0;
}

/* the Dashboard button: a flex child of the header row after the nav (the canvas values: 14.5 px / 600,
   4 x 26 px padding, 34 px tall); on phones it sits next to the burger */
.na-header-inner > .na-nav-dash {
    flex: 0 0 auto;
    padding: 4px 26px;
    min-height: 34px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 7px;
}

.na-toggler {
    display: none;
    background: none;
    border: 1.5px solid var(--na-line);
    border-radius: 7px;
    padding: 6px 8px;
    color: var(--na-ink);
}

@media (max-width: 991.98px) {
    .na-toggler { display: inline-flex; }

    .na-nav {
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 12px;
    }

    .na-nav.collapse:not(.show) { display: none; }

    .na-dd .na-menu {
        position: static;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--na-line);
        border-radius: 0;
        margin: 0 0 6px 12px;
    }

    .na-dd:hover .na-menu,
    .na-dd:focus-within .na-menu { display: flex; }

    .na-header-inner > .na-nav-dash { order: 1; margin-left: auto; margin-right: 8px; }
    .na-toggler { order: 2; }
    .na-nav { order: 3; }
}

@media (min-width: 992px) {
    .na-nav.collapse { display: flex !important; }
}

/* ---------- buttons ---------- */

.na-btn,
.btn {
    border-radius: 7px;
    font-family: var(--na-body);
    font-weight: 600;
}

.na-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    font-size: 14px;
    text-decoration: none !important;
    border: 1.5px solid var(--na-ink);
    cursor: pointer;
    min-height: 44px;
    line-height: 1.2;
}

.na-btn-ink,
.btn-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--na-ink);
    color: #ffffff;
    border-color: var(--na-ink);
}

.na-btn-ink:hover,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active {
    background: var(--na-text);
    color: #ffffff;
    border-color: var(--na-text);
}

.btn-outline-primary {
    color: var(--na-ink);
    border-color: var(--na-ink);
}

.na-btn-accent,
.btn-success,
.btn-warning {
    background: var(--na-accent);
    color: #ffffff;
    border-color: var(--na-accent);
}

.na-btn-accent:hover,
.btn-success:hover,
.btn-success:focus,
.btn-success:not(:disabled):not(.disabled):active {
    background: var(--na-accent-dark);
    color: #ffffff;
    border-color: var(--na-accent-dark);
}

.na-btn-ghost,
.btn-outline-success,
.btn-outline-secondary,
.btn-light {
    background: transparent;
    color: var(--na-ink);
    border-color: var(--na-ink);
}

.na-btn-ghost:hover,
.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-secondary:hover,
.btn-light:hover {
    background: #e3e8ed;
    color: var(--na-ink);
    border-color: var(--na-ink);
}

.btn-sm {
    padding: 4px 22px;
    min-height: 34px;
    font-size: 14.5px;
}

/* ---------- cards and tables ---------- */

.na-card,
.card,
.research-hub-card,
.report-tile,
.comp-table-card,
.vs-table-wrap,
.sign-card {
    background: var(--na-surface);
    border: 1px solid var(--na-line);
    border-radius: 10px;
    box-shadow: none;
}

.comp-table-wrap {
    border: 1px solid var(--na-line);
    border-radius: 10px;
    box-shadow: none;
    background: var(--na-surface);
}

.comp-table {
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.comp-table thead th,
.comp-table-wrap-accent .comp-table thead th,
.table:not(.vs-table) thead th {
    font-family: var(--na-mono);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
    background: var(--na-ink);
    font-weight: 500;
    border: 0;
    padding: 11px 14px;
}

/* the subtitles in the table headers carry inline font-size / font-weight in the templates: override them here */
.comp-table thead th span {
    font-family: var(--na-body);
    font-size: 10px !important;
    font-weight: 400 !important;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255, 255, 255, .6);
}

.comp-table tbody td {
    border-top: 1px solid var(--na-line-soft);
    padding: 11px 14px;
}

.comp-table tbody tr:nth-child(even) {
    background: transparent;
}

.comp-table tbody tr:first-child td {
    border-top: 0;
}

.comp-table a {
    color: var(--na-ink);
    font-weight: 500;
}

.comp-table a:hover {
    color: var(--na-accent);
}

.comp-table td.text-right a,
.comp-table td.comp-table-num {
    font-weight: 400;
}

.comp-table .btn-sm {
    padding: 4px 18px;
    min-height: 32px;
    font-size: 13.5px;
}

.table {
    color: var(--na-text);
}

/* the comparison tables of /vs/ keep their own header (green NetAPI column, grey competitor column) in the mono caps */
.vs-table thead th {
    font-family: var(--na-mono);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 500;
    border-top: 0;
}

/* badges */
.badge,
.badge-success,
.badge.bg-success,
.research-menu-badge {
    font-family: var(--na-mono);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 3px 7px;
    border-radius: 12px;
    background: #e3f3e8 !important;
    color: var(--na-green) !important;
}

/* forms */
.form-control {
    font-family: var(--na-body);
    border: 1.5px solid var(--na-line);
    border-radius: 7px;
    color: var(--na-ink);
    min-height: 44px;
}

.form-control:focus {
    border-color: var(--na-accent);
    box-shadow: 0 0 0 2px rgba(242, 113, 49, .25);
}

.input-group > .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

code {
    font-family: var(--na-mono);
    font-size: .9em;
    background: var(--na-bg);
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--na-ink);
}

pre {
    font-family: var(--na-mono);
    font-size: 14px;
    background: var(--na-bg);
    color: var(--na-ink);
    border: 1px solid var(--na-line);
    border-radius: 8px;
    padding: 14px 16px;
}

hr {
    border-top-color: var(--na-line);
}

.alert {
    border-radius: 10px;
}

/* the legacy grey bands (hero gradient, customers, header) are gone: the grid ground shows through */
.na-page-index-gradient,
.index-customers-section,
.sol-header-gradient {
    background: transparent !important;
}

/* ---------- dark footer ---------- */

.site-footer-wrap {
    position: relative;
    z-index: 1;
}

.site-footer {
    background: var(--na-ink);
    border-top: 0;
    color: rgba(255, 255, 255, .62);
    padding: 44px 16px 24px;
    font-size: 14.5px;
}

.site-footer-inner {
    max-width: 1400px;
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1rem;
}

.site-footer-brand .na-logo-net { color: rgba(255, 255, 255, .6); }

.site-footer-brand p {
    margin: 0;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .45);
    max-width: 300px;
}

.site-footer-title {
    font-family: var(--na-mono);
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    font-weight: 500;
    margin: 0 0 12px;
}

.site-footer .footer-links a,
.site-footer-languages a {
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
}

.site-footer .footer-links a:hover,
.site-footer-languages a:hover {
    color: #ffffff;
    text-decoration: none;
}

.site-footer-languages strong {
    color: #ffffff;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .4);
    font-size: 13.5px;
    margin-top: 1.5rem;
    padding-top: 18px;
}

.site-footer-bottom .material-symbols-rounded {
    color: var(--na-accent) !important;
}

/* ---------- Chart.js ---------- */
canvas {
    max-width: 100%;
}

/* ---------- dashboard ---------- */

.dash-body {
    background: var(--na-bg);
}

.dash-sidebar {
    background: var(--na-surface);
    border-right: 1px solid var(--na-line);
}

.dash-brand-link {
    font-family: var(--na-display);
    font-weight: 800;
    font-size: 1.9rem;
    text-transform: uppercase;
}

.dash-brand-net { color: var(--na-muted); }

.dash-user-card {
    background: var(--na-bg);
    border: 1px solid var(--na-line);
    border-radius: 10px;
}

.dash-user-email {
    color: var(--na-ink) !important;
}

.dash-nav-label {
    font-family: var(--na-mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    color: var(--na-muted);
    font-weight: 500;
}

.dash-sidebar-text,
.dash-sidebar-text a {
    color: var(--na-text);
    font-weight: 500;
    font-size: 15px;
}

.dash-sidebar-text:hover {
    background: #e3e8ed;
    color: var(--na-ink);
}

.dash-sidebar-text.is-active {
    background: rgba(242, 113, 49, .12);
    color: var(--na-ink);
}

.dash-section-title,
.dash-alert-title {
    font-family: var(--na-display);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -.01em;
    color: var(--na-ink);
    font-size: 1.75rem;
}

.dash-page-lead {
    color: var(--na-muted);
    font-size: 1rem;
}

.dash-panel {
    background: var(--na-surface);
    border: 1px solid var(--na-line);
    border-radius: 10px;
    box-shadow: none;
}

.dash-settings-subtitle {
    color: var(--na-ink);
}

.dash-settings-comment {
    color: var(--na-muted);
}

.dash-main a,
.dash-panel a,
.dash-user-meta a,
.dash-sidebar-text-stat a,
.dash-sidebar-footer a {
    color: var(--na-link);
}

.dash-sidebar-icon {
    color: var(--na-muted);
}

.dash-sidebar-text-stat,
.dash-sidebar-love {
    font-family: var(--na-mono);
    font-size: 11.5px;
    color: var(--na-muted);
}

.dash-main .comp-table {
    font-size: 14.5px;
}

/* ---------- landing section layouts (homepage and the compromised list pages, from the canvas) ---------- */

.na-section {
    padding: 0 0 32px;
}

.na-section-tight { padding-bottom: 24px; }
.na-section-loose { padding-bottom: 56px; }

.na-band {
    background: var(--na-surface);
    border-top: 1px solid var(--na-line);
    border-bottom: 1px solid var(--na-line);
    padding: 56px 15px;
    margin: 0 -15px;
}

.na-band-last { border-bottom: 0; padding: 48px 15px; }

.na-h2 {
    font-size: 28px;
    margin: 0;
}

.na-h2-sm { font-size: 22px; }
/* "Our customers" / "Featured in": lighter and grey like the canvas; the selector must beat .na-landing h2 */
.na-landing h2.na-h2-xs,
.na-h2-xs { font-size: 20px; font-weight: 600; color: var(--na-muted); letter-spacing: .04em; }

/* hero */
.na-hero {
    padding: 56px 0 40px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    align-items: center;
}

.na-hero-copy {
    grid-column: span 7;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.na-landing .na-hero-copy h1 {
    font-size: 60px;
    margin: 0;
    text-wrap: balance;
}

.na-hero-sub {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* the two subtitle lines (DNS Datasets / WHOIS API): 40 px like the canvas; the generic landing H2 rule would
   shrink them to 1.75rem without the stronger selector */
.na-landing .na-hero-sub h2:not(.na-h2) {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
}

.na-hero-sub h2:first-child { color: var(--na-accent) !important; }
.na-hero-sub h2:last-child { color: var(--na-muted) !important; }

.na-hero-tagline {
    margin: 6px 0 0;
    font-size: 17px;
    color: var(--na-text);
    max-width: 560px;
}

.na-signup {
    display: flex;
    gap: 10px;
    max-width: 520px;
    flex-wrap: wrap;
    margin: 0;
}

.na-signup .form-control {
    flex: 1 1 240px;
    font-size: 15px;
    border-radius: 7px !important;
}

.na-signup .na-btn { flex: 0 0 auto; }

.na-hero-stats {
    grid-column: span 5;
    min-width: 0;
}

.na-dark-card {
    background: var(--na-ink);
    border-radius: 12px;
    padding: 26px 28px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.na-dark-card .na-eyebrow { color: rgba(255, 255, 255, .55); }

.na-dark-card a { color: #ffffff; }

.na-big-number {
    font-family: var(--na-display);
    font-weight: 800;
    font-size: 48px;
    line-height: 1;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.01em;
}

.na-dark-card .na-sub {
    color: rgba(255, 255, 255, .7);
    font-size: 15.5px;
}

.na-dark-card .na-sub strong { color: #ffffff; }

.na-stat-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 16px;
}

.na-stat-label {
    font-family: var(--na-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.na-stat-value {
    font-family: var(--na-display);
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    color: #ffffff;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

.na-stat-value.is-accent { color: var(--na-accent); }

/* quick links card */
.na-links-card {
    padding: 26px 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    text-align: left;
}

.na-link-col { min-width: 0; }

.na-link-col h3 {
    font-family: var(--na-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--na-muted);
    margin: 0 0 10px;
    font-weight: 500;
}

.na-link-col a {
    display: block;
    color: var(--na-ink);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid var(--na-bg);
}

.na-link-col a:hover { color: var(--na-accent); }

.na-link-col .badge { margin-left: 6px; }

/* chart card */
.na-chart-card {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.na-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.na-chart-meta {
    font-family: var(--na-mono);
    font-size: 12px;
    color: var(--na-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.na-chart-box { position: relative; width: 100%; }
.na-chart-box-wide { height: 340px; }
.na-chart-box-half { height: 260px; }

/* customers / featured bands */
.na-band-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.na-band-inner-featured { gap: 30px; }

.na-logos {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 24px 32px;
    width: 100%;
}

.na-logos img {
    height: 52px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
}

.na-featured-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    font-size: 15.5px;
    font-weight: 500;
}

.na-featured-list a {
    color: var(--na-ink);
    text-decoration: none;
}

.na-featured-list a:hover { color: var(--na-accent); }

/* tiles */
.na-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    text-align: left;
}

.na-tile {
    padding: 24px;
    min-width: 0;
}

.na-tile .na-eyebrow { margin-bottom: 12px; }

.na-tile h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--na-ink);
    margin: 0 0 8px;
}

.na-tile p {
    margin: 0;
    color: var(--na-text);
    font-size: 15px;
}

.na-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.na-stack-sm { gap: 10px; }
.na-stack-md { gap: 18px; }

/* text card (popular zones, FAQ) */
.na-text-card {
    padding: 24px 28px;
    text-align: left;
}

.na-text-card p { margin: 0; }
.na-text-card p + p { margin-top: 10px; }
.na-text-card .na-muted { color: var(--na-muted); font-size: 14.5px; }

/* zone table card */
.na-table-card {
    overflow-x: auto;
    border-radius: 10px;
}

.na-table-card .comp-table-wrap {
    border: 0;
    border-radius: 0;
    margin: 0;
}

.na-table-card table { margin: 0; }

.comp-table td.num,
.comp-table th.num { text-align: right; }

.comp-table tr.is-total { background: #fdf4ee; }

.comp-table a.dl {
    color: var(--na-link);
    font-family: var(--na-mono);
    font-size: 13px;
    text-decoration: none;
    border: 1px solid var(--na-line);
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--na-surface);
    font-weight: 400;
    white-space: nowrap;
}

.comp-table a.dl:hover {
    border-color: var(--na-ink);
    color: var(--na-ink);
}

.comp-table a.na-na,
.na-na {
    color: #8a98a6;
    font-family: var(--na-mono);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
}

.na-btn-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.na-btn-row .na-btn {
    padding: 5px 30px;
    min-height: 36px;
    font-size: 15px;
}

/* donuts */
.na-pies {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.na-pie-card {
    padding: 24px 28px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.na-pie-card h3 { font-size: 20px; margin: 0; }

.na-pie-body {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.na-pie-box {
    position: relative;
    width: 190px;
    height: 190px;
    flex: 0 0 auto;
}

.na-pie-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.na-pie-center b {
    font-family: var(--na-display);
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    color: var(--na-ink);
}

.na-pie-center span {
    font-family: var(--na-mono);
    font-size: 9.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--na-muted);
    margin-top: 6px;
}

.na-pie-legend {
    border-collapse: collapse;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    flex: 1 1 200px;
    min-width: 0;
}

.na-pie-legend td { padding: 3px 0; }
.na-pie-legend td + td { text-align: right; color: var(--na-muted); }

.na-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
}

/* dark compromised block on the homepage */
.na-compromised {
    background: var(--na-ink);
    border-radius: 12px;
    padding: 32px 36px;
    color: #ffffff;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 28px;
    align-items: center;
    text-align: left;
}

.na-compromised-copy {
    grid-column: span 5;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.na-compromised-copy .na-eyebrow { color: rgba(255, 255, 255, .55); }
.na-compromised-copy .na-eyebrow b { color: #ffffff; font-weight: 500; }

.na-compromised-copy h2 {
    font-size: 28px;
    color: #ffffff !important;
    margin: 0;
    text-wrap: balance;
}

.na-compromised-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 16px;
}

.na-compromised-copy p a { color: #ffffff; }

.na-counter {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.na-counter .na-stat-label { font-size: 11px; }

.na-counter .na-big-number { font-size: 36px; }

.na-counter .na-big-number.is-green { color: #2fbf71; }

.na-compromised-chart {
    grid-column: span 7;
    min-width: 0;
}

.na-compromised-chart figure { margin: 0; }

.na-compromised-chart figcaption {
    color: rgba(255, 255, 255, .45);
    font-size: 13.5px;
    margin-top: 8px;
}

/* FAQ grid */
.na-faq {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: left;
}

.na-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 40px;
}

.na-faq-grid > div { min-width: 0; }

.na-faq h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--na-ink);
    margin: 0 0 6px;
    font-family: var(--na-body);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.35;
}

.na-faq p { margin: 0; color: var(--na-text); }
.na-faq ul { margin: 6px 0 0; padding-left: 20px; }
.na-faq .na-faq-lead {
    font-size: 15.5px;
    font-weight: 500;
    color: var(--na-ink);
}

/* CTA */
.na-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 32px 0 48px;
}

.na-cta h2 {
    font-size: 40px;
    margin: 0;
    text-wrap: balance;
}

.na-cta p { margin: 0; font-size: 17px; color: var(--na-muted); }

.na-cta .na-signup { width: 100%; max-width: 560px; margin-top: 8px; }

/* ---------- compromised list pages ---------- */

.na-page-head {
    padding: 64px 0 44px;
}

.na-page-head-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--na-line);
    padding-bottom: 36px;
    text-align: left;
}

.na-page-title {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    max-width: 760px;
}

.na-page-title h1 {
    font-size: 50px;
    margin: 0;
    text-wrap: balance;
}

/* the green subtitle of the compromised pages: body face, 20 px / 500 as in the canvas (the selector has to beat
   the generic .na-landing h2:not(...) rule) */
.na-landing .na-page-title h2:not(.na-h2):not(.na-display),
.na-page-title h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--na-green) !important;
    font-family: var(--na-body);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
}

.na-page-meta {
    font-family: var(--na-mono);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    font-size: 12.5px;
    color: var(--na-muted);
    text-transform: uppercase;
}

.na-page-meta-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.na-page-meta-bar i {
    width: 100px;
    height: 3px;
    background: var(--na-line);
    border-radius: 2px;
    overflow: hidden;
    display: inline-block;
}

.na-page-meta-bar i::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--na-green);
}

.na-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--na-line);
    border: 1px solid var(--na-line);
    border-radius: 10px;
    overflow: hidden;
}

.na-stat-cell {
    background: var(--na-surface);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    text-align: left;
}

.na-stat-cell b {
    font-family: var(--na-display);
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    color: var(--na-ink);
    font-variant-numeric: tabular-nums;
}

.na-stat-cell span {
    font-family: var(--na-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--na-muted);
}

.na-dl-table th.na-col-center,
.na-dl-table td.na-col-center { text-align: center; width: 20%; }
.na-dl-table th.na-col-name { width: 40%; }
.na-dl-table th.na-col-csv,
.na-dl-table td.na-col-csv { width: 1%; white-space: nowrap; padding-right: 24px; }

.na-dl-table td { vertical-align: middle; }

.na-dl-name {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.na-dl-name strong { color: var(--na-ink); font-weight: 600; }

.na-dl-note {
    display: block;
    font-size: 13px;
    color: var(--na-muted);
    margin-top: 3px;
}

.na-dl-table .na-btn {
    padding: 4px 34px;
    min-height: 34px;
    font-size: 14.5px;
}

.na-dl-table a.na-btn-accent,
.na-dl-table a.na-btn-accent:hover { color: #ffffff; }

.badge-grey {
    background: #e8ecf0 !important;
    color: #4c5a68 !important;
}


.na-licence {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--na-muted);
    text-align: left;
}

.na-licence p { margin: 0; }

.na-section-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.na-section-head h2 { font-size: 26px; margin: 0; }
.na-section-head p { margin: 0; color: var(--na-muted); font-size: 15px; }

.na-two-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.na-two-cards .na-card { min-width: 0; }

.na-two-cards .na-chart-card { padding: 22px 26px; gap: 12px; }

.na-two-cards .na-chart-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--na-ink);
    font-family: var(--na-body);
    text-transform: none;
    letter-spacing: 0;
}

.na-two-cards .na-chart-card p {
    margin: 0;
    font-size: 12.5px;
    color: var(--na-muted);
}

.na-share {
    height: 6px;
    border-radius: 3px;
    background: var(--na-accent);
    display: inline-block;
    vertical-align: middle;
}

.na-share-pct {
    color: var(--na-muted);
    font-size: 13px;
}

.comp-table td.na-rank {
    font-family: var(--na-mono);
    color: var(--na-muted);
    width: 40px;
}

.na-foot-note {
    margin: 0;
    font-size: 13px;
    color: var(--na-muted);
    text-align: left;
}

/* the other landing pages keep their Bootstrap column, widened to the header's 1400 px column */
@media (min-width: 1200px) {
    .na-landing .col-xl-8.offset-xl-2 {
        flex: 0 0 100%;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .na-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
    .na-hero-copy, .na-hero-stats { grid-column: auto; }
    .na-landing .na-hero-copy h1 { font-size: 48px; }
    .na-landing .na-hero-sub h2:not(.na-h2) { font-size: 30px; }
    .na-links-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .na-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .na-logos img { height: 40px; }
    .na-tiles, .na-pies, .na-two-cards, .na-faq-grid { grid-template-columns: 1fr; }
    .na-compromised { grid-template-columns: 1fr; padding: 24px; }
    .na-compromised-copy, .na-compromised-chart { grid-column: auto; }
    .na-stat-row { grid-template-columns: 1fr; }
    .na-page-title h1 { font-size: 38px; }
    .na-page-meta { align-items: flex-start; }
    .na-cta h2 { font-size: 32px; }
    .na-landing h1 { font-size: 38px; }
}

@media (max-width: 575.98px) {
    .na-links-card { grid-template-columns: 1fr; }
    .na-landing .na-hero-copy h1 { font-size: 40px; }
    .na-chart-box-wide { height: 260px; }
}

/* ---------- dashboard headings and tables in the display face ---------- */
.dash-main h1,
.dash-main h2:not(.h4):not(.h5):not(.h6),
.dash-main .h1,
.dash-main .h2 {
    font-family: var(--na-display);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -.01em;
    line-height: 1.05;
    color: var(--na-ink);
}

.dash-main h1 { font-size: 36px; }

/* small leftovers of the old look: the bordered figure tiles of the catalogs (on the site and inside the dashboard)
   get a surface, a green H1 is ink */
.na-landing .border.rounded-3,
.dash-main .border.rounded-3 {
    background: var(--na-surface);
    border-color: var(--na-line) !important;
    border-radius: 10px !important;
}

.na-landing h1.text-success {
    color: var(--na-ink) !important;
}

/* licence notes on the other free-data pages (Top 1M, top websites by country, research reports): same small size */
.na-landing p.na-licence-note {
    font-size: 13px;
    color: var(--na-muted);
}

/* /plans/ subtitle under the H1: regular weight (was the Bootstrap .h5 at 500 with a wide letter-spacing) */
.na-plans-subtitle {
    font-size: 17px;
    font-weight: 400;
    color: var(--na-muted);
    line-height: 1.4;
}

/* ---------- text pages (help, FAQ, MCP, ToS, privacy): the content sits on a white card, the grid stays around it ---------- */
.na-paper .container-fluid > .row > [class*="col-xl-8"] {
    background: var(--na-surface);
    border: 1px solid var(--na-line);
    border-radius: 10px;
    padding: 32px 40px 40px;
    margin-top: 32px;
    margin-bottom: 56px;
}

@media (max-width: 767.98px) {
    .na-paper .container-fluid > .row > [class*="col-xl-8"] {
        padding: 20px 18px 28px;
        margin-top: 16px;
        margin-bottom: 32px;
    }
}

/* short pages (contact): the lookup-page trick (.lookup-page, 70vh) on the content column keeps the footer at the bottom */
.na-tall .container-fluid > .row > [class*="col-xl-8"] {
    min-height: 70vh;
}

/* a multi-line inline <code> (the base endpoint block of /help/api/): inline-block, so every line gets the padding */
code.na-code-block {
    display: inline-block;
    padding: 10px 14px;
    line-height: 1.6;
    font-size: 14px;
}

/* air below the last block before the footer (catalogs, Top 1M, research, vs, top websites); the catalogs also above the title */
.na-airy .container-fluid > .row > [class*="col-xl-"] {
    padding-bottom: 64px;
}

.na-airy-top .container-fluid > .row > [class*="col-xl-"] {
    padding-top: 40px;
}

/* the FAQ card of the four catalogs sat right under the zone table: air above it */
#datasets-all-faq,
#lists-all-faq,
#datasets-cctld-faq,
#lists-cctld-faq {
    margin-top: 1.5rem; /* = the mb-4 gap between the FAQ card and the "Popular datasets" card below it */
}

/* "Have questions?" at the end of the four catalogs: air above it */
.na-questions-row {
    margin-top: 56px !important;
}

/* buttons inside the tables: the table-link rule (.comp-table a = ink) must not recolour the filled buttons */
.comp-table a.btn-success,
.comp-table a.btn-primary,
.comp-table a.na-btn-accent,
.comp-table a.na-btn-ink,
.comp-table a.btn-success:hover,
.comp-table a.btn-primary:hover,
.comp-table a.na-btn-accent:hover,
.comp-table a.na-btn-ink:hover {
    color: #ffffff;
}

/* zone pages: the three section headings (numbers block = h2, FAQ and related zones = p) share one style */
.na-landing .zone-faq-heading {
    font-family: var(--na-display);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -.01em;
    line-height: 1.05;
    color: var(--na-ink);
    text-transform: none;
}

/* closing "Questions ...?" blocks (registrar pages, the price table on /plans/ and in the dashboard): regular weight, body face */
.na-landing h2.na-light-heading,
.na-landing h4.na-light-heading,
.na-landing .h4.na-light-heading,
.dash-main h2.na-light-heading,
.dash-main .h4.na-light-heading {
    font-family: var(--na-body);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
    color: var(--na-text);
}

.na-landing h2.na-light-heading, .dash-main h2.na-light-heading { font-size: 1.5rem; }
.na-landing h4.na-light-heading, .na-landing .h4.na-light-heading, .dash-main .h4.na-light-heading { font-size: 1.15rem; }

/* hero, the free products line under the two subtitles (owner 2026-10-28, variant "B3c-1"): display face 22 px in
   the site green, a green dot before every item */
.na-hero-free {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 2px;
}

.na-hero-free a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--na-display);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--na-green);
    text-decoration: none;
}

.na-hero-free a::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2fbf71;
    flex: 0 0 auto;
}

.na-hero-free a:hover { color: var(--na-ink); }

/* top websites by country: flags (static/images/flags, the flag-icons set, MIT) in the hub list and the country H1 */
.tw-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(20, 25, 31, .12);
    margin-right: 9px;
    vertical-align: -2px;
    flex: 0 0 auto;
}

.tw-flag-h1 {
    width: 40px;
    height: 30px;
    border-radius: 3px;
    margin-right: 14px;
    vertical-align: -3px;
}

.tw-item-name {
    display: flex;
    align-items: center;
}

/* sign-in / code pages: the H1 in the smaller size of /plans/, Barlow Condensed 500 instead of bold */
.na-landing h1.sign-title {
    font-size: 44px;
    font-weight: 500;
    letter-spacing: 0;
}

/* sign-in / code / consent / removal pages: a little more air above and below the card */
.na-landing .sign-wrap {
    padding: 4.5rem 0 5.5rem;
}
