/* Equalus marketing site — shared styles
   Brand: calm, warm, editorial. Accent = sage (#92a37c), matching the app. */

:root {
    --accent: #92a37c;
    --accent-deep: #6f7f5b;
    --accent-soft: #eef1e8;
    --ink: #1f2420;
    --ink-var: #5b625a;
    --outline: #aab0a4;
    --partner: #a37c9e;
    --partner-soft: #f1eaf0;
    --bg: #fbfbf9;
    --surface: #ffffff;
    --line: #e7e8e2;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --shadow-low: 0 1px 2px rgba(31, 36, 32, 0.06);
    --shadow-mid: 0 10px 30px rgba(31, 36, 32, 0.08);
    --maxw: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, .display {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 0.4em;
    font-weight: 800;
}

a {
    color: var(--accent-deep);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: saturate(180%) blur(14px);
    background: rgba(251, 251, 249, 0.82);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a {
    color: var(--ink-var);
}

.nav-links a:hover {
    color: var(--ink);
    text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    background: var(--accent-deep);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-mid);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.hero {
    padding: 76px 0 40px;
}

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

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-deep);
    background: var(--accent-soft);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 60px);
}

.hero p.lede {
    font-size: 19px;
    color: var(--ink-var);
    max-width: 34ch;
    margin: 0 0 28px;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.store-note {
    font-size: 13px;
    color: var(--ink-var);
    margin-top: 14px;
}

/* Phone mockup — real app screenshot in a device frame */
.phone {
    justify-self: center;
    width: 288px;
    max-width: 100%;
    background: #1f2420;
    border-radius: 46px;
    border: 10px solid #1f2420;
    box-shadow: var(--shadow-mid);
    overflow: hidden;
    line-height: 0;
}

.phone-shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 36px;
}

/* ---------- Sections ---------- */
section {
    padding: 56px 0;
}

.section-head {
    text-align: center;
    max-width: 40ch;
    margin: 0 auto 44px;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 40px);
}

.section-head p {
    color: var(--ink-var);
    font-size: 18px;
    margin: 0;
}

/* Feature grid */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-low);
}

.card .ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.card p {
    color: var(--ink-var);
    font-size: 15px;
    margin: 0;
}

/* How it works */
.band {
    background: var(--accent-soft);
    border-radius: var(--radius-xl);
    padding: 52px 40px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step {
    counter-increment: step;
}

.step .num {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    background: var(--accent-deep);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.step p {
    color: var(--ink-var);
    font-size: 14px;
    margin: 0;
}

/* Privacy callout */
.privacy-band {
    text-align: center;
}

.privacy-band .card {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px;
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.chip {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-deep);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 8px 16px;
}

/* CTA */
.final-cta {
    text-align: center;
}

.final-cta .card {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    border: none;
    padding: 56px 40px;
}

.final-cta h2 {
    color: #fff;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 46ch;
    margin: 0 auto 28px;
}

.final-cta .btn {
    background: #fff;
    color: var(--accent-deep);
}

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--line);
    padding: 40px 0;
    color: var(--ink-var);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    color: var(--ink-var);
}

/* ---------- Legal (privacy / terms) ---------- */
.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.legal h1 {
    font-size: clamp(32px, 5vw, 44px);
}

.legal .updated {
    color: var(--ink-var);
    font-size: 15px;
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 24px;
    margin-top: 44px;
}

.legal h3 {
    font-size: 18px;
    margin-top: 28px;
}

.legal p, .legal li {
    color: #2b312c;
    font-size: 16px;
}

.legal ul {
    padding-left: 22px;
}

.legal li {
    margin-bottom: 8px;
}

.legal a {
    color: var(--accent-deep);
}

.toc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 36px;
}

.toc strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Manrope", sans-serif;
}

.toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    font-size: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero p.lede {
        max-width: none;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .steps {
        grid-template-columns: 1fr 1fr;
    }
    .nav-links .hide-sm {
        display: none;
    }
    .toc ol {
        columns: 1;
    }
}

@media (max-width: 520px) {
    .steps {
        grid-template-columns: 1fr;
    }
    .band {
        padding: 36px 24px;
    }
}
