/* Max Cash IULs
   Dark-only by design: the brand mark is gold on black, so the whole site stays in that family.
   Shape system: near-sharp corners (2px) everywhere. One accent: gold. */

:root {
    --bg: #0d0c0b;
    --surface: #141210;
    --surface-2: #1b1814;
    --line: rgba(217, 180, 90, 0.20);
    --line-strong: rgba(217, 180, 90, 0.45);
    --ink: #f2ede3;
    --muted: #bdb5a6;
    --soft: #8f887b;
    --gold: #d9b45a;
    --gold-bright: #f0d27a;
    --gold-deep: #a97c2c;
    --on-gold: #17130b;
    --radius: 2px;
    --max: 1180px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --display: "Cinzel", "Trajan Pro", Georgia, serif;
    --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.125rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold-bright); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 100;
    background: var(--gold); color: var(--on-gold); padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    min-height: 52px; padding: 0 1.6rem;
    font-family: var(--body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    border-radius: var(--radius); border: 1px solid transparent;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-gold {
    background: linear-gradient(180deg, var(--gold-bright), #c99a3b);
    color: var(--on-gold);
    border-color: #e6c46a;
}
.btn-gold:hover { background: linear-gradient(180deg, #f6dc8e, #d4a646); color: var(--on-gold); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn i { font-size: 1.2rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(13, 12, 11, 0.92);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { height: 30px; width: auto; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; color: var(--gold-bright); line-height: 1; }
.brand-word small { font-size: 0.72rem; letter-spacing: 0.32em; margin-left: 0.35rem; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 1rem; font-weight: 600; }
.nav-links a:hover { color: var(--gold-bright); }
.menu-only { display: none; }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.nav .btn { min-height: 44px; padding: 0 1.2rem; font-size: 0.98rem; }
.menu-toggle {
    display: none; background: none; border: 1px solid var(--line-strong); color: var(--ink);
    width: 46px; height: 46px; border-radius: var(--radius); font-size: 1.4rem; cursor: pointer;
    align-items: center; justify-content: center;
}

@media (max-width: 920px) {
    .menu-toggle { display: inline-flex; }
    .nav-links {
        position: absolute; left: 0; right: 0; top: 72px;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--surface); border-bottom: 1px solid var(--line);
        padding: 0.5rem var(--gutter) 1.25rem;
        display: none;
    }
    .nav-links.is-open { display: flex; }
    .nav-links .menu-only { display: block; }
    .nav-links .menu-only a { color: var(--gold-bright); }
    .nav-links a { display: block; padding: 0.9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
    .nav-links li:last-child a { border-bottom: 0; }
    .nav-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 70% at 78% 40%, rgba(217, 180, 90, 0.10), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); line-height: 1.1; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.hero-sub { margin-top: 1.4rem; font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34ch; }
.hero-ctas { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-logo { justify-self: center; width: 100%; max-width: 620px; }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-logo { order: -1; max-width: 300px; margin-bottom: 0.5rem; }
    .hero h1 { max-width: none; }
}

/* ---------- Proof strip (facts only) ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 1.5rem 1.25rem; display: flex; align-items: center; gap: 0.85rem; color: var(--muted); font-size: 1rem; line-height: 1.35; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact i { font-size: 1.7rem; color: var(--gold); flex-shrink: 0; }
.fact strong { display: block; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 860px) {
    .facts-row { grid-template-columns: 1fr 1fr; }
    .fact:nth-child(3) { border-left: 0; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
    .facts-row { grid-template-columns: 1fr; }
    .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.2rem; max-width: 62ch; }
.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.compare-col { background: var(--bg); padding: 2rem 1.75rem 2.25rem; }
.compare-col.is-focus { background: var(--surface-2); box-shadow: inset 0 3px 0 var(--gold); }
.compare-col h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.25rem; }
.compare-col h3 i { color: var(--gold); font-size: 1.5rem; }
.compare-col .what { margin-top: 0.4rem; color: var(--soft); font-size: 0.98rem; }
.compare dl { margin: 1.5rem 0 0; display: grid; gap: 1.15rem; }
.compare dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.compare dd { margin: 0.25rem 0 0; color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
.compare-note { margin-top: 1.25rem; color: var(--soft); font-size: 0.95rem; max-width: 80ch; }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Options (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tile {
    position: relative; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.25rem);
    display: flex; flex-direction: column; gap: 0.9rem;
}
.tile-wide { grid-column: span 2; }
.tile i.ph { font-size: 2rem; color: var(--gold); }
.tile p { color: var(--muted); max-width: 52ch; }
.tile ul { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.tile li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.5rem; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.tile li i { font-size: 1.15rem; margin-top: 0.15rem; }
.tile li .ph-check { color: var(--gold-bright); }
.tile li .ph-warning-circle { color: var(--soft); }
.tile-gold { background: linear-gradient(150deg, #2a2216 0%, #16130f 65%); border-color: var(--line-strong); }
.tile-mountain { background: var(--surface-2); }
.tile-mountain::after {
    content: ""; position: absolute; right: -40px; bottom: -30px; width: 420px; height: 150px;
    background: url("images/logo-mark.webp") no-repeat center / contain; opacity: 0.09; pointer-events: none;
}
.tile-mountain > * { position: relative; z-index: 1; }
.tile-tag { align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); padding: 0.3rem 0.6rem; border-radius: var(--radius); }
@media (max-width: 900px) {
    .bento { grid-template-columns: 1fr; }
    .tile-wide { grid-column: auto; }
}

/* ---------- How it works ---------- */
.how { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: var(--line-strong); }
.step { position: relative; }
.step-num {
    width: 56px; height: 56px; display: grid; place-items: center;
    background: var(--bg); border: 1px solid var(--gold); color: var(--gold-bright);
    font-family: var(--display); font-size: 1.35rem; font-weight: 700; border-radius: 50%;
    position: relative; z-index: 1;
}
.step h3 { margin-top: 1.4rem; font-size: 1.4rem; }
.step p { margin-top: 0.6rem; color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; gap: 2rem; }
    .steps::before { left: 28px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; }
    .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; }
    .step h3 { margin-top: 0.7rem; }
    .step p { grid-column: 2; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.portrait { margin: 0; }
.portrait-frame { position: relative; isolation: isolate; }
.portrait-frame::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line-strong); z-index: -1; border-radius: var(--radius); }
.portrait figcaption { margin-top: 1.9rem; color: var(--soft); font-size: 0.98rem; }
.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy p + p { margin-top: 1rem; }
.about-copy p { color: var(--muted); }
.about-copy blockquote {
    margin: 1.75rem 0; padding: 0.25rem 0 0.25rem 1.4rem; border-left: 2px solid var(--gold);
    font-family: var(--body); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.45; color: var(--ink);
}
.creds { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.creds li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.98rem; color: var(--ink); }
.creds i { color: var(--gold); font-size: 1.15rem; }
@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; }
    .portrait { max-width: 380px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-aside p { margin-top: 1rem; color: var(--muted); }
.faq-aside .btn { margin-top: 1.75rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.35rem 0; font-size: 1.15rem; font-weight: 700; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { color: var(--gold); font-size: 1.2rem; transition: transform 0.25s var(--ease); flex-shrink: 0; }
.faq-list details[open] summary i { transform: rotate(180deg); }
.faq-list summary:hover { color: var(--gold-bright); }
.faq-answer { padding: 0 0 1.5rem; color: var(--muted); max-width: 66ch; }
.faq-answer p + p { margin-top: 0.75rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(4rem, 9vw, 6.5rem) 0; border-top: 1px solid var(--line); background: radial-gradient(70% 90% at 50% 0%, rgba(217, 180, 90, 0.13), transparent 70%), var(--bg); }
.cta-band h2 { max-width: 22ch; margin: 0 auto; }
.cta-band p { margin: 1.1rem auto 0; color: var(--muted); max-width: 52ch; font-size: 1.2rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #090807; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: 1rem; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer-logo { width: 240px; }
.footer-top h4 { margin: 0 0 1rem; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-top a { color: var(--ink); text-decoration: none; }
.footer-top a:hover { color: var(--gold-bright); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: center; }
.footer-contact i { color: var(--gold); }
.disclosures { padding-top: 2rem; display: grid; gap: 0.8rem; font-size: 0.9rem; line-height: 1.6; color: var(--soft); }
.footer-legal { margin-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.9rem; color: var(--soft); }
.footer-legal a { color: var(--muted); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal .updated { margin-top: 0.75rem; color: var(--soft); }
.legal h2 { font-size: 1.35rem; margin: 2.5rem 0 0.75rem; color: var(--gold-bright); }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 0.85rem; }
.legal ul { padding-left: 1.25rem; display: grid; gap: 0.4rem; margin: 0.75rem 0; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.8; margin-top: 0.75rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 60dvh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound p { margin: 1rem 0 2rem; color: var(--muted); }

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

.section-flush { padding-top: 0; }

/* ---------- Lead form ---------- */
.contact { border-top: 1px solid var(--line); background: radial-gradient(60% 70% at 85% 10%, rgba(217, 180, 90, 0.10), transparent 70%), var(--bg); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-copy h2 { max-width: 16ch; }
.contact-copy > p { margin-top: 1.1rem; color: var(--muted); font-size: 1.2rem; max-width: 40ch; }
.contact-direct { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.9rem; color: var(--muted); }
.contact-direct li { display: flex; gap: 0.7rem; align-items: center; }
.contact-direct i { color: var(--gold); font-size: 1.3rem; }
.form-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 1rem; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--soft); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
    background: #0f0e0c; border: 1px solid #5c513c; border-radius: var(--radius);
    padding: 0.8rem 0.9rem; min-height: 52px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #8f887b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-bright); outline-offset: 1px; border-color: var(--gold); }
.field input:user-invalid { border-color: #e07a5f; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.consent { grid-column: 1 / -1; border: 0; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.consent-row { display: grid; grid-template-columns: 22px 1fr; gap: 0.8rem; align-items: start; font-size: 0.95rem; line-height: 1.55; color: var(--muted); cursor: pointer; padding: 0.5rem; margin: -0.5rem; border-radius: var(--radius); transition: box-shadow 0.3s var(--ease); }
.consent-row input { width: 20px; height: 20px; margin: 0.15rem 0 0; accent-color: var(--gold); cursor: pointer; }
.consent-row.ring { box-shadow: 0 0 0 2px var(--gold-bright); }
.consent-note { font-size: 0.92rem; color: var(--soft); line-height: 1.55; }
.btn-block { width: 100%; margin-top: 1.5rem; }
.btn:disabled { opacity: 0.7; cursor: progress; }
.form-legal { grid-column: 1 / -1; margin-top: 0.9rem; font-size: 0.92rem; color: var(--soft); text-align: center; }
.form-status { margin-top: 0.75rem; font-size: 1rem; text-align: center; }
.form-status[data-kind="error"] { color: #f0a58f; }
.form-done { text-align: center; padding: 2rem 0.5rem; outline: none; }
.form-done i { font-size: 3rem; color: var(--gold); }
.form-done h3 { margin-top: 1rem; font-size: 1.6rem; }
.form-done p { margin: 0.9rem auto 0; color: var(--muted); max-width: 42ch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

/* ---------- Consent gate ---------- */
.gate { position: fixed; inset: 0; z-index: 90; background: rgba(5, 5, 4, 0.78); display: grid; place-items: center; padding: 1.25rem; }
.gate[hidden] { display: none; }
.gate-box { width: 100%; max-width: 480px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 2rem; text-align: center; }
.gate-box h3 { font-size: 1.4rem; }
.gate-box p { margin-top: 1rem; color: var(--muted); font-size: 1.02rem; text-align: left; }
.gate-anyway { margin-top: 1rem; background: none; border: 0; color: var(--soft); font: inherit; font-size: 0.95rem; text-decoration: underline; cursor: pointer; padding: 0.5rem; }
.gate-anyway:hover { color: var(--muted); }
body.gate-open { overflow: hidden; }
