:root {
    --tortilla: #fff3df;
    --paper: #fffaf0;
    --paper-strong: #ffffff;
    --ink: #17231f;
    --ink-soft: #44564e;
    --muted: #728078;
    --cactus: #1f6f4a;
    --cactus-dark: #1f4335;
    --lime: #bfd66f;
    --tomato: #d9432f;
    --chile: #a22f26;
    --sky: #4d94a6;
    --border: rgba(31, 67, 53, 0.14);
    --shadow: 0 28px 70px rgba(63, 45, 22, 0.13);
    --content: 1180px;
    --display: "Archivo", "Inter", system-ui, sans-serif;
    --ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: linear-gradient(180deg, #fff7e8 0%, #fffdf7 36%, #edf6f0 100%);
    font-family: var(--ui);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

a:focus-visible {
    outline: 3px solid rgba(77, 148, 166, 0.45);
    outline-offset: 4px;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2 {
    font-family: var(--display);
    letter-spacing: 0;
}

h1 {
    font-size: clamp(4rem, 10vw, 8.5rem);
    line-height: 0.86;
    font-weight: 900;
}

h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 0.98;
    font-weight: 850;
}

h3 {
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.1;
    font-weight: 800;
}

.site-shell {
    max-width: var(--content);
    margin: 0 auto;
    padding: 0 24px;
}

.masthead {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    font-size: 1.45rem;
    font-weight: 900;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.masthead-actions,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 800;
}

.masthead-actions a,
.footer-links a {
    color: var(--cactus-dark);
}

.masthead-actions a:hover,
.footer-links a:hover,
.text-link:hover,
.legal-card a:hover {
    text-decoration: underline;
}

main {
    display: grid;
    gap: 80px;
    padding-bottom: 88px;
}

.hero {
    position: relative;
    min-height: min(680px, calc(100vh - 220px));
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #18261f;
    box-shadow: var(--shadow);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 24, 20, 0.88), rgba(14, 24, 20, 0.45) 46%, rgba(14, 24, 20, 0.06)),
        url("/static/marketing/launch-card.png") center / cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    padding: clamp(32px, 5vw, 58px);
    color: #fffaf0;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.hero-logo {
    width: min(340px, 80vw);
    margin-bottom: 22px;
}

.hero-tagline {
    margin-top: 20px;
    max-width: 14ch;
    color: #ffdd78;
    font-family: var(--display);
    font-size: clamp(1.9rem, 3.5vw, 3.25rem);
    line-height: 0.98;
    font-weight: 900;
}

.hero-copy {
    max-width: 55ch;
    margin-top: 22px;
    color: rgba(255, 250, 240, 0.9);
    font-size: 1.08rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.launch-pill,
.text-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 900;
}

.launch-pill {
    padding: 0 18px;
    background: #ffdd78;
    color: #1d261a;
    text-shadow: none;
}

.text-link {
    color: #fffaf0;
}

.app-store-badge {
    width: 170px;
}

.intro-strip,
.quality-section,
.verb-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
    gap: 46px;
    align-items: center;
}

.intro-strip p,
.quality-section p,
.verb-copy p,
.section-head p,
.mechanism-copy p,
.curriculum-detail-grid p,
.faq-card p,
.legal-hero p,
.legal-card p,
.legal-card li,
.footer-brand p {
    color: var(--ink-soft);
}

.section-kicker {
    display: inline-flex;
    color: var(--tomato);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.screenshot-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.phone-frame {
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(31, 67, 53, 0.12);
    border-radius: 32px;
    background: linear-gradient(180deg, #ffffff, #fbf2df);
    box-shadow: 0 18px 46px rgba(47, 36, 23, 0.13);
}

.phone-frame img {
    width: 100%;
    aspect-ratio: 738 / 1600;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(31, 67, 53, 0.1);
}

.screenshot-band .phone-frame:nth-child(2),
.screenshot-band .phone-frame:nth-child(4) {
    margin-top: 42px;
}

.section-head {
    display: grid;
    gap: 18px;
    max-width: 760px;
}

.mechanisms-section,
.curriculum-section,
.share-section,
.faq-section,
.legal-main {
    display: grid;
    gap: 34px;
}

.mechanism-list {
    display: grid;
    gap: 64px;
}

.mechanism-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 48px;
    align-items: center;
    padding: 42px 0;
    border-top: 1px solid var(--border);
}

.mechanism-row-reverse {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
}

.mechanism-row-reverse .mechanism-copy {
    order: 2;
}

.mechanism-row-reverse .mechanism-phone {
    order: 1;
}

.mechanism-copy {
    display: grid;
    gap: 16px;
}

.mechanism-copy h3 {
    max-width: 18ch;
}

.mechanism-phone,
.verb-phone {
    justify-self: center;
    width: min(100%, 340px);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stat-card,
.curriculum-detail-grid article,
.faq-card,
.legal-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.9);
    box-shadow: 0 14px 32px rgba(54, 40, 18, 0.08);
}

.stat-card {
    display: grid;
    gap: 10px;
    padding: 24px;
}

.stat-card strong {
    color: var(--cactus);
    font-family: var(--display);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 0.92;
    font-weight: 900;
}

.stat-card span {
    color: var(--ink-soft);
    font-weight: 800;
}

.curriculum-detail-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.curriculum-detail-grid article,
.faq-card {
    display: grid;
    gap: 12px;
    padding: 24px;
}

.verb-section {
    padding: 44px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(31, 111, 74, 0.96), rgba(77, 148, 166, 0.82)),
        url("/static/marketing/share-actions.png") center / cover no-repeat;
    color: #fffaf0;
    box-shadow: var(--shadow);
}

.verb-section .section-kicker {
    color: #ffdd78;
}

.verb-copy {
    display: grid;
    gap: 18px;
}

.verb-copy p,
.verb-copy li {
    color: rgba(255, 250, 240, 0.9);
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    font-weight: 750;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #ffdd78;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.share-card {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(49, 37, 18, 0.12);
}

.share-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quality-section {
    padding: 42px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 12px 0 56px;
    border-top: 1px solid var(--border);
}

.footer-brand {
    display: grid;
    gap: 10px;
}

.legal-main {
    padding: 36px 0 84px;
}

.legal-hero {
    display: grid;
    gap: 18px;
    max-width: 820px;
}

.legal-hero h1 {
    max-width: 12ch;
    color: var(--ink);
    font-size: clamp(3rem, 7vw, 6rem);
}

.legal-updated {
    color: var(--muted);
    font-weight: 800;
}

.legal-card {
    display: grid;
    gap: 26px;
    padding: 34px;
}

.legal-section {
    display: grid;
    gap: 12px;
}

.legal-section + .legal-section {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.legal-section h2 {
    max-width: none;
    font-size: clamp(1.35rem, 2vw, 2rem);
}

.legal-section ul {
    margin: 0;
    padding-left: 20px;
}

.legal-section li + li {
    margin-top: 8px;
}

.legal-card a,
.support-email-link {
    color: var(--cactus-dark);
    font-weight: 900;
}

.legal-footer {
    padding-top: 32px;
}

@media (max-width: 920px) {
    .intro-strip,
    .quality-section,
    .verb-section,
    .mechanism-row,
    .mechanism-row-reverse {
        grid-template-columns: 1fr;
    }

    .mechanism-row-reverse .mechanism-copy,
    .mechanism-row-reverse .mechanism-phone {
        order: initial;
    }

    .screenshot-band,
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .curriculum-detail-grid,
    .share-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .site-shell {
        padding: 0 16px;
    }

    .masthead {
        align-items: flex-start;
        flex-direction: column;
    }

    main {
        gap: 56px;
    }

    .hero {
        min-height: 620px;
        align-items: flex-end;
    }

    .hero-bg {
        background:
            linear-gradient(180deg, rgba(14, 24, 20, 0.08), rgba(14, 24, 20, 0.42) 46%, rgba(14, 24, 20, 0.9)),
            url("/static/marketing/launch-card.png") center top / cover no-repeat;
    }

    .hero-content {
        padding: 24px;
    }

    .hero-logo {
        width: min(260px, 82vw);
    }

    .hero-copy {
        font-size: 1rem;
    }

    .screenshot-band,
    .stat-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-band .phone-frame:nth-child(2),
    .screenshot-band .phone-frame:nth-child(4) {
        margin-top: 0;
    }

    .verb-section,
    .legal-card {
        padding: 24px;
    }
}
