/* trustLegal — dark editorial design */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg: #090c12;
    --bg-elevated: #0f141c;
    --bg-card: #151b24;
    --bg-card-hover: #1b2330;
    --text: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --gold: #d4a86a;
    --gold-light: #e6c9a1;
    --danger: #f87171;
    --success: #34d399;
    --navy: #0b0f17;
    --charcoal: #1f2937;
    --border: rgba(255,255,255,0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 40px rgba(0,0,0,0.35);
    --shadow-hover: 0 22px 70px rgba(0,0,0,0.45);
    --max-width: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; color-scheme: dark; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.5rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 14px; }
p { margin-bottom: 18px; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Header */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(9,12,18,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex; align-items: center; justify-content: center;
    position: relative;
    min-height: 76px; height: auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 700; color: var(--text);
    letter-spacing: -0.5px;
    text-align: center;
}

.menu-toggle {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    color: var(--text); font-size: 1.6rem; cursor: pointer;
    padding: 10px; border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.menu-toggle:hover { background: rgba(255,255,255,0.06); }

/* Navigation panel */
.nav-panel {
    position: fixed; top: 0; left: 0; width: 300px; max-width: 85vw;
    height: 100vh; z-index: 1100;
    background: var(--bg-elevated);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    transform: translateX(-110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 34px 40px;
    overflow-y: auto;
}

.nav-panel.open { transform: translateX(0); }

.nav-overlay {
    position: fixed; inset: 0; z-index: 1050;
    background: rgba(0,0,0,0.55);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

.nav-panel h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-dim); margin-bottom: 18px;
}

.nav-panel .nav-links { display: block; list-style: none; }

.nav-panel li { margin-bottom: 8px; }

.nav-panel a {
    display: block; padding: 12px 0;
    color: var(--text-muted); font-size: 1.05rem; font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.nav-panel a:hover,
.nav-panel a.active { color: var(--gold); }

/* Buttons */
.btn {
    display: inline-block; padding: 14px 30px; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem; transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none; border: none; cursor: pointer;
}

.btn-primary {
    background: var(--gold); color: #0b0f17;
    box-shadow: 0 4px 18px rgba(212,168,106,0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(212,168,106,0.38);
    color: #0b0f17;
}

.btn-outline {
    border: 1.5px solid rgba(255,255,255,0.35); color: var(--text); background: transparent;
}

.btn-outline:hover { background: rgba(255,255,255,0.07); color: var(--text); }

.btn-dark { background: var(--gold); color: #0b0f17; }
.btn-dark:hover { background: var(--gold-light); color: #0b0f17; }

/* Hero */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex; align-items: center;
    padding: 160px 0 110px;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(9,12,18,0.92) 0%, rgba(15,20,28,0.88) 55%, rgba(9,12,18,0.78) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center;
    text-align: center;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 { max-width: 900px; margin: 0 auto 24px; }

.hero .subhead {
    max-width: 760px; margin: 0 auto 38px;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    color: var(--text-muted); font-weight: 300;
}

.hero-cta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

.hero-note {
    margin-top: 26px; font-size: 0.85rem; color: var(--text-dim);
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(212,168,106,0.1); color: var(--gold-light);
    padding: 10px 20px; border-radius: 50px; font-size: 0.82rem; font-weight: 500;
    margin-bottom: 26px; border: 1px solid rgba(212,168,106,0.2);
}

/* Sections */
section { padding: 100px 0; }
.bg-light { background: var(--bg-elevated); }

.section-title {
    text-align: center; max-width: 800px; margin: 0 auto 64px;
}

.section-title h2 {
    position: relative; display: inline-block; padding-bottom: 16px;
}

.section-title h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 70px; height: 3px; background: var(--gold); border-radius: 2px;
}

.section-title p {
    color: var(--text-muted); font-size: 1.1rem; margin-top: 16px;
}

.lead {
    font-size: 1.15rem; color: var(--text-muted); line-height: 1.8;
    max-width: 820px; margin: 0 auto 32px;
}

.emotion-text {
    font-size: 1.05rem; color: var(--text-muted); line-height: 1.9;
}

/* Page header */
.page-header {
    background:
        linear-gradient(135deg, rgba(9,12,18,0.93) 0%, rgba(21,27,36,0.9) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center;
    color: var(--text); padding: 170px 0 110px; text-align: left;
}

.page-header h1 { max-width: 900px; font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
.page-header p { color: var(--text-muted); max-width: 780px; font-size: 1.15rem; }

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); background: var(--bg-card-hover); }

.card img {
    width: 100%; height: 210px; object-fit: cover; opacity: 0.9;
}

.card .body { padding: 28px; }

.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.97rem; }

/* Article cards */
.article-card {
    display: flex; flex-direction: column;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); background: var(--bg-card-hover); }

.article-card .meta {
    padding: 20px 24px 0;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--gold); font-weight: 600;
}

.article-card h3 { font-size: 1.2rem; padding: 10px 24px 12px; }

.article-card p { color: var(--text-muted); font-size: 0.95rem; padding: 0 24px 12px; }

.article-card .link {
    margin-top: auto; padding: 0 24px 24px;
    font-weight: 600; font-size: 0.92rem; color: var(--text);
}

.article-card .link:hover { color: var(--gold); }

/* Story / quote cards */
.story-card {
    background: var(--bg-card); border-left: 4px solid var(--gold);
    border-radius: var(--radius); padding: 32px;
    box-shadow: var(--shadow);
}

.story-card blockquote {
    font-family: 'Playfair Display', serif; font-size: 1.35rem;
    color: var(--text); margin-bottom: 18px; line-height: 1.55;
}

.story-card cite {
    font-style: normal; color: var(--text-muted); font-size: 0.9rem;
}

.story-card cite a { color: var(--gold); }

/* Video */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.video-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}

.video-card h4 {
    padding: 20px 24px; font-size: 1.15rem; color: var(--text);
    border-bottom: 1px solid var(--border);
}

.video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
}

.video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: 0;
}

.video-card p { padding: 0 24px 24px; color: var(--text-muted); font-size: 0.92rem; }

/* Feature / info */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.info-item {
    padding: 30px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.info-item h4 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text); }
.info-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Stats */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
}

.stat-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px 24px;
    text-align: center; box-shadow: var(--shadow);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; font-weight: 700; color: var(--gold);
    margin-bottom: 12px; line-height: 1;
}

.stat-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

.data-source {
    margin-top: 32px; font-size: 0.85rem;
    color: var(--text-dim); text-align: center;
}

/* Red / green flags */
.flag-list { list-style: none; }
.flag-list li {
    padding: 11px 0 11px 32px; position: relative; color: var(--text-muted);
}
.flag-red li::before { content: '×'; position: absolute; left: 0; color: var(--danger); font-weight: 700; font-size: 1.2rem; }
.flag-green li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* Split section */
.split-section {
    display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}

.split-section img,
.split-section .section-image {
    width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius);
    box-shadow: var(--shadow-hover); border: 1px solid var(--border);
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.section-image-full {
    width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius);
    margin-bottom: 36px; box-shadow: var(--shadow); border: 1px solid var(--border);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, #0d1118 100%);
    color: var(--text); text-align: center;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

.cta-section h2 { color: var(--text); font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
.cta-section p { color: var(--text-muted); max-width: 680px; margin: 0 auto 34px; }

/* FAQ */
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 16px; overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%; padding: 22px 26px; text-align: left;
    background: none; border: none; font-size: 1.05rem; font-weight: 600;
    color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}

.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--gold); }
.faq-item.active .faq-question::after { content: '−'; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 26px 24px; color: var(--text-muted); }

/* Contact */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}

.contact-form {
    background: var(--bg-card); padding: 42px; border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: var(--shadow-hover);
}

.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 14px 18px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: 0.95rem;
    color: var(--text); background: var(--bg-elevated);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212,168,106,0.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 16px; line-height: 1.6; }

/* Footer */
footer {
    background: var(--bg-elevated); color: var(--text-muted); padding: 80px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid; grid-template-columns: 2fr 1.3fr 1fr; gap: 60px; margin-bottom: 60px;
}

.footer-brand h3 { color: var(--text); font-size: 1.5rem; margin-bottom: 16px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); }

.footer-links h4 { color: var(--text); font-size: 1.05rem; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold); }

.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

.quick-links li { margin-bottom: 0; }

.disclaimer {
    border-top: 1px solid var(--border); padding-top: 32px;
    font-size: 0.78rem; line-height: 1.7; color: var(--text-dim);
}

.footer-bottom {
    margin-top: 28px; font-size: 0.85rem; color: var(--text-dim); text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .split-section, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .card-grid, .video-grid, .stat-grid, .info-grid { grid-template-columns: 1fr; }
    section { padding: 70px 0; }
    .hero { min-height: 85vh; padding-top: 140px; }
    .page-header { padding: 140px 0 80px; }
    .nav-panel { width: 280px; }
}

@media (max-width: 520px) {
    .quick-links { grid-template-columns: 1fr; }
}

::selection { background: rgba(212,168,106,0.25); color: var(--text); }
