:root {
    --nds-primary: #f47920;
    --nds-primary-soft: #ffa564;
    --nds-secondary: #0b64a9;
    --nds-text: #151515;
    --nds-text-soft: #4c4c4c;
    --nds-muted: #727272;
    --nds-bg: #ffffff;
    --nds-bg-alt: #fbfbfb;
    --nds-card: #f6f6f6;
    --nds-border: #f0f0f0;
    --nds-shadow: 0 20px 45px rgba(19, 21, 27, 0.09);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--nds-bg);
    color: var(--nds-text);
    font-family: "Montserrat", "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1200px 420px at -10% -10%, rgba(244, 121, 32, 0.16), transparent 70%),
        radial-gradient(900px 360px at 110% 0%, rgba(11, 100, 169, 0.12), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.topbar-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 0 0 12px;
}

.nav-link {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #596172;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--nds-primary);
    background: rgba(244, 121, 32, 0.08);
}

.nav-link.is-active {
    color: var(--nds-primary);
    border-color: rgba(244, 121, 32, 0.32);
    background: rgba(244, 121, 32, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand img {
    width: 48px;
    height: 48px;
}

.brand span {
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.topbar-action {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--nds-primary);
    border: 2px solid rgba(244, 121, 32, 0.35);
    border-radius: 999px;
    padding: 10px 16px;
}

.hero {
    padding: 76px 0 38px;
}

.page-hero {
    padding: 58px 0 28px;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: "Source Sans 3", "Montserrat", sans-serif;
}

.page-hero p {
    margin: 14px 0 0;
    color: var(--nds-text-soft);
    line-height: 1.68;
    max-width: 76ch;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 10px;
    color: var(--nds-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-family: "Source Sans 3", "Montserrat", sans-serif;
}

.hero-subtitle {
    margin: 18px 0 0;
    color: var(--nds-text-soft);
    line-height: 1.7;
    max-width: 56ch;
}

.hero-periodo {
    margin: 14px 0 0;
    color: var(--nds-muted);
    font-size: 0.95rem;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--nds-primary) 0%, #ff9f5a 100%);
    box-shadow: 0 16px 32px rgba(244, 121, 32, 0.24);
}

.btn-ghost {
    color: var(--nds-primary);
    border-color: rgba(244, 121, 32, 0.38);
    background: rgba(255, 255, 255, 0.84);
}

.hero-card,
.card,
.support-card {
    background: var(--nds-bg);
    border: 1px solid var(--nds-border);
    border-radius: 16px;
    box-shadow: var(--nds-shadow);
}

.hero-card {
    padding: 26px;
}

.hero-card h2 {
    margin: 0 0 14px;
    font-size: 1.18rem;
}

.hero-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-card li {
    line-height: 1.5;
    color: var(--nds-text-soft);
    padding-left: 18px;
    position: relative;
}

.hero-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.63em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--nds-primary);
}

.section {
    padding: 52px 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(241, 241, 241, 0.45) 0%, rgba(251, 251, 251, 0.9) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.section-head h2,
.downloads-copy h2,
.support-card h2 {
    margin: 0;
    font-family: "Source Sans 3", "Montserrat", sans-serif;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    line-height: 1.15;
}

.steps-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    padding: 22px;
}

.card-index {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #fff3ea;
    color: var(--nds-primary);
    font-weight: 800;
    margin-bottom: 14px;
}

.card h3 {
    margin: 0;
    font-size: 1.08rem;
}

.card p {
    margin: 10px 0 0;
    color: var(--nds-text-soft);
    line-height: 1.65;
    font-size: 0.96rem;
}

.card a {
    display: inline-flex;
    margin-top: 14px;
    text-decoration: none;
    color: var(--nds-primary);
    font-weight: 700;
}

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

.content-wrap {
    background: #fff;
    border: 1px solid var(--nds-border);
    border-radius: 16px;
    box-shadow: var(--nds-shadow);
    padding: 24px;
}

.content-wrap h2 {
    margin: 0 0 12px;
    font-size: 1.5rem;
    font-family: "Source Sans 3", "Montserrat", sans-serif;
}

.content-wrap p {
    margin: 0;
    color: var(--nds-text-soft);
    line-height: 1.66;
}

.pill-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.pill-list li {
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
    color: var(--nds-text-soft);
    line-height: 1.56;
}

.prose {
    background: #fff;
    border: 1px solid var(--nds-border);
    border-radius: 16px;
    box-shadow: var(--nds-shadow);
    padding: 24px;
}

.prose h2 {
    margin: 28px 0 10px;
    font-size: 1.24rem;
    font-family: "Source Sans 3", "Montserrat", sans-serif;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin: 24px 0 10px;
    font-size: 1.06rem;
    font-family: "Source Sans 3", "Montserrat", sans-serif;
}

.prose h2 + p,
.prose h2 + ul,
.prose h2 + ol {
    margin-top: 0;
}

.prose p {
    margin: 0 0 16px;
    color: var(--nds-text-soft);
    line-height: 1.72;
}

.prose ul,
.prose ol {
    margin: 0 0 16px;
    padding-left: 20px;
    color: var(--nds-text-soft);
    line-height: 1.72;
}

.prose li {
    margin-bottom: 6px;
}

.prose a {
    color: var(--nds-secondary);
    font-weight: 700;
    text-decoration: none;
}

.toc-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 6px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid #ececec;
    border-radius: 12px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #ececec;
    color: var(--nds-text-soft);
}

.data-table th {
    color: var(--nds-text);
    background: #fafafa;
    font-weight: 700;
}

.data-table td:last-child,
.data-table th:last-child {
    text-align: center;
    width: 170px;
}

.faq-list {
    display: grid;
    gap: 10px;
    margin-bottom: 8px;
}

.faq-item {
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    font-weight: 700;
    color: #1f2430;
    position: relative;
    padding-right: 44px;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nds-primary);
    font-size: 1.2rem;
    line-height: 1;
}

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

.faq-answer {
    border-top: 1px solid #f0f0f0;
    padding: 12px 16px 14px;
}

.faq-answer p {
    margin: 0;
}

.cta-strip {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--nds-border);
    background: linear-gradient(145deg, #ffffff 0%, #fff7f1 100%);
    box-shadow: var(--nds-shadow);
}

.cta-strip h2 {
    margin: 0;
    font-family: "Source Sans 3", "Montserrat", sans-serif;
}

.cta-strip p {
    margin: 8px 0 0;
    color: var(--nds-text-soft);
}

.action-group {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.legal-card {
    background: var(--nds-card);
}

.legal-card a {
    margin-top: 15px;
    display: inline-flex;
    text-decoration: none;
    color: var(--nds-primary);
    font-weight: 700;
}

.downloads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
}

.downloads-copy p {
    margin: 12px 0 0;
    color: var(--nds-text-soft);
    max-width: 54ch;
    line-height: 1.65;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.store-badges a {
    display: inline-flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--nds-shadow);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px;
}

.store-badges img {
    width: min(255px, 100%);
    height: auto;
    display: block;
}

.appstores-panel {
    background: #fff;
    border: 1px solid var(--nds-border);
    border-radius: 20px;
    box-shadow: var(--nds-shadow);
    padding: 34px 22px;
    text-align: center;
}

.appstores-logo {
    width: min(140px, 42vw);
    height: auto;
    display: block;
    margin: 0 auto 18px;
}

.appstores-panel h2 {
    margin: 0 0 20px;
    font-family: "Source Sans 3", "Montserrat", sans-serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.appstores-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 290px));
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.appstores-badges a {
    width: 100%;
    justify-content: center;
}

.appstores-badges img {
    width: 100%;
    max-width: 270px;
    margin: 0 auto;
}

.section-support {
    padding-top: 22px;
    padding-bottom: 72px;
}

.support-card {
    padding: 26px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    align-items: center;
}

.support-card p {
    margin: 12px 0 0;
    color: var(--nds-text-soft);
    line-height: 1.65;
}

.support-links {
    display: grid;
    gap: 10px;
}

.support-inline {
    text-decoration: none;
    color: var(--nds-secondary);
    font-weight: 600;
}

.site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    padding: 22px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--nds-muted);
    font-size: 0.9rem;
}

.footer-inner p {
    margin: 0;
}

@media (max-width: 980px) {
    .hero-grid,
    .downloads-grid,
    .support-card,
    .cta-strip {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .topbar-inner {
        min-height: 70px;
    }

    .brand span {
        font-size: 1.1rem;
    }

    .hero {
        padding-top: 52px;
    }

    .steps-grid,
    .legal-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
    }

    .appstores-badges {
        grid-template-columns: 1fr;
    }
}
