:root {
    --accent: #2337ff;
    --accent-dark: #000d8a;
    --black: 15, 18, 25;
    --gray: 96, 115, 159;
    --gray-light: 229, 233, 240;
    --gray-dark: 34, 41, 57;
    --gray-gradient: rgba(var(--gray-light), 50%), #fff;
}

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

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--accent);
    color: white;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: rgb(var(--gray-dark));
    background: linear-gradient(var(--gray-gradient)) no-repeat;
    background-size: 100% 600px;
    font-size: 20px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 3em 1em;
}

header {
    padding: 60px 20px 40px;
    background: white;
    box-shadow: 0 2px 8px rgba(var(--black), 5%);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.header-text {
    text-align: center;
}

.header-logo {
    max-width: 400px;
    height: auto;
    width: 100%;
}

h1 {
    font-size: 3.052em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(var(--black));
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 400;
    color: rgb(var(--gray-dark));
}

.tagline {
    font-size: 1.1rem;
    font-style: italic;
    color: rgb(var(--gray));
}

section {
    padding: 60px 20px;
}

h2 {
    font-size: 2.441em;
    margin: 0 0 0.5rem 0;
    color: rgb(var(--black));
    line-height: 1.2;
}

h3 {
    font-size: 1.953em;
    margin: 30px 0 15px;
    color: rgb(var(--black));
    line-height: 1.2;
}

h4 {
    font-size: 1.563em;
    color: rgb(var(--black));
    line-height: 1.2;
}

p {
    margin-bottom: 1em;
}

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

a:hover {
    color: var(--accent-dark);
}

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

strong {
    font-weight: 700;
}

ul {
    margin: 1.5em 0;
    padding-left: 2em;
}

li {
    margin: 0.5em 0;
}

.problem-list,
.outcome-list {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
}

.problem-list li,
.outcome-list li {
    padding: 15px 20px 15px 50px;
    margin: 15px 0;
    background: white;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 8px rgba(var(--black), 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.problem-list li:before {
    content: "";
    position: absolute;
    left: 18px;
    top: 18px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 3.99L19.53 19H4.47L12 5.99zM11 10v4h2v-4h-2zm0 6v2h2v-2h-2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.outcome-list li:before {
    content: "";
    position: absolute;
    left: 18px;
    top: 18px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2348bb78'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.process {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(var(--black), 0.06);
    transition: box-shadow 0.2s ease;
    counter-reset: process-counter;
}


.process-step {
    margin: 20px 0;
    padding-left: 45px;
    position: relative;
    counter-increment: process-counter;
}

.process-step:before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 3px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50%;
    line-height: 28px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 20px 0;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(35, 55, 255, 0.3);
}

.cta-button:hover {
    background: var(--accent-dark);
    color: white;
}

.cta-button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.faq {
    margin: 40px 0;
}

.faq-item {
    background: white;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(var(--black), 0.06);
    transition: box-shadow 0.2s ease;
}


.faq-question:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: -3px;
}

.faq-question {
    font-weight: 700;
    font-size: 1.2rem;
    color: rgb(var(--black));
    padding: 25px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-answer {
    color: rgb(var(--gray-dark));
    line-height: 1.8;
    padding: 0 25px 25px;
}

.testimonial {
    background: white;
    padding: 30px 30px 30px 50px;
    margin: 30px 0;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    font-style: italic;
    box-shadow: 0 2px 8px rgba(var(--black), 0.06);
    position: relative;
}

.testimonial::before {
    content: "\201C";
    position: absolute;
    left: 15px;
    top: 10px;
    font-size: 3.5rem;
    color: var(--accent);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.4;
}

.testimonial-author {
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: rgb(var(--gray));
}

.about {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

footer {
    text-align: center;
    padding: 2em 1em 6em 1em;
    background: linear-gradient(var(--gray-gradient)) no-repeat;
    color: rgb(var(--gray));
}

.metaphor-explainer {
    background: rgb(var(--gray-light));
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--accent);
    box-shadow: 0 2px 8px rgba(var(--black), 0.06);
    transition: box-shadow 0.2s ease;
}


.metaphor-explainer h4 {
    color: var(--accent);
    margin-bottom: 10px;
}

.about-intro {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 30px 0;
}

.about-image {
    flex-shrink: 0;
    width: 200px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1em;
}

.final-cta-section {
    text-align: center;
    background: white;
    padding: 60px 20px;
}

hr {
    border: none;
    border-top: 1px solid rgb(var(--gray-light));
    margin: 2em 0;
}

code {
    background: rgb(var(--gray-light));
    padding: 0.15em 0.35em;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #4a5568;
}

.about-paragraph {
    margin-bottom: 15px;
}

.about-italic {
    font-style: italic;
}

.metaphor-paragraph {
    margin-top: 10px;
}

.video-section {
    padding: 40px 20px;
}

.video-placeholder {
    background: linear-gradient(135deg, rgb(var(--gray-dark)) 0%, rgb(var(--black)) 100%);
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(var(--black), 0.2);
}


.video-play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.video-play-button svg {
    width: 32px;
    height: 32px;
    color: white;
    margin-left: 4px;
}

.video-caption {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.final-cta-text {
    font-size: 1.2rem;
    margin: 20px 0;
    color: rgb(var(--gray-dark));
}

.final-cta-disclaimer {
    margin-top: 20px;
    color: rgb(var(--gray));
}

.footer-title {
    margin-bottom: 10px;
}

.footer-contact {
    margin-top: 20px;
}

.footer-copyright {
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Hover effects only for devices that support hover */
@media (hover: hover) {
    .problem-list li:hover,
    .outcome-list li:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(var(--black), 0.1);
    }

    .process:hover {
        box-shadow: 0 4px 16px rgba(var(--black), 0.1);
    }

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(35, 55, 255, 0.4);
    }

    .faq-item:hover {
        box-shadow: 0 4px 16px rgba(var(--black), 0.1);
    }

    .metaphor-explainer:hover {
        box-shadow: 0 4px 16px rgba(var(--black), 0.1);
    }

    .video-placeholder:hover {
        transform: scale(1.01);
        box-shadow: 0 8px 30px rgba(var(--black), 0.3);
    }

    .video-placeholder:hover .video-play-button {
        transform: scale(1.1);
        background: var(--accent);
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    body {
        font-size: 18px;
    }

    .container {
        padding: 1em;
    }

    /* Reduce section vertical padding */
    section {
        padding: 40px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    /* Scale h3 and h4 for mobile */
    h3 {
        font-size: 1.4rem;
        margin: 20px 0 12px;
    }

    h4 {
        font-size: 1.2rem;
    }

    .about-intro {
        flex-direction: column;
        gap: 20px;
    }

    .about-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .header-content {
        flex-direction: column;
        gap: 30px;
    }

    .header-logo {
        max-width: 250px;
        margin: 0 auto;
    }

    /* Testimonial quote mark adjustment */
    .testimonial {
        padding: 25px 20px 25px 20px;
    }

    .testimonial::before {
        display: none;
    }

    /* Process step number alignment */
    .process-step {
        padding-left: 38px;
    }

    .process-step:before {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
        line-height: 24px;
    }

    /* Full-width CTA button */
    .cta-button {
        display: block;
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }

    /* FAQ touch targets */
    .faq-question {
        padding: 20px 25px;
    }

    /* Problem/outcome list item padding */
    .problem-list li,
    .outcome-list li {
        padding: 15px 15px 15px 45px;
    }

    .problem-list li:before,
    .outcome-list li:before {
        left: 15px;
    }

    /* Metaphor explainer padding */
    .metaphor-explainer {
        padding: 20px;
    }

    /* Footer bottom padding */
    footer {
        padding: 2em 1em 3em 1em;
    }

    .video-placeholder {
        aspect-ratio: 16 / 9;
    }

    .video-play-button {
        width: 60px;
        height: 60px;
    }

    .video-play-button svg {
        width: 24px;
        height: 24px;
    }

    .video-caption {
        font-size: 0.9rem;
        padding: 0 20px;
        text-align: center;
    }
}

/* Small phone breakpoint */
@media (max-width: 400px) {
    body {
        font-size: 16px;
    }

    .header-logo {
        max-width: 200px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 14px 16px;
    }

    section {
        padding: 30px 15px;
    }

    .process {
        padding: 20px;
    }

    .process-step {
        padding-left: 34px;
    }

    .process-step:before {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
        line-height: 22px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1.1rem;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }

    .about {
        padding: 20px;
    }

    .problem-list li,
    .outcome-list li {
        padding: 12px 12px 12px 42px;
    }

    .problem-list li:before,
    .outcome-list li:before {
        left: 12px;
        width: 16px;
        height: 16px;
    }
}
