@import url(https://fonts.bunny.net/css?family=inter:100,200,300,400,500,600|instrument-sans:400,500,600,700,800|roboto-mono:200,300,400,500,600);

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

:root {
    --forest-green: #1a5f3f;
    --bright-red: #961c1c;
    --deep-navy: #1d3557;
    --orange: #f77f00;
    --off-white: #fdfaf6;
    --link-color: #1a5f3f;
    --highlight: #1a5f3f;
    --light-gray: #f5f5f5;
    --body-text-color: #2b2d42;
    --body-font: 'Inter', "Helvetica Neue", Arial, sans-serif;
    --heading-font: 'Instrument Sans', "Helvetica Neue", Arial, sans-serif;
    --heading-text-color: #1d3557;
    --heading-weight: 550;
    --monospace-font: 'Roboto Mono', monospace;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--body-text-color);
    background-color: var(--off-white);
}

header {
    background-color: var(--deep-navy);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    font-family: var(--heading-font);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    text-decoration: underline;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo:hover {
    text-decoration: underline;
}

.logo-icon {
    height: 4rem;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    text-decoration: underline;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    background-color: var(--forest-green);
    color: var(--off-white);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {

    margin: 0 auto;
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 1.75rem;
    line-height: 1.3;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background-color: var(--orange);
    color: var(--off-white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button.secondary {
    border: 2px solid var(--off-white);
    margin-left: 1rem;
}

section {
    margin: 0 auto;
    padding: 5rem 2rem;
}

h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: var(--heading-weight);
    margin-bottom: 3rem;
    text-align: center;
    color: var(--heading-text-color);
}

.value-card h3 {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
    color: var(--heading-text-color);
}

.problem {
    background-color: var(--bright-red);
    font-weight: 350;
    color: var(--off-white);
    padding: 5rem 2rem;
    margin: 0;
    max-width: none;
}

.problem-content {
    max-width: 1200px;
    margin: 0 auto;
}

.problem h2 {
    color: var(--off-white);
}

.problem p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.problem a {
    color: white;
    text-decoration: underline;
}

.problem a:hover {
    color: var(--o--orange);
}

.solution-content {
    max-width: 1200px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--forest-green);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--heading-text-color);
}

.value-card p {
    color: var(--body-text-color);
    line-height: 1.7;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.features {
    background-color: var(--deep-navy);
    color: white;
    padding: 5rem 2rem;
    margin: 0;
    max-width: none;
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    color: white;
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
}

.features a {
    color: white;
    text-decoration: underline;
}

.features a:hover {
    opacity: 0.5;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 1.5rem;
    background-color: rgba(255,255,255,0.05);
    border-radius: 6px;
    border-left: 3px solid var(--orange);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: var(--heading-weight);
    margin-bottom: 0.8rem;
    color: var(--orange);
    font-family: var(--heading-font);
}

.feature-item p {
    line-height: 1.7;
    opacity: 0.9;
}

.pricing {
    max-width: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-grid.single-tier {
    max-width: 500px;
    grid-template-columns: 1fr;
}

.pricing-grid.two-column {
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-top: 4px solid var(--orange);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-top-color: var(--forest-green);
    transform: scale(1.05);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--orange);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--heading-font);
}

.pricing-card h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--heading-text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-card .price {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-card .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--orange);
    font-family: var(--heading-font);
}


.pricing-card.membership-card {
    border-top-color: var(--forest-green);
}

.pricing-card.membership-card .amount {
    color: #34c759;
}

.pricing-card .period {
    font-size: 1.2rem;
    color: var(--body-text-color);
    opacity: 0.7;
}

.pricing-card .plan-description {
    text-align: center;
    color: var(--body-text-color);
    margin-bottom: 2rem;
    font-size: 1rem;
    min-height: 3rem;
}

.pricing-card .features-list {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
    padding: 0;
    flex-grow: 1;
    display: block;
}

.pricing-card .features-list li {
    padding: 0.6rem 0;
    color: var(--body-text-color);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

.pricing-card .features-list li:before {
    content: "✓ ";
    color: var(--highlight);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-card.featured .features-list li:before {
    color: var(--orange);
}

.pricing-card .cta-button {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.pricing-card .cta-button.secondary {
    margin-left: 0;
    background-color: var(--deep-navy);
    border-color: var(--deep-navy);
    color: white;
}

.pricing-card .cta-button.secondary:hover {
    background-color: var(--body-text-color);
}

.cooperative-principles {
    background-color: var(--off-white);
}

.faq {
    max-width: none;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: var(--heading-text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-item p {
    color: var(--body-text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.principles-table {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 0;
    border-collapse: collapse;
}

.principles-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    vertical-align: top;
}

.principles-table td:first-child {
    font-weight: 600;
    color: var(--deep-navy);
    width: 35%;
    font-family: var(--heading-font);
}

.principles-table td:last-child {
    color: var(--body-text-color);
    line-height: 1.6;
}

.principles-table tr:last-child td {
    border-bottom: none;
}

.principles-table tr:hover td {
    background-color: rgba(26, 95, 63, 0.05);
}

.faq-table td:first-child {
    width: 30%;
}

.cta-section {
    background-color: var(--orange);
    color: white;
    padding: 5rem 2rem;
    text-align: left;
    margin: 0;
    max-width: none;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--heading-font);
}

.cta-section p {
    font-size: 1.3rem;
    font-weight: 350;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .cta-button {
    background-color: var(--deep-navy);
}


footer {
    background-color: var(--body-text-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

footer p {
    opacity: 0.8;
}

footer a {
    color: var(--orange);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
        color: var(--off-white);
    }

    .hero p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--deep-navy);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    nav {
        position: relative;
    }

    header {
        position: relative;
    }

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

    .pricing-grid,
    .pricing-grid.two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button.secondary {
        margin-left: 0;
        margin-top: 1rem;
    }

    .docs-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem 1.25rem 3rem;
        gap: 1.5rem;
    }

    .docs-sidebar {
        position: static;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 1.25rem;
    }
}

.smooth-scroll {
    scroll-behavior: smooth;
}

/* Docs two-column layout */
.docs-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    padding: 3rem 2rem 5rem;
    align-items: start;
}

.docs-layout--no-sidebar {
    grid-template-columns: 1fr;
    max-width: 860px;
}

.docs-sidebar {
    position: sticky;
    top: 5.5rem;
}

.docs-toc-label {
    font-family: var(--heading-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--body-text-color);
    margin-bottom: 0.6rem;
    opacity: 0.6;
}

.docs-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-toc > ul > li {
    margin-bottom: 0.15rem;
}

.docs-toc a {
    display: block;
    font-size: 0.875rem;
    color: var(--link-color);
    text-decoration: none;
    padding: 0.25rem 0rem;
    border-radius: 4px;
    line-height: 1.4;
    transition: background-color 0.15s, color 0.15s;
}

.docs-toc a:hover {
    opacity: 0.5;
    text-decoration: underline;
}

.docs-toc ul ul {
    margin: 0.1rem 0 0.25rem 0.75rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 0.5rem;
}

.docs-toc ul ul a {
    font-size: 0.825rem;
    color: var(--link-color);
}

.docs-toc ul ul a:hover {
    opacity: 0.5;
    text-decoration: underline;
}

.docs-content {
    min-width: 0;
}

/* Headings */
.docs-content h2,
.docs-content h3,
.docs-content h4 {
    scroll-margin-top: 7rem;
}

.docs-content h1 {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.docs-content h2 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    text-align: left;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(26, 95, 63, 0.2);
}

.docs-content h3 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.docs-content h4 {
    font-family: var(--heading-font);
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
}

/* Body text */
.docs-content p {
    margin-bottom: 0.875rem;
    line-height: 1.6;
}

/* Links */
.docs-content a {
    color: var(--link-color);
    text-decoration: underline;
}

.docs-content a:hover {
    opacity: 0.5;
}

/* Lists */
.docs-content ul,
.docs-content ol {
    margin: 0.75rem 0 1rem 1.75rem;
}

.docs-content li {
    margin-bottom: 0.3rem;
    line-height: 1.55;
}

.docs-content li > ul,
.docs-content li > ol {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Inline code */
.docs-content code {
    font-family: var(--monospace-font);
    background-color: rgba(26, 95, 63, 0.08);
    padding: 0.15em 0.4em;
    border-radius: 3px;
}

/* Code blocks */
.docs-content pre {
    background-color: #f0f4f1;
    border: 1px solid rgba(26, 95, 63, 0.15);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    margin: 1rem 0 1.25rem;
}

.docs-content pre code {
    background: none;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Tables */
.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.95rem;
}

.docs-content th {
    background-color: var(--deep-navy);
    color: white;
    font-family: var(--heading-font);
    font-weight: 600;
    text-align: left;
    padding: 0.65rem 1rem;
}

.docs-content td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    vertical-align: top;
}

.docs-content tr {
    background-color: var(--light-gray);
}

.docs-content tr:nth-child(even) td {
    background-color: rgba(26, 95, 63, 0.04);
}

/* Blockquotes */
.docs-content blockquote {
    border-left: 4px solid var(--orange);
    background-color: rgba(247, 127, 0, 0.06);
    margin: 1.25rem 0;
    padding: 0.75rem 1.25rem;
    border-radius: 0 4px 4px 0;
}

.docs-content blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--body-text-color);
}

/* Legal Pages (Terms of Service, Privacy Policy, etc.) */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
    min-height: calc(100vh - 200px);
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--heading-text-color);
    margin-bottom: 2rem;
    text-align: left;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--heading-text-color);
    margin: 2rem 0 1rem;
    text-align: left;
    font-family: var(--heading-font);
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--body-text-color);
    margin: 1.5rem 0 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.legal-content .docs-content ul,
.legal-content .docs-content ol {
    margin: 1rem 0 .75rem 2rem;
}

.legal-content .docs-content li {
    margin-bottom: 0.5rem;
}

.legal-content .docs-content a {
    color: var(--deep-navy);
    text-decoration: underline;
}

.legal-content .docs-content a:hover {
    opacity: 0.5;
}

@media (prefers-color-scheme: dark) {
    :root {
        --page-background: #1a1a1a;
        --background-color: #2d2d2d;
        --light-gray: #2d2d2d;
        --body-text-color: #f5f5f5;
        --heading-text-color: #f5f5f5;
        --highlight: #929292f0;
        --link-color: #f77f00;
        --off-white: #fdfaf6;
    }

    body {
        background-color: var(--page-background);
        color: var(--body-text-color);
    }

    h1, h2, h3, h4, h5, h6 {
        color: var(--heading-text-color);
    }

    .docs-toc-label {
        color: var(--body-text-color);
    }

    .docs-toc a {
        color: var(--link-color);
    }

    .docs-toc a:hover {
        opacity: 0.5;
    }

    .docs-toc ul ul {
        border-left-color: rgba(255, 255, 255, 0.1);
    }

    .docs-toc ul ul a {
        color: var(--link-color);
    }

     .docs-toc ul ul a:hover {
        opacity: 0.5;
    }

    .docs-content h2 {
        border-bottom-color: rgba(26, 95, 63, 0.4);
    }

    .docs-content a {
        color: var(--link-color);
    }

    .docs-content a:hover {
        opacity: 0.5;
    }

    .docs-content code {
        background-color: rgba(26, 95, 63, 0.2);
    }

    .docs-content pre {
        background-color: #252f28;
        border-color: rgba(26, 95, 63, 0.3);
    }

    .docs-content th {
        background-color: #2a4a6b;
    }

    .docs-content td {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .docs-content tr {
        background-color: var(--light-gray);
    }

    .docs-content tr:nth-child(even) td {
        background-color: rgba(26, 95, 63, 0.1);
    }

    .docs-content blockquote {
        background-color: rgba(247, 127, 0, 0.1);
    }

    .docs-content blockquote p {
        color: var(--body-text-color);
    }

    .legal-content .docs-content a {
        color: var(--link-color);
    }

    .legal-content .docs-content a:hover {
        opacity: 0.5;
    }

    .faq-item {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .faq-item p {
        color: var(--body-text-color);
    }

    .value-card {
        background: var(--background-color);
        border-left: 4px solid var(--highlight);
        box-shadow: 0 4px 12px rgba(255,255,255,0.1);
    }

    .value-card p {
        color: var(--body-text-color);
    }

    .pricing-card {
        background: #2d2d2d;
    }

    .pricing-card h3 {
        color: var(--body-text-color);
    }

    .pricing-card .period,
    .pricing-card .plan-description {
        color: var(--body-text-color);
    }

    .pricing-card .features-list li {
        border-bottom-color: rgba(255, 255, 255, 0.05);
        color: var(--body-text-color);
    }

    .principles-table td {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .principles-table td:first-child {
        color: #a8c5d9;
    }

    .principles-table td:last-child {
        color: var(--body-text-color);
    }

    .principles-table tr:hover td {
        background-color: rgba(26, 95, 63, 0.15);
    }

    .problem {
        background-color: #8b1c1c;
    }

    .problem p {
        color: var(--body-text-color);
    }

    .problem h2 {
        color: var(--off-white);
    }

    .solution h2 {
        color: var(--body-text-color);
    }

    footer p {
        color: #2b2d42;
    }
}
