.thanos-page {
    --thanos-surface: #fff;
    --thanos-dark: #201b17;
    --thanos-dark-text: #e8ded3;
}

.thanos-page .announcement__inner { gap: 12px; }

.thanos-hero {
    position: relative;
    padding: clamp(42px, 5vw, 88px) 0 clamp(60px, 6vw, 104px);
}

.thanos-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    gap: clamp(24px, 4vw, 66px);
    align-items: center;
}

.thanos-hero__copy { min-width: 0; }
.thanos-hero h1 {
    max-width: 680px;
    font-size: clamp(3.4rem, 6.3vw, 6.25rem);
    line-height: .98;
    letter-spacing: -.066em;
}
.thanos-hero h1 span { color: var(--orange-deep); }
.thanos-hero__copy > p:not(.thanos-hero__availability) {
    max-width: 590px;
    margin: 30px 0 0;
    font-size: clamp(1.05rem, 1.5vw, 1.16rem);
    line-height: 1.7;
}
.thanos-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 32px;
}
.thanos-hero__availability {
    max-width: 540px;
    margin: 21px 0 0;
    color: var(--ink-muted);
    font-size: .875rem;
}

.thanos-hero__visual {
    position: relative;
    isolation: isolate;
    width: min(100%, 590px);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    margin-inline: auto;
}
.thanos-hero__ribbon {
    position: absolute;
    z-index: 0;
    height: auto;
    pointer-events: none;
    user-select: none;
    animation: thanosRibbonDrift 9s ease-in-out infinite alternate;
}
.thanos-hero__ribbon--sweep { top: 7%; left: 5%; width: 63%; transform: rotate(-7deg); }
.thanos-hero__ribbon--loop { right: 5%; bottom: 14%; width: 54%; transform: rotate(8deg); animation-delay: -3s; animation-direction: alternate-reverse; }
.thanos-hero__tigo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: thanosTigoFloat 8s ease-in-out infinite alternate;
}
.thanos-hero__visual-label {
    position: absolute;
    z-index: 2;
    bottom: 1%;
    left: 10%;
    color: var(--ink-soft);
    font-size: .875rem;
    font-weight: 600;
}
@keyframes thanosRibbonDrift { to { translate: 0 7px; } }
@keyframes thanosTigoFloat { to { translate: 0 -5px; } }

.thanos-video {
    padding: clamp(64px, 7vw, 104px) 0;
    background: var(--cream);
}
.thanos-video__inner { max-width: 960px; }
.thanos-video__heading { margin-bottom: 28px; }
.thanos-video h2 { max-width: 750px; font-size: clamp(2.4rem, 4.8vw, 4.5rem); line-height: 1.07; }
.thanos-video__heading p { max-width: 60ch; margin: 14px 0 0; color: var(--ink-soft); line-height: 1.6; }
.thanos-video .tigo-thanos-player { max-width: 100%; margin: 0; }
.thanos-video .tigo-thanos-player__screen { background: #fffaf3; }
.thanos-video .tigo-thanos-player__toggle span { font-size: 1.35rem; font-weight: 700; }

.thanos-idea {
    border-block: 1px solid var(--line);
    background: var(--paper);
}
.thanos-idea__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    padding-block: clamp(34px, 5vw, 68px);
}
.thanos-idea__inner > span {
    padding-top: 9px;
    color: var(--orange-deep);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.thanos-idea p {
    max-width: 780px;
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(1.5rem, 3vw, 2.7rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.18;
}
.thanos-idea strong { color: var(--orange-deep); font-weight: 700; }

.thanos-example {
    padding: clamp(78px, 9vw, 142px) 0;
    background: var(--thanos-dark);
    color: #fffaf3;
}
.thanos-example__grid {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: clamp(36px, 7vw, 112px);
    align-items: start;
}
.thanos-example h2 {
    max-width: 490px;
    font-size: clamp(2.8rem, 4.8vw, 4.9rem);
    line-height: 1.04;
}
.thanos-example h2 span { color: #ffaf70; }
.thanos-example__intro > p:not(.thanos-example__disclosure) {
    max-width: 490px;
    margin: 26px 0 0;
    color: #d4c9be;
    font-size: 1.08rem;
    line-height: 1.7;
}
.thanos-example__disclosure {
    max-width: 490px;
    margin: 38px 0 0;
    padding-left: 14px;
    border-left: 2px solid var(--orange);
    color: #d4c9be;
    font-size: .875rem;
    line-height: 1.6;
}
.thanos-example__paper {
    min-width: 0;
    padding: clamp(22px, 3vw, 38px);
    border: 1px solid #dfd3c8;
    border-radius: 20px;
    background: #fffaf3;
    color: #211d19;
}
.thanos-example__paper-head {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: #835039;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.thanos-example__question {
    margin: 24px 0 28px;
    color: #211d19;
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.25vw, 2rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.23;
}
.thanos-example__reasoning {
    border-top: 1px solid #dfd3c8;
}
.thanos-example__reasoning > div {
    display: grid;
    grid-template-columns: minmax(105px, .4fr) minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #dfd3c8;
}
.thanos-example__reasoning span {
    color: #a94308;
    font-family: var(--display);
    font-weight: 700;
}
.thanos-example__reasoning p {
    margin: 0;
    color: #4c4037;
    line-height: 1.62;
}
.thanos-example__reasoning strong { color: #211d19; }
.thanos-example__result {
    margin-top: 22px;
    padding: 20px 22px;
    border-left: 4px solid #a94308;
    border-radius: 12px;
    background: #fff0df;
}
.thanos-example__result span { display: block; color: #8d3b0b; font-size: .88rem; font-weight: 700; }
.thanos-example__result strong { display: block; margin-top: 5px; color: #823506; font-family: var(--display); font-size: clamp(2.35rem, 3.3vw, 3.3rem); letter-spacing: -.06em; line-height: 1.1; }
.thanos-example__result p { max-width: 430px; margin: 8px 0 0; color: #46372c; line-height: 1.55; }
.thanos-example__next {
    margin-top: 30px;
    padding-left: 15px;
    border-left: 3px solid var(--orange);
}
.thanos-example__next span {
    color: #a94308;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.thanos-example__next p { margin: 6px 0 0; color: #44382f; line-height: 1.6; }

.thanos-tools { padding: clamp(80px, 9vw, 140px) 0; }
.thanos-tools__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .66fr);
    column-gap: clamp(36px, 7vw, 100px);
    align-items: end;
}
.thanos-tools h2 {
    max-width: 650px;
    font-size: clamp(2.8rem, 4.8vw, 4.85rem);
    line-height: 1.05;
}
.thanos-tools h2 span { color: var(--orange-deep); }
.thanos-tools__heading > p {
    max-width: 420px;
    margin: 0 0 5px;
    font-size: 1.07rem;
    line-height: 1.68;
}
.thanos-tools__list {
    margin: clamp(42px, 6vw, 86px) 0 0;
    padding: 0;
    border-top: 1px solid var(--line-strong);
    list-style: none;
}
.thanos-tools__list li {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 3vw, 40px);
    min-height: 146px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line-strong);
}
.thanos-tools__list img { width: 58px; height: 58px; object-fit: contain; }
.thanos-tools__list h3 { margin: 0; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.15; }
.thanos-tools__list p { max-width: 740px; margin: 8px 0 0; line-height: 1.65; }
.thanos-tools__note { margin: 26px 0 0; color: var(--ink-muted); font-size: .875rem; }

.thanos-cta { background: #ffad70; color: #211d19; }
.thanos-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 34px;
    padding-block: clamp(64px, 7vw, 105px);
}
.thanos-cta__inner span { display: inline-block; margin-bottom: 14px; font-size: .85rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.thanos-cta h2 { font-size: clamp(2.5rem, 4.3vw, 4.45rem); line-height: 1.05; }
.thanos-cta p { max-width: 530px; margin: 16px 0 0; color: #493226; font-size: 1.06rem; }
.thanos-cta .button--primary { flex: 0 0 auto; min-height: 52px; border-color: #211d19; background: #211d19; color: #fffaf3; box-shadow: none; }
.thanos-cta .button--primary:hover { background: #3b2b21; }

.thanos-footer { background: #201b17; color: #d3c9bf; }
.thanos-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 130px; }
.thanos-footer .brand img { filter: brightness(0) invert(1); }
.thanos-footer .brand__fallback { color: #fff; }
.thanos-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.thanos-footer nav a { font-size: .9rem; }
.thanos-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.thanos-footer small { color: #b7aa9e; white-space: nowrap; }

@media (max-width: 980px) {
    .thanos-page .mobile-panel {
        position: fixed;
        inset: 80px 12px auto;
        z-index: 90;
        display: grid;
        gap: 8px;
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: var(--cream);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 160ms ease, transform 160ms ease;
    }
    .thanos-page .mobile-panel.is-open { opacity: 1; pointer-events: auto; transform: none; }
    .thanos-page .mobile-panel > a:not(.button) { min-height: 44px; padding: 12px; color: var(--ink-soft); font-weight: 600; }
    .thanos-page .mobile-panel .button { width: 100%; }
    .thanos-hero__grid { grid-template-columns: 1fr; gap: 22px; }
    .thanos-hero__copy { max-width: 740px; }
    .thanos-hero__visual { width: min(100%, 530px); }
    .thanos-example__grid { grid-template-columns: 1fr; gap: 34px; }
    .thanos-example__intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; } .thanos-example__disclosure { grid-column: 1 / -1; }
    .thanos-example__intro > p:not(.thanos-example__disclosure) { margin-top: 8px; }
    .thanos-example__disclosure { margin-top: 20px; }
    .thanos-footer__inner { flex-wrap: wrap; padding-block: 32px; }
}

@media (max-width: 640px) {
    .thanos-page .announcement__inner { flex-wrap: wrap; gap: 2px 8px; padding-block: 8px; }
    .thanos-page .announcement__dot { display: none; }
    .thanos-hero { padding-top: 44px; padding-bottom: 60px; }
    .thanos-hero h1 { font-size: clamp(3.2rem, 12.3vw, 4.8rem); }
    .thanos-hero__copy > p:not(.thanos-hero__availability) { margin-top: 22px; }
    .thanos-hero__actions { align-items: stretch; flex-direction: column; gap: 4px; }
    .thanos-hero__actions .button { width: 100%; }
    .thanos-hero__visual { width: min(100%, 430px); margin-top: 8px; }
    .thanos-hero__visual-label { bottom: 0; left: 8%; }
    .thanos-idea__inner, .thanos-tools__heading { grid-template-columns: 1fr; gap: 14px; }
    .thanos-idea__inner > span { padding-top: 0; }
    .thanos-example__intro { display: block; }
    .thanos-example__intro > p:not(.thanos-example__disclosure) { margin-top: 22px; }
    .thanos-example__disclosure { margin-top: 24px; }
    .thanos-example__paper { border-radius: 18px; }
    .thanos-example__reasoning > div { grid-template-columns: 1fr; gap: 5px; }
    .thanos-tools__heading > p { margin-top: 10px; }
    .thanos-tools__list li { grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 8px 12px; }
    .thanos-tools__list img { width: 48px; height: 48px; }
    .thanos-tools__list h3 { font-size: 1.45rem; }
    .thanos-cta__inner { align-items: stretch; flex-direction: column; }
    .thanos-footer__inner { align-items: flex-start; flex-direction: column; gap: 25px; }
}

@media (prefers-color-scheme: dark) {
    .thanos-page { --ink: #f5ede4; --ink-soft: #d0c6bc; --ink-muted: #bbb0a6; --cream: #1e1b18; --cream-deep: #29241f; --paper: #24201c; --line: #423a32; --line-strong: #574b3f; --orange-deep: #ffb469; }
    .thanos-page .site-header, .thanos-page .site-header.is-scrolled { background: var(--cream); }
    .thanos-page .brand img { filter: brightness(0) invert(1); }
    .thanos-page .announcement { background: #161310; }
    .thanos-page .thanos-example__paper { background: #fffaf3; }
    .thanos-page .thanos-cta { color: #211d19; }
}

@media (prefers-reduced-motion: reduce) {
    .thanos-hero__ribbon, .thanos-hero__tigo { animation: none; }
}

@media print {
    .thanos-hero__ribbon, .thanos-hero__tigo { animation: none; }
}
