/* Shared product pages. Base tokens, navigation, buttons and footer live in style.css. */
.app-page .site-header { background: rgba(7, 8, 17, .94); }
.app-page .site-header.is-scrolled { background: rgba(7, 8, 17, .97); }
.app-page main { overflow: clip; }
.app-page .site-nav a[aria-current="page"] { color: var(--accent); }
.app-page .site-nav .nav-cta[aria-current="page"] { color: var(--accent-dark); }
.app-page .site-footer a:hover { color: var(--accent); }
.app-page .site-footer .brand:hover { opacity: .82; }
.apps-hero, .product-hero { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); }
.apps-hero::before, .product-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 76% 42%, rgba(166, 139, 255, .12), transparent 34%), radial-gradient(circle at 22% 66%, rgba(116, 230, 237, .08), transparent 40%); }
.apps-hero { padding: clamp(140px, 11vw, 155px) 0 clamp(60px, 6vw, 75px); }
.apps-hero__layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr); align-items: end; gap: 60px; }
.apps-hero h1, .product-hero h1 { max-width: 850px; margin: 0 0 26px; font-size: clamp(3.7rem, 7.5vw, 7.4rem); line-height: .98; }
.apps-hero h1 { font-size: clamp(3.7rem, 6vw, 6.2rem); }
.apps-hero__intro, .product-hero__intro { max-width: 660px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; }
.apps-hero__aside { padding: 22px 0 8px 28px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: .9rem; }
.apps-hero__aside strong { display: block; margin-bottom: 10px; color: var(--accent); font-family: var(--font-brand); font-size: 1.35rem; font-weight: 500; }
.apps-hero__aside p { margin: 0; }
.apps-list { padding-top: clamp(70px, 8vw, 110px); padding-bottom: clamp(80px, 8vw, 120px); }
.apps-list__heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.apps-list__heading .section-label { margin-bottom: 14px; }
.apps-list__heading h2 { margin: 0; font-size: clamp(2.5rem, 4.5vw, 4rem); }
.apps-list__count { margin: 0 0 6px; color: var(--dim); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.app-listing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .95fr); min-height: 470px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--night-soft); }
.app-listing__content { display: flex; flex-direction: column; padding: clamp(30px, 4vw, 55px); }
.app-listing__identity, .product-identity { display: flex; align-items: center; gap: 17px; }
.app-listing__identity img, .product-identity img { width: 66px; height: 66px; border: 1px solid var(--line); border-radius: 16px; object-fit: cover; }
.app-listing__identity p, .product-identity p { margin: 0 0 3px; color: var(--accent); font-size: .62rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.app-listing__identity span, .product-identity span { color: var(--muted); font-size: .78rem; }
.app-listing h3 { max-width: 500px; margin: 40px 0 17px; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.app-listing__description { max-width: 510px; margin-bottom: 27px; color: var(--muted); font-size: .94rem; }
.platform-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 35px; list-style: none; }
.platform-list li { padding: 5px 10px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: .66rem; }
.app-listing__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: auto; }
.app-listing__visual { display: grid; align-items: center; padding: 32px; background: radial-gradient(circle at 50% 50%, rgba(116, 230, 237, .1), transparent 58%), #101422; border-left: 1px solid var(--line); }
.app-listing__visual img { width: min(100%, 360px); height: auto; margin: auto; border: 1px solid var(--line-strong); border-radius: 5px; box-shadow: 0 26px 55px rgba(0, 0, 0, .42); }
.apps-note { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0 0; color: var(--muted); font-size: .85rem; }
.apps-note p { max-width: 690px; margin: 0; }
.apps-note a { color: var(--accent); white-space: nowrap; }

.product-hero { padding: 140px 0 80px; }
.breadcrumbs { display: flex; gap: 9px; margin-bottom: 55px; color: var(--dim); font-size: .7rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.product-hero__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(45px, 6vw, 90px); }
.product-hero__layout > * { min-width: 0; }
.product-hero h1 { margin-top: 26px; font-size: clamp(3.3rem, 5.7vw, 6.2rem); }
.product-hero__name { margin: 0 0 9px; font-family: var(--font-brand); font-size: 1.55rem; line-height: 1.1; }
.product-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 31px; }
.product-hero__note { margin: 18px 0 0; color: var(--dim); font-size: .71rem; }
.product-hero__visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 16px; align-items: center; }
.product-hero__visual figure { min-width: 0; margin: 0; }
.product-hero__visual img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: 4px; }
.product-hero__visual figcaption { margin-top: 11px; color: var(--muted); font-size: .68rem; }
.product-hero__visual figcaption a { color: var(--accent); text-underline-offset: 3px; }
.product-proof { display: grid; grid-template-columns: repeat(3, 1fr); padding: 25px 0; }
.product-proof p { margin: 0; padding: 5px 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.product-proof p:first-child { padding-left: 0; border-left: 0; }
.product-proof strong { color: var(--ink); font-weight: 650; }
.product-section { padding: clamp(75px, 8vw, 110px) 0; }
.product-section--panel { background: var(--night-soft); border-block: 1px solid var(--line); }
.product-section__header { display: grid; grid-template-columns: 1fr minmax(240px, .5fr); align-items: end; gap: 50px; margin-bottom: 42px; }
.product-section__header .section-label { margin-bottom: 17px; }
.product-section__header h2 { margin: 0; font-size: clamp(2.6rem, 4.8vw, 4.8rem); }
.product-section__header > p { margin: 0 0 5px; color: var(--muted); font-size: .92rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid article { min-height: 240px; padding: 30px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.02); }
.feature-grid .feature-grid__print { border-color: rgba(185, 243, 107, .38); background: rgba(185, 243, 107, .04); }
.feature-grid span { display: inline-block; margin-bottom: 33px; color: var(--accent); font-size: .68rem; font-weight: 650; letter-spacing: .1em; }
.feature-grid h3 { margin-bottom: 15px; font-size: 1.65rem; }
.feature-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: 4px; }
.gallery-grid figcaption { margin-top: 13px; color: var(--muted); font-size: .78rem; }
.download-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: clamp(27px, 4vw, 42px); border: 1px solid rgba(185, 243, 107, .38); border-radius: 5px; background: rgba(185, 243, 107, .05); }
.download-card__label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--accent); font-size: .66rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.platform-icon { width: 24px; height: 24px; flex: none; }
.download-card h3 { margin: 0 0 9px; font-size: 2rem; }
.download-card p:last-child { max-width: 620px; margin: 0; color: var(--muted); font-size: .85rem; }
.download-card .button { white-space: nowrap; }
.download-more { margin-top: 30px; }
.download-more > summary { width: fit-content; padding: 12px 0; color: var(--accent); font-size: .86rem; font-weight: 650; cursor: pointer; }
.download-more > summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.preview-heading { margin: 30px 0 24px; }
.preview-heading h3 { margin: 0 0 8px; font-size: 2.1rem; }
.preview-heading p { max-width: 790px; margin: 0; color: var(--muted); font-size: .85rem; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.download-option { padding: 26px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.02); }
.download-option__heading { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.download-option h4 { margin: 0; font-family: var(--font-brand); font-size: 1.45rem; font-weight: 500; }
.download-option > p { min-height: 43px; margin: 0 0 13px; color: var(--muted); font-size: .78rem; }
.download-option__links { display: flex; flex-wrap: wrap; gap: 10px; }
.download-option a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; color: var(--accent); border: 1px solid var(--line-strong); border-radius: 100px; font-size: .78rem; font-weight: 600; text-decoration: none; }
.download-option a:hover { border-color: var(--accent); background: rgba(185,243,107,.06); }
.download-footnote { max-width: 890px; margin: 23px 0 0; color: var(--dim); font-size: .75rem; }
.support-strip-app { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.support-strip-app p { margin: 0; color: var(--muted); font-size: .84rem; }
.support-strip-app a { color: var(--accent); text-underline-offset: 4px; }
@media (max-width: 980px) {
    .apps-hero__layout, .product-hero__layout { gap: 40px; }
    .app-listing { grid-template-columns: 1fr; }
    .app-listing__visual { border-left: 0; border-top: 1px solid var(--line); }
    .product-section__header { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 760px) {
    .apps-hero__layout, .product-hero__layout { grid-template-columns: minmax(0, 1fr); }
    .apps-hero__aside { max-width: 480px; }
    .product-hero { padding-top: 115px; }
    .breadcrumbs { margin-bottom: 32px; }
    .product-hero__visual { max-width: 700px; }
    .product-proof { grid-template-columns: 1fr; gap: 10px; }
    .product-proof p, .product-proof p:first-child { padding: 0 0 10px; border-left: 0; border-bottom: 1px solid var(--line); }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid article { min-height: auto; }
    .gallery-grid, .download-grid { grid-template-columns: 1fr; }
    .download-card { grid-template-columns: 1fr; }
    .download-card .button { width: fit-content; }
}
@media (max-width: 640px) {
    .app-page .site-nav a[aria-current="page"] { color: var(--accent); }
    .apps-hero { padding-top: 135px; }
    .apps-hero h1, .product-hero h1 { font-size: clamp(3.25rem, 12vw, 4.6rem); }
    .apps-list__heading { align-items: start; }
    .apps-list__count { display: none; }
    .app-listing__content { padding: 26px; }
    .app-listing h3 { margin-top: 28px; }
    .app-listing__visual { padding: 22px; }
    .apps-note, .support-strip-app { align-items: start; flex-direction: column; }
    .product-hero__actions .button { width: 100%; }
    .feature-grid article { padding: 25px; }
    .feature-grid span { margin-bottom: 22px; }
    .download-card .button { width: 100%; }
}
