@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Fraunces:opsz,wght@9..144,700;9..144,800&display=swap');

:root {
    --green: #00843d;
    --green-2: #00b761;
    --gold: #ffcd00;
    --gold-2: #ffe27a;
    --ink: #06110d;
    --night: #07130f;
    --night-2: #0c1c16;
    --panel: rgba(14, 34, 27, 0.78);
    --panel-solid: #10251d;
    --line: rgba(255, 255, 255, 0.12);
    --text: #eef8f1;
    --muted: #a9bdb0;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --radius: 28px;
    --radius-sm: 16px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 205, 0, 0.18), transparent 28%),
        radial-gradient(circle at 82% 22%, rgba(0, 132, 61, 0.26), transparent 34%),
        linear-gradient(145deg, #030806 0%, #07130f 48%, #020403 100%);
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15));
    z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    background: var(--gold);
    color: var(--ink);
    padding: 10px 14px;
    border-radius: 999px;
    z-index: 1000;
}
.skip-link:focus { top: 16px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(3, 8, 6, 0.72);
    border-bottom: 1px solid var(--line);
}
.nav-wrap {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.03em;
}
.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--green), var(--gold));
    color: #04120d;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(0, 132, 61, 0.25);
}
.brand strong { display: block; font-size: 1.02rem; line-height: 1; }
.brand small { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.93rem;
    transition: 0.25s ease;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--ink);
    background: var(--gold);
}
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px; }

main { width: 100%; }
.hero, .section, .split-section, .cta-band, .page-hero, .tools-layout, .guide-grid, .comparison-section, .blog-layout, .contact-section, .legal-content {
    width: min(var(--max), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}
.hero {
    min-height: calc(100vh - 78px);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 70px 0 54px;
    position: relative;
}
.aurora::after {
    content: "";
    position: absolute;
    right: -90px;
    top: 80px;
    width: 280px;
    height: 280px;
    background: conic-gradient(from 180deg, var(--green), transparent, var(--gold), transparent, var(--green));
    filter: blur(48px);
    opacity: 0.4;
    z-index: -1;
}
.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 900;
}
h1, h2, h3 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.055em;
}
h1, h2 { font-family: Fraunces, Georgia, serif; }
h1 { font-size: clamp(3.15rem, 8vw, 7.4rem); max-width: 840px; }
h2 { font-size: clamp(2rem, 4.5vw, 4.25rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.03em; }
p { color: var(--muted); margin: 0; }
.hero-copy { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 680px; margin-top: 22px; }
.hero-actions, .hero-content .trust-strip { margin-top: 28px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 48px;
    padding: 13px 20px;
    font-weight: 900;
    border: 1px solid transparent;
    transition: 0.25s ease;
    cursor: pointer;
}
.btn-primary {
    background: var(--gold);
    color: var(--ink);
    box-shadow: 0 16px 34px rgba(255, 205, 0, 0.18);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-2); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--green-2); color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 12px;
    background: rgba(255,255,255,0.03);
    font-size: 0.88rem;
    font-weight: 700;
}
.trust-strip svg, .card svg, .contact-card svg { width: 19px; height: 19px; color: var(--gold); }
.hero-visual { position: relative; }
.hero-visual img, .image-panel img {
    border-radius: 38px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    min-height: 480px;
    object-fit: cover;
}
.floating-card {
    position: absolute;
    left: -28px;
    bottom: 34px;
    max-width: 250px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(8, 23, 17, 0.88);
    border: 1px solid rgba(255, 205, 0, 0.28);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}
.floating-card span, .floating-card small { color: var(--muted); display: block; }
.floating-card strong { display: block; font-size: 2.4rem; color: var(--gold); letter-spacing: -0.06em; }

.section { padding: 84px 0; }
.section-heading { display: grid; gap: 12px; margin-bottom: 34px; }
.section-heading.narrow { max-width: 820px; }
.feature-grid { display: grid; gap: 18px; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.card, .tool-card, .guide-card, .post-card, .sidebar-card, .contact-card, .contact-copy, .legal-content article, .mini-checklist, .calculator-card {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(16, 37, 29, 0.92), rgba(9, 20, 16, 0.88));
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.22);
}
.card { min-height: 220px; }
.card h3, .tool-card h3, .guide-card h2, .post-card h2 { margin: 14px 0 10px; }
.glow-card { position: relative; overflow: hidden; }
.glow-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -70px auto;
    width: 170px;
    height: 170px;
    background: var(--green);
    filter: blur(62px);
    opacity: 0.18;
}

.split-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: stretch;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 42px;
    background: rgba(255,255,255,0.03);
    box-shadow: var(--shadow);
}
.content-panel { display: flex; flex-direction: column; justify-content: center; padding: 22px; }
.steps { margin: 24px 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.steps li { padding-left: 18px; border-left: 3px solid var(--gold); color: var(--muted); }
.steps strong { color: var(--text); }
.text-link { color: var(--gold); font-weight: 900; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.tool-preview-grid { display: grid; grid-template-columns: 0.92fr 1.16fr 0.92fr; gap: 18px; align-items: stretch; }
.tool-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; }
.tool-card a { color: var(--gold); font-weight: 900; margin-top: 18px; }
.featured-tool { transform: translateY(-18px); border-color: rgba(255, 205, 0, 0.36); }
.tool-badge, .post-tag {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 205, 0, 0.12);
    color: var(--gold);
    border: 1px solid rgba(255, 205, 0, 0.22);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.cta-band {
    margin-top: 46px;
    margin-bottom: 80px;
    padding: 34px;
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, rgba(0,132,61,0.85), rgba(255,205,0,0.16));
    border: 1px solid rgba(255,205,0,0.32);
}
.cta-band p { max-width: 720px; }

.page-hero { padding: 76px 0 36px; }
.page-hero.compact { max-width: 930px; }
.page-hero p:not(.eyebrow) { margin-top: 18px; font-size: 1.13rem; }
.tools-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 32px 0 60px; }
.calculator-card.gold { border-color: rgba(255, 205, 0, 0.35); }
.calculator-heading { display: grid; gap: 12px; margin-bottom: 22px; }
.calc-form { display: grid; gap: 14px; }
.calc-form label { color: var(--text); font-weight: 800; display: grid; gap: 7px; }
.calc-form input {
    width: 100%;
    color: var(--text);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 14px;
    outline: none;
}
.calc-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255,205,0,0.1); }
.result-box {
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 205, 0, 0.1);
    color: var(--gold);
    font-weight: 900;
}
.question-tool { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: rgba(255,255,255,0.03); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pill {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
}
.pill.active { background: var(--gold); color: var(--ink); }
.question-list { margin: 0; display: grid; gap: 10px; color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 28px 0 72px; }
.guide-card.large { grid-column: span 2; grid-row: span 2; }
.guide-card span { color: var(--gold); font-weight: 900; }
.guide-card ul { color: var(--muted); padding-left: 20px; }
.comparison-section { padding: 0 0 80px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 720px; background: rgba(255,255,255,0.03); }
th, td { text-align: left; padding: 18px; border-bottom: 1px solid var(--line); }
th { color: var(--gold); }
td { color: var(--muted); }

.blog-layout { display: grid; grid-template-columns: 1fr 340px; gap: 22px; padding: 30px 0 72px; align-items: start; }
.post-list { display: grid; gap: 16px; }
.post-card { transition: 0.25s ease; }
.post-card:hover { transform: translateX(4px); border-color: rgba(255,205,0,0.28); }
.read-time { color: var(--muted); margin-left: 12px; font-size: 0.88rem; font-weight: 700; }
.sidebar-card { position: sticky; top: 100px; display: grid; gap: 16px; }
.article-feature { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.article-feature p { margin-top: 14px; }
.mini-checklist ul { color: var(--muted); padding-left: 20px; margin-bottom: 0; }

.contact-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; padding: 32px 0 86px; }
.contact-card svg { width: 32px; height: 32px; }
.email-link { display: inline-block; margin-top: 16px; color: var(--gold); font-size: clamp(1.15rem, 3vw, 1.8rem); font-weight: 900; word-break: break-word; }
.contact-copy p + p { margin-top: 12px; }
.legal-content { display: grid; gap: 16px; padding: 28px 0 86px; max-width: 920px; }
.legal-content article h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-bottom: 10px; }

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(3, 8, 6, 0.72);
    padding: 54px 0 28px;
}
.footer-grid, .footer-bottom { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.7fr 1fr; gap: 28px; }
.footer-grid h2 { font-family: Inter, sans-serif; font-size: 1rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.footer-grid a:not(.brand) { display: block; color: var(--muted); margin: 8px 0; font-weight: 700; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { margin-bottom: 14px; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 0.92rem; }

.reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    .hero, .split-section, .tools-layout, .contact-section, .blog-layout, .article-feature { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding-top: 44px; }
    .hero-visual img { min-height: 360px; width: 100%; }
    .feature-grid.three, .tool-preview-grid, .guide-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .featured-tool { transform: none; }
    .guide-card.large { grid-column: span 2; }
    .sidebar-card { position: static; }
}

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(5, 14, 10, 0.96);
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-links a { text-align: center; }
    h1 { font-size: clamp(2.75rem, 16vw, 4.2rem); }
    .feature-grid.three, .tool-preview-grid, .guide-grid, .footer-grid { grid-template-columns: 1fr; }
    .guide-card.large { grid-column: span 1; }
    .split-section { padding: 16px; border-radius: 28px; }
    .content-panel { padding: 12px; }
    .floating-card { position: relative; left: auto; bottom: auto; margin-top: -70px; margin-left: 18px; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; }
    .page-hero { padding-top: 48px; }
}

@media (max-width: 430px) {
    .brand strong { font-size: 0.9rem; }
    .brand-mark { width: 40px; height: 40px; }
    .hero, .section, .split-section, .cta-band, .page-hero, .tools-layout, .guide-grid, .comparison-section, .blog-layout, .contact-section, .legal-content { width: min(100% - 24px, var(--max)); }
    .card, .tool-card, .guide-card, .post-card, .sidebar-card, .contact-card, .contact-copy, .legal-content article, .mini-checklist, .calculator-card { padding: 20px; border-radius: 22px; }
    .hero-actions .btn { width: 100%; }
}