/* Apple Watch Page */

.aw-hero {
    padding: 96px 0 76px;
}

.aw-hero-inner {
    max-width: 980px;
}

.aw-eyebrow {
    margin: 0 0 24px;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aw-hero h1 {
    margin: 0;
    font-size: clamp(54px, 6vw, 82px);
    line-height: .96;
    letter-spacing: -0.065em;
    font-weight: 700;
    white-space: nowrap;
}

.aw-hero-subtitle {
    margin: 28px 0 0;
    color: #55555a;
    font-size: 22px;
    line-height: 1.38;
    letter-spacing: -0.035em;
}

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

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

/* Showcase */

.aw-showcase-section {
    padding: 0 0 72px;
}

.aw-showcase-card {
    display: grid;
    grid-template-columns: minmax(300px, 470px) 1px minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    min-height: 560px;
    padding: 56px 64px;
    border-radius: 34px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    border: 1px solid rgba(0, 0, 0, .055);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .05);
}

.aw-showcase-card::before {
    content: "";
    width: 1px;
    height: 100%;
    min-height: 390px;
    background: rgba(0, 0, 0, .085);
    grid-column: 2;
    grid-row: 1;
}

.aw-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    grid-column: 1;
}

.aw-showcase-item {
    border: 1px solid rgba(0, 0, 0, .07);
    background: rgba(255, 255, 255, .78);
    color: #1d1d1f;
    width: 100%;
    min-height: 82px;
    border-radius: 20px;
    cursor: pointer;
    text-align: left;
    padding: 22px 24px;
    transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, min-height .22s ease;
}

.aw-showcase-item.active {
    min-height: 172px;
    padding-top: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(248,248,250,.92) 100%);
    border-color: rgba(0, 0, 0, .045);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .035);
}

.aw-item-header {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 16px;
}

.aw-showcase-item.active .aw-item-header {
    align-items: start;
}

.aw-item-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.aw-item-content {
    min-width: 0;
}

.aw-item-title {
    margin: 0;
    display: block;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.aw-item-description {
    display: none;
    margin: 28px 0 0;
    max-width: 34ch;
    color: #55555a;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: -0.025em;
}

.aw-showcase-item.active .aw-item-description {
    display: block;
}

.aw-chevron {
    width: 13px;
    height: 13px;
    border-right: 2px solid #1d1d1f;
    border-bottom: 2px solid #1d1d1f;
    transform: rotate(45deg);
    margin-top: -6px;
    justify-self: end;
    opacity: .86;
    transition: transform .22s ease;
}

.aw-showcase-item.active .aw-chevron {
    transform: rotate(225deg);
    margin-top: 7px;
}

.aw-inline-visual {
    display: none;
    
}

.aw-showcase-visual {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.aw-showcase-visual img {
    width: min(100%, 520px);
    max-height: 500px;
    object-fit: contain;
}

.aw-showcase-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
}

.aw-showcase-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9dd;
}

.aw-showcase-dots span.active {
    background: #000;
}

/* Features */

.aw-feature-strip {
    padding: 4px 0 70px;
}

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

.aw-feature {
    position: relative;
    text-align: center;
    padding: 0 34px;
}

.aw-feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    width: 1px;
    height: 150px;
    background: rgba(0, 0, 0, .09);
}

.aw-feature-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 22px;
    color: #000;
}

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

.aw-feature h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.aw-feature p {
    margin: 14px auto 0;
    max-width: 24ch;
    color: #55555a;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: -0.025em;
}

/* Closing */

.aw-closing-section {
    padding: 0 0 42px;
}

.aw-closing-card {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 24px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    border: 1px solid rgba(0, 0, 0, .065);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .04);
}

.aw-closing-card h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.aw-closing-card p {
    margin: 12px 0 0;
    color: #55555a;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.035em;
}

/* Utility */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */

@media (max-width: 1100px) {
    .aw-showcase-card {
        display: block;
        padding: 42px;
    }

    .aw-showcase-card::before,
    .aw-showcase-visual,
    .aw-showcase-dots,
    .aw-chevron {
        display: none;
    }

    .aw-showcase-list {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .aw-showcase-item,
    .aw-showcase-item.active {
        min-height: auto;
        cursor: default;
        padding: 30px;
        box-shadow: 0 16px 38px rgba(0, 0, 0, .035);
        background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,248,250,.94) 100%);
        border-color: rgba(0, 0, 0, .055);
    }

    .aw-item-header,
    .aw-showcase-item.active .aw-item-header {
        align-items: start;
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .aw-item-description {
        display: block;
    }

    .aw-inline-visual {
        display: block;
        margin-top: 40px;
    }

    .aw-inline-visual img {
        width: 100%;
        max-width: 250px;
        max-height: none;
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }

    .aw-feature {
        padding: 0 24px;
    }
}

@media (max-width: 860px) {
    .aw-hero {
        padding: 72px 0 58px;
    }

    .aw-hero h1 {
        white-space: normal;
        max-width: 9ch;
        font-size: clamp(48px, 12vw, 68px);
    }

    .aw-hero-subtitle {
        font-size: 20px;
    }

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

    .aw-feature:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 620px) {
    .aw-hero {
        padding: 58px 0 48px;
    }

    .aw-hero h1 {
        max-width: none;
        font-size: clamp(42px, 11vw, 56px);
        line-height: 1;
    }

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

    .aw-showcase-section {
        padding-bottom: 56px;
    }

    .aw-showcase-card {
        padding: 24px;
        border-radius: 28px;
        min-height: auto;
    }

    .aw-showcase-item,
    .aw-showcase-item.active {
        padding: 22px;
    }

    .aw-item-header,
    .aw-showcase-item.active .aw-item-header {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 14px;
    }

    .aw-item-title {
        font-size: 18px;
    }

    .aw-item-description {
        margin-top: 22px;
        font-size: 15px;
    }

    .aw-inline-visual {
        margin-top: 26px;
    }

    .aw-inline-visual img {
        max-width: 260px;
    }

    .aw-feature-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .aw-feature::after {
        display: none;
    }

    .aw-closing-card {
        min-height: 112px;
        padding: 24px 20px;
    }

    .aw-closing-card h2 {
        font-size: 32px;
    }

    .aw-closing-card p {
        font-size: 16px;
    }
}