/* ── Settle Brand CSS ──────────────────────────
   Shared stylesheet for all Settle pages.
   Based on the GutLedger design system, recoloured
   for the grocery-green + warm-gold palette.
   ───────────────────────────────────────────────── */

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1a1f1c;
    background: #f8faf8;
}
a { color: #2D9F5D; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Brand Colours ────────────────────────────── */
:root {
    --brand: #2D9F5D;          /* grocery green */
    --brand-light: #3DAF6D;
    --brand-dark: #1D8F4D;
    --brand-bg: #E8F5EE;
    --brand-shadow: rgba(45, 159, 93, 0.3);

    --gold: #E8B84B;           /* warm gold (Pro accent) */
    --gold-light: #F0C866;
    --gold-dark: #D4A53B;
    --gold-bg: #FFF8E8;
    --gold-shadow: rgba(232, 184, 75, 0.3);

    --success: #22C55E;
    --warning: #F59E0B;
    --danger:  #EF4444;

    --text: #1a1f1c;
    --text-light: #4a5650;
    --text-muted: #8a948e;
    --bg: #f8faf8;
    --card-bg: #ffffff;
    --card-border: #ecf1ee;
    --border: #e4ebe7;
}

/* ── Layout ───────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow    { max-width: 720px;  margin: 0 auto; }

/* ── Nav ──────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1080px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 24px;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-size: 20px; font-weight: 800; color: var(--brand);
    text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.nav-icon { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
    font-size: 14px; font-weight: 500; color: var(--text-light);
    text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); text-decoration: none; }
.nav-menu-btn {
    display: none;
    flex-direction: column; gap: 4px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-menu-btn span {
    display: block; width: 22px; height: 2px;
    background: #555; border-radius: 2px; transition: 0.2s;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px; font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
    background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
    color: #fff;
    box-shadow: 0 4px 14px var(--brand-shadow);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(45, 159, 93, 0.4); color: #fff; }
.btn-outline {
    background: transparent; color: var(--brand);
    border: 2px solid var(--brand);
}
.btn-outline:hover { background: rgba(45, 159, 93, 0.08); }
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #4a3a0d;
    box-shadow: 0 4px 14px var(--gold-shadow);
}
.btn-gold:hover { box-shadow: 0 6px 20px rgba(232, 184, 75, 0.45); color: #4a3a0d; }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 10px; }

/* ── Cards ────────────────────────────────────── */
.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid var(--card-border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.card-highlight { border-left: 4px solid var(--brand); }
.card-icon { font-size: 36px; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.card p  { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ── Section Titles ───────────────────────────── */
.section-title {
    text-align: center;
    font-size: 32px; font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.section-sub {
    text-align: center;
    font-size: 16px; color: #5a665f;
    margin-bottom: 48px;
}

/* ── Hero ─────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 72px 24px 56px;
    background: radial-gradient(ellipse at top, var(--brand-bg), transparent 70%);
}
.hero-icon {
    width: 96px; height: 96px; border-radius: 22px;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 10px 30px rgba(45, 159, 93, 0.25);
}
.hero-badge {
    display: inline-block;
    background: rgba(45, 159, 93, 0.1);
    color: var(--brand-dark);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.hero-sub {
    font-size: 18px;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.hero-cta {
    display: flex; gap: 14px; justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero-meta {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* ── Feature Grid ─────────────────────────────── */
.features { padding: 80px 24px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid var(--card-border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.feature-icon {
    font-size: 32px;
    margin-bottom: 14px;
    width: 56px; height: 56px;
    background: var(--brand-bg);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.feature-card h3 {
    font-size: 17px; font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px; color: var(--text-light);
    line-height: 1.6;
}

/* ── Pro Section ──────────────────────────────── */
.pro-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, var(--gold-bg), #fff);
}
.pro-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid var(--gold);
    padding: 40px 36px;
    position: relative;
    box-shadow: 0 20px 60px rgba(232, 184, 75, 0.18);
}
.pro-card-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #4a3a0d;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pro-card h2 {
    font-size: 26px; font-weight: 800;
    color: var(--text);
    text-align: center;
    margin-bottom: 6px;
}
.pro-card .pro-price {
    text-align: center;
    font-size: 44px; font-weight: 800;
    color: var(--gold-dark);
    margin: 14px 0 4px;
}
.pro-card .pro-price small {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}
.pro-card .pro-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.pro-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}
.pro-card ul li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 15px;
    color: var(--text-light);
    border-bottom: 1px solid var(--card-border);
}
.pro-card ul li:last-child { border-bottom: none; }
.pro-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0; top: 10px;
    color: var(--brand);
    font-weight: 700;
}

/* ── Screenshots Row ──────────────────────────── */
.screenshots { padding: 60px 24px; }
.screens-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.screen-slot {
    aspect-ratio: 9/19;
    background: linear-gradient(135deg, #eef2f0, #e4ebe7);
    border: 1px dashed #c9d3cd;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

/* ── FAQ ──────────────────────────────────────── */
.faq { padding: 80px 24px; background: #fff; }
.faq-grid { max-width: 720px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.faq-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ── Page Content (articles, privacy, terms) ──── */
.page-content {
    padding: 60px 24px 80px;
    max-width: 720px;
    margin: 0 auto;
}
.page-content h1 {
    font-size: 32px; font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.page-meta {
    font-size: 14px; color: var(--text-muted);
    margin-bottom: 32px;
}
.page-content h2 {
    font-size: 22px; font-weight: 600;
    color: var(--text);
    margin: 36px 0 12px;
}
.page-content h3 {
    font-size: 18px; font-weight: 600;
    color: var(--text);
    margin: 28px 0 10px;
}
.page-content p, .page-content li {
    font-size: 16px; color: #3a4540;
    margin-bottom: 12px;
    line-height: 1.7;
}
.page-content ul, .page-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.page-content li { margin-bottom: 8px; }
.page-content a { color: var(--brand); }
.page-content a:hover { text-decoration: underline; }
.page-content strong { color: var(--text); }
.page-content blockquote {
    border-left: 4px solid var(--brand);
    background: var(--brand-bg);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-style: italic;
    color: #2a3532;
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
.page-content table th,
.page-content table td {
    padding: 10px 12px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.page-content table th {
    background: var(--brand-bg);
    font-weight: 700;
    color: var(--text);
}

/* ── Highlight Box ────────────────────────────── */
.highlight {
    background: var(--brand-bg);
    border-left: 4px solid var(--brand);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}
.highlight p { margin-bottom: 0; color: var(--text); }

.gold-highlight {
    background: var(--gold-bg);
    border-left: 4px solid var(--gold);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}
.gold-highlight p { margin-bottom: 0; color: var(--text); }

/* ── CTA Box ──────────────────────────────────── */
.cta-box {
    background: linear-gradient(135deg, var(--brand-bg), #e8f4ed);
    border: 1px solid rgba(45, 159, 93, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}
.cta-box h3 {
    font-size: 20px; font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.cta-box p {
    font-size: 15px; color: var(--text-light);
    margin-bottom: 20px;
    max-width: 480px;
    margin-left: auto; margin-right: auto;
}

/* ── Footer ───────────────────────────────────── */
.footer {
    padding: 40px 24px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: 1080px; margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: flex; flex-direction: column;
}
.footer-brand-row {
    display: flex; align-items: center; gap: 8px;
}
.footer-icon { width: 28px; height: 28px; border-radius: 6px; }
.footer-logo { font-size: 18px; font-weight: 800; color: var(--brand); }
.footer-brand p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-light); text-decoration: none; }
.footer-links a:hover { color: var(--brand); }

/* ── Breadcrumbs ──────────────────────────────── */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--brand); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; color: #c9d3cd; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
    .section-title { font-size: 24px; }
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 16px; }
    .page-content h1 { font-size: 26px; }
    .page-content { padding: 40px 20px 60px; }
    .screens-row { grid-template-columns: repeat(2, 1fr); }
    .pro-card { padding: 32px 24px; }

    .nav-links {
        display: none; position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff; padding: 16px 24px;
        flex-direction: column; gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }
    .nav-links.open { display: flex; }
    .nav-menu-btn { display: flex; }

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-brand-row { justify-content: center; }
    .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .page-content h1 { font-size: 24px; }
    .btn { padding: 12px 24px; font-size: 15px; }
    .screens-row { grid-template-columns: 1fr 1fr; }
}
