.product-page {
    --ink: #171a21;
    --muted: #515864;
    --pale: #f2f4f7;
    --radius: .7rem;
    --stage: #171c26;
    --header-offset: 5.2rem;
    color: var(--ink);
}

.product-page .button { border-radius: 2rem; }
.product-page .nav { min-height: 4.4rem; }
.product-page .nav nav { gap: clamp(.65rem, 2.4vw, 2.4rem); }
.product-page .nav nav a { white-space: nowrap; }
.product-page .site-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 1px 0 rgb(23 26 33 / 9%);
    backdrop-filter: blur(12px);
}
.product-page :is(main, section[id], #features) { scroll-margin-block-start: var(--header-offset); }
.product-page .hero { background: #eef1f5; padding-bottom: clamp(2.2rem, 5.5vw, 5rem); }
.product-page .hero-copy {
    text-align: center;
    padding-block: clamp(2.8rem, 6vw, 5.2rem) clamp(1.85rem, 4vw, 3.8rem);
}
.product-page .hero h1 { font-size: clamp(2.5rem, 6.3vw, 5.9rem); letter-spacing: -.065em; line-height: 1.08; }
.product-page .hero h1 span { display: inline-block; color: inherit; white-space: nowrap; }
.product-page .actions { justify-content: center; margin-top: 1.35rem; }

.hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    grid-template-areas: "box slogan";
    border-radius: clamp(1rem, 2vw, 1.6rem);
    overflow: hidden;
    background: #eef1f5;
}
.hero-slogan {
    grid-area: slogan;
    align-self: center;
    padding-inline: clamp(1rem, 3.4vw, 3rem) .75rem;
    color: var(--muted);
    font-size: clamp(1.08rem, 1.7vw, 1.7rem);
    font-weight: 500;
    line-height: 1.35;
}
.hero-slogan strong {
    display: block;
    margin-top: .24em;
    color: var(--accent);
    font-size: clamp(1.55rem, 2.9vw, 3.05rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.2;
}
.product-page .hero-product { grid-area: box; align-items: stretch; }
.product-page .hero-product img {
    align-self: center;
    aspect-ratio: 1.42;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent),
        linear-gradient(to bottom, transparent, black 7%, black 91%, transparent);
    mask-composite: intersect;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: var(--radius);
    background: #dce2ec;
}
.pain-grid article {
    padding: clamp(1.3rem, 3.3vw, 3rem);
    background: #f2f4f7;
}
.pain-grid p { max-width: 30rem; margin-top: .7rem; }
.solution { background: #e8eef9; }
.solution-list { display: grid; gap: 1px; background: #d7e0ef; }
.solution-list > div {
    display: grid;
    grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
    gap: .35rem 1.4rem;
    align-items: baseline;
    padding: clamp(.9rem, 2.4vw, 1.75rem) 0;
    background: #e8eef9;
}
.solution-list > div:first-child { padding-top: 0; }
.solution-list dt { font-size: clamp(1.05rem, 1.8vw, 1.45rem); font-weight: 700; }
.solution-list dd { color: var(--muted); }

.connection-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin: 0;
    padding: clamp(1rem, 3.5vw, 3rem);
    list-style: none;
    border-radius: var(--radius);
    background: #f0f3f8;
}
.connection-path li {
    position: relative;
    display: grid;
    grid-template-rows: 4.5rem auto auto;
    align-items: center;
    justify-items: center;
    text-align: center;
}
.connection-path .flow-symbol { margin: 0; }
.connection-path img { width: min(8rem, 95%); height: 4.5rem; object-fit: cover; mix-blend-mode: multiply; }
.connection-path h3 { margin-top: .35rem; }
.connection-path p { margin-top: .35rem; }
.connection-path li:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: .85rem;
    left: 100%;
    transform: translateX(-25%);
    color: #626e82;
    font-size: 1.45rem;
    line-height: 1;
}
.connection-ports {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    margin-top: 1rem;
    padding: clamp(1rem, 2.5vw, 2rem);
    background: #f5f7fa;
    border-radius: var(--radius);
}
.port-photo { position: relative; margin: 0; }
.port-photo img { width: 100%; border-radius: var(--radius); }
.status-light {
    position: absolute;
    translate: -50% -50%;
    width: clamp(.65rem, 1.2vw, 1.05rem);
    aspect-ratio: 1;
    border: 2px solid;
    border-radius: 50%;
}
.status-light-bluetooth { left: 27.2%; top: 53.4%; color: #72adff; }
.status-light-power { left: 27.4%; top: 60.7%; color: #ff777d; }
.port-marker {
    position: absolute;
    top: 61.5%;
    height: 18%;
    translate: -50% 0;
    display: grid;
    align-items: end;
}
.port-marker-power { left: 50%; }
.port-marker-headset { left: 70.8%; }
.port-marker::before {
    content: '';
    position: absolute;
    left: calc(50% - 1px);
    inset-block: 0 1rem;
    border-inline-start: 2px solid #698fff;
    filter: drop-shadow(0 0 1px #fff);
}
.port-number {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
}
.port-list { margin: .85rem 0 0; }
.port-list > div { padding: .7rem 0; }
.port-list > div + div { border-top: 1px solid var(--line); }
.port-list dt { display: flex; align-items: center; gap: .55rem; font-weight: 700; }
.port-list dd {
    margin: .25rem 0 0 2rem;
    color: var(--muted);
}
.status-lights {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.25rem;
    row-gap: .4rem;
    margin: .4rem 0 0;
    padding-top: .85rem;
    border-top: 1px solid var(--line);
    font-size: .9rem;
}
.status-lights > div, .status-lights dt { display: flex; align-items: center; gap: .4rem; }
.status-lights dt { font-weight: 700; }
.status-lights dd { color: var(--muted); }
.status-dot { width: .55rem; height: .55rem; border-radius: 50%; }
.status-dot-power { background: #c63143; }
.status-dot-bluetooth { background: #245fcb; }

.software { background: var(--stage); color: #fff; }
.software .section-head p, .scene-copy p { color: #c4cedd; }
.software-switch { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.software-switch button {
    min-height: 2.75rem;
    padding: .35rem 1.05rem;
    border: 1px solid #647187;
    border-radius: 2rem;
    background: transparent;
    color: #f4f7fc;
    font-weight: 650;
}
.software-switch button:hover { background: #344158; }
.software-switch button[aria-selected=true] { background: #e5ecf9; color: #151e31; border-color: #e5ecf9; }
.software-stage { position: relative; --arrow-inset: .25rem; }
.software-controls {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: .55rem;
}
.software-arrow {
    position: absolute;
    z-index: 1;
    inset-block-start: 50%;
    translate: 0 -50%;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 50%;
    background: rgb(23 28 38 / 64%);
    color: rgb(255 255 255 / 64%);
    font-size: 1.65rem;
    line-height: 1;
}
.software-arrow[data-software-step="-1"] { inset-inline-start: var(--arrow-inset); }
.software-arrow[data-software-step="1"] { inset-inline-end: var(--arrow-inset); }
.software-arrow:hover, .software-arrow:focus-visible { background: #344158; color: #fff; }
.software-dots { display: flex; }
.software-dot {
    display: grid;
    place-items: center;
    width: 1.55rem;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: .3rem;
    background: transparent;
}
.software-dot::before {
    content: '';
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: rgb(255 255 255 / 34%);
}
.software-dot[aria-current=true]::before { width: .62rem; height: .62rem; background: rgb(255 255 255 / 76%); }
.software-dot:hover::before, .software-dot:focus-visible::before { background: #fff; }
.software-announcement {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.software-scenes { display: grid; gap: 1rem; }
.software-scene {
    display: grid;
    grid-template-columns: minmax(0, .37fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    padding: clamp(1.2rem, 3.3vw, 3.25rem);
    background: #222b3b;
    border-radius: var(--radius);
}
.software-scene h3 { font-size: clamp(1.25rem, 2.3vw, 2rem); }
.scene-copy p { margin-top: .65rem; }
.software-scene img { width: 100%; border-radius: calc(var(--radius) * .75); background: #edf3fa; }
.scene-calendar img { max-width: 20rem; justify-self: center; }
.software-switch[hidden], .software-controls[hidden], .software-arrow[hidden], .software-scene[hidden] { display: none; }
.software-scene[role=tabpanel] img {
    height: clamp(17rem, 27vw, 24rem);
    object-fit: contain;
    background: transparent;
}

.product-page .hardware { background: #f1f3f5; }
.product-page .hardware-grid figure {
    display: flex;
    flex-direction: column;
    background: #e8ebef;
}
.workstation-frame {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.workstation-composition, .workstation-detail { position: relative; }
.product-page .hardware-grid .workstation-composition > img { height: auto; mix-blend-mode: normal; }
.product-page .hardware-grid .workstation-composition .workstation-screen {
    position: absolute;
    top: 4.1%;
    left: 17.9%;
    width: 64.3%;
    height: 46%;
    object-fit: fill;
    border-radius: 2px;
}
.workstation-detail { flex: 1; }
.product-page .hardware-grid .workstation-detail img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-position: center 54%;
    mix-blend-mode: normal;
}
.hardware-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line);
}
.hardware-specs dt { font-size: .9rem; color: var(--muted); }
.hardware-specs dd { margin-top: .2rem; font-weight: 700; }
.product-page .contact { background: #eef1f5; }
.product-page .site-footer { background: var(--stage); }
.business { background: #f5f7fa; }
.business .section-head { margin-bottom: 1.15rem; }

@media (prefers-reduced-motion: no-preference) {
    .hero-stage.is-revealed .hero-product > img { animation: product-enter .9s ease both; }
    .hero-stage.is-revealed .hero-slogan { animation: product-enter .85s .15s ease both; }
    .software-scene[role=tabpanel]:not([hidden]) { animation: product-enter .32s ease both; }
    .is-revealed:not(.hero-stage) {
        animation: section-enter .9s cubic-bezier(.2, .7, .25, 1) both;
    }
    .hardware-grid figure.is-revealed:nth-child(2) { animation-delay: .15s; }
    .connection-path.is-tracing li { animation: connection-highlight .85s ease both; }
    .connection-path.is-tracing li:nth-child(2) { animation-delay: .34s; }
    .connection-path.is-tracing li:nth-child(3) { animation-delay: .68s; }
    .connection-path.is-tracing li:not(:last-child)::after { animation: connection-highlight .68s .18s ease both; }
    .connection-path.is-tracing li:nth-child(2)::after { animation-delay: .52s; }
    .connection-path.is-tracing li .flow-symbol { animation: connection-icon .85s ease both; }
    .connection-path.is-tracing li:nth-child(3) .flow-symbol { animation-delay: .68s; }
}
@keyframes section-enter {
    from { opacity: .45; translate: 0 1.3rem; }
    to { opacity: 1; translate: 0 0; }
}
@supports (animation-timeline: view()) {
    @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
        .hardware-grid figure:first-child { view-timeline: --hardware-detail block; }
        .workstation-composition {
            animation: hardware-closeup linear both;
            animation-duration: auto;
            animation-timeline: --hardware-detail;
            animation-range: entry 10% cover 52%;
        }
    }
}
@keyframes hardware-closeup {
    from { scale: 1; }
    to { scale: 1.065; }
}
@keyframes product-enter {
    from { opacity: .4; translate: 0 .55rem; }
    to { opacity: 1; translate: 0 0; }
}
@keyframes connection-highlight {
    30%, 62% { color: var(--accent); }
}
@keyframes connection-icon {
    30%, 62% { background: var(--accent); color: #fff; }
}

@media (max-width: 899px) {
    .software-scene { grid-template-columns: 1fr; }
    .software-scene[role=tabpanel] { grid-template-rows: minmax(7rem, auto) auto; }
    .software-scene[role=tabpanel] img { height: clamp(10rem, 52vw, 21rem); }
}
@media (min-width: 1100px) {
    .software-stage {
        --arrow-inset: calc(0px - max(3rem, (100vw - 100%) / 2 - clamp(1rem, 4vw, 4.75rem)));
    }
}
@media (max-width: 780px) {
    .product-page .nav { min-height: 0; }
    .hero-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "slogan" "box"; }
    .product-page .hero h1 span { display: block; }
    .product-page .hero-copy { padding-top: 2.2rem; }
    .hero-slogan { margin-inline: auto; padding-inline: 0; text-align: center; }
}
@media (max-width: 760px) {
    .product-page { --header-offset: 7.4rem; }
    .product-page .nav nav { gap: .25rem; }
    .pain-grid, .solution-list > div { grid-template-columns: 1fr; }
    .connection-path { grid-template-columns: 1fr; gap: 1.8rem; }
    .connection-ports { grid-template-columns: 1fr; }
    .connection-path li:not(:last-child)::after {
        content: '↓';
        left: 50%;
        top: calc(100% + .15rem);
        transform: translateX(-50%);
    }
}
@media (max-width: 600px) {
    .product-page .hardware-grid { grid-template-columns: 1fr; }
    .workstation-detail { aspect-ratio: 5 / 4; }
}
@media (max-width: 440px) {
    .software-scene[role=tabpanel] { grid-template-rows: minmax(8.5rem, auto) auto; }
    .hardware-specs { grid-template-columns: 1fr; gap: .65rem; }
    .hardware-specs > div { display: grid; grid-template-columns: 5.2rem 1fr; align-items: baseline; }
}
@media (max-width: 380px) {
    .product-page .nav nav a { font-size: .75rem; }
}
