:root {
    color-scheme: light;
    --paper: #f7f7f4;
    --white: #ffffff;
    --ink: #080808;
    --ink-soft: #2d2d2b;
    --muted: #70706b;
    --line: #deded8;
    --surface: #efefeb;
    --forest: #2f7771;
    --font-display: "Manrope", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --space-6: 4.5rem;
    --space-7: 7rem;
    --radius-sm: 1rem;
    --radius-md: 2rem;
    --radius-lg: 3.5rem;
    --shadow-card: 0 3px 0 #242424, 0 28px 60px rgba(8, 8, 8, 0.22);
    --shadow-device: 0 32px 70px rgba(8, 8, 8, 0.14);
    --shadow-header: 0 1px 2px rgba(8, 8, 8, 0.02), 0 8px 24px rgba(8, 8, 8, 0.035);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-display);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
}

/* Purchase calls to action use a simple text label across all pages. */
a[href="/comprar/"] > span[aria-hidden="true"],
a[href="/foco/comprar/"] > span[aria-hidden="true"] {
    display: none;
}

button {
    color: inherit;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    transform: translateY(-160%);
    transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 20;
    width: min(calc(100% - 48px), 1280px);
    min-height: 72px;
    margin: 16px auto 0;
    padding: 10px 12px 10px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-header);
}

.site-header .brand {
    flex-shrink: 0;
    min-height: 44px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.site-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-nav > a:not(.nav-cta) {
    color: var(--muted);
    transition: color 180ms ease;
}

.site-nav > a:not(.nav-cta):hover {
    color: var(--ink);
}

.nav-cta {
    min-height: 44px;
    padding: 0 1.25rem;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
    background: var(--ink-soft);
    color: var(--white);
}

.hero {
    width: min(calc(100% - 48px), 1280px);
    min-height: calc(100svh - 88px);
    margin: 0 auto;
    padding: clamp(2rem, 5vh, 4rem) 0 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    grid-template-areas: "intro film" "details film";
    grid-template-rows: 1fr 1fr;
    align-items: center;
    column-gap: clamp(3rem, 7vw, 7rem);
    row-gap: 1.5rem;
}

.hero-intro { grid-area: intro; align-self: end; }
.hero-details { grid-area: details; align-self: start; }
.hero-intro h1 { margin-bottom: 0; }

.product-film {
    --film-paper: #ddd5c9;
    --film-radius: 1.75rem;
    grid-area: film;
    width: min(100%, 430px, calc((100svh - 210px) * 9 / 16));
    min-width: 320px;
    margin: 0 auto;
}

.film-frame {
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border-radius: var(--film-radius);
    background: var(--film-paper);
    box-shadow: 0 0 0 1px rgba(44, 34, 23, 0.06), 0 16px 44px -24px rgba(44, 34, 23, 0.24);
}

.film-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.film-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem; margin-top: 0.85rem; }
.film-toolbar[hidden], .film-error[hidden] { display: none; }
.film-playback {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    cursor: pointer;
}
.film-playback:hover { background: var(--surface); }
.film-playback svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.film-playback[data-playing="true"] .icon-play,
.film-playback[data-playing="false"] .icon-pause { display: none; }
.film-toolbar button:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.film-error { margin: 0.65rem 0 0; font-size: 0.8rem; line-height: 1.5; text-align: center; }

.eyebrow {
    margin: 0 0 1.35rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 1.75rem;
    font-size: clamp(3.6rem, 7.2vw, 7.6rem);
    font-weight: 700;
    letter-spacing: -0.072em;
    line-height: 0.91;
}

h1 span {
    color: var(--muted);
    font-weight: 500;
}

.hero-lede {
    max-width: 580px;
    margin-bottom: 2rem;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.58;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.button {
    min-height: 56px;
    padding: 0 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background 180ms ease;
}

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

.button--dark {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(8, 8, 8, 0.12);
}

.button--dark:hover {
    box-shadow: 0 15px 36px rgba(8, 8, 8, 0.18);
}

.text-link {
    padding: 0.5rem 0;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
}

.microcopy {
    margin: 1.3rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}

.hero-app-store {
    display: inline-flex;
    margin-top: var(--space-3);
    border-radius: 7px;
    vertical-align: top;
}

.hero-app-store img {
    display: block;
    width: auto;
    height: 44px;
}

.button:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.text-link:focus-visible,
.hero-app-store:focus-visible,
.site-footer a:focus-visible {
    outline: 3px solid var(--forest);
    outline-offset: 4px;
}

.foco-mark {
    --mark-size: 44px;
    position: relative;
    width: var(--mark-size);
    height: var(--mark-size);
    display: inline-block;
    flex: 0 0 auto;
    color: currentColor;
}

.foco-mark i {
    position: absolute;
    display: block;
    border-radius: 1px;
    background: currentColor;
}

.foco-mark i:nth-child(1),
.foco-mark i:nth-child(3) {
    width: 9%;
    height: 28%;
    left: 45.5%;
}

.foco-mark i:nth-child(1) { top: 0; }
.foco-mark i:nth-child(3) { bottom: 0; }

.foco-mark i:nth-child(2),
.foco-mark i:nth-child(4) {
    width: 28%;
    height: 9%;
    top: 45.5%;
}

.foco-mark i:nth-child(2) { right: 0; }
.foco-mark i:nth-child(4) { left: 0; }

.foco-mark--small {
    --mark-size: 26px;
}

.foco-mark--card {
    --mark-size: clamp(48px, 6vw, 74px);
    color: var(--white);
}

.steps {
    padding: var(--space-7) max(24px, calc((100vw - 1280px) / 2));
    background: var(--ink);
    color: var(--white);
}

.section-heading {
    max-width: 1100px;
}

.section-heading h2,
.app-heading h2,
.closing h2 {
    margin: 0;
    font-size: clamp(2.65rem, 5.2vw, 5.9rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.steps-content {
    margin-top: var(--space-6);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #333331;
}

.steps-list li {
    padding: 1.75rem 0;
    border-bottom: 1px solid #333331;
}

.steps-list h3 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.6rem, 2.7vw, 2.7rem);
    letter-spacing: -0.04em;
}

.steps-list p {
    max-width: 340px;
    margin: 0;
    color: #b3b3ad;
    line-height: 1.6;
}

.desk-scene {
    position: relative;
    container-type: inline-size;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: clamp(var(--radius-sm), 2.5vw, var(--radius-md));
    background: var(--surface);
}

.desk-scene > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
}

.focus-glass {
    position: absolute;
    top: 5%;
    left: 4%;
    width: 54%;
    max-width: 360px;
    padding: clamp(9px, 2.4cqi, 20px);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: clamp(12px, 2.8cqi, 22px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(249, 249, 245, 0.3));
    color: var(--ink);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 10px 36px -18px rgba(36, 32, 24, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.focus-glass-status {
    margin: 0;
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.8cqi, 7px);
    color: #315f56;
    font-size: clamp(8px, 1.6cqi, 12px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.focus-glass-status svg { width: 1.15em; height: 1.15em; flex: none; }

.focus-glass-title {
    margin: clamp(5px, 0.9cqi, 7px) 0 0;
    font-size: clamp(12px, 2.8cqi, 22px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.blocked-apps {
    margin: clamp(8px, 1.8cqi, 14px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(5px, 1.4cqi, 11px);
    list-style: none;
}

.blocked-app {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 24%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.blocked-app img { display: block; width: 64%; height: 64%; object-fit: contain; }
.blocked-app--instagram { background: radial-gradient(circle at 25% 105%, #ffd776 4%, #f58529 26%, #dd2a7b 56%, #8134af 78%, #515bd4 100%); }
.blocked-app--instagram img { width: 72%; height: 72%; }
.blocked-app--tiktok, .blocked-app--x { background: #080808; }
.blocked-app--tiktok img { filter: drop-shadow(-0.6px -0.4px 0 #25f4ee) drop-shadow(0.6px 0.4px 0 #fe2c55); }
.blocked-app--youtube { background: #fff; }
.blocked-app--youtube img { width: 78%; height: 78%; }
.blocked-app--facebook { background: #1877f2; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .focus-glass { background: rgba(249, 249, 245, 0.96); }
}

.app-section {
    width: min(calc(100% - 48px), 1280px);
    margin: 0 auto;
    padding: var(--space-7) 0;
}

.app-heading { margin-bottom: 3rem; text-align: center; }
.app-heading h2 span { display: inline-block; }
.feature-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 8px; }
.feature-track::-webkit-scrollbar { display: none; }
.feature-track:focus-visible { outline: 2px solid var(--forest); outline-offset: 5px; border-radius: 1.5rem; }
.feature-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 1.8rem; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); }
.feature-card--modos { --feature-tint: #d6dfd0; }
.feature-card--rutinas { --feature-tint: #d5e2ec; }
.feature-card--analytics { --feature-tint: #e9d6cc; }
.feature-scene { position: relative; flex: none; background: var(--feature-tint); }
.feature-scene img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; }
.feature-copy { flex: 1; position: relative; margin: 0; padding: 1.5rem; background: #fff; }
.feature-copy h3 { max-width: 260px; margin: 0 0 .85rem; font-size: clamp(1.5rem, 2.2vw, 1.95rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; }
.feature-copy p { margin: 0; color: #42463f; font-size: .875rem; line-height: 1.65; }
.feature-toolbar { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.feature-toolbar[hidden] { display: none; }
.feature-pagination, .feature-arrows { display: flex; align-items: center; gap: .5rem; }
.feature-pagination button { width: 36px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.feature-pagination span { display: block; width: 6px; height: 6px; border-radius: 50%; background: #c8cbc3; transition: transform 200ms var(--ease-out), background 200ms ease; }
.feature-pagination [aria-current="true"] span { background: var(--ink); transform: scale(1.4); }
.feature-arrows button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.75); cursor: pointer; transition: background 180ms ease; }
.feature-arrows svg { width: 21px; height: 21px; }
.feature-arrows button:disabled { opacity: .3; cursor: default; }
.feature-toolbar button:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .feature-arrows button:not(:disabled):hover { background: var(--surface); } }
@media (max-width: 1100px) {
    .feature-track { grid-auto-columns: 60%; gap: 16px; }
    .feature-copy { padding: 1.3rem; }
}
@media (max-width: 720px) {
    .app-heading { margin-bottom: 2rem; }
    .app-heading h2 span { display: block; }
    .feature-track { grid-auto-columns: 90%; gap: 12px; }
    .feature-card { border-radius: 1.5rem; }
    .feature-copy { min-height: 0; margin: 0; padding: 1.25rem; }
    .feature-copy h3 { font-size: clamp(1.45rem,6vw,1.85rem); }
    .feature-copy p { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .feature-pagination span { transition: none; } }

.closing {
    width: min(calc(100% - 48px), 1280px);
    margin: 0 auto var(--space-5);
    padding: clamp(2rem, 5vw, 4.5rem);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: var(--white);
}

.closing .eyebrow {
    color: #8f8f8a;
}

.closing h2 {
    max-width: 850px;
    font-size: clamp(2.4rem, 4.5vw, 5rem);
}

.closing-mark {
    width: clamp(78px, 9vw, 120px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid #333331;
    border-radius: 2rem;
}

.button--light {
    background: var(--white);
    color: var(--ink);
    white-space: nowrap;
}

.faq-section {
    width: min(calc(100% - 48px), 1000px);
    margin: 0 auto var(--space-7);
    padding-top: var(--space-6);
    border-top: 1px solid var(--line);
}

.faq-heading {
    margin-bottom: 2rem;
}

.faq-heading h2 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    padding: 1.2rem 2rem 1.2rem 0;
    position: relative;
    color: var(--ink);
    cursor: pointer;
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    font-weight: 600;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 0;
    color: var(--muted);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list summary:focus-visible {
    outline: 3px solid var(--forest);
    outline-offset: 4px;
}

.faq-list details p {
    max-width: 700px;
    margin: -0.2rem 0 1.25rem;
    color: var(--muted);
    line-height: 1.6;
}

.faq-list a {
    text-underline-offset: 3px;
}

.faq-cta {
    margin-top: 2rem;
}

.site-footer {
    width: min(calc(100% - 48px), 1280px);
    min-height: 120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.site-footer p {
    margin: 0;
    text-align: right;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    text-underline-offset: 4px;
    text-decoration-color: var(--line);
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 680ms var(--ease-out), transform 680ms var(--ease-out);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 980px) {
    .steps-content {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .steps-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .steps-list li {
        padding: 1.5rem 1.5rem 0 0;
        border-bottom: 0;
    }

    .steps-list li + li {
        padding-left: 1.5rem;
        border-left: 1px solid #333331;
    }

    .closing {
        grid-template-columns: auto 1fr;
    }

    .closing .button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (min-width: 721px) and (max-width: 1050px) {
    .hero { column-gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr); }
    .product-film { min-width: 280px; }
    h1 { font-size: clamp(3.2rem, 6.5vw, 4.8rem); }
    .hero-actions { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 720px) {
    :root {
        --radius-lg: 2.2rem;
        --space-7: 5rem;
    }

    .site-header,
    .hero,
    .app-section,
    .closing,
    .faq-section,
    .site-footer {
        width: min(calc(100% - 30px), 1280px);
    }

    .site-header {
        min-height: 64px;
        margin-top: 8px;
        padding: 8px 8px 8px 18px;
        gap: 12px;
    }

    .site-nav > a:not(.nav-cta) {
        display: none;
    }

    .nav-cta {
        min-height: 40px;
        padding: 0 0.9rem;
    }

    .hero {
        min-height: auto;
        padding: 1.75rem 0 3.5rem;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        grid-template-areas: "intro" "film" "details";
        gap: 1.75rem;
    }

    .hero-intro { text-align: center; }
    h1 { font-size: clamp(2.6rem, 10.8vw, 4.7rem); line-height: 0.98; }
    .hero-details { max-width: 460px; margin: 0 auto; text-align: center; }
    .hero-lede { margin-bottom: 1.4rem; }
    .product-film { width: min(100%, clamp(270px, calc((100svh - 325px) * 9 / 16), 340px)); min-width: 0; --film-radius: 1.4rem; }

    .hero-actions { justify-content: center; flex-wrap: wrap; gap: 1rem; }
    .microcopy { font-size: 0.68rem; }

    .steps-content { margin-top: var(--space-5); gap: var(--space-4); }
    .steps-list { display: block; }

    .steps-list li,
    .steps-list li + li {
        padding: 1.5rem 0;
        border-left: 0;
        border-bottom: 1px solid #333331;
    }

    .steps-list li:last-child {
        border-bottom: 0;
    }

    .closing {
        grid-template-columns: 1fr;
        border-radius: 2.2rem;
    }

    .closing-mark {
        width: 78px;
        border-radius: 1.5rem;
    }

    .closing .button {
        grid-column: auto;
        justify-self: stretch;
    }

    .site-footer {
        padding: 2rem 0 3rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .site-footer p {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Footer must wrap independently of checkout styles on the landing. */
.site-footer > * { min-width: 0; }
.site-footer .footer-links { flex-wrap: wrap; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 721px) and (max-width: 1100px) {
    .site-footer { grid-template-columns: 1fr; padding: 2rem 0 3rem; gap: 1.5rem; }
    .site-footer p { text-align: left; }
}
