:root {
    --tp-red: #d5092f;
    --tp-red-dark: #a90f28;
    --tp-red-soft: #fff1f3;
    --tp-green: #1f7a35;
    --tp-green-dark: #155d27;
    --tp-green-soft: #eef8f1;
    --tp-navy: #101828;
    --tp-text: #344054;
    --tp-muted: #667085;
    --tp-border: #e5e7eb;
    --tp-white: #ffffff;
    --tp-soft: #fafafa;
    --tp-shadow: 0 20px 60px rgba(16, 24, 40, .10);
    --tp-radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--tp-text);
    background: var(--tp-white);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    color: #fff;
    background: #111827;
    text-decoration: none;
}

    .skip-link:focus {
        top: 16px;
    }

/* HEADER */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 3px solid var(--tp-red);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 18px rgba(16,24,40,.04);
}

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

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

.brand-logo {
    display: block;
    width: auto;
    height: 68px;
    object-fit: contain;
}

.brand-logo-footer {
    height: 58px;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    color: #fff;
    background: var(--tp-red);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(213,9,47,.18);
}

    .topbar-link:hover {
        background: var(--tp-red-dark);
    }

/* HERO */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 92px 0 100px;
    background: radial-gradient(circle at 8% 0%, rgba(213,9,47,.10), transparent 33%), radial-gradient(circle at 90% 22%, rgba(31,122,53,.10), transparent 30%), linear-gradient(180deg, #fff 0%, #fffdfd 100%);
}

    .hero::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 6px;
        background: linear-gradient(90deg, var(--tp-red) 0 64%, var(--tp-green) 64% 100%);
    }

.hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
}

.hero-orb-one {
    width: 430px;
    height: 430px;
    right: -150px;
    top: -130px;
    background: rgba(213,9,47,.07);
}

.hero-orb-two {
    width: 250px;
    height: 250px;
    left: -110px;
    bottom: -95px;
    background: rgba(31,122,53,.07);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr);
    gap: 72px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tp-red);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .15em;
}

    .eyebrow::before {
        content: "";
        width: 26px;
        height: 3px;
        border-radius: 4px;
        background: currentColor;
    }

.hero h1 {
    margin: 18px 0 22px;
    color: var(--tp-navy);
    font-size: clamp(44px,6vw,74px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

    .hero h1 span {
        color: var(--tp-red);
    }

.hero-lead {
    max-width: 690px;
    margin: 0;
    color: var(--tp-muted);
    font-size: clamp(18px,2vw,21px);
    line-height: 1.72;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 24px;
}

    .hero-points span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: var(--tp-text);
        font-size: 14px;
        font-weight: 650;
    }

    .hero-points i {
        display: inline-grid;
        place-items: center;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        color: #fff;
        background: var(--tp-green);
        font-style: normal;
        font-size: 12px;
        font-weight: 900;
    }

.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.store-badge {
    display: inline-flex;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(16,24,40,.10);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .store-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 32px rgba(16,24,40,.16);
    }

    .store-badge img {
        display: block;
        width: auto;
        height: 58px;
        border-radius: 10px;
    }

.account-note {
    max-width: 670px;
    margin: 22px 0 0;
    color: #667085;
    font-size: 14px;
}

/* PHONE */
.hero-visual {
    position: relative;
    min-height: 610px;
    display: grid;
    place-items: center;
}

.phone {
    width: min(330px,82vw);
    padding: 12px;
    border-radius: 43px;
    background: #151515;
    box-shadow: 0 35px 90px rgba(16,24,40,.24);
    transform: rotate(2deg);
}

.phone-screen {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    padding: 45px 20px 24px;
    border-radius: 33px;
    background: radial-gradient(circle at 90% 0%, rgba(213,9,47,.13), transparent 32%), radial-gradient(circle at 0% 100%, rgba(31,122,53,.10), transparent 34%), #fafafa;
}

.phone-notch {
    position: absolute;
    top: 19px;
    left: 50%;
    z-index: 2;
    width: 110px;
    height: 26px;
    border-radius: 0 0 18px 18px;
    background: #151515;
    transform: translateX(-50%);
}

.mini-brand {
    display: flex;
    align-items: center;
}

.mini-logo {
    width: auto;
    height: 42px;
    object-fit: contain;
}

.welcome-card {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding: 22px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--tp-red-dark), var(--tp-red));
    box-shadow: 0 18px 45px rgba(213,9,47,.23);
}

.welcome-kicker {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
    opacity: .8;
}

.welcome-card strong {
    font-size: 21px;
    line-height: 1.2;
}

.welcome-sub {
    font-size: 12px;
    opacity: .88;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 11px;
    margin-top: 16px;
}

.mini-card {
    display: grid;
    gap: 3px;
    min-height: 105px;
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(16,24,40,.06);
}

.mini-card-red .mini-icon {
    color: var(--tp-red);
}

.mini-card-green .mini-icon {
    color: var(--tp-green);
}

.mini-icon {
    font-size: 21px;
    font-weight: 850;
}

.mini-card strong {
    color: var(--tp-navy);
    font-size: 13px;
}

.mini-card small {
    color: #98a2b3;
    font-size: 10px;
}

.message-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 15px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(16,24,40,.06);
}

.message-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: var(--tp-green);
    font-size: 10px;
    font-weight: 850;
}

.message-card span:last-child {
    display: grid;
    gap: 2px;
}

.message-card strong {
    color: var(--tp-navy);
    font-size: 12px;
}

.message-card small {
    color: #98a2b3;
    font-size: 9px;
}

.floating-chip {
    position: absolute;
    padding: 11px 15px;
    border: 1px solid rgba(229,234,242,.95);
    border-radius: 999px;
    color: var(--tp-navy);
    background: rgba(255,255,255,.95);
    box-shadow: 0 14px 40px rgba(16,24,40,.12);
    font-size: 12px;
    font-weight: 750;
    backdrop-filter: blur(12px);
}

.chip-one {
    left: 0;
    top: 27%;
    border-left: 4px solid var(--tp-red);
}

.chip-two {
    right: -10px;
    bottom: 26%;
    border-left: 4px solid var(--tp-green);
}

/* SHARED SECTIONS */
.feature-section,
.download-section,
.account-section {
    padding: 96px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

    .section-heading h2 {
        margin: 15px 0 14px;
        color: var(--tp-navy);
        font-size: clamp(31px,4vw,46px);
        line-height: 1.12;
        letter-spacing: -.045em;
    }

    .section-heading p {
        margin: 0;
        color: var(--tp-muted);
        font-size: 17px;
    }

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

.feature-card {
    min-height: 230px;
    padding: 28px;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 45px rgba(16,24,40,.08);
    }

.feature-red:hover {
    border-color: rgba(213,9,47,.30);
}

.feature-green:hover {
    border-color: rgba(31,122,53,.30);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 14px;
    font-size: 22px;
    font-weight: 850;
}

.feature-red .feature-icon {
    color: var(--tp-red);
    background: var(--tp-red-soft);
}

.feature-green .feature-icon {
    color: var(--tp-green);
    background: var(--tp-green-soft);
}

.feature-card h3 {
    margin: 0 0 9px;
    color: var(--tp-navy);
    font-size: 19px;
    letter-spacing: -.02em;
}

.feature-card p {
    margin: 0;
    color: var(--tp-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* DOWNLOAD */
.download-section {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 35px rgba(16,24,40,.05);
}

.qr-red {
    border-top: 5px solid var(--tp-red);
}

.qr-green {
    border-top: 5px solid var(--tp-green);
}

.share-qr-card {
    border-top: 5px solid #111827;
}

.qr-image-wrap {
    display: grid;
    place-items: center;
    width: min(220px,100%);
    aspect-ratio: 1;
    padding: 12px;
    border: 1px solid var(--tp-border);
    border-radius: 20px;
    background: #fff;
}

.qr-card h3 {
    margin: 20px 0 5px;
    color: var(--tp-navy);
    font-size: 21px;
}

.qr-card p {
    min-height: 46px;
    margin: 0 0 18px;
    color: var(--tp-muted);
    font-size: 14px;
}

.qr-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #fff;
    background: var(--tp-red);
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.qr-green .qr-link {
    background: var(--tp-green);
}

.share-qr-card .qr-link {
    background: #111827;
}

.qr-link:hover {
    filter: brightness(.94);
}

/* SHARE */
.share-section {
    padding: 86px 0;
    background: #fff;
}

.share-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: center;
    padding: 48px;
    border-radius: 30px;
    color: #fff;
    background: radial-gradient(circle at 95% 0%, rgba(255,255,255,.13), transparent 30%), linear-gradient(135deg, var(--tp-red-dark), var(--tp-red) 58%, #df2548);
    box-shadow: 0 30px 75px rgba(169,15,40,.22);
}

    .share-panel::after {
        content: "";
        position: absolute;
        right: -60px;
        bottom: -90px;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: rgba(31,122,53,.30);
    }

.eyebrow-light {
    color: #fff;
}

.share-panel h2 {
    margin: 14px 0 10px;
    font-size: clamp(29px,4vw,42px);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.share-panel p {
    margin: 0;
    color: rgba(255,255,255,.84);
}

.share-actions {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 14px;
    color: #fff;
    background: rgba(255,255,255,.11);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

    .share-btn:hover {
        background: rgba(255,255,255,.20);
        transform: translateY(-1px);
    }

.social-dot {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 9px;
    color: #fff;
    background: var(--tp-green);
    font-size: 11px;
    font-weight: 850;
}

/* ACCOUNT */
.account-section {
    padding-top: 30px;
}

.account-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px 44px;
    border: 1px solid var(--tp-border);
    border-left: 6px solid var(--tp-green);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(16,24,40,.05);
}

    .account-panel h2 {
        max-width: 720px;
        margin: 14px 0 8px;
        color: var(--tp-navy);
        font-size: clamp(26px,3.5vw,36px);
        line-height: 1.16;
        letter-spacing: -.035em;
    }

    .account-panel p {
        max-width: 760px;
        margin: 0;
        color: var(--tp-muted);
    }

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 19px;
    border-radius: 14px;
    color: #fff;
    background: var(--tp-red);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(213,9,47,.20);
}

    .primary-link:hover {
        background: var(--tp-red-dark);
    }

/* FOOTER */
.footer {
    margin-top: 20px;
    padding: 42px 0;
    border-top: 4px solid var(--tp-red);
    background: #fbfbfb;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

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

    .footer-links a {
        color: var(--tp-muted);
        font-size: 13px;
        font-weight: 650;
        text-decoration: none;
    }

        .footer-links a:hover {
            color: var(--tp-red);
        }

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    color: #98a2b3;
    font-size: 12px;
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 100;
    padding: 11px 16px;
    border-radius: 12px;
    color: #fff;
    background: var(--tp-green-dark);
    box-shadow: 0 12px 35px rgba(16,24,40,.25);
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%,20px);
    transition: opacity .2s ease, transform .2s ease;
}

    .copy-toast.show {
        opacity: 1;
        transform: translate(-50%,0);
    }

/* ACCESSIBILITY */
.store-badge:focus-visible,
.topbar-link:focus-visible,
.qr-link:focus-visible,
.share-btn:focus-visible,
.primary-link:focus-visible,
.footer a:focus-visible {
    outline: 3px solid rgba(213,9,47,.28);
    outline-offset: 3px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .hero {
        padding-top: 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-lead,
    .account-note {
        margin-inline: auto;
    }

    .hero-points,
    .store-badges {
        justify-content: center;
    }

    .hero-visual {
        min-height: 590px;
    }

    .feature-grid,
    .qr-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .share-panel {
        grid-template-columns: 1fr;
    }

    .account-panel {
        grid-template-columns: 1fr;
    }

    .primary-link {
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(100% - 28px,1180px);
    }

    .topbar-inner {
        min-height: 70px;
    }

    .brand-logo {
        height: 56px;
    }

    .topbar-link {
        min-height: 40px;
        padding: 8px 13px;
        font-size: 13px;
    }

    .hero {
        padding: 58px 0 72px;
    }

        .hero h1 {
            font-size: clamp(42px,14vw,62px);
        }

    .hero-lead {
        font-size: 17px;
    }

    .hero-points {
        flex-direction: column;
        align-items: center;
    }

    .store-badges {
        flex-direction: column;
    }

    .store-badge img {
        height: 56px;
    }

    .hero-visual {
        min-height: 545px;
    }

    .phone {
        transform: none;
    }

    .phone-screen {
        min-height: 520px;
    }

    .floating-chip {
        display: none;
    }

    .feature-section,
    .download-section,
    .share-section,
    .account-section {
        padding: 70px 0;
    }

    .feature-grid,
    .qr-grid,
    .share-actions {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
    }

    .share-panel {
        padding: 32px 22px;
        border-radius: 24px;
    }

    .account-section {
        padding-top: 12px;
    }

    .account-panel {
        padding: 30px 24px;
    }

    .primary-link {
        width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
