:root {
    --navy-dark: #0f172a;
    --slate-gray: #334155;
    --accent-blue: #2563eb;
    --vivid-green: #16a34a;
    --pure-crimson: #dc2626;
    --warning-amber: #d97706;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--light-bg);
    color: var(--text-main);
    line-height: 1.5;
}

a {
    color: var(--accent-blue);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    background: var(--navy-dark);
    border-bottom: 4px solid var(--accent-blue);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    color: var(--white);
    font-size: 1.38rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.logo span {
    color: #60a5fa;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 18px;
}

.site-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--white);
}

.hero-section {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 56px 0 44px;
    margin-bottom: 36px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    color: var(--pure-crimson);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-section h1 {
    max-width: 920px;
    color: var(--navy-dark);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.hero-section p {
    max-width: 850px;
    color: var(--slate-gray);
    font-size: 1.12rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
}

.badge-verified {
    background: #dcfce7;
    color: var(--vivid-green);
    border: 1px solid #bbf7d0;
}

.badge-alert {
    background: #fee2e2;
    color: var(--pure-crimson);
    border: 1px solid #fecaca;
}

.badge-untested {
    background: #f1f5f9;
    color: var(--slate-gray);
    border: 1px solid #cbd5e1;
}

.badge-watch {
    background: #ffedd5;
    color: var(--warning-amber);
    border: 1px solid #fed7aa;
}

.section {
    margin: 36px 0;
}

.section h2 {
    color: var(--navy-dark);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.section h3 {
    color: var(--navy-dark);
    font-size: 1.18rem;
    line-height: 1.25;
    margin: 24px 0 10px;
}

.section p {
    max-width: 900px;
    margin-bottom: 14px;
}

.tldr-container {
    background: var(--white);
    border-left: 6px solid var(--accent-blue);
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
}

.tldr-container strong {
    color: var(--navy-dark);
}

.audit-grid {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
    border-radius: 8px;
    overflow: hidden;
}

.audit-grid th {
    background: var(--navy-dark);
    color: var(--white);
    padding: 16px;
    font-size: 0.9rem;
    font-weight: 750;
    text-align: left;
}

.audit-grid td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 0.95rem;
}

.audit-grid tr:last-child td {
    border-bottom: 0;
}

.operator-name {
    color: var(--navy-dark);
    font-weight: 850;
}

.score-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-weight: 900;
    font-size: 0.9rem;
}

.score-high {
    background: var(--vivid-green);
}

.score-mid {
    background: var(--warning-amber);
}

.score-low {
    background: var(--pure-crimson);
}

.risk-table {
    width: 100%;
    margin: 24px 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.risk-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-color);
}

.risk-row:last-child {
    border-bottom: 0;
}

.risk-row span:first-child {
    color: var(--slate-gray);
    font-weight: 700;
}

.risk-row span:last-child {
    color: var(--navy-dark);
    font-weight: 850;
    text-align: right;
}

.proof-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.proof-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px;
}

.proof-item h3 {
    margin-top: 0;
}

.proof-kpi {
    display: block;
    color: var(--accent-blue);
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.btn-small {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.84rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
}

.btn-secondary {
    background: var(--slate-gray);
    color: var(--white);
}

.btn-danger {
    background: var(--pure-crimson);
    color: var(--white);
}

.btn:hover,
.btn:focus-visible {
    filter: brightness(0.94);
}

.note-box,
.warning-box,
.success-box,
.final-cta {
    border-radius: 8px;
    padding: 18px;
    margin: 22px 0;
}

.note-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.warning-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.success-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.final-cta {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 6px solid var(--vivid-green);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.content-list {
    margin: 16px 0 20px 20px;
}

.content-list li {
    margin-bottom: 8px;
}

.review-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
}

.review-score-panel {
    background: var(--navy-dark);
    color: var(--white);
    border-radius: 8px;
    min-width: 172px;
    padding: 20px;
    text-align: center;
}

.review-score-panel strong {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
}

.review-score-panel span {
    display: block;
    color: #cbd5e1;
    margin-top: 6px;
    font-size: 0.84rem;
    font-weight: 750;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field.full {
    grid-column: 1 / -1;
}

label {
    color: var(--navy-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: var(--white);
    color: var(--text-main);
    font: inherit;
    padding: 12px;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.hidden-field {
    display: none;
}

.site-footer {
    background: var(--navy-dark);
    color: #94a3b8;
    padding: 52px 0 36px;
    margin-top: 72px;
    font-size: 0.86rem;
    border-top: 4px solid var(--pure-crimson);
}

.legal-warning {
    border: 1px solid #475569;
    padding: 16px;
    border-radius: 6px;
    background: #1e293b;
    color: #cbd5e1;
    margin-bottom: 22px;
}

.compliance-badge-18 {
    display: inline-block;
    margin-right: 10px;
    padding: 2px 6px;
    border: 2px solid var(--pure-crimson);
    border-radius: 4px;
    color: var(--pure-crimson);
    font-size: 1.1rem;
    font-weight: 950;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.footer-links a {
    color: #cbd5e1;
}

.muted {
    color: #64748b;
}

@media (max-width: 760px) {
    .container {
        padding: 0 16px;
    }

    .site-header {
        position: static;
    }

    .nav-wrapper {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav ul {
        gap: 12px;
    }

    .hero-section {
        padding: 38px 0 30px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 18px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 54px;
        padding: 14px 18px;
        text-align: center;
    }

    .audit-grid,
    .audit-grid thead,
    .audit-grid tbody,
    .audit-grid tr,
    .audit-grid th,
    .audit-grid td {
        display: block;
        width: 100%;
    }

    .audit-grid thead {
        display: none;
    }

    .audit-grid tr {
        border-bottom: 1px solid var(--border-color);
        padding: 12px 0;
    }

    .audit-grid td {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 14px;
        border-bottom: 0;
        padding: 9px 14px;
    }

    .audit-grid .btn-small {
        width: 100%;
    }

    .audit-grid td::before {
        content: attr(data-label);
        color: var(--slate-gray);
        font-size: 0.78rem;
        font-weight: 850;
        text-transform: uppercase;
    }

    .risk-row,
    .review-header {
        display: block;
    }

    .risk-row span:last-child {
        display: block;
        margin-top: 4px;
        text-align: left;
    }

    .review-score-panel {
        margin-top: 18px;
        min-width: 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

.site-header {
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
}

.site-nav {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.55);
    padding: 6px;
}

.site-nav ul {
    gap: 4px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(37, 99, 235, 0.24);
    outline: 0;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    background: #1e293b;
    color: #ffffff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.proof-item,
.tldr-container,
.risk-table,
.form-card {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

@media (max-width: 860px) {
    .site-header {
        position: sticky;
        top: 0;
    }

    .nav-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        position: fixed;
        top: 78px;
        left: 16px;
        right: 16px;
        display: none;
        border-radius: 14px;
        padding: 12px;
        background: #0f172a;
        box-shadow: 0 24px 70px rgba(15, 23, 42, 0.36);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        display: grid;
        gap: 10px;
    }

    .site-nav a {
        width: 100%;
        min-height: 46px;
        justify-content: space-between;
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 10px;
        background: #1e293b;
        color: #f8fafc;
        padding: 12px 14px;
    }

    .hero-meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-meta .badge {
        justify-content: center;
        min-height: 38px;
        width: 100%;
    }

    .proof-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .proof-item {
        border-radius: 10px;
        padding: 20px;
        border-color: #cbd5e1;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10);
    }

    .audit-grid {
        box-shadow: none;
        background: transparent;
        border-radius: 0;
    }

    .audit-grid tr {
        margin: 0 0 16px;
        padding: 14px 0;
        border: 1px solid #dbe4ee;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
        overflow: hidden;
    }

    .audit-grid td {
        grid-template-columns: 110px minmax(0, 1fr);
        padding: 10px 14px;
    }

    .tldr-container,
    .warning-box,
    .note-box,
    .success-box,
    .form-card,
    .risk-table {
        border-radius: 12px;
    }
}

@media (max-width: 420px) {
    .logo {
        font-size: 1.16rem;
        white-space: normal;
    }

    .site-nav {
        left: 12px;
        right: 12px;
    }

    .audit-grid td {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 8px;
        padding: 8px 12px;
    }

    .audit-grid td::before {
        font-size: 0.72rem;
    }
}
