: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: 0.34em;
    vertical-align: super;
    opacity: 0.62;
    font-weight: 600;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 245, 247, 0.78);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    border-bottom: 1px solid rgba(0, 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);
    transition: color 180ms ease;
}

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

.menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: 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: 0.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, 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: #000000;
    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: 0.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;
}


.hero-copy .hero-vision-note {
    display: flex;

    align-items: center;
    gap: 10px;
    margin-top: 32px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.hero-copy .hero-vision-note img {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    object-fit: contain;
}

.hero-copy .hero-vision-note span {
  

       line-height: 1.2;
}

/* Feature Grid */

/*
    Desktop layout:
    Top row:
    Spatial Audio = 6 columns
    iCloud Sync = 3 columns
    AirPlay = 3 columns

    Bottom row:
    4 feature cards = 3 columns each
*/

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

.feature-card {
    grid-column: span 3;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.feature-card-standard {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 126px;
    padding: 24px;
}

.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;
    visibility: hidden;
}

/* Tall cards in the first row */

.feature-card-tall {
    min-height: 280px;
    padding: 34px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 22px;
}

.feature-card-tall .feature-icon {
    width: 38px;
    height: 38px;
}

.feature-card-tall h3 {
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.feature-card-tall p {
    max-width: 20ch;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.55;
}

/* Spatial Audio Feature Card */

.feature-card-spatial {
    position: relative;
    grid-column: span 6;
    display: flex;
    align-items: stretch;
    min-height: 280px;
    padding: 30px 32px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            circle at 76% 54%,
            rgba(200, 210, 255, 0.17) 0%,
            rgba(231, 235, 255, 0.09) 30%,
            rgba(255, 255, 255, 0) 65%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fefeff 52%,
            #fafbff 100%
        );
}

.feature-card-spatial::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.9) 40%,
            rgba(255, 255, 255, 0) 70%
        );
}

.spatial-card-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 48%;
    min-width: 0;
}

.spatial-kicker {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    color: #86868b;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.spatial-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card-spatial .spatial-symbol {
    width: 26px;
    height: 26px;
    max-width: 26px;
    max-height: 26px;
    flex: 0 0 26px;
    object-fit: contain;
}

.feature-card-spatial h3 {
    margin: 0;
    max-width: 10ch;
    font-size: clamp(27px, 2.55vw, 34px);
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.feature-card-spatial .spatial-card-copy > p:not(.spatial-kicker) {
    margin: 16px 0 0;
    max-width: 27ch;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.spatial-card-visual {
    position: absolute;
    top: 50%;
    right: 1%;
    z-index: 1;
    width: 56%;
    height: 92%;
    transform: translateY(-50%);
    pointer-events: none;
}

.spatial-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

/* Trust */

.trust-section {
    padding: 30px 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, 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-copy sup.tm {
    position: relative;
    top: -0.4em;
    margin-left: 1px;
    font-size: 0.65em;
    line-height: 0;
}

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

/* Closing */

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

.closing-card {
    padding: 66px 32px;
    text-align: center;
    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: 0.68;
}

.closing-card h2 {
    margin: 28px 0 0;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 0.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;
}

.access-icon {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Responsive — Laptop and iPad Landscape */

@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%;
    }

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

    .watch-image {
        width: 250px;
    }

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

    .feature-card {
        grid-column: span 1;
    }

    .feature-card-spatial {
        grid-column: 1 / -1;
        min-height: 320px;
    }

    .feature-card-tall {
        min-height: 210px;
    }

    .spatial-card-copy {
        width: 46%;
    }

    .spatial-card-visual {
        right: 2%;
        width: 54%;
        height: 94%;
    }
}

/* Responsive — iPad Portrait and Mobile */

@media (max-width: 820px) {
    .site-header {
        position: relative;
    }

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

    .hero-grid,
    .ecosystem-intro-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

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

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

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

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

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

    .platform-divider {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 68px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
    }

    .site-header.menu-open .site-nav {
        display: flex;
    }

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

    .feature-card,
    .feature-card-spatial {
        grid-column: 1 / -1;
    }

    .feature-card-spatial {
        display: block;
        min-height: 470px;
        padding: 28px;
    }

    .spatial-card-copy {
        display: block;
        width: 100%;
    }

    .spatial-kicker {
        position: static;
        margin: 0 0 26px;
    }

    .feature-card-spatial h3 {
        max-width: none;
        font-size: clamp(30px, 7vw, 38px);
    }

    .feature-card-spatial .spatial-card-copy > p:not(.spatial-kicker) {
        margin-top: 14px;
        font-size: 15px;
    }

    .spatial-card-visual {
        top: auto;
        right: 50%;
        bottom: 4px;
        width: min(88%, 480px);
        height: 62%;
        transform: translateX(50%);
    }

    .feature-card-standard,
    .feature-card-tall {
        min-height: 136px;
        padding: 26px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 18px;
    }

    .feature-card-tall .feature-icon {
        width: 30px;
        height: 30px;
    }

    .feature-card-tall h3 {
        font-size: 15px;
    }

    .feature-card-tall p {
        max-width: none;
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    .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;
    }
}

/* Responsive — Small Mobile */

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

    .watch-card {
        min-height: 520px;
        padding: 30px;
    }

    .watch-card p {
        max-width: 22ch;
    }

    .watch-image {
        right: 50%;
        bottom: -18px;
        width: 190px;
        transform: translateX(50%);
    }

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

    .feature-grid {
        gap: 16px;
        margin-top: 34px;
    }

    .feature-card-spatial {
        min-height: 430px;
        padding: 24px;
        border-radius: 24px;
    }

    .spatial-kicker {
        margin-bottom: 22px;
        font-size: 12px;
    }

    

    .feature-card-spatial h3 {
        font-size: 30px;
    }

    .feature-card-spatial .spatial-card-copy > p:not(.spatial-kicker) {
        max-width: 24ch;
        font-size: 14px;
    }

    .spatial-card-visual {
        bottom: 2px;
        width: 96%;
        height: 58%;
    }

    .feature-card-standard,
    .feature-card-tall {
        min-height: 130px;
        padding: 22px;
        border-radius: 22px;
    }

    .feature-icon,
    .feature-card-tall .feature-icon {
        width: 28px;
        height: 28px;
    }

    .trust-card {
        padding: 26px;
        border-radius: 26px;
    }

    .trust-copy h2 {
        font-size: 30px;
    }

    .closing-card {
        padding: 54px 24px;
        border-radius: 28px;
    }
}

/* Reduced Motion */

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

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