﻿:root {
    --bg: #f7f7f4;
    --surface: #ffffff;
    --text: #1c1f24;
    --muted: #5a636e;
    --accent: #163a5b;
    --border: #d9dfe6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}

.container {
    width: min(940px, 92vw);
    margin: 0 auto;
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

.nav-list a:hover,
.nav-list a:focus {
    color: var(--accent);
}

main.container {
    padding: 2.4rem 0 3rem;
}

h1,
h2,
h3 {
    line-height: 1.25;
    margin-top: 0;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    margin-bottom: 0.9rem;
}

h3 {
    font-size: 1.05rem;
}

p {
    margin: 0 0 0.9rem;
}

.section-block {
    margin-bottom: 2rem;
}

.hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.eyebrow {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.slogan {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0.3rem 0 1rem;
}

.hero-title-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.hero-title-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.button {
    display: inline-block;
    margin-top: 0.8rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.button:hover,
.button:focus {
    background: #0f2f4a;
}

.button-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.button-outline:hover,
.button-outline:focus {
    background: #e9eef3;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.pillar-title-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.pillar-icon {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 6px;
}

.pillar-icon-lg {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.text-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus {
    text-decoration: underline;
}

.charter section,
.charter header,
.pillar-page section,
.pillar-page header {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
}

.charter ul,
.pillar-page ul {
    margin: 0.5rem 0 0.7rem 1.2rem;
    padding: 0;
}

.charter li,
.pillar-page li {
    margin-bottom: 0.4rem;
}

.quote-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.3rem;
    text-align: center;
}

.quote-block blockquote {
    margin: 0;
    font-size: 1.15rem;
    color: var(--accent);
    font-weight: 600;
}

.conclusion-logo {
    width: 108px;
    height: 108px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border);
    margin: 0 auto 1rem;
    display: block;
}

.quote-note {
    color: var(--muted);
    margin-top: 0.6rem;
}

.cta-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.3rem;
    margin-top: 1.5rem;
}

.charter-closing {
    text-align: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

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

.breadcrumb a:hover,
.breadcrumb a:focus {
    text-decoration: underline;
}

.pillar-intro {
    font-size: 1.05rem;
}

.pillar-navigation h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.pillar-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.other-pillars-list {
    columns: 2;
    column-gap: 1.4rem;
    list-style: disc;
    margin: 0.4rem 0 0.8rem 1.2rem;
    padding: 0;
}

.supporter-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.4rem;
}

.supporter-form {
    margin-top: 1rem;
}

.form-row {
    margin-bottom: 0.9rem;
}

.form-row input[type="email"] {
    width: 100%;
    max-width: 460px;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font: inherit;
}

.checkbox-row {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
}

.checkbox-row label {
    margin-top: -0.1rem;
}

.privacy-note {
    color: var(--muted);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.flash {
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    margin: 0.75rem 0;
    border: 1px solid var(--border);
}

.flash-success {
    background: #eef6ef;
}

.flash-info {
    background: #eef3f8;
}

.flash-error {
    background: #fdeeee;
}

.hp-wrapper {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .other-pillars-list {
        columns: 1;
    }
}
