:root {
    --primary: #2f5d50;
    --primary-dark: #203f36;
    --primary-soft: #e8f0ed;
    --accent: #d5a84b;
    --background: #f4f7f5;
    --surface: #ffffff;
    --text: #1f2933;
    --muted: #667085;
    --border: #d7e1dc;
    --shadow: 0 14px 34px rgba(31, 41, 51, 0.09);
    --radius: 16px;
    --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
button { font: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.navbar {
    width: min(100% - 2rem, var(--max-width));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand {
    margin-right: auto;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.nav-links, .nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    padding-bottom: 0.2rem;
    font-weight: 600;
}

.nav-links a.active {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--accent);
}

.nav-actions form { margin: 0; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

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

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

.button-primary:hover {
    color: #ffffff;
    background: var(--primary-dark);
}

.button-secondary {
    color: var(--primary-dark);
    background: var(--surface);
    border-color: var(--border);
}

.button-secondary:hover {
    color: var(--primary-dark);
    background: var(--primary-soft);
}

main {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
    flex: 1;
}

.hero-section {
    min-height: 440px;
    padding: 5rem 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4rem;
}

.eyebrow {
    margin: 0 0 0.55rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-section h1 {
    max-width: 760px;
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.05;
}

.hero-description {
    max-width: 680px;
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.contact-card {
    padding: 1.8rem;
    border-radius: var(--radius);
    color: #ffffff;
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    box-shadow: var(--shadow);
}

.contact-card .eyebrow { color: var(--accent); }
.contact-card h2 { margin: 0; }
.contact-card p { color: rgba(255, 255, 255, 0.84); }

.email-link {
    display: inline-block;
    margin: 0.3rem 0 0.8rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    word-break: break-word;
}

.email-link:hover { color: var(--accent); }

.contact-note {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
}

.faq-section, .support-section { margin-bottom: 5rem; }
.section-heading { margin-bottom: 1.5rem; }

.section-heading h2, .support-section h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3rem);
}

.faq-list {
    display: grid;
    gap: 0.85rem;
}

details {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 5px 16px rgba(31, 41, 51, 0.05);
}

summary {
    position: relative;
    padding: 1.15rem 3.5rem 1.15rem 1.25rem;
    color: var(--primary-dark);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1.25rem;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--primary);
    font-size: 1.25rem;
    transform: translateY(-50%);
}

details[open] summary {
    border-bottom: 1px solid var(--border);
    background: var(--primary-soft);
}

details[open] summary::after { content: "−"; }

details p {
    margin: 0;
    padding: 1.2rem 1.25rem 1.35rem;
    color: var(--muted);
}

details strong { color: var(--text); }

.support-section {
    padding: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.support-section p:not(.eyebrow) {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
}

.site-footer {
    padding: 2.5rem max(1rem, calc((100% - var(--max-width)) / 2));
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 2rem;
    color: #dbe8e3;
    background: var(--primary-dark);
}

.footer-brand {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.site-footer div p, .site-footer > p { margin: 0; }

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer a { color: #ffffff; }
.site-footer a:hover { color: var(--accent); }

.site-footer a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.2rem;
}

@media (max-width: 920px) {
    .navbar { padding: 1rem 0; flex-wrap: wrap; }
    .brand { width: 100%; }
    .nav-links, .nav-actions { flex-wrap: wrap; }
    .hero-section { grid-template-columns: 1fr; gap: 2rem; }
    .support-section { align-items: flex-start; flex-direction: column; }
    .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    main { width: min(100% - 1rem, var(--max-width)); }
    .navbar, .nav-links, .nav-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }
    .hero-section { min-height: auto; padding: 3rem 0; }
    .hero-section h1 { font-size: 3rem; }
    .button { width: 100%; }
    .support-section { padding: 1.2rem; }
}
