.product-page {
    --page-bg: #fff;
    --page-fg: #182021;
    --page-muted: #455257;
    --line: #d7dfdc;
    --link: var(--product-ink);
    color: var(--page-fg);
    background: var(--page-bg);
    font-family: 'Inter', system-ui, sans-serif;
}

.product-page h1, .product-page h2, .product-page h3 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    text-wrap: balance;
}

.product-wrap {
    width: min(calc(100% - 3rem), 1120px);
    margin-inline: auto;
}

.product-nav {
    background: var(--page-bg);
    border-bottom: 1px solid var(--line);
}

.product-nav nav, .product-footer .product-wrap {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.product-nav nav { min-height: 70px; }
.product-nav .parent-link { font-weight: 650; font-size: .94rem; }
.parent-link span { margin-right: .3em; }

.product-page a:hover { text-decoration: underline; text-underline-offset: .22em; }
.product-page .logo:hover, .product-page .product-button:hover { text-decoration: none; }

.product-hero {
    color: #172021;
    background: linear-gradient(115deg, #fff 0%, var(--product-tint) 67%, var(--product-glow) 135%);
    border-bottom: 1px solid var(--line);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem);
    padding-block: clamp(3rem, 6vw, 5.5rem);
}

.product-intro { max-width: 640px; }
.product-identity { display: flex; align-items: center; gap: .8rem; font-weight: 750; }
.product-identity img { border-radius: 22%; width: 46px; height: 46px; }
.product-intro h1, .info-wrap h1 {
    margin-block: 1.3rem;
    font-size: clamp(2.45rem, 4.9vw, 4.65rem);
    letter-spacing: -.05em;
    line-height: 1.04;
}
.product-intro .lead {
    max-width: 53ch;
    font-size: clamp(1.06rem, 1.6vw, 1.24rem);
    color: #3e4d50;
}
.platforms { color: var(--product-ink); font-weight: 700; font-size: .93rem; margin-top: 1.45rem; }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: 2rem; }
.product-button, .text-action, .parent-link { display: inline-flex; align-items: center; min-height: 44px; }
.product-button {
    gap: .7rem;
    padding: .78rem 1.1rem;
    border-radius: .7rem;
    background: var(--product-ink);
    color: white;
    font-weight: 700;
}
.product-button:hover { filter: brightness(1.13); }
.text-action { font-weight: 650; text-decoration: underline; text-underline-offset: .24em; }
.product-note { margin-top: 1rem; color: #455257; font-size: .89rem; }

.screen-figure, .family-figure { text-align: center; min-width: 0; }
.screen-figure a { display: inline-block; max-width: 100%; border-radius: 1.3rem; }
.screen-figure img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 29rem;
    border: 3px solid #293136;
    border-radius: 1.22rem;
    box-shadow: 0 18px 40px -20px #20303060;
}
.screen-figure figcaption, .family-figure figcaption { margin-top: .8rem; font-size: .88rem; color: #455257; }
.family-figure img {
    width: min(74%, 280px);
    height: auto;
    border-radius: 22%;
    box-shadow: 0 20px 46px -20px var(--product-ink);
}

.product-features { padding-block: clamp(3.25rem, 7vw, 6rem); }
.product-features h2, .info-section h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); line-height: 1.12; }
.product-features h2 { margin-bottom: 2.2rem; }
.feature-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.feature-layout .screen-figure {
    background: var(--product-tint);
    padding: clamp(1.2rem, 3vw, 2.2rem);
    border-radius: 1.2rem;
}
.feature-layout .screen-figure img { max-height: 24rem; }
.feature-layout .wide-screen img { border-radius: .55rem; }
.feature-item { padding: 1.35rem 0; border-top: 1px solid var(--line); }
.feature-item h3, .info-section h3 { font-size: 1.17rem; margin-bottom: .42rem; }
.feature-item p, .info-section p { color: var(--page-muted); line-height: 1.65; }
.feature-layout.text-only { display: block; }
.text-only .feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
.product-footer { border-top: 1px solid var(--line); }
.product-footer .product-wrap { padding-block: 1.5rem; font-size: .91rem; }
.product-footer .product-wrap > a { font-weight: 750; }
.product-footer nav, .info-links { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.product-footer nav a, .info-links a { display: inline-flex; align-items: center; min-height: 44px; }
.product-footer a, .info-wrap a { color: var(--link); }
.info-wrap { width: min(calc(100% - 3rem), 740px); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.info-wrap h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.info-links { margin-bottom: 2.2rem; }
.info-links a, .info-contact a { text-decoration: underline; text-underline-offset: .2em; }
.info-section { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2rem; scroll-margin-top: 1.8rem; }
.info-section h3 { margin-top: 1.6rem; }
.info-contact { margin-top: 2.5rem; }

@media (prefers-color-scheme: dark) {
    .product-page { --page-bg: #13191a; --page-fg: #ecf1ee; --page-muted: #becac7; --line: #374241; --link: var(--product-glow); }
    .product-nav .logo-bold { color: #bda4ff; }
}

@media (max-width: 720px) {
    .product-wrap, .info-wrap { width: min(calc(100% - 2.5rem), 600px); }
    .hero-layout, .feature-layout, .text-only .feature-list { grid-template-columns: 1fr; }
    .hero-layout { gap: 2.5rem; }
    .feature-layout { gap: 1.8rem; }
    .feature-list { grid-row: 1; }
    .text-only .feature-list { gap: 0; }
    .screen-figure img { max-height: 25rem; }
    .product-footer .product-wrap { align-items: flex-start; flex-direction: column; gap: .25rem; }
}
