/* /authenticity.one/web/assets/style.css */

:root {
    --bg: #0f1720;
    --bg-soft: #162231;

    --card: #1b2a3b;
    --card-hover: #23364b;

    --text: #eef3f8;
    --text-soft: #b8c4d1;

    --gold: #d4af37;
    --gold-soft: #f0d97a;

    --green: #2fb36d;
    --red: #d24b4b;
    --orange: #d28b2f;
    --grey: #8895a5;

    --border: rgba(255,255,255,.08);

    --shadow:
        0 8px 30px rgba(0,0,0,.25);

    --radius: 16px;

    --container: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background:
        radial-gradient(circle at top right, rgba(212,175,55,.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(212,175,55,.08), transparent 25%),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(16px);

    background: rgba(15,23,32,.92);

    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(circle, var(--gold-soft), var(--gold));

    color: #111;

    font-weight: 800;
    font-size: 18px;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
}

.language-switch {
    display: flex;
    gap: 8px;
}

.language-switch a {
    padding: 8px 12px;

    border-radius: 8px;

    color: var(--text-soft);

    transition: .2s;
}

.language-switch a:hover {
    background: rgba(255,255,255,.05);
}

.language-switch a.active {
    background: var(--gold);
    color: #111;
    font-weight: 700;
}

/* =====================================================
   HERO
===================================================== */

.hero {
    padding: 90px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
}

.eyebrow {
    color: var(--gold-soft);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.hero h1 {
    margin: 0 0 18px;

    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
}

.hero-lead {
    max-width: 850px;

    font-size: 20px;

    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 24px;

    border-radius: 999px;

    font-weight: 700;

    transition: .2s;
}

.button.primary {
    background: var(--gold);
    color: #111;
}

.button.primary:hover {
    transform: translateY(-2px);
}

.button.secondary {
    border: 1px solid var(--border);
}

.button.secondary:hover {
    background: rgba(255,255,255,.04);
}

/* =====================================================
   HERO CARD
===================================================== */

.hero-card {
    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.hero-card h2 {
    margin-top: 0;
}

.score-line {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

    margin-top: 20px;
}

.score-line span {
    padding: 8px 12px;

    border-radius: 999px;

    background: rgba(212,175,55,.12);

    border: 1px solid rgba(212,175,55,.25);

    color: var(--gold-soft);

    font-size: 13px;
    font-weight: 700;
}

/* =====================================================
   SECTION
===================================================== */

.section {
    padding: 60px 0;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 0 0 10px;
    font-size: 38px;
}

.section-heading p {
    color: var(--text-soft);
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =====================================================
   METHOD
===================================================== */

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.method-card {
    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 24px;

    transition: .2s;
}

.method-card:hover {
    transform: translateY(-3px);
    background: var(--card-hover);
}

.method-card h3 {
    margin-top: 0;

    color: var(--gold-soft);
}

/* =====================================================
   TABLE
===================================================== */

.works-table-wrap {
    overflow-x: auto;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.works-table {
    width: 100%;
    border-collapse: collapse;
}

.works-table th {
    text-align: left;

    padding: 18px;

    background: rgba(255,255,255,.03);

    color: var(--gold-soft);

    border-bottom: 1px solid var(--border);
}

.works-table td {
    padding: 18px;

    border-bottom: 1px solid var(--border);

    vertical-align: top;
}

.works-table tr:hover {
    background: rgba(255,255,255,.025);
}

.work-title {
    font-weight: 700;
    color: var(--gold-soft);
}

.work-title:hover {
    text-decoration: underline;
}

.work-description {
    margin-top: 4px;

    color: var(--text-soft);
    font-size: 14px;
}

/* =====================================================
   SCORES
===================================================== */

.mini-score {
    display: inline-block;

    min-width: 32px;

    text-align: center;

    padding: 4px 8px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    margin-right: 4px;
}

.mini-score.yes {
    background: rgba(47,179,109,.15);
    color: #72f0ac;
}

.mini-score.no {
    background: rgba(210,75,75,.15);
    color: #ff8b8b;
}

.mini-score.unclear {
    background: rgba(210,139,47,.15);
    color: #ffc772;
}

.mini-score.muted {
    background: rgba(255,255,255,.08);
    color: var(--grey);
}

/* =====================================================
   STATUS
===================================================== */

.status {
    display: inline-block;

    padding: 8px 12px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
}

.status.falsified {
    background: rgba(210,75,75,.15);
    color: #ff8b8b;
}

.status.not_falsified {
    background: rgba(47,179,109,.15);
    color: #72f0ac;
}

.status.not_assessed {
    background: rgba(255,255,255,.08);
    color: var(--grey);
}

/* =====================================================
   EMPTY
===================================================== */

.empty-state {
    text-align: center;

    padding: 60px 20px;

    background: var(--card);

    border-radius: var(--radius);

    border: 1px solid var(--border);
}

.empty-state h3 {
    margin-top: 0;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    margin-top: 80px;

    border-top: 1px solid var(--border);

    padding: 30px 0;

    color: var(--text-soft);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

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

    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {

    .header-inner {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-lead {
        font-size: 18px;
    }

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

    .section-heading h2 {
        font-size: 30px;
    }

    .footer-inner {
        flex-direction: column;
    }
}
