:root {
    color-scheme: light dark;
    --paper: #f4efe7;
    --paper-deep: #ebe1d3;
    --ink: #201c19;
    --muted: #655d56;
    --line: rgba(32, 28, 25, 0.14);
    --surface: rgba(255, 252, 247, 0.78);
    --surface-solid: #fffaf3;
    --sage: #526f5a;
    --sage-soft: #dfe8de;
    --clay: #9d5c3d;
    --blue: #405f72;
    --plum: #6d5366;
    --shadow: 0 24px 80px rgba(64, 48, 36, 0.16);
    --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #171513;
        --paper-deep: #211d19;
        --ink: #f5efe6;
        --muted: #c1b7aa;
        --line: rgba(245, 239, 230, 0.16);
        --surface: rgba(35, 31, 27, 0.78);
        --surface-solid: #211d19;
        --sage: #9fb99e;
        --sage-soft: #2a352b;
        --clay: #d19673;
        --blue: #91b3c6;
        --plum: #c5a6bd;
        --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 360px),
        var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(32, 28, 25, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 28, 25, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, black, transparent 80%);
}

a {
    color: inherit;
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px max(22px, env(safe-area-inset-left)) 14px max(22px, env(safe-area-inset-right));
    background: color-mix(in srgb, var(--paper) 82%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.brand-link img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(32, 28, 25, 0.16);
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    font-family: var(--serif);
    font-size: 1.02rem;
    font-weight: 600;
}

.brand-text span {
    color: var(--muted);
    font-size: 0.72rem;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
}

.lang-switcher button {
    width: 38px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: 700 0.72rem/1 var(--sans);
}

.lang-switcher button:hover,
.lang-switcher button:focus-visible {
    color: var(--ink);
    outline: none;
}

.lang-switcher button.active {
    background: var(--ink);
    color: var(--paper);
}

.lang-switcher button[data-lang="pt-BR"] {
    width: 54px;
}

.hero {
    position: relative;
    min-height: 88svh;
    display: grid;
    place-items: center;
    padding: 104px 24px 74px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    opacity: 0.16;
    filter: saturate(0.86) contrast(0.92);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--paper) 86%, transparent), color-mix(in srgb, var(--paper) 70%, transparent) 48%, var(--paper) 100%),
        linear-gradient(90deg, var(--paper), transparent 38%, transparent 62%, var(--paper));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    text-align: center;
}

.icon-mark {
    width: 112px;
    height: 112px;
    margin: 0 auto 34px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--sage);
    font-size: 0.77rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: 4.4rem;
    line-height: 0.98;
    font-weight: 560;
}

.tagline {
    max-width: 690px;
    margin: 26px auto 0;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 1.45rem;
    line-height: 1.55;
}

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

.text-link {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 760;
    text-decoration: none;
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.app-store-badge img {
    display: block;
    width: 180px;
    height: 60px;
}

.app-store-badge:focus-visible {
    outline: 2px solid var(--sage);
    outline-offset: 5px;
}

.text-link {
    padding: 0 4px;
    color: var(--sage);
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--sage) 16%, transparent);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.trust-row li {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 640;
}

.trust-row li::before {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526f5a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat,
        color-mix(in srgb, var(--sage) 20%, transparent);
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--ink);
    outline: none;
}

.section {
    padding: 80px 24px;
}

.section-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.section-kicker {
    margin: 0 0 12px;
    color: var(--clay);
    font-size: 0.76rem;
    font-weight: 820;
    text-transform: uppercase;
}

.section-title {
    max-width: 780px;
    margin: 0;
    font-family: var(--serif);
    font-size: 2.65rem;
    line-height: 1.1;
    font-weight: 560;
}

.section-lede {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.experience-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
    gap: 54px;
    align-items: center;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.feature-card {
    min-height: 194px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.feature-card::before {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--accent, var(--sage));
}

.feature-card h3 {
    margin: 0 0 9px;
    font-family: var(--serif);
    font-size: 1.27rem;
    line-height: 1.25;
    font-weight: 620;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.feature-card:nth-child(2) { --accent: var(--blue); }
.feature-card:nth-child(3) { --accent: var(--clay); }
.feature-card:nth-child(4) { --accent: var(--plum); }

.phone-stage {
    justify-self: center;
    width: min(340px, 100%);
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 42px;
    background: color-mix(in srgb, var(--ink) 92%, #000 8%);
    box-shadow: var(--shadow);
}

.phone-stage img {
    display: block;
    width: 100%;
    border-radius: 31px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.privacy-band {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--sage-soft) 74%, transparent), transparent 100%),
        var(--paper-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.privacy-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.52fr);
    gap: 42px;
    align-items: start;
}

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

.privacy-points li {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
    color: var(--muted);
}

.privacy-points strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
}

.closing-band {
    position: relative;
    overflow: hidden;
    padding: 104px 24px 110px;
    text-align: center;
    background:
        linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
    border-top: 1px solid var(--line);
}

.rings {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(760px, 128%);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    color: var(--sage);
    opacity: 0.16;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
    mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

.rings svg {
    width: 100%;
    height: 100%;
}

.closing-inner {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    margin: 0 auto;
}

.closing-band .section-kicker,
.closing-band .section-lede {
    margin-left: auto;
    margin-right: auto;
}

.closing-band .section-title {
    max-width: none;
    margin-top: 6px;
}

.closing-band .section-lede {
    max-width: 560px;
}

.closing-band .hero-actions {
    margin-top: 34px;
}

.cta-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

footer {
    padding: 36px 24px;
}

.footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-support {
    color: var(--muted);
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--ink);
    outline: none;
}

@media (max-width: 900px) {
    .experience-grid,
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .phone-stage {
        width: min(300px, 82vw);
    }
}

@media (max-width: 680px) {
    .topbar {
        align-items: flex-start;
        padding-top: 14px;
    }

    .brand-text span {
        display: none;
    }

    .brand-text strong {
        display: none;
    }

    .lang-switcher {
        flex-wrap: nowrap;
        justify-content: flex-end;
        border-radius: 999px;
        gap: 2px;
    }

    .lang-switcher button {
        width: 31px;
        height: 28px;
        font-size: 0.68rem;
    }

    .lang-switcher button[data-lang="pt-BR"] {
        width: 48px;
    }

    .hero {
        min-height: 90svh;
        padding: 118px 20px 54px;
    }

    .icon-mark {
        width: 86px;
        height: 86px;
        border-radius: 20px;
        margin-bottom: 26px;
    }

    h1 {
        font-size: 2.72rem;
        line-height: 1.02;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .section {
        padding: 62px 20px;
    }

    .section-title {
        font-size: 2.05rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

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

    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }

    .closing-band {
        padding: 74px 20px 80px;
    }
}

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

}
