:root {
    --green-dark: #174d31;
    --green: #339966;
    --green-light: #eaf5ed;
    --cream: #f8f6ef;
    --text: #243128;
    --muted: #66736a;
    --border: #dfe7e1;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(23, 77, 49, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--cream);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.75;
}

a {
    color: var(--green-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--green);
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--green-dark);
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: 21px;
    font-weight: 800;
}

.brand strong {
    display: block;
    font-size: 17px;
    line-height: 1.2;
}

.brand small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.main-nav a:hover {
    color: var(--green);
}

/* Hero */

.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(51, 153, 102, 0.13), transparent 30%),
        linear-gradient(135deg, #edf6ef 0%, #f8f6ef 70%);
    padding: 80px 0 70px;
    border-bottom: 1px solid var(--border);
}

.eyebrow {
    display: inline-block;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

h1 {
    margin: 0;
    max-width: 800px;
    color: var(--green-dark);
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.hero-text {
    max-width: 700px;
    margin: 22px 0 10px;
    color: var(--muted);
    font-size: 18px;
}

.stand {
    margin: 0;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
}

/* Content */

.content-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 60px;
    padding-top: 60px;
    padding-bottom: 80px;
}

.toc {
    align-self: start;
}

.toc-card {
    position: sticky;
    top: 105px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.toc-card strong {
    display: block;
    color: var(--green-dark);
    margin-bottom: 13px;
}

.toc-card a {
    display: block;
    padding: 7px 0;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.45;
}

.toc-card a:hover {
    color: var(--green);
}

.legal-content {
    min-width: 0;
}

.legal-section {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px 40px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(23, 77, 49, 0.04);
    scroll-margin-top: 100px;
}

.section-number {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

h2 {
    margin: 0 0 18px;
    color: var(--green-dark);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h3 {
    margin: 0 0 8px;
    color: var(--green-dark);
    font-size: 17px;
}

p {
    margin: 0 0 16px;
}

p:last-child {
    margin-bottom: 0;
}

.info-box,
.notice,
.link-box {
    border-radius: 12px;
    padding: 20px 22px;
    margin: 22px 0;
}

.info-box {
    background: var(--green-light);
    border-left: 4px solid var(--green);
}

.info-box p {
    margin-top: 8px;
}

.notice {
    background: #fff8df;
    border-left: 4px solid #d2a629;
}

.link-box {
    background: #f3f7f4;
    border: 1px solid var(--border);
}

.link-box span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.link-box a {
    font-weight: 700;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.check-list li {
    position: relative;
    padding: 7px 0 7px 29px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--green);
    font-weight: 900;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.right-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fbfcfb;
}

.right-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

/* Footer */

.legal-footer {
    padding: 10px 4px 0;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.site-footer {
    background: var(--green-dark);
    color: white;
    padding: 34px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.site-footer strong {
    font-size: 17px;
}

.site-footer p {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive */

@media (max-width: 850px) {
    .header-inner {
        min-height: 68px;
    }

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 35px;
    }

    .toc-card {
        position: static;
    }

    .toc-card a {
        display: inline-block;
        margin-right: 16px;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 26px, 1160px);
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
        gap: 12px;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        padding: 55px 0 45px;
    }

    .hero-text {
        font-size: 16px;
    }

    .legal-section {
        padding: 26px 22px;
        border-radius: 14px;
    }

    .legal-footer,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 12px 18px;
    }
}

.shop {
	padding: 10%;
}

.category {
	size: 2em;
}