:root {
    --bg: #f7f8f3;
    --text-main: #233d30;
    --text-muted: #647668;
    --brand-primary: #235740;
    --brand-hover: #327052;
    --border: #dfe5da;
    --card-bg: #fff;
    
    font: 16px/1.65 system-ui, sans-serif;
    color: var(--text-main);
    background: var(--bg);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar, main, footer {
    max-width: 1080px;
    margin: auto;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 28px;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 750;
    letter-spacing: -0.5px;
}

.logo {
    display: grid;
    place-items: center;
    background: var(--brand-primary);
    color: white;
    font-weight: 750;
    font-size: 21px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.topbar nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
}

main {
    padding: 0 28px;
}

.hero {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 76px 0 64px;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 750;
    color: #627e65;
    margin: 0 0 14px;
}

.local-badge {
    display: inline-block;
    background: #e3edde;
    color: var(--brand-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(38px, 5.2vw, 60px);
    line-height: 1.08;
    letter-spacing: -2.8px;
    margin: 0 0 24px;
    font-weight: 650;
}

h2 {
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: -0.8px;
    margin: 0;
}

h3 {
    font-size: 17px;
    line-height: 1.4;
    margin: 14px 0 9px;
}

.intro {
    font-size: 16px;
    max-width: 440px;
    color: var(--text-muted);
}

.actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.btn {
    font: 600 14px system-ui;
    border: 0;
    padding: 14px 20px;
    border-radius: 9px;
    cursor: pointer;
    display: inline-block;
}

.btn.primary {
    background: var(--brand-primary);
    color: white;
}

.btn.primary:hover {
    background: var(--brand-hover);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn.secondary:hover {
    background: var(--card-bg);
}

.preview {
    background: var(--card-bg);
    padding: 26px;
    border-radius: 20px;
    border: 1px solid #dce5d8;
    box-shadow: 0 22px 55px #28492e0d;
    transform: rotate(2deg);
}

.preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    letter-spacing: 1px;
    color: #6c836f;
}

.example {
    background: #eef2e9;
    padding: 3px 7px;
    border-radius: 4px;
}

.preview h2 {
    font-size: 20px;
    margin: 14px 0 22px;
}

.account {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 12px;
    border: 1px solid #dfe6dc;
    border-radius: 11px;
    margin: 10px 0;
}

.account.selected {
    background: #f0f6ed;
    border-color: #b2cbae;
}

.avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: #e3edde;
    border-radius: 9px;
    font-weight: 600;
    color: var(--brand-primary);
}

.account-copy {
    flex: 1;
}

.account strong {
    font-size: 12px;
    display: block;
}

.account small {
    font-size: 9px;
    color: #72816e;
    display: block;
}

.pill {
    font-size: 9px;
    padding: 6px 8px;
    background: var(--brand-primary);
    color: white;
    border-radius: 6px;
    white-space: nowrap;
}

.features {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
}

.routine {
    background: #e7efdf;
    padding: 40px;
    border-radius: 16px;
    margin: 40px 0 80px;
}

.routine-text p {
    color: #456047;
}

.steps-list {
    margin-top: 20px;
    color: var(--text-main);
    font-size: 15px;
}

.steps-list li {
    margin-bottom: 10px;
}

code {
    background: rgba(255, 255, 255, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

footer {
    padding: 30px 28px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    color: #718271;
}

@media (max-width: 760px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 45px 0;
    }
    .preview {
        transform: none;
        max-width: 430px;
        margin: auto;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .topbar nav {
        display: none;
    }
}

.legal-doc {
    max-width: 800px;
    margin: 40px auto 80px;
}

.legal-doc h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.legal-doc h2 {
    font-size: 20px;
    margin: 32px 0 12px;
}

.legal-doc p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}
