:root {
    color-scheme: light;
    --background: #f7f8fb;
    --surface: #ffffff;
    --surface-muted: #eef2f6;
    --text: #17202a;
    --muted: #5a6875;
    --border: #d8dee8;
    --brand: #1f7a5a;
    --brand-dark: #15553f;
    --accent: #c2942f;
    --shadow: 0 18px 45px rgba(23, 32, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site_header {
    align-items: center;
    background: rgba(247, 248, 251, 0.92);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    padding: 16px clamp(20px, 5vw, 64px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-size: 19px;
    font-weight: 700;
    gap: 10px;
    text-decoration: none;
}

.brand_icon {
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(23, 32, 42, 0.16);
}

.nav {
    display: flex;
    gap: 22px;
}

.nav a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}

.hero {
    align-items: center;
    display: grid;
    gap: clamp(32px, 7vw, 88px);
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    min-height: calc(100vh - 73px);
    padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.hero_content {
    max-width: 760px;
}

.eyebrow {
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(44px, 7vw, 82px);
    line-height: 1.02;
    margin-bottom: 24px;
}

h2 {
    font-size: 32px;
    line-height: 1.18;
    margin-bottom: 18px;
}

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

.lead {
    color: var(--muted);
    font-size: 20px;
    max-width: 620px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.primary_action,
.secondary_action {
    border-radius: 6px;
    display: inline-flex;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 16px;
    text-decoration: none;
}

.primary_action {
    background: var(--brand);
    color: #fff;
}

.primary_action:hover {
    background: var(--brand-dark);
}

.secondary_action {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
}

.hero_panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 38px);
    text-align: center;
}

.key_row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 12px;
}

.key {
    align-items: center;
    aspect-ratio: 1;
    border-radius: 8px;
    display: inline-flex;
    font-size: 34px;
    font-weight: 800;
    justify-content: center;
    width: clamp(62px, 8vw, 86px);
}

.key.active {
    background: var(--brand);
    color: #fff;
}

.key.muted {
    background: var(--surface-muted);
    color: #7a8794;
}

.hero_panel p {
    color: var(--muted);
    margin: 18px 0 0;
}

.section {
    padding: 64px clamp(20px, 5vw, 64px);
}

.feature_grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature_grid article,
.info_box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
}

.feature_grid p,
.split_section p {
    color: var(--muted);
}

.split_section {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.info_box {
    display: grid;
    gap: 8px;
}

.info_box a {
    color: var(--brand);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

code {
    background: var(--surface-muted);
    border-radius: 5px;
    padding: 2px 6px;
}

.section_heading {
    max-width: 680px;
}

.section_heading p {
    color: var(--muted);
}

.comment_layout {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    margin-top: 18px;
}

.comment_form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 16px;
}

.comment_form label {
    color: var(--muted);
    display: grid;
    font-size: 13px;
    font-weight: 700;
    gap: 5px;
}

.comment_form input,
.comment_form textarea {
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font: inherit;
    padding: 8px 10px;
    resize: vertical;
}

.comment_form input:focus,
.comment_form textarea:focus {
    border-color: var(--brand);
    outline: 2px solid rgba(31, 122, 90, 0.16);
}

.comment_form button {
    border: 0;
    cursor: pointer;
    justify-content: center;
}

.comment_form button:disabled {
    background: #9fb6ad;
    cursor: default;
}

.form_status {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.comment_list {
    display: grid;
    gap: 10px;
}

.comment_item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(23, 32, 42, 0.04);
    padding: 12px 14px;
}

.comment_meta {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 6px 10px;
    margin-bottom: 7px;
}

.comment_author {
    color: var(--text);
    font-weight: 700;
}

.comment_meta_item {
    overflow-wrap: anywhere;
}

.comment_content {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.comment_reply {
    background: rgba(31, 122, 90, 0.07);
    border-left: 2px solid var(--brand);
    border-radius: 0 6px 6px 0;
    color: var(--muted);
    font-size: 13px;
    margin: 10px 0 0;
    padding: 7px 9px;
}

.comment_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.comment_tag {
    background: var(--surface-muted);
    border-radius: 999px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
    padding: 2px 7px;
}

.comment_tag_neutral {
    background: #f3f5f8;
    color: #566473;
}

.comment_tag_success,
.comment_tag_status_approved {
    background: rgba(31, 122, 90, 0.1);
    color: var(--brand-dark);
}

.comment_tag_status_pending {
    background: rgba(194, 148, 47, 0.14);
    color: #7a5a18;
}

.comment_tag_status_rejected {
    background: rgba(172, 67, 67, 0.1);
    color: #8f3333;
}

.comment_status_pill {
    font-weight: 700;
}

.compact_list {
    gap: 7px;
}

.compact_list .comment_item {
    padding: 10px 12px;
}

.feed_link {
    display: inline-flex;
    margin-top: 6px;
}

.admin_section h1 {
    font-size: 38px;
}

.admin_toolbar {
    align-items: end;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(190px, 1fr) repeat(3, minmax(116px, 142px)) auto;
    margin-top: 18px;
    padding: 12px;
}

.admin_toolbar label,
.admin_textarea_label {
    color: var(--muted);
    display: grid;
    font-size: 12px;
    font-weight: 700;
    gap: 5px;
}

.admin_toolbar input,
.admin_toolbar select,
.admin_textarea_label textarea {
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font: inherit;
    padding: 7px 9px;
}

.admin_toolbar button {
    border: 0;
    cursor: pointer;
}

.admin_list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.admin_card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 14px;
}

.admin_card_header,
.admin_actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.admin_card_content {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.admin_meta {
    background: #fafbfc;
    border: 1px solid #e7ecf2;
    border-radius: 8px;
    display: grid;
    gap: 8px 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 10px;
}

.admin_meta dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.admin_meta dd {
    font-size: 12px;
    margin: 0;
    overflow-wrap: anywhere;
}

.admin_muted {
    color: var(--muted);
    font-size: 12px;
}

.admin_editor {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin_textarea_label textarea {
    min-height: 74px;
}

.admin_button {
    cursor: pointer;
    min-height: 32px;
    padding: 6px 10px;
}

.admin_button_primary {
    background: rgba(31, 122, 90, 0.08);
    border-color: rgba(31, 122, 90, 0.28);
    color: var(--brand-dark);
}

.admin_action_group {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.footer {
    align-items: center;
    border-top: 1px solid var(--border);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    padding: 24px clamp(20px, 5vw, 64px);
}

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

@media (max-width: 820px) {
    .site_header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hero,
    .split_section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .feature_grid {
        grid-template-columns: 1fr;
    }

    .comment_layout {
        grid-template-columns: 1fr;
    }

    .admin_toolbar {
        grid-template-columns: 1fr;
    }

    .admin_editor,
    .admin_meta {
        grid-template-columns: 1fr;
    }
}
