/* LandSale knowledge base styles.
   Palette and type follow the LandSale brand reference (media kit):
   Inter, green #2C6D3C. Keep this file dependency-free and small. */

:root {
    --green: #2C6D3C;
    --green-light: #358248;
    --green-bg: #D5EEDB;
    --green-10: rgba(44, 109, 60, 0.1);
    --text: #1a1a1a;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #f9fafb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

/* ---- Header ---- */

.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.site-header-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo { display: inline-flex; align-items: center; }
.logo svg { height: 26px; width: auto; display: block; }
.logo svg .logo-mark { fill: var(--green); }
.logo svg .logo-text { fill: var(--text); }

.kb-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-10);
    padding: 5px 12px;
    border-radius: 100px;
    white-space: nowrap;
    text-decoration: none;
}

.kb-tag:hover { background: var(--green-bg); }

/* ---- Article ---- */

.article {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 24px;
}

.article h1 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.article .meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.article h2 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.25px;
    margin: 36px 0 12px;
}

.article h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 26px 0 8px;
}

.article p { margin-bottom: 14px; }

.article a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.article a:hover { color: var(--green-light); }

.article ul, .article ol {
    margin: 0 0 16px;
    padding-left: 26px;
}

.article li { margin-bottom: 8px; }
.article li::marker { color: var(--green); font-weight: 700; }

.article strong { font-weight: 600; }

/* Markdown blockquotes render as callout notes */
.article blockquote {
    background: var(--bg-soft);
    border-left: 3px solid var(--green);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin: 20px 0;
}
.article blockquote p { margin-bottom: 8px; }
.article blockquote p:last-child { margin-bottom: 0; }

.article hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

/* ---- Help card ---- */

.help-card {
    background: var(--green-bg);
    border-radius: 14px;
    padding: 20px 22px;
    margin: 40px 0 8px;
}

.help-card-title {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--green);
}

.help-card p { margin: 0; }
.help-card a { color: var(--green); font-weight: 600; }

/* ---- Hub (unlisted index) ---- */

.hub-list { list-style: none; padding-left: 0; }

.hub-list li {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 10px;
}

.hub-list li > a {
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.hub-desc { display: block; color: var(--text-light); font-size: 14px; }

/* ---- Footer ---- */

.site-footer {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 24px 40px;
    font-size: 13px;
    color: var(--text-light);
}

.site-footer a { color: var(--text-light); }

/* ---- Small screens ---- */

@media (max-width: 480px) {
    .article { padding-top: 28px; }
    .article h1 { font-size: 25px; }
    .article h2 { font-size: 19px; }
}

/* ---- Print ---- */

@media print {
    .site-header, .help-card, .site-footer { display: none; }
    .article { padding: 0; max-width: none; }
    body { font-size: 12pt; }
}
