:root {
    --background: #f5f5f7;
    --surface: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --card-border: rgba(0, 0, 0, 0.055);
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.045);
    --container-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-container {
    width: min(calc(100% - 96px), var(--container-width));
    margin-inline: auto;
}

.tm {
    font-size: .34em;
    vertical-align: super;
    opacity: .62;
    font-weight: 600;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 245, 247, .78);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.site-header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text-primary);
}

/* Hero */

.hero-section {
    padding: 76px 0 92px;
}


.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(300px, 390px);
    justify-content: space-between;
    align-items: start;
    gap: 96px;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(52px, 5vw, 72px);
    line-height: .96;
    letter-spacing: -0.065em;
    font-weight: 700;
}

.hero-subtitle {
    margin: 24px 0 0;
    
    font-size: 20px;
    line-height: 1.46;
    letter-spacing: -0.03em;
    color: var(--text-secondary);
}

.app-store-badge {
    display: inline-flex;
    margin-top: 30px;
}

.app-store-badge img {
    width: 178px;
    height: auto;
}

.platform-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

.platform-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f4f54;
    font-size: 13px;
    font-weight: 500;
}

.platform-item svg {
    width: 17px;
    height: 17px;
}

.platform-divider {
    width: 1px;
    height: 13px;
    background: rgba(0, 0, 0, .1);
}

.hero-note {
    margin: 24px 0 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.hero-visual {
     display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-app-icon-link {
    position: relative;
    display: inline-block;
    width: clamp(250px, 24vw, 340px);
    height: clamp(250px, 24vw, 340px);
    overflow: hidden;
    text-decoration: none;
    --app-icon-mask: url("data:image/svg+xml,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xml%3Aspace%3D%22preserve%22%20viewBox%3D%220%200%20230.5%20230.5%22%3E%0A%20%20%3Cpath%20fill-rule%3D%22evenodd%22%20stroke-linejoin%3D%22round%22%20stroke-miterlimit%3D%221.4%22%20clip-rule%3D%22evenodd%22%20d%3D%22M158.2%20230H64.1a320%20320%200%200%201-7-.1c-5%200-10-.5-15-1.3a50.8%2050.8%200%200%201-14.4-4.8%2048.2%2048.2%200%200%201-21-21%2050.9%2050.9%200%200%201-4.8-14.4%20100.7%20100.7%200%200%201-1.3-15v-7l-.1-8.2V64.1a320%20320%200%200%201%20.1-7c0-5%20.5-10%201.3-15a50.7%2050.7%200%200%201%204.8-14.4%2048.2%2048.2%200%200%201%2021-21%2051%2051%200%200%201%2014.4-4.8c5-.8%2010-1.2%2015-1.3a320%20320%200%200%201%207%200l8.2-.1h94.1a320%20320%200%200%201%207%20.1c5%200%2010%20.5%2015%201.3a52%2052%200%200%201%2014.4%204.8%2048.2%2048.2%200%200%201%2021%2021%2050.9%2050.9%200%200%201%204.8%2014.4c.8%205%201.2%2010%201.3%2015a320%20320%200%200%201%20.1%207v102.3l-.1%207c0%205-.5%2010-1.3%2015a50.7%2050.7%200%200%201-4.8%2014.4%2048.2%2048.2%200%200%201-21%2021%2050.8%2050.8%200%200%201-14.4%204.8c-5%20.8-10%201.2-15%201.3a320%20320%200%200%201-7%200l-8.2.1z%22%2F%3E%0A%3C%2Fsvg%3E%0A");
}

.hero-app-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mask-image: var(--app-icon-mask);
    -webkit-mask-image: var(--app-icon-mask);
}

.app-icon-border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: #000;
    pointer-events: none;
}

/* Ecosystem */

.ecosystem-section {
    padding: 72px 0 96px;
    background: #fbfbfd;
    border-top: 1px solid rgba(0, 0, 0, 0.045);
}

.ecosystem-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 410px) minmax(0, 610px);
    justify-content: space-between;
    align-items: center;
    gap: 64px;
}

.section-copy {
    padding-top: 10px;
}

.eyebrow {
    margin: 0 0 18px;
    color: #86868b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-copy h2 {
    margin: 0;
    font-size: clamp(42px, 4.2vw, 58px);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 700;
}

.section-copy p:last-child {
    margin: 24px 0 0;
    max-width: 30ch;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.56;
    letter-spacing: -0.025em;
}

.watch-card {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    padding: 34px;
    border-radius: 30px;
    background: var(--surface);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.watch-card-copy {
    position: relative;
    z-index: 2;
}

.watch-mini-icon {
    width: 22px;
    height: 22px;
    color: #404045;
}

.watch-card h3 {
    margin: 18px 0 0;
    max-width: 16ch;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.watch-card p {
    margin: 14px 0 0;
    max-width: 27ch;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.56;
}

.watch-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 18px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.watch-read-more span {
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}

.watch-image {
    position: absolute;
    right: 24px;
    bottom: -10px;
    width: 225px;
    z-index: 1;
}

/* Feature cards */

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

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 126px;
    padding: 24px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: #46464b;
}

.feature-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.feature-card p {
    margin: 8px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.45;
}

.feature-arrow {
    margin-left: auto;
    color: #9a9aa0;
    font-size: 18px;
    line-height: 1;
}

/* Trust */

.trust-section {
    padding: 0 0 92px;
}

.trust-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-card {
    display: grid;
    grid-template-columns: 150px 1px minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    min-height: 170px;
    padding: 34px 42px;
    background: var(--surface);
    border-radius: 30px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.trust-icon {
    width: 58px;
    height: 58px;
    justify-self: center;
    color: #3f3f44;
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-divider {
    width: 1px;
    height: 86px;
    background: rgba(0, 0, 0, .08);
}

.trust-copy h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 700;
}

.trust-copy p {
    margin: 14px 0 0;
    max-width: 58ch;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.62;
}

.trust-copy a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.trust-arrow {
    color: #7b7b80;
    font-size: 26px;
}

/* Closing */

.closing-section {
    padding-bottom: 82px;
}

.closing-card {
    text-align: center;
    padding: 66px 32px;
    border-radius: 34px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.closing-icon {
    width: 58px;
    height: 58px;
    margin-inline: auto;
    border-radius: 16px;
    opacity: .68;
}

.closing-card h2 {
    margin: 28px 0 0;
    font-size: clamp(36px, 4vw, 52px);
    line-height: .98;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.closing-card p {
    margin: 18px auto 0;
    max-width: 48ch;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.55;
}

/* Footer */

.site-footer {
    padding: 0 0 46px;
}

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

.site-footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.site-footer-copy {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.site-footer-copy a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-footer-nav a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

/* Responsive */

@media (max-width: 1100px) {
    .site-container {
        width: min(calc(100% - 56px), var(--container-width));
    }

    .ecosystem-intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-copy p:last-child {
        max-width: 100%;
    }

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

    .watch-card {
        min-height: 380px;
    }

    .watch-image {
        width: 250px;
    }
}

@media (max-width: 770px) {
    .hero-grid,
    .ecosystem-intro-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero-visual {
        justify-content: flex-start;
        padding-top: 0;
    }
}

@media (max-width: 820px) {
    .site-nav {
        display: none;
    }

    .site-container {
        width: min(calc(100% - 32px), var(--container-width));
    }

    .hero-section {
        padding: 58px 0 74px;
    }

    .hero-copy h1 {
        font-size: clamp(46px, 13vw, 64px);
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .platform-row {
        align-items: flex-start;
        gap: 14px;
    }

    .platform-divider {
        display: none;
    }

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

    .trust-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px;
    }

    .trust-icon {
        justify-self: start;
    }

    .trust-divider {
        width: 100%;
        height: 1px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .site-footer-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .hero-app-icon-link {
        width: 230px;
        height: 230px;
    }

    .watch-card {
        min-height: 420px;
    }

    .watch-image {
        right: 14px;
        width: 220px;
    }

    .platform-row {
        max-width: 280px;
    }
}