/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #2c3e50;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

.skip-link:focus {
    top: 0;
    clip: auto;
    overflow: visible;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

ul,
ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #555;
}

strong {
    color: #2c3e50;
}

/* Links */
a {
    color: #3498db;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

a:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

.cta a {
    color: #ffffff;
    text-decoration: underline;
}

.cta a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.cta a:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Tooltip for word definitions */
.tooltip-word {
    position: relative;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #3498db;
    cursor: help;
    color: inherit;
}

.tooltip-word:hover,
.tooltip-word:focus {
    text-decoration-style: solid;
}

.tooltip-word::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #2c3e50;
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
    border-radius: 6px;
    white-space: nowrap;
    max-width: 90vw;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.tooltip-word:hover::after,
.tooltip-word:focus::after {
    opacity: 1;
}

/* Tooltip arrow */
.tooltip-word::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 6px solid transparent;
    border-top-color: #2c3e50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.tooltip-word:hover::before,
.tooltip-word:focus::before {
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero h2 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 0 !important;
}

.emphasis-word {
    font-weight: 700;
    font-style: italic;
    color: #000000;
}

/* Content Sections */
section {
    padding: 3rem 0;
}

.reality-check {
    background-color: #f8f9fa;
}

.situation {
    background-color: white;
}

.situation h2 {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.situation p {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.situation ul {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
}

.momentum {
    background-color: #f8f9fa;
}

.momentum h2 {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.momentum p {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.reality-check h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.big-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.problems {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 700px;
}

.problems p {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    text-align: left;
}

.solution-intro {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 0;
}

/* Accessibility: ARIA labels for emoji icons */
[aria-label] {
    display: inline-block;
}

.coop-explained {
    background-color: white;
}

.coop-explained h2 {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.transition-text {
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 500;
    color: #34495e;
    margin-top: 2rem;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.coop-explained p {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
}

.coop-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.principle {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.principle h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.principle p {
    margin-bottom: 0;
    font-size: 0.95rem;
    text-align: center;
}

.examples {
    font-style: italic;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.about {
    background-color: #f8f9fa;
}

.tech {
    background-color: #f8f9fa;
}

.tech h2 {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tech p {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tech ul {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
}

.vision {
    background-color: white;
}

.vision h2 {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.vision-intro {
    font-size: 1.15rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.vision-note {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    margin-top: 2rem;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.vision .what-we-offer h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.vision .what-we-offer ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 1.5rem;
}

.cta {
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.cta h2,
.cta h3 {
    color: white;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
}

/* Benefits Grid */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 900px;
}

.benefit {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.benefit h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.benefit p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Contact Methods */
.contact-info {
    margin: 2rem 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin: 2rem 0;
}

.contact-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    min-width: 250px;
    text-align: center;
}

.contact-button:hover {
    background: #c0392b;
    text-decoration: none !important;
}

.contact-button:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
    text-decoration: none !important;
}

.contact-button.email {
    background: #3498db;
}

.contact-button.email:hover {
    background: #2980b9;
    text-decoration: none !important;
}

.contact-button.email:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Next Steps */
.next-steps {
    margin-top: 3rem;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.next-steps h3 {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
}

.next-steps ol {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.next-steps li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: #34495e;
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    a:focus,
    .contact-button:focus {
        outline-width: 4px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .reality-check h2 {
        font-size: 1.8rem;
    }

    .big-text {
        font-size: 1.5rem;
    }

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

    .solution-intro {
        font-size: 1.2rem;
    }

    section {
        padding: 2rem 0;
    }

    .coop-principles {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .principle {
        padding: 1.2rem;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .benefit {
        padding: 1.5rem;
    }

    .contact-methods {
        gap: 0.8rem;
    }

    .contact-button {
        min-width: 200px;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Tooltip: keep it within the viewport on smaller screens */
    .tooltip-word::after {
        left: 0;
        transform: none;
        white-space: normal;
        width: max-content;
        max-width: 90vw;
    }

    .tooltip-word::before {
        left: 16px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .reality-check h2 {
        font-size: 1.5rem;
    }

    .big-text {
        font-size: 1.3rem;
    }

    .solution-intro {
        font-size: 1.1rem;
    }

    .coop-principles {
        grid-template-columns: 1fr;
    }

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

    p,
    li {
        font-size: 1rem;
    }

    .contact-button {
        min-width: 100%;
    }
}
