:root {
    --bg: #0b0d12;
    --bg-alt: #11151d;
    --card: #161b26;
    --border: #252c3a;
    --text: #f3f4f6;
    --muted: #9ca3af;
    --gold: #d4a24c;
    --gold-soft: #f1c97a;
    --radius: 16px;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }

.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { max-width: 820px; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--gold);
    color: #000;
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 200;
}
.skip-link:focus { left: 8px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #111; box-shadow: 0 10px 30px -10px rgba(212, 162, 76, 0.6); }
.btn-primary:hover { color: #000; }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(212, 162, 76, 0.4);
    background: rgba(212, 162, 76, 0.1);
    color: var(--gold-soft);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #111;
    font-size: 20px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; }
.brand-text small { color: var(--muted); font-size: 12px; }
.site-nav { display: flex; gap: 22px; overflow-x: auto; }
.site-nav a { color: var(--muted); font-size: 14px; white-space: nowrap; }
.site-nav a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 80px; }
.hero-glow {
    position: absolute;
    inset: -20% -10% auto;
    height: 720px;
    background: radial-gradient(closest-side, rgba(212, 162, 76, 0.22), transparent 70%);
    pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}
.hero-stats strong { display: block; font-size: 1.6rem; color: var(--gold-soft); }
.hero-stats span { color: var(--muted); font-size: 14px; }

.hero-visual { display: grid; place-items: center; }
.mock-card {
    width: min(380px, 100%);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
}
.mock-top { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-top span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-slot {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(212, 162, 76, 0.12);
    border: 1px solid rgba(212, 162, 76, 0.35);
    font-weight: 600;
}
.mock-slot em { font-style: normal; font-size: 12px; color: var(--gold-soft); font-weight: 500; }
.mock-slot.is-busy { background: var(--bg-alt); border-color: var(--border); color: var(--muted); }
.mock-slot.is-busy em { color: var(--muted); }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.about { text-align: center; }
.lead-center { color: var(--muted); font-size: 1.1rem; }

.module-grid, .feature-grid {
    display: grid;
    gap: 22px;
}
.module-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.module-card, .feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s, transform 0.2s;
}
.module-card:hover, .feature-card:hover { border-color: rgba(212, 162, 76, 0.5); transform: translateY(-3px); }
.module-card p, .feature-card p { color: var(--muted); margin: 0 0 16px; }

.icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212, 162, 76, 0.12);
    font-size: 26px;
    margin-bottom: 16px;
}

.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 15px;
}
.checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* Steps */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    counter-reset: step;
}
.steps li {
    counter-increment: step;
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px 24px;
}
.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #111;
    font-weight: 800;
    margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
.faq details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 0 20px;
}
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* CTA */
.cta-banner {
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(212, 162, 76, 0.2), transparent 70%), var(--bg);
}
.cta-banner p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }

/* Footer */
.site-footer { background: #07090d; border-top: 1px solid var(--border); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { font-size: 1.3rem; font-weight: 700; margin: 0 0 8px; }
.footer-title { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-soft); margin-bottom: 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; color: var(--muted); }
.footer-list a { color: var(--muted); }
.footer-list a:hover { color: var(--text); }
.muted { color: var(--muted); }
.footer-copy { border-top: 1px solid var(--border); padding: 20px 0 28px; color: var(--muted); font-size: 14px; }
.footer-copy p { margin: 0; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .mock-card { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav-wrap { flex-wrap: wrap; }
    .site-nav { order: 3; width: 100%; padding-bottom: 4px; }
    .hero { padding: 60px 0 56px; }
    .section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Blog */
.article-head { margin: 28px 0 32px; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.article-date { color: var(--gold-soft); font-size: 14px; margin: 0 0 10px; }
.breadcrumb { color: var(--muted); font-size: 14px; margin-top: 28px; }
.breadcrumb a { color: var(--muted); }
.article-body { font-size: 1.05rem; color: #d1d5db; }
.article-body h2 { color: var(--text); margin: 36px 0 14px; font-size: 1.6rem; }
.article-body h3 { color: var(--text); margin: 28px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--gold-soft); text-decoration: underline; }
.article-body strong { color: var(--text); }
.article-cta {
    margin: 48px 0 28px;
    padding: 32px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.article-cta p { color: var(--muted); margin-bottom: 18px; }
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.post-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover { border-color: rgba(212, 162, 76, 0.5); transform: translateY(-3px); }
.post-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
.post-card h2 a { color: var(--text); }
.post-card h2 a:hover { color: var(--gold-soft); }
.post-card p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.read-more { margin-top: auto; font-weight: 600; }
.section-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
