/**
 * DESIGN PLAN (see also frontend-design skill notes in the build log)
 * ---------------------------------------------------------------------
 * Signature element: the hero's "verified profile card" — styled like an
 * official ID/certificate, gold corner brackets, monospace field rows.
 * Grounded in the actual product (verified profiles) and SA context
 * (ID books, certified documents are a familiar visual language).
 *
 * Type: Georgia for display headlines (serif, authoritative, zero
 * external font dependency). System sans for body (--gh-font, base.css).
 * Monospace for "form field code" eyebrows/labels — reinforces the
 * official-document motif used sparingly throughout, not just the hero.
 *
 * Numbered "How it works" steps are earned here — genuinely sequential
 * content — styled as STEP 01 in monospace rather than generic circles.
 */

:root {
    --gh-display-font: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
    --gh-mono-font: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

/* ---------- Header ---------- */

.site-header {
    background: var(--gh-surface);
    border-bottom: 1px solid var(--gh-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.site-header__brand {
    font-family: var(--gh-display-font);
    font-weight: 700;
    font-size: 20px;
    color: var(--gh-navy-dark);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.site-header__burger {
    display: none;
    background: none;
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius);
    width: 40px;
    height: 40px;
    font-size: 16px;
    color: var(--gh-navy);
    cursor: pointer;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header__nav a:not(.gh-btn) {
    color: var(--gh-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.site-header__nav a:not(.gh-btn):hover { color: var(--gh-navy); }

.site-header__actions {
    display: flex;
    gap: 10px;
    margin-left: 12px;
}

.site-header__actions .gh-btn {
    padding: 8px 16px;
    font-size: 13px;
}

@media (max-width: 860px) {
    .site-header__burger { display: block; }
    .site-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gh-surface);
        border-bottom: 1px solid var(--gh-border);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px 24px;
        gap: 16px;
    }
    .site-header__nav.is-open { display: flex; }
    .site-header__actions { flex-direction: column; margin-left: 0; width: 100%; }
    .site-header__actions .gh-btn { text-align: center; }
}

/* ---------- Hero ---------- */

.hero {
    background: linear-gradient(180deg, var(--gh-bg) 0%, var(--gh-surface) 100%);
    padding: 64px 0 80px;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.hero__eyebrow {
    font-family: var(--gh-mono-font);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gh-gold);
    font-weight: 600;
    margin-bottom: 16px;
    display: inline-block;
    animation: gh-fade-up 0.5s ease both;
}

.hero__headline {
    font-family: var(--gh-display-font);
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.12;
    color: var(--gh-navy-dark);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
    animation: gh-fade-up 0.6s ease 0.05s both;
}

.hero__subhead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gh-text-muted);
    max-width: 46ch;
    margin: 0 0 32px;
    animation: gh-fade-up 0.6s ease 0.1s both;
}

.hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: gh-fade-up 0.6s ease 0.15s both;
}

.hero__ctas .gh-btn { padding: 14px 24px; font-size: 15px; }

@keyframes gh-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__eyebrow, .hero__headline, .hero__subhead, .hero__ctas, .id-card {
        animation: none !important;
    }
}

/* ---------- Signature element: the verified profile "ID card" ---------- */

.id-card {
    background: var(--gh-navy);
    border-radius: var(--gh-radius-lg);
    padding: 28px;
    position: relative;
    color: #fff;
    box-shadow: var(--gh-shadow);
    animation: gh-fade-up 0.7s ease 0.2s both;
}

.id-card::before,
.id-card::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--gh-gold);
    top: 14px;
}

.id-card::before { left: 14px; border-right: none; border-bottom: none; }
.id-card::after { right: 14px; border-left: none; border-bottom: none; }

.id-card__bottom-left,
.id-card__bottom-right {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--gh-gold);
    bottom: 14px;
}

.id-card__bottom-left { left: 14px; border-right: none; border-top: none; }
.id-card__bottom-right { right: 14px; border-left: none; border-top: none; }

.id-card__badge {
    font-family: var(--gh-mono-font);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--gh-gold);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 6px;
}

.id-card__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 2px solid var(--gh-gold);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gh-gold);
}

.id-card__fields {
    font-family: var(--gh-mono-font);
    font-size: 12.5px;
    line-height: 2.1;
}

.id-card__fields .label {
    color: rgba(255,255,255,0.5);
    display: inline-block;
    width: 84px;
}

.id-card__status {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255,255,255,0.25);
    font-family: var(--gh-mono-font);
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #6fd68f;
    text-align: center;
}

/* ---------- Trust strip ---------- */

.trust-strip {
    border-top: 1px solid var(--gh-border);
    border-bottom: 1px solid var(--gh-border);
    background: var(--gh-surface);
    padding: 20px 0;
}

.trust-strip__row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    justify-content: center;
    font-size: 13px;
    color: var(--gh-text-muted);
}

.trust-strip__row span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-strip__row i { color: var(--gh-navy); }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--gh-bg); }

.section__eyebrow {
    font-family: var(--gh-mono-font);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gh-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section__heading {
    font-family: var(--gh-display-font);
    font-size: clamp(24px, 3vw, 32px);
    color: var(--gh-navy-dark);
    margin: 0 0 12px;
}

.section__lead {
    font-size: 15.5px;
    color: var(--gh-text-muted);
    max-width: 60ch;
    margin: 0 0 40px;
}

/* How it works */

.how-it-works {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.how-it-works__col h3 {
    font-family: var(--gh-display-font);
    font-size: 20px;
    margin-bottom: 20px;
}

.how-step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.how-step__num {
    font-family: var(--gh-mono-font);
    font-size: 11px;
    color: var(--gh-gold);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding-top: 3px;
    white-space: nowrap;
}

.how-step__body h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--gh-text);
}

.how-step__body p {
    margin: 0;
    font-size: 13.5px;
    color: var(--gh-text-muted);
    line-height: 1.55;
}

/* Value props */

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

.value-card {
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius);
    padding: 24px;
}

.value-card i {
    color: var(--gh-navy);
    font-size: 18px;
    margin-bottom: 12px;
    display: block;
}

.value-card h3 {
    font-size: 15px;
    margin: 0 0 8px;
    color: var(--gh-text);
}

.value-card p {
    font-size: 13.5px;
    color: var(--gh-text-muted);
    margin: 0;
    line-height: 1.55;
}

/* Final CTA band */

.cta-band {
    background: var(--gh-navy);
    color: #fff;
    padding: 64px 0;
    text-align: center;
}

.cta-band h2 {
    font-family: var(--gh-display-font);
    font-size: clamp(24px, 3vw, 30px);
    margin: 0 0 12px;
}

.cta-band p {
    color: rgba(255,255,255,0.75);
    margin: 0 0 28px;
    font-size: 15px;
}

.cta-band__ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--gh-navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
    font-size: 13.5px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 20px;
}

.site-footer__brand {
    font-family: var(--gh-display-font);
    font-size: 18px;
    color: #fff;
    margin: 0 0 8px;
}

.site-footer__tagline { margin: 0; color: rgba(255,255,255,0.55); }

.site-footer__heading {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.45);
    margin: 0 0 12px;
}

.site-footer a {
    display: block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    margin-bottom: 8px;
}

.site-footer a:hover { color: var(--gh-gold); }

.site-footer p { margin: 0 0 4px; }

.site-footer__copyright {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

@media (max-width: 760px) {
    .hero__grid { grid-template-columns: 1fr; }
    .id-card { max-width: 320px; margin: 0 auto; }
    .how-it-works { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- FAQ accordion (native <details>, no JS) ---------- */

.faq-item {
    border-bottom: 1px solid var(--gh-border);
    padding: 16px 0;
}

.faq-item summary {
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    color: var(--gh-text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-family: var(--gh-mono-font);
    color: var(--gh-navy);
    font-size: 18px;
    margin-left: 12px;
}

.faq-item[open] summary::after { content: '–'; }

.faq-item p {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--gh-text-muted);
    line-height: 1.65;
}

.faq-item p a { color: var(--gh-navy); }

/* ---------- Legal pages (Privacy Policy, Terms of Use) ---------- */

.legal-content h2 {
    font-family: var(--gh-display-font);
    font-size: 19px;
    margin-top: 32px;
    margin-bottom: 10px;
    color: var(--gh-navy-dark);
}

.legal-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gh-text);
    margin-bottom: 14px;
}

.legal-content p.legal-meta {
    font-size: 13px;
    color: var(--gh-text-muted);
}
