/* V8. Product layouts inherit the page palette, geometry and typography from astra.css. */
#astra-product {
    --ap-unit: var(--am-unit);
    --ap-ink: var(--am-ink);
    --ap-muted: var(--am-muted);
    --ap-accent: var(--am-red);
    --ap-red: var(--am-red);
    --ap-line: var(--am-line);
    --ap-radius: var(--am-card-radius);
    position: relative;
    display: block;
    margin-top: var(--am-section-gap);
    color: var(--ap-ink);
    font: inherit;
    container: ap / inline-size;
    text-align: left;
}
#astra-product :where(header, nav, figcaption, em, small) {
    all: revert;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
}
#astra-product :where(h2, h3) { margin: 0; color: var(--ap-ink); font-weight: 700; text-wrap: balance; }
#astra-product p { color: var(--ap-muted); }
#astra-product :where(a, button) { -webkit-tap-highlight-color: transparent; }
#astra-product :where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--am-red); outline-offset: 5px; }
#astra-product [hidden] { display: none !important; }
#astra-product :where(img) { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
#astra-product :where(button) { cursor: pointer; font: inherit; }
#astra-product .ap-icon { display: block; flex: 0 0 auto; width: calc(1.5 * var(--ap-unit)); height: calc(1.5 * var(--ap-unit)); overflow: visible; }
#astra-product .ap-section { position: relative; display: block; margin-top: var(--am-section-gap); scroll-margin-top: calc(8 * var(--ap-unit)); }
#astra-product .ap-kicker { margin: 0 0 calc(1.1 * var(--ap-unit)); color: var(--am-red); font-weight: 700; text-transform: uppercase; }
#astra-product .ap-red { color: var(--ap-red); }
#astra-product .ap-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: calc(4 * var(--ap-unit)); align-items: end; margin-bottom: var(--am-heading-gap); }
#astra-product .ap-heading > p { max-width: calc(28 * var(--ap-unit)); margin-bottom: calc(0.2 * var(--ap-unit)); }
#astra-product .ap-card { display: block; position: relative; overflow: hidden; border: 1px solid var(--ap-line); border-radius: var(--am-card-radius); background: var(--am-white); }
#astra-product .ap-card-body { padding: calc(2.2 * var(--ap-unit)); }
#astra-product .ap-card-body h3 { margin-bottom: calc(1.2 * var(--ap-unit)); }
#astra-product .ap-pill { display: inline-flex; align-items: center; gap: calc(0.4 * var(--ap-unit)); max-width: 100%; padding: calc(0.5 * var(--ap-unit)) calc(0.8 * var(--ap-unit)); border: 1px solid var(--am-line); border-radius: calc(0.6 * var(--ap-unit)); background: var(--am-surface-soft); color: var(--am-ink); font-weight: 600; }
#astra-product .ap-tags { display: flex; flex-wrap: wrap; gap: calc(0.5 * var(--ap-unit)); margin-top: calc(1.4 * var(--ap-unit)); }
#astra-product .ap-text-link { display: inline-flex; align-items: center; gap: var(--ap-unit); min-height: calc(2.8 * var(--ap-unit)); color: var(--ap-ink); font-weight: 700; text-decoration: none; }
#astra-product .ap-text-link .ap-icon { color: var(--ap-red); transition: transform .25s ease; }
#astra-product .ap-text-link:hover .ap-icon { transform: translateX(calc(0.3 * var(--ap-unit))); }

/* Intro: extracted transparent artwork, halo and restrained floating labels. */
#astra-product .ap-intro { position: relative; display: block; overflow: hidden; border: 1px solid var(--am-line); border-radius: var(--am-radius); background: radial-gradient(ellipse at 80% 35%, var(--am-surface-raised), transparent 60%), var(--am-white); scroll-margin-top: calc(8 * var(--ap-unit)); }
#astra-product .ap-intro-top { display: flex; align-items: center; justify-content: space-between; gap: var(--ap-unit); margin: 0 calc(3 * var(--ap-unit)); padding: calc(1.6 * var(--ap-unit)) 0; border-bottom: 1px solid color-mix(in srgb, var(--am-line) 40%, transparent); }
#astra-product .ap-intro-top .ap-kicker { margin: 0; color: var(--am-muted); }
#astra-product .ap-edition { display: inline-flex; align-items: center; gap: calc(0.6 * var(--ap-unit)); flex: 0 0 auto; font-weight: 700; }
#astra-product .ap-edition::before { content: ""; width: calc(0.5 * var(--ap-unit)); height: calc(0.5 * var(--ap-unit)); border-radius: 50%; background: var(--ap-red); }
#astra-product .ap-intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: var(--ap-unit); padding: calc(3.8 * var(--ap-unit)) calc(3 * var(--ap-unit)) calc(4.4 * var(--ap-unit)); }
#astra-product .ap-intro-copy { position: relative; z-index: 2; }
#astra-product .ap-intro h2 { white-space: normal; }
#astra-product .ap-intro h2 > span { color: var(--ap-accent); }
#astra-product .ap-intro h3 { margin: calc(1.8 * var(--ap-unit)) 0 calc(1.2 * var(--ap-unit)); }
#astra-product .ap-intro-copy .ap-lead { max-width: calc(29 * var(--ap-unit)); }
#astra-product .ap-intro-copy .ap-text-link { margin-top: calc(1.4 * var(--ap-unit)); }
#astra-product .ap-intro-art { position: relative; display: grid; place-items: center; min-height: calc(24 * var(--ap-unit)); isolation: isolate; perspective: calc(70 * var(--ap-unit)); }
#astra-product .ap-desktop { position: relative; z-index: 1; width: 112%; max-width: none; margin-left: calc(-1 * var(--ap-unit)); filter: drop-shadow(0 calc(2 * var(--ap-unit)) calc(1.8 * var(--ap-unit)) color-mix(in srgb, var(--am-dark-panel) 15%, transparent)); }
#astra-product .ap-orbit { position: absolute; z-index: 0; width: calc(27 * var(--ap-unit)); height: calc(27 * var(--ap-unit)); border: 1px solid color-mix(in srgb, var(--am-white) 60%, transparent); border-radius: 50%; transform: rotate(-22deg) scaleX(.85); background: radial-gradient(circle at 65% 20%, color-mix(in srgb, var(--am-white) 60%, transparent), transparent 70%); box-shadow: inset 0 0 calc(3 * var(--ap-unit)) color-mix(in srgb, var(--am-white) 40%, transparent); }
#astra-product .ap-orbit-two { width: calc(34 * var(--ap-unit)); height: calc(34 * var(--ap-unit)); background: transparent; border-color: color-mix(in srgb, var(--am-white) 45%, transparent); transform: rotate(22deg) scaleX(.85); box-shadow: none; }
#astra-product .ap-floating { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: calc(0.7 * var(--ap-unit)); padding: calc(0.9 * var(--ap-unit)) calc(1.2 * var(--ap-unit)); border: 1px solid color-mix(in srgb, var(--am-white) 75%, transparent); border-radius: var(--am-control-radius); background: color-mix(in srgb, var(--am-white) 90%, transparent); box-shadow: var(--am-shadow); font-weight: 600; backdrop-filter: blur(calc(0.7 * var(--ap-unit))); }
#astra-product .ap-floating .ap-icon { color: var(--am-red); width: calc(1.3 * var(--ap-unit)); height: calc(1.3 * var(--ap-unit)); }
#astra-product .ap-floating-one { top: calc(0.7 * var(--ap-unit)); right: 7%; }
#astra-product .ap-floating-two { left: 7%; bottom: calc(0.1 * var(--ap-unit)); }
#astra-product .ap-art-caption { position: absolute; bottom: calc(-2.6 * var(--ap-unit)); right: 0; color: var(--am-muted); }
#astra-product .ap-intro-nav { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: calc(1.7 * var(--ap-unit)) calc(2 * var(--ap-unit)); border-top: 1px solid color-mix(in srgb, var(--am-line) 50%, transparent); background: color-mix(in srgb, var(--am-white) 80%, transparent); }
#astra-product .ap-intro-nav a { display: flex; align-items: flex-start; gap: calc(0.9 * var(--ap-unit)); padding: calc(0.5 * var(--ap-unit)) calc(1.2 * var(--ap-unit)); border-right: 1px solid var(--am-line); text-decoration: none; }
#astra-product .ap-intro-nav a:last-child { border-right: 0; }
#astra-product .ap-intro-nav a > .ap-icon:first-child { width: calc(1.8 * var(--ap-unit)); height: calc(1.8 * var(--ap-unit)); margin-top: calc(0.1 * var(--ap-unit)); color: var(--am-muted); }
#astra-product .ap-intro-nav a > .ap-icon:last-child { width: var(--ap-unit); height: var(--ap-unit); margin-left: auto; color: var(--ap-red); transition: transform .25s ease; }
#astra-product .ap-intro-nav a:hover > .ap-icon:last-child { transform: translate(calc(0.2 * var(--ap-unit)), calc(-0.2 * var(--ap-unit))); }
#astra-product .ap-intro-nav a > span { display: block; color: var(--am-muted); }
#astra-product .ap-intro-nav strong { display: block; margin-bottom: calc(0.4 * var(--ap-unit)); color: var(--ap-ink); font-weight: 700; }

/* Deployment and version migration. The version flow is an illustration, not an installer. */
#astra-product .ap-deploy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(1.5 * var(--ap-unit)); align-items: stretch; }
#astra-product .ap-install-art { display: block; position: relative; height: calc(15 * var(--ap-unit)); overflow: hidden; background: radial-gradient(ellipse at 30% 40%, var(--am-white), transparent 70%), var(--am-surface-soft); }
#astra-product .ap-disc { display: grid; place-items: center; position: absolute; left: 15%; top: calc(2 * var(--ap-unit)); width: calc(14 * var(--ap-unit)); height: calc(14 * var(--ap-unit)); border: 1px solid var(--am-line); border-radius: 50%; background: conic-gradient(from 25deg, var(--am-surface-raised), var(--am-white) 17%, var(--am-surface-raised) 26%, var(--am-surface-soft) 40%, var(--am-line) 47%, var(--am-white) 62%, var(--am-surface-raised) 74%, var(--am-white) 85%, var(--am-surface-raised)); box-shadow: inset 0 0 0 calc(.7 * var(--ap-unit)) color-mix(in srgb, var(--am-white) 45%, transparent), inset 0 0 0 calc(2.4 * var(--ap-unit)) color-mix(in srgb, var(--am-white) 20%, transparent), var(--ap-unit) calc(.5 * var(--ap-unit)) calc(3 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 8%, transparent); transform: rotate(-16deg) scaleY(.9); }
#astra-product .ap-disc > span { display: block; width: calc(3.2 * var(--ap-unit)); height: calc(3.2 * var(--ap-unit)); border: calc(0.7 * var(--ap-unit)) solid var(--am-line); border-radius: 50%; background: var(--am-white); box-shadow: 0 0 0 1px color-mix(in srgb, var(--am-ink) 35%, transparent), inset 0 0 calc(0.5 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 25%, transparent); }
#astra-product .ap-live-label { position: absolute; z-index: 2; left: 43%; top: calc(3.2 * var(--ap-unit)); padding: var(--ap-unit) calc(1.5 * var(--ap-unit)); border: 1px solid color-mix(in srgb, var(--am-white) 70%, transparent); border-radius: var(--ap-unit); background: color-mix(in srgb, var(--am-white) 90%, transparent); color: var(--ap-ink); font-weight: 700; box-shadow: 0 var(--ap-unit) calc(2 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 15%, transparent); }
#astra-product .ap-live-label strong { display: block; margin-top: calc(0.2 * var(--ap-unit)); color: var(--ap-muted); font-weight: 400; }
#astra-product .ap-status-dot { display: inline-block; vertical-align: middle; width: calc(0.5 * var(--ap-unit)); height: calc(0.5 * var(--ap-unit)); margin-right: calc(0.5 * var(--ap-unit)); border-radius: 50%; background: var(--am-red); box-shadow: 0 0 0 calc(.3 * var(--ap-unit)) color-mix(in srgb, var(--am-red) 8%, transparent); }
#astra-product .ap-yaml-label { position: absolute; display: flex; align-items: center; gap: calc(0.8 * var(--ap-unit)); right: 10%; bottom: calc(1.4 * var(--ap-unit)); padding: calc(0.8 * var(--ap-unit)) calc(1.2 * var(--ap-unit)); border-radius: calc(0.9 * var(--ap-unit)); background: var(--am-dark-raised); color: var(--am-white); box-shadow: 0 calc(0.6 * var(--ap-unit)) calc(1.8 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 15%, transparent); }
#astra-product .ap-yaml-label strong { display: block; color: var(--am-on-dark); font-weight: 400; }
#astra-product .ap-upgrade-art { display: grid; place-items: center; position: relative; height: calc(15 * var(--ap-unit)); overflow: hidden; background: radial-gradient(ellipse at 70% 80%, var(--am-surface-raised), var(--am-surface-soft) 70%); }
#astra-product .ap-upgrade-image { width: 74%; max-width: calc(25 * var(--ap-unit)); margin-top: calc(-1.3 * var(--ap-unit)); transform: rotate(-3deg); filter: drop-shadow(0 var(--ap-unit) calc(1.5 * var(--ap-unit)) color-mix(in srgb, var(--am-muted) 15%, transparent)); }
#astra-product .ap-version-flow { display: flex; align-items: center; justify-content: center; position: absolute; bottom: calc(1.3 * var(--ap-unit)); left: 50%; width: calc(16 * var(--ap-unit)); max-width: 88%; transform: translateX(-50%); gap: calc(1.1 * var(--ap-unit)); padding: calc(0.8 * var(--ap-unit)) calc(1.3 * var(--ap-unit)); border: 1px solid color-mix(in srgb, var(--am-white) 80%, transparent); border-radius: calc(1.2 * var(--ap-unit)); background: color-mix(in srgb, var(--am-white) 95%, transparent); box-shadow: 0 calc(0.8 * var(--ap-unit)) calc(2.5 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 15%, transparent); font-weight: 700; font-variant-numeric: tabular-nums; }
#astra-product .ap-version-flow > span { color: var(--am-muted); }
#astra-product .ap-version-flow > strong { color: var(--ap-accent); }
#astra-product .ap-version-line { position: relative; flex: 1; height: calc(0.1 * var(--ap-unit)); background: var(--am-surface-soft); }
#astra-product .ap-version-line::before { content: ""; position: absolute; inset: 0; background: var(--ap-accent); transform: scaleX(0); transform-origin: left; }
#astra-product .ap-version-line .ap-icon { position: absolute; right: calc(-0.5 * var(--ap-unit)); top: calc(-0.7 * var(--ap-unit)); color: var(--ap-accent); }
#astra-product .ap-details { display: block; margin-top: calc(1.4 * var(--ap-unit)); padding-top: var(--ap-unit); border-top: 1px solid var(--ap-line); }
#astra-product .ap-details summary { display: flex; align-items: center; justify-content: space-between; gap: var(--ap-unit); min-height: calc(2.8 * var(--ap-unit)); color: var(--ap-ink); font-weight: 700; cursor: pointer; list-style: none; }
#astra-product .ap-details summary::marker { content: ""; }
#astra-product .ap-details summary::-webkit-details-marker { display: none; }
#astra-product .ap-details summary .ap-icon { width: calc(1.2 * var(--ap-unit)); height: calc(1.2 * var(--ap-unit)); color: var(--ap-red); transition: transform .3s ease; }
#astra-product .ap-details[open] summary .ap-icon { transform: rotate(180deg); }
#astra-product .ap-details .ap-checklist { padding-top: var(--ap-unit); }
#astra-product .ap-checklist { display: grid; gap: calc(0.8 * var(--ap-unit)); list-style: none; }
#astra-product .ap-checklist li { display: block; position: relative; padding-left: calc(1.6 * var(--ap-unit)); color: var(--ap-muted); }
#astra-product .ap-checklist li::before { content: ""; position: absolute; top: calc(0.5 * var(--ap-unit)); left: calc(0.1 * var(--ap-unit)); width: calc(0.7 * var(--ap-unit)); height: calc(0.4 * var(--ap-unit)); border-bottom: 2px solid var(--am-red); border-left: 2px solid var(--am-red); transform: rotate(-45deg); }

/* Security: real settings screenshot + accessible profile tabs. */
#astra-product .ap-security { overflow: hidden; border: 1px solid var(--am-line-dark); border-radius: var(--am-radius); background: radial-gradient(ellipse at 85% 35%, var(--am-dark-panel), transparent 50%), var(--am-dark); color: var(--am-on-dark); }
#astra-product .ap-security-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: calc(3 * var(--ap-unit)); padding: calc(3.8 * var(--ap-unit)) calc(3.5 * var(--ap-unit)) calc(2.8 * var(--ap-unit)); }
#astra-product .ap-security :where(h2, h3) { color: var(--am-white); }
#astra-product .ap-security p { color: var(--am-on-dark); }
#astra-product .ap-security .ap-kicker { color: var(--am-red-light); }
#astra-product .ap-security .ap-lead { margin-top: calc(1.7 * var(--ap-unit)); max-width: calc(35 * var(--ap-unit)); }
#astra-product .ap-profile-tabs { margin-top: calc(2 * var(--ap-unit)); }
#astra-product .ap-tablist { display: flex; flex-wrap: wrap; gap: calc(0.3 * var(--ap-unit)); }
#astra-product .ap-tab { background: transparent; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: calc(0.5 * var(--ap-unit)); padding: calc(0.7 * var(--ap-unit)) var(--ap-unit); border: 1px solid transparent; border-radius: calc(0.6 * var(--ap-unit)); font-weight: 600; transition: background .25s ease, color .25s ease, border-color .25s ease; }
#astra-product .ap-profile-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(0.3 * var(--ap-unit)); padding: calc(0.3 * var(--ap-unit)); border: 1px solid var(--am-line-dark); border-radius: calc(0.9 * var(--ap-unit)); background: color-mix(in srgb, var(--am-dark) 35%, transparent); }
#astra-product .ap-profile-list .ap-tab { color: var(--am-on-dark); padding: calc(0.8 * var(--ap-unit)) calc(0.4 * var(--ap-unit)); white-space: nowrap; }
#astra-product .ap-profile-list .ap-tab:hover { background: color-mix(in srgb, var(--am-white) 5%, transparent); }
#astra-product .ap-profile-list .ap-tab[aria-selected="true"] { background: var(--am-red); color: var(--am-white); box-shadow: 0 calc(0.3 * var(--ap-unit)) calc(0.8 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 15%, transparent); }
#astra-product .ap-profile-panels { margin-top: var(--ap-unit); }
#astra-product .ap-profile-panels [role="tabpanel"] { display: grid; grid-template-columns: calc(2 * var(--ap-unit)) minmax(0, 1fr); gap: calc(0.9 * var(--ap-unit)); min-height: calc(12 * var(--ap-unit)); padding: calc(1.5 * var(--ap-unit)) calc(1.3 * var(--ap-unit)); border: 1px solid var(--am-line-dark); border-radius: var(--ap-unit); background: var(--am-dark-raised); }
#astra-product .ap-profile-panels h3 { margin-bottom: calc(0.7 * var(--ap-unit)); }
#astra-product .ap-profile-check { display: grid; place-items: center; width: calc(1.8 * var(--ap-unit)); height: calc(1.8 * var(--ap-unit)); border: 1px solid var(--am-line-dark); border-radius: 50%; color: var(--am-red-light); }
#astra-product .ap-profile-check .ap-icon { width: var(--ap-unit); height: var(--ap-unit); }
#astra-product .ap-security-note { margin-top: calc(1.3 * var(--ap-unit)); opacity: .8; }
#astra-product .ap-shield-art { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; isolation: isolate; }
#astra-product .ap-shield { position: relative; width: 58%; max-width: calc(15 * var(--ap-unit)); margin-top: calc(-2 * var(--ap-unit)); filter: drop-shadow(0 calc(2 * var(--ap-unit)) calc(2 * var(--ap-unit)) color-mix(in srgb, var(--am-dark) 15%, transparent)); }
#astra-product .ap-shield-aura { position: absolute; z-index: -1; top: 0; left: 50%; width: calc(26 * var(--ap-unit)); height: calc(26 * var(--ap-unit)); transform: translateX(-50%); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--am-white) 12%, transparent); box-shadow: 0 0 0 calc(2 * var(--ap-unit)) color-mix(in srgb, var(--am-white) 2%, transparent), 0 0 0 calc(4.5 * var(--ap-unit)) color-mix(in srgb, var(--am-white) 2%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--am-white) 8%, transparent), transparent 65%); }
#astra-product .ap-shield-label { display: flex; align-items: center; gap: calc(0.6 * var(--ap-unit)); position: relative; margin: calc(1.1 * var(--ap-unit)) 0 calc(1.6 * var(--ap-unit)); color: var(--am-on-dark); }
#astra-product .ap-shield-label .ap-icon { width: calc(1.1 * var(--ap-unit)); height: calc(1.1 * var(--ap-unit)); }
#astra-product .ap-settings-preview { display: grid; grid-template-columns: calc(5.5 * var(--ap-unit)) minmax(0, 1fr); align-items: center; gap: var(--ap-unit); position: relative; width: 100%; max-width: calc(23 * var(--ap-unit)); padding: calc(0.8 * var(--ap-unit)); border: 1px solid color-mix(in srgb, var(--am-line-dark) 25%, transparent); border-radius: var(--am-card-radius); background: var(--am-dark-raised); transition: background .25s ease, transform .25s ease; }
#astra-product .ap-settings-preview img { border-radius: calc(0.3 * var(--ap-unit)); }
#astra-product .ap-settings-preview > span { display: flex; align-items: center; gap: var(--ap-unit); color: var(--am-on-dark); }
#astra-product .ap-settings-preview > span .ap-icon { width: calc(1.1 * var(--ap-unit)); height: calc(1.1 * var(--ap-unit)); color: var(--am-on-dark); }
#astra-product .ap-settings-preview:hover { background: var(--am-dark-panel); transform: translateY(calc(-0.2 * var(--ap-unit))); }
#astra-product .ap-security-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--ap-unit) calc(3 * var(--ap-unit)); padding: calc(1.5 * var(--ap-unit)) calc(2 * var(--ap-unit)); border-top: 1px solid color-mix(in srgb, var(--am-line-dark) 35%, transparent); background: color-mix(in srgb, var(--am-dark) 15%, transparent); }
#astra-product .ap-security-footer > span { display: inline-flex; gap: calc(0.7 * var(--ap-unit)); align-items: center; color: var(--am-on-dark); }
#astra-product .ap-security-footer .ap-icon { width: calc(1.1 * var(--ap-unit)); height: calc(1.1 * var(--ap-unit)); color: var(--am-on-dark); }

/* Platform: bento layout without fictitious performance figures. */
#astra-product .ap-platform-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: calc(1.5 * var(--ap-unit)); }
#astra-product .ap-kernels { padding: calc(2.5 * var(--ap-unit)); background: var(--am-white); }
#astra-product .ap-kernel-intro { display: flex; justify-content: space-between; align-items: center; margin-bottom: calc(1.7 * var(--ap-unit)); }
#astra-product .ap-kernel-intro .ap-kicker { margin-bottom: calc(0.8 * var(--ap-unit)); }
#astra-product .ap-kernel-intro h3 > span { color: var(--ap-accent); }
#astra-product .ap-kernel-intro p:last-child { color: var(--am-muted); }
#astra-product .ap-kernel-icon { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: calc(6.5 * var(--ap-unit)); height: calc(6.5 * var(--ap-unit)); margin: var(--ap-unit); border: 1px solid var(--am-line); border-radius: calc(1.5 * var(--ap-unit)); background: linear-gradient(135deg, var(--am-white), var(--am-surface-soft)); box-shadow: calc(.5 * var(--ap-unit)) calc(.5 * var(--ap-unit)) 0 var(--am-surface-raised), 0 calc(1.5 * var(--ap-unit)) calc(3 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 6%, transparent), inset 0 0 0 calc(.5 * var(--ap-unit)) color-mix(in srgb, var(--am-white) 60%, transparent); transform: rotate(-12deg); }
#astra-product .ap-kernel-icon .ap-icon { width: calc(3 * var(--ap-unit)); height: calc(3 * var(--ap-unit)); color: var(--am-red); }
#astra-product .ap-kernel-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(1.5 * var(--ap-unit)); margin-top: calc(2 * var(--ap-unit)); padding-top: calc(1.6 * var(--ap-unit)); border-top: 1px solid var(--am-line); }
#astra-product .ap-kernel-options > div + div { padding-left: calc(1.5 * var(--ap-unit)); border-left: 1px solid var(--am-line); }
#astra-product .ap-kernel-options .ap-pill { padding: calc(0.4 * var(--ap-unit)) calc(0.6 * var(--ap-unit)); margin-bottom: var(--ap-unit); }
#astra-product .ap-kernel-options h3 { margin-bottom: calc(0.7 * var(--ap-unit)); }
#astra-product .ap-database { background: var(--am-surface-soft); }
#astra-product .ap-database-art { display: grid; place-items: center; height: calc(13 * var(--ap-unit)); margin-top: calc(1.5 * var(--ap-unit)); background: radial-gradient(ellipse, var(--am-white), transparent 70%); }
#astra-product .ap-database-art img { width: 70%; max-width: calc(19 * var(--ap-unit)); max-height: 100%; }
#astra-product .ap-database .ap-card-body { padding-top: var(--ap-unit); }
#astra-product .ap-operations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(1.5 * var(--ap-unit)); margin-top: calc(1.5 * var(--ap-unit)); }
#astra-product .ap-virtual { padding: calc(2.5 * var(--ap-unit)); }
#astra-product .ap-operation-title { display: flex; align-items: center; gap: calc(1.1 * var(--ap-unit)); margin-bottom: calc(1.3 * var(--ap-unit)); }
#astra-product .ap-operation-icon { display: grid; place-items: center; flex: 0 0 auto; width: calc(3.2 * var(--ap-unit)); height: calc(3.2 * var(--ap-unit)); border: 1px solid var(--am-line); border-radius: calc(0.9 * var(--ap-unit)); background: var(--am-surface-soft); color: var(--am-red); }
#astra-product .ap-snapshot-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(0.7 * var(--ap-unit)); position: relative; margin: calc(1.8 * var(--ap-unit)) 0 0; }
#astra-product .ap-snapshot-map span { display: inline-flex; justify-content: center; align-items: center; gap: calc(0.5 * var(--ap-unit)); padding: calc(0.7 * var(--ap-unit)); border: 1px solid var(--am-line); border-radius: calc(0.6 * var(--ap-unit)); background: var(--am-white); color: var(--am-muted); font-weight: 600; flex-wrap: wrap; text-align: center; }
#astra-product .ap-snapshot-map span:first-child { grid-column: 1 / -1; justify-self: center; min-width: 50%; background: var(--am-surface-soft); }
#astra-product .ap-snapshot-map .ap-icon { width: calc(1.1 * var(--ap-unit)); height: calc(1.1 * var(--ap-unit)); }
#astra-product .ap-audit { isolation: isolate; background: var(--am-dark); border-color: var(--am-line-dark); color: var(--am-white); }
#astra-product .ap-audit-photo { position: absolute; inset: 0 0 0 auto; z-index: -2; height: 100%; width: 45%; object-fit: cover; opacity: .75; }
#astra-product .ap-audit::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--am-dark) 0%, color-mix(in srgb, var(--am-dark) 98%, transparent) 52%, color-mix(in srgb, var(--am-dark) 70%, transparent) 75%, color-mix(in srgb, var(--am-dark) 10%, transparent)); }
#astra-product .ap-audit-copy { position: relative; padding: calc(2.5 * var(--ap-unit)); max-width: 90%; }
#astra-product .ap-audit .ap-operation-icon { width: calc(2.8 * var(--ap-unit)); height: calc(2.8 * var(--ap-unit)); margin-bottom: var(--ap-unit); background: var(--am-dark-raised); border-color: var(--am-line-dark); color: var(--am-red-light); }
#astra-product .ap-audit h3 { margin-bottom: var(--ap-unit); color: var(--am-white); }
#astra-product .ap-audit p { color: var(--am-on-dark); }
#astra-product .ap-audit .ap-checklist { margin-top: calc(1.3 * var(--ap-unit)); gap: calc(0.7 * var(--ap-unit)); }
#astra-product .ap-audit .ap-checklist li { color: var(--am-on-dark); }

/* Interface and visual themes. Images are originals from the supplied deck. */
#astra-product .ap-interface-demo { overflow: hidden; border: 1px solid var(--am-line); border-radius: var(--am-radius); background: radial-gradient(ellipse at 80% 35%, var(--am-surface-raised), transparent 60%), var(--am-white); }
#astra-product .ap-demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: calc(1.5 * var(--ap-unit)); padding: calc(1.2 * var(--ap-unit)) calc(1.8 * var(--ap-unit)); border-bottom: 1px solid var(--am-line); background: color-mix(in srgb, var(--am-white) 50%, transparent); }
#astra-product .ap-demo-toolbar > span { display: inline-flex; align-items: center; gap: calc(0.7 * var(--ap-unit)); color: var(--am-muted); }
#astra-product .ap-demo-toolbar > span > .ap-icon { width: calc(1.2 * var(--ap-unit)); height: calc(1.2 * var(--ap-unit)); }
#astra-product .ap-compare-tabs { padding: calc(0.2 * var(--ap-unit)); border: 1px solid var(--am-line); border-radius: calc(0.7 * var(--ap-unit)); background: var(--am-surface-soft); }
#astra-product .ap-compare-tabs .ap-tab { padding: calc(0.5 * var(--ap-unit)) var(--ap-unit); color: var(--am-muted); }
#astra-product .ap-compare-tabs .ap-tab[aria-selected="true"] { background: var(--am-white); color: var(--am-red); box-shadow: 0 calc(0.2 * var(--ap-unit)) calc(0.5 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 5%, transparent); }
#astra-product .ap-interface-panel { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: calc(2 * var(--ap-unit)); min-height: calc(28 * var(--ap-unit)); padding: calc(2.5 * var(--ap-unit)) calc(2.7 * var(--ap-unit)); }
#astra-product .ap-interface-caption h3 { margin: calc(1.2 * var(--ap-unit)) 0; }
#astra-product .ap-interface-caption p { max-width: calc(23 * var(--ap-unit)); }
#astra-product .ap-demo-hint { display: flex; align-items: center; gap: calc(0.5 * var(--ap-unit)); margin-top: calc(1.8 * var(--ap-unit)); color: var(--am-muted); }
#astra-product .ap-demo-hint .ap-icon { width: var(--ap-unit); height: var(--ap-unit); }
#astra-product .ap-zoom { display: block; position: relative; cursor: zoom-in; }
#astra-product .ap-interface-image { filter: drop-shadow(0 var(--ap-unit) calc(1.3 * var(--ap-unit)) color-mix(in srgb, var(--am-dark-panel) 15%, transparent)); }
#astra-product .ap-interface-image img { max-height: calc(27 * var(--ap-unit)); }
#astra-product .ap-zoom-mark { display: grid; place-items: center; position: absolute; bottom: var(--ap-unit); right: var(--ap-unit); width: calc(2.6 * var(--ap-unit)); height: calc(2.6 * var(--ap-unit)); border: 1px solid color-mix(in srgb, var(--am-white) 50%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--am-white) 85%, transparent); color: var(--am-ink); box-shadow: 0 calc(0.3 * var(--ap-unit)) var(--ap-unit) color-mix(in srgb, var(--am-ink) 15%, transparent); transition: transform .25s ease, background .25s ease; }
#astra-product .ap-zoom-mark .ap-icon { width: calc(1.1 * var(--ap-unit)); height: calc(1.1 * var(--ap-unit)); }
#astra-product .ap-zoom:hover .ap-zoom-mark { transform: scale(1.08); background: var(--am-white); }
#astra-product .ap-before-panel { background: var(--am-surface-soft); }
#astra-product .ap-interface-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(2 * var(--ap-unit)) calc(2.5 * var(--ap-unit)); margin-top: calc(2.5 * var(--ap-unit)); }
#astra-product .ap-interface-features article { display: grid; grid-template-columns: calc(1.8 * var(--ap-unit)) minmax(0, 1fr); gap: calc(0.9 * var(--ap-unit)); padding-top: calc(1.3 * var(--ap-unit)); border-top: 1px solid var(--am-line); }
#astra-product .ap-interface-features article > .ap-icon { color: var(--am-red); margin-top: calc(0.1 * var(--ap-unit)); }
#astra-product .ap-interface-features h3 { margin-bottom: calc(0.6 * var(--ap-unit)); }
#astra-product .ap-themes { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: calc(3.5 * var(--ap-unit)); align-items: center; }
#astra-product .ap-theme-copy > p:not(.ap-kicker) { margin-top: calc(1.5 * var(--ap-unit)); }
#astra-product .ap-theme-list { display: flex; flex-direction: column; gap: calc(0.5 * var(--ap-unit)); margin-top: calc(2 * var(--ap-unit)); }
#astra-product .ap-theme-tab { display: flex; justify-content: flex-start; gap: var(--ap-unit); width: 100%; padding: var(--ap-unit) calc(1.1 * var(--ap-unit)); border: 1px solid transparent; border-radius: var(--am-card-radius); text-align: left; }
#astra-product .ap-theme-tab > .ap-icon { color: var(--am-muted); }
#astra-product .ap-theme-tab > .ap-icon:last-child { margin-left: auto; width: var(--ap-unit); height: var(--ap-unit); opacity: .35; }
#astra-product .ap-theme-tab > span { display: block; }
#astra-product .ap-theme-tab strong { display: block; margin-bottom: calc(0.2 * var(--ap-unit)); font-weight: 700; }
#astra-product .ap-theme-tab > span > span { display: block; color: var(--am-muted); font-weight: 400; }
#astra-product .ap-theme-tab[aria-selected="true"] { border-color: var(--am-red); background: var(--am-white); box-shadow: var(--am-shadow); }
#astra-product .ap-theme-tab[aria-selected="true"] > .ap-icon { color: var(--ap-red); opacity: 1; }
#astra-product .ap-theme-showcase { position: relative; overflow: hidden; border: 1px solid var(--am-line); border-radius: var(--am-radius); }
#astra-product .ap-theme-panel { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: var(--ap-unit); position: relative; min-height: calc(37 * var(--ap-unit)); padding: calc(2 * var(--ap-unit)); background: radial-gradient(ellipse at 50% 25%, var(--am-white) 10%, var(--am-surface-soft) 65%, var(--am-surface-raised)); }
#astra-product .ap-theme-badge { display: flex; align-items: center; gap: calc(0.6 * var(--ap-unit)); align-self: flex-start; padding: calc(0.5 * var(--ap-unit)) calc(0.9 * var(--ap-unit)); border: 1px solid color-mix(in srgb, var(--am-line) 35%, transparent); border-radius: calc(2 * var(--ap-unit)); color: var(--am-muted); }
#astra-product .ap-theme-badge .ap-icon { width: calc(1.2 * var(--ap-unit)); height: calc(1.2 * var(--ap-unit)); }
#astra-product .ap-theme-monitor { width: 100%; max-width: calc(33 * var(--ap-unit)); margin: var(--ap-unit) auto calc(0.5 * var(--ap-unit)); perspective: calc(80 * var(--ap-unit)); }
#astra-product .ap-theme-monitor img { filter: drop-shadow(0 calc(1.5 * var(--ap-unit)) calc(1.1 * var(--ap-unit)) color-mix(in srgb, var(--am-dark-raised) 15%, transparent)); }
#astra-product .ap-theme-description { width: 100%; text-align: center; min-height: calc(7 * var(--ap-unit)); }
#astra-product .ap-theme-description h3 { margin-bottom: calc(0.7 * var(--ap-unit)); }
#astra-product .ap-theme-description p { max-width: calc(30 * var(--ap-unit)); margin: 0 auto; }
#astra-product .ap-theme-dark { background: radial-gradient(ellipse at 50% 15%, var(--am-dark-panel), var(--am-dark) 75%); }
#astra-product .ap-theme-service { background: radial-gradient(ellipse at 50% 15%, var(--am-dark-panel), var(--am-dark) 75%); }
#astra-product :where(.ap-theme-dark, .ap-theme-service) h3 { color: var(--am-white); }
#astra-product :where(.ap-theme-dark, .ap-theme-service) p { color: var(--am-on-dark); }
#astra-product :where(.ap-theme-dark, .ap-theme-service) .ap-theme-badge { color: var(--am-on-dark); border-color: color-mix(in srgb, var(--am-line-dark) 25%, transparent); }
#astra-product .ap-theme-simple { background: var(--am-surface-soft); }

/* Space gallery, from the PDF. No synthetic desktop or audio claims. */
#astra-product .ap-space { position: relative; overflow: hidden; isolation: isolate; padding: calc(3.5 * var(--ap-unit)) calc(3 * var(--ap-unit)) calc(2 * var(--ap-unit)); border: 1px solid var(--am-line-dark); border-radius: var(--am-radius); background: radial-gradient(ellipse at 50% 100%, var(--am-dark-panel), transparent 65%), var(--am-dark); }
#astra-product .ap-space-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: calc(5 * var(--ap-unit)); align-items: end; position: relative; z-index: 1; }
#astra-product .ap-space-heading h2 { color: var(--am-white); }
#astra-product .ap-space .ap-kicker { color: var(--am-on-dark); }
#astra-product .ap-space p { color: var(--am-on-dark); }
#astra-product .ap-space-logos { width: calc(12 * var(--ap-unit)); margin-bottom: calc(1.2 * var(--ap-unit)); }
#astra-product .ap-space-gallery { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, .9fr); align-items: center; gap: calc(1.2 * var(--ap-unit)); position: relative; z-index: 1; margin: calc(3 * var(--ap-unit)) 0 calc(2 * var(--ap-unit)); padding: calc(0.5 * var(--ap-unit)); perspective: calc(80 * var(--ap-unit)); }
#astra-product .ap-space-card { display: block; position: relative; min-width: 0; }
#astra-product .ap-space-card .ap-zoom { overflow: hidden; border: 1px solid color-mix(in srgb, var(--am-white) 20%, transparent); border-radius: calc(1.2 * var(--ap-unit)); background: var(--am-dark); box-shadow: 0 calc(1.5 * var(--ap-unit)) calc(3 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 35%, transparent); transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s ease; }
#astra-product .ap-space-card img { aspect-ratio: 1.4; width: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
#astra-product .ap-space-center img { aspect-ratio: 1.1; object-position: 46% center; }
#astra-product .ap-space-left .ap-zoom { transform: rotateY(10deg) rotate(-4deg); }
#astra-product .ap-space-right .ap-zoom { transform: rotateY(-10deg) rotate(4deg); }
#astra-product .ap-space-center .ap-zoom { transform: translateY(calc(-0.6 * var(--ap-unit))); }
#astra-product .ap-space-card .ap-zoom:hover { transform: translateY(calc(-0.7 * var(--ap-unit))) rotate(0); box-shadow: 0 calc(1.7 * var(--ap-unit)) calc(3.5 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 55%, transparent); }
#astra-product .ap-space-card .ap-zoom:hover img { transform: scale(1.035); }
#astra-product .ap-space .ap-zoom-mark { background: color-mix(in srgb, var(--am-dark) 55%, transparent); color: var(--am-white); border-color: color-mix(in srgb, var(--am-white) 25%, transparent); backdrop-filter: blur(calc(0.6 * var(--ap-unit))); }
#astra-product .ap-space-stars { position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(circle at 11% 26%, var(--am-surface-soft) 0 1px, transparent 2px), radial-gradient(circle at 81% 14%, var(--am-surface-soft) 0 1px, transparent 2px), radial-gradient(circle at 67% 76%, var(--am-surface-soft) 0 1px, transparent 2px), radial-gradient(circle at 21% 76%, var(--am-surface-soft) 0 1px, transparent 2px); background-size: calc(24 * var(--ap-unit)) calc(16 * var(--ap-unit)), calc(35 * var(--ap-unit)) calc(25 * var(--ap-unit)), calc(19 * var(--ap-unit)) calc(21 * var(--ap-unit)), calc(26 * var(--ap-unit)) calc(19 * var(--ap-unit)); opacity: .4; }
#astra-product .ap-space-footnote { display: flex; justify-content: center; align-items: center; gap: calc(0.4 * var(--ap-unit)); position: relative; z-index: 1; color: var(--am-on-dark); text-align: center; }
#astra-product .ap-space-footnote .ap-status-dot { width: calc(0.3 * var(--ap-unit)); height: calc(0.3 * var(--ap-unit)); flex: 0 0 auto; background: var(--am-line); box-shadow: none; }

/* PDF source and image viewer. */
#astra-product .ap-resources { display: grid; grid-template-columns: calc(5 * var(--ap-unit)) minmax(0, 1fr) auto; align-items: center; gap: calc(2 * var(--ap-unit)); margin-top: calc(3 * var(--ap-unit)); padding: calc(2.5 * var(--ap-unit)) 0; border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); }
#astra-product .ap-pdf-icon { display: grid; place-items: center; position: relative; width: calc(4.3 * var(--ap-unit)); height: calc(5.3 * var(--ap-unit)); color: var(--am-red); border-radius: calc(0.8 * var(--ap-unit)); background: var(--am-surface-soft); }
#astra-product .ap-pdf-icon > .ap-icon { width: calc(2.4 * var(--ap-unit)); height: calc(2.4 * var(--ap-unit)); margin-top: calc(-0.7 * var(--ap-unit)); }
#astra-product .ap-pdf-icon > span { position: absolute; bottom: calc(0.5 * var(--ap-unit)); font-weight: 700; }
#astra-product .ap-resource-copy .ap-kicker { margin-bottom: calc(0.6 * var(--ap-unit)); }
#astra-product .ap-resource-copy p:last-child { margin-top: calc(0.9 * var(--ap-unit)); max-width: calc(40 * var(--ap-unit)); }
#astra-product .ap-download { display: grid; grid-template-columns: minmax(0, 1fr) calc(1.4 * var(--ap-unit)); gap: calc(0.2 * var(--ap-unit)) calc(1.3 * var(--ap-unit)); align-items: center; padding: calc(1.1 * var(--ap-unit)) calc(1.6 * var(--ap-unit)); border: 1px solid var(--am-line); border-radius: var(--am-control-radius); background: var(--am-white); color: var(--am-ink); font-weight: 700; text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
#astra-product .ap-download > span { font-weight: 400; color: var(--am-muted); }
#astra-product .ap-download .ap-icon { grid-row: span 2; width: calc(1.4 * var(--ap-unit)); height: calc(1.4 * var(--ap-unit)); color: var(--ap-red); }
#astra-product .ap-download:hover { transform: translateY(calc(-0.2 * var(--ap-unit))); border-color: var(--am-red); box-shadow: var(--am-shadow); }
#astra-product .ap-lightbox { position: fixed; inset: 0; z-index: 2147483000; box-sizing: border-box; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: calc(1.2 * var(--ap-unit)) calc(2 * var(--ap-unit)); border: 0; background: color-mix(in srgb, var(--am-dark) 90%, transparent); color: var(--am-on-dark); overscroll-behavior: contain; }
#astra-product .ap-lightbox:not([open]) { display: none; }
#astra-product .ap-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: var(--ap-unit); }
#astra-product .ap-lightbox::backdrop { background: color-mix(in srgb, var(--am-dark) 95%, transparent); }
#astra-product .ap-lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--ap-unit); }
#astra-product .ap-lightbox-counter { color: var(--am-on-dark); font-variant-numeric: tabular-nums; }
#astra-product .ap-lightbox :where(button) { display: grid; place-items: center; width: calc(3 * var(--ap-unit)); height: calc(3 * var(--ap-unit)); border: 1px solid color-mix(in srgb, var(--am-line-dark) 30%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--am-white) 5%, transparent); color: var(--am-white); transition: background .2s ease; }
#astra-product .ap-lightbox :where(button):hover { background: color-mix(in srgb, var(--am-white) 15%, transparent); }
#astra-product .ap-lightbox-stage { display: grid; grid-template-columns: calc(3 * var(--ap-unit)) minmax(0, 1fr) calc(3 * var(--ap-unit)); align-items: center; gap: calc(1.5 * var(--ap-unit)); min-height: 0; }
#astra-product .ap-lightbox-image { display: block; width: auto; max-width: 100%; height: auto; max-height: min(76vh, calc(65 * var(--ap-unit))); max-height: min(76dvh, calc(65 * var(--ap-unit))); justify-self: center; object-fit: contain; border-radius: calc(0.4 * var(--ap-unit)); }
#astra-product .ap-lightbox-caption { color: var(--am-on-dark); margin: 0 auto calc(0.5 * var(--ap-unit)); max-width: calc(60 * var(--ap-unit)); text-align: center; }

/* Motion is opt-in via JS; animations pause off screen and respect reduced motion. */
#astra-product.ap-enhanced [data-ap-reveal] { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--ap-delay, 0ms); }
#astra-product.ap-enhanced .ap-pending { opacity: 0; transform: translateY(calc(1.5 * var(--ap-unit))); }
#astra-product .ap-float { animation: ap-float 7s ease-in-out infinite; animation-play-state: paused; }
#astra-product .ap-floating { animation: ap-label-float 8s ease-in-out infinite; animation-play-state: paused;  box-shadow: var(--am-shadow); border-radius: var(--am-control-radius);}
#astra-product .ap-floating-two { animation-delay: -3s; }
#astra-product .ap-orbit { animation: ap-orbit-breathe 10s ease-in-out infinite; animation-play-state: paused;  background: radial-gradient(circle at 65% 20%, color-mix(in srgb, var(--am-white) 60%, transparent), transparent 70%); box-shadow: inset 0 0 calc(3 * var(--ap-unit)) color-mix(in srgb, var(--am-white) 40%, transparent);}
#astra-product .ap-orbit-two { animation-delay: -5s; }
#astra-product .ap-version-line::before { animation: ap-version-progress 4s ease-in-out infinite; animation-play-state: paused; }
#astra-product .ap-space-stars { animation: ap-stars 7s ease-in-out infinite; animation-play-state: paused; }
#astra-product .ap-scene.ap-in-view :where(.ap-float, .ap-floating, .ap-orbit, .ap-space-stars),
#astra-product .ap-scene.ap-in-view .ap-version-line::before { animation-play-state: running; }
@keyframes ap-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(calc(-0.6 * var(--ap-unit))); } }
@keyframes ap-label-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(calc(0.4 * var(--ap-unit))); } }
@keyframes ap-orbit-breathe { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes ap-version-progress { 0%,10% { transform: scaleX(0); opacity: .4; } 65%,85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes ap-stars { 0%,100% { opacity: .25; } 50% { opacity: .6; } }
@media (hover: hover) and (pointer: fine) {
    #astra-product .ap-card { transition: box-shadow .3s ease; }
    #astra-product .ap-card:hover { box-shadow: 0 calc(0.8 * var(--ap-unit)) calc(2 * var(--ap-unit)) color-mix(in srgb, var(--am-ink) 5%, transparent); }
}

@container ap (max-width: 1120px) {
    #astra-product .ap-intro-top { margin: 0 calc(2 * var(--ap-unit)); }
    #astra-product .ap-intro-grid { padding: calc(3.2 * var(--ap-unit)) calc(2 * var(--ap-unit)) calc(4 * var(--ap-unit)); }
    #astra-product .ap-intro-nav { padding: calc(1.2 * var(--ap-unit)) calc(0.5 * var(--ap-unit)); }
    #astra-product .ap-intro-nav a { padding: calc(0.5 * var(--ap-unit)) calc(0.9 * var(--ap-unit)); gap: calc(0.6 * var(--ap-unit)); }
    #astra-product .ap-intro-nav a > .ap-icon:first-child { width: calc(1.4 * var(--ap-unit)); height: calc(1.4 * var(--ap-unit)); }
    #astra-product .ap-intro-nav a > .ap-icon:last-child { display: none; }
    #astra-product .ap-heading { gap: calc(2.5 * var(--ap-unit)); }
    #astra-product .ap-security-grid { padding: calc(3 * var(--ap-unit)) calc(2.5 * var(--ap-unit)) calc(2.5 * var(--ap-unit)); gap: calc(2 * var(--ap-unit)); }
    #astra-product .ap-card-body, #astra-product .ap-kernels, #astra-product .ap-virtual, #astra-product .ap-audit-copy { padding: calc(2 * var(--ap-unit)); }
    #astra-product .ap-kernel-options { gap: var(--ap-unit); }
    #astra-product .ap-kernel-options > div + div { padding-left: var(--ap-unit); }
    #astra-product .ap-kernel-icon { width: calc(5 * var(--ap-unit)); height: calc(5 * var(--ap-unit)); margin-right: calc(0.5 * var(--ap-unit)); }
    #astra-product .ap-themes { gap: calc(2.5 * var(--ap-unit)); }
    #astra-product .ap-theme-panel { min-height: calc(34 * var(--ap-unit)); padding: calc(1.7 * var(--ap-unit)); }
    #astra-product .ap-space { padding: calc(3 * var(--ap-unit)) calc(2.5 * var(--ap-unit)) calc(2 * var(--ap-unit)); }
    #astra-product .ap-space-heading { gap: calc(3 * var(--ap-unit)); }
    #astra-product .ap-space-gallery { gap: var(--ap-unit); }
}
@container ap (max-width: 896px) {
    #astra-product .ap-section { margin-top: var(--am-section-gap); }
    #astra-product .ap-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--ap-unit); padding: calc(2.8 * var(--ap-unit)) calc(2 * var(--ap-unit)) calc(4 * var(--ap-unit)); }
    #astra-product .ap-intro-art { min-height: calc(20 * var(--ap-unit)); }
    #astra-product .ap-floating { padding: calc(0.6 * var(--ap-unit)) calc(0.8 * var(--ap-unit)); }
    #astra-product .ap-floating-one { top: var(--ap-unit); right: 0; }
    #astra-product .ap-floating-two { bottom: var(--ap-unit); left: var(--ap-unit); }
    #astra-product .ap-intro-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(1.2 * var(--ap-unit)); padding: calc(1.5 * var(--ap-unit)) var(--ap-unit); }
    #astra-product .ap-intro-nav a:nth-child(2) { border-right: 0; }
    #astra-product .ap-intro-nav a > .ap-icon:last-child { display: block; }
    #astra-product .ap-heading { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: calc(1.8 * var(--ap-unit)); }
    #astra-product .ap-card-body { padding: calc(1.6 * var(--ap-unit)); }
    #astra-product .ap-live-label { left: 36%; padding: calc(0.8 * var(--ap-unit)) var(--ap-unit); }
    #astra-product .ap-disc { left: 5%; }
    #astra-product .ap-yaml-label { right: 7%; }
    #astra-product .ap-security-grid { grid-template-columns: minmax(0, 1fr); gap: calc(1.5 * var(--ap-unit)); padding: calc(2.5 * var(--ap-unit)) calc(2 * var(--ap-unit)); }
    #astra-product .ap-profile-panels [role="tabpanel"] { padding: calc(1.3 * var(--ap-unit)) var(--ap-unit); min-height: calc(15 * var(--ap-unit)); }
    #astra-product .ap-settings-preview { grid-template-columns: minmax(0, 1fr); max-width: calc(14 * var(--ap-unit)); }
    #astra-product .ap-settings-preview img { display: none; }
    #astra-product .ap-shield { width: 88%; }
    #astra-product .ap-shield-label { text-align: center; }
    #astra-product .ap-security-footer { gap: var(--ap-unit) calc(2 * var(--ap-unit)); }
    #astra-product .ap-platform-grid { grid-template-columns: minmax(0, 1fr); }
    #astra-product .ap-database { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; padding: var(--ap-unit); }
    #astra-product .ap-database .ap-card-body { padding: calc(1.2 * var(--ap-unit)); }
    #astra-product .ap-database-art { margin: 0; height: calc(16 * var(--ap-unit)); }
    #astra-product .ap-database-art img { width: 90%; }
    #astra-product .ap-audit-copy { max-width: 100%; padding: calc(1.6 * var(--ap-unit)); }
    #astra-product .ap-virtual { padding: calc(1.6 * var(--ap-unit)); }
    #astra-product .ap-operation-title { align-items: flex-start; }
    #astra-product .ap-operation-icon { width: calc(2.5 * var(--ap-unit)); height: calc(2.5 * var(--ap-unit)); }
    #astra-product .ap-snapshot-map span { padding: calc(0.7 * var(--ap-unit)) calc(0.3 * var(--ap-unit)); }
    #astra-product .ap-interface-panel { padding: calc(2 * var(--ap-unit)); gap: calc(1.2 * var(--ap-unit)); min-height: calc(24 * var(--ap-unit)); }
    #astra-product .ap-interface-features { gap: calc(1.5 * var(--ap-unit)); }
    #astra-product .ap-themes { gap: calc(2 * var(--ap-unit)); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    #astra-product .ap-theme-tab { gap: calc(0.8 * var(--ap-unit)); padding: calc(0.8 * var(--ap-unit)); }
    #astra-product .ap-theme-tab > .ap-icon:last-child { display: none; }
    #astra-product .ap-theme-panel { min-height: calc(33 * var(--ap-unit)); padding: calc(1.5 * var(--ap-unit)); }
    #astra-product .ap-theme-description { min-height: calc(10 * var(--ap-unit)); }
    #astra-product .ap-resources { grid-template-columns: calc(4.3 * var(--ap-unit)) minmax(0, 1fr); gap: calc(1.5 * var(--ap-unit)); }
    #astra-product .ap-download { grid-column: 2; justify-self: start; }
    #astra-product .ap-shield-art {
        max-width: 100%;
    }
}
@container ap (max-width: 688px) {
    #astra-product .ap-heading { grid-template-columns: minmax(0, 1fr); gap: calc(1.2 * var(--ap-unit)); margin-bottom: var(--am-heading-gap); }
    #astra-product .ap-heading > p { max-width: calc(35 * var(--ap-unit)); }
    #astra-product .ap-intro-grid { grid-template-columns: minmax(0, 1fr); gap: calc(0.5 * var(--ap-unit)); padding: calc(2.5 * var(--ap-unit)) calc(2 * var(--ap-unit)); }
    #astra-product .ap-intro h3 { margin-top: calc(1.3 * var(--ap-unit)); }
    #astra-product .ap-intro-copy .ap-lead { max-width: calc(32 * var(--ap-unit)); }
    #astra-product .ap-intro-art { min-height: calc(22 * var(--ap-unit)); margin: calc(1.5 * var(--ap-unit)) 0; }
    #astra-product .ap-desktop { width: 100%; max-width: calc(34 * var(--ap-unit)); margin: 0; }
    #astra-product .ap-orbit { width: calc(22 * var(--ap-unit)); height: calc(22 * var(--ap-unit)); }
    #astra-product .ap-orbit-two { width: calc(28 * var(--ap-unit)); height: calc(28 * var(--ap-unit)); }
    #astra-product .ap-floating-one { top: 0; right: 5%; }
    #astra-product .ap-floating-two { bottom: 0; left: 10%; }
    #astra-product .ap-art-caption { right: auto; bottom: calc(-2.2 * var(--ap-unit)); }
    #astra-product .ap-deploy-grid { grid-template-columns: minmax(0, 1fr); }
    #astra-product .ap-install-art, #astra-product .ap-upgrade-art { height: calc(16 * var(--ap-unit)); }
    #astra-product .ap-disc { left: 15%; }
    #astra-product .ap-live-label { left: 43%; }
    #astra-product .ap-card-body { padding: calc(2 * var(--ap-unit)); }
    #astra-product .ap-security-grid { grid-template-columns: minmax(0, 1fr); padding: calc(2.5 * var(--ap-unit)) calc(2 * var(--ap-unit)) calc(2 * var(--ap-unit)); }
    #astra-product .ap-security .ap-lead { margin-top: calc(1.4 * var(--ap-unit)); }
    #astra-product .ap-profile-panels [role="tabpanel"] { min-height: calc(11 * var(--ap-unit)); }
    #astra-product .ap-shield-art { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--ap-unit) calc(1.5 * var(--ap-unit)); max-width: calc(34 * var(--ap-unit)); justify-self: center; margin-top: var(--ap-unit); }
    #astra-product .ap-shield { width: 100%; max-width: calc(9 * var(--ap-unit)); margin: 0; grid-row: span 2; }
    #astra-product .ap-shield-aura { width: calc(17 * var(--ap-unit)); height: calc(17 * var(--ap-unit)); top: 0; left: 25%; }
    #astra-product .ap-shield-label { align-self: end; margin: 0; }
    #astra-product .ap-settings-preview { align-self: start; width: 100%; max-width: calc(21 * var(--ap-unit)); }
    #astra-product .ap-settings-preview img { display: block; }
    #astra-product .ap-security-footer { justify-content: flex-start; gap: calc(0.8 * var(--ap-unit)) calc(1.7 * var(--ap-unit)); padding: calc(1.5 * var(--ap-unit)) calc(2 * var(--ap-unit)); }
    #astra-product .ap-operations-grid { grid-template-columns: minmax(0, 1fr); }
    #astra-product .ap-virtual, #astra-product .ap-audit-copy { padding: calc(2 * var(--ap-unit)); }
    #astra-product .ap-audit-copy { max-width: 88%; }
    #astra-product .ap-demo-toolbar { flex-wrap: wrap; padding: var(--ap-unit) calc(1.5 * var(--ap-unit)); gap: var(--ap-unit); }
    #astra-product .ap-interface-panel { grid-template-columns: minmax(0, 1fr); gap: calc(1.5 * var(--ap-unit)); padding: calc(2 * var(--ap-unit)); }
    #astra-product .ap-interface-caption { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 calc(1.5 * var(--ap-unit)); align-items: center; }
    #astra-product .ap-interface-caption .ap-pill { grid-column: 1 / -1; justify-self: start; }
    #astra-product .ap-interface-caption h3 { grid-column: 1; }
    #astra-product .ap-interface-caption p { grid-column: 2; grid-row: 2; }
    #astra-product .ap-demo-hint { grid-column: 1 / -1; margin-top: calc(0.2 * var(--ap-unit)); }
    #astra-product .ap-interface-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(1.3 * var(--ap-unit)); }
    #astra-product .ap-themes { grid-template-columns: minmax(0, 1fr); gap: calc(1.8 * var(--ap-unit)); }
    #astra-product .ap-theme-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: calc(1.4 * var(--ap-unit)); }
    #astra-product .ap-theme-tab { padding: calc(0.9 * var(--ap-unit)) calc(0.8 * var(--ap-unit)); }
    #astra-product .ap-theme-panel { min-height: calc(32 * var(--ap-unit)); padding: calc(1.8 * var(--ap-unit)); }
    #astra-product .ap-theme-description { min-height: calc(6 * var(--ap-unit)); }
    #astra-product .ap-theme-monitor { max-width: calc(30 * var(--ap-unit)); }
    #astra-product .ap-space { padding: calc(2.5 * var(--ap-unit)) calc(2 * var(--ap-unit)) calc(1.8 * var(--ap-unit)); }
    #astra-product .ap-space-heading { grid-template-columns: minmax(0, 1fr); gap: calc(1.8 * var(--ap-unit)); }
    #astra-product .ap-space-heading > div + div { display: grid; grid-template-columns: calc(8 * var(--ap-unit)) minmax(0, 1fr); gap: calc(1.5 * var(--ap-unit)); align-items: center; }
    #astra-product .ap-space-logos { width: 100%; margin: 0; }
    #astra-product .ap-space-gallery { gap: calc(0.8 * var(--ap-unit)); margin: calc(2.3 * var(--ap-unit)) calc(-0.7 * var(--ap-unit)) calc(2 * var(--ap-unit)); }
    #astra-product .ap-space-card .ap-zoom { border-radius: calc(0.8 * var(--ap-unit)); }
    #astra-product .ap-space .ap-zoom-mark { width: calc(2 * var(--ap-unit)); height: calc(2 * var(--ap-unit)); bottom: calc(0.5 * var(--ap-unit)); right: calc(0.5 * var(--ap-unit)); }
}
@container ap (max-width: 480px) {
    #astra-product .ap-section { margin-top: var(--am-section-gap); }
    #astra-product .ap-intro { border-radius: var(--am-radius); }
    #astra-product .ap-intro-top { margin: 0 calc(1.3 * var(--ap-unit)); padding: calc(1.2 * var(--ap-unit)) 0; align-items: flex-start; display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(.6 * var(--ap-unit)); }
    #astra-product .ap-intro-top .ap-kicker { max-width: none; }
    #astra-product .ap-edition::before { width: calc(0.4 * var(--ap-unit)); height: calc(0.4 * var(--ap-unit)); }
    #astra-product .ap-intro-grid { padding: calc(2 * var(--ap-unit)) calc(1.3 * var(--ap-unit)) calc(2.5 * var(--ap-unit)); }
    #astra-product .ap-intro-copy .ap-text-link { gap: calc(0.7 * var(--ap-unit)); }
    #astra-product .ap-intro-art { min-height: calc(14 * var(--ap-unit)); margin: calc(2 * var(--ap-unit)) 0 calc(0.7 * var(--ap-unit)); }
    #astra-product .ap-desktop { width: 105%; }
    #astra-product .ap-floating { padding: calc(0.6 * var(--ap-unit)) calc(0.7 * var(--ap-unit)); gap: calc(0.5 * var(--ap-unit)); border-radius: var(--am-control-radius); }
    #astra-product .ap-floating .ap-icon { width: var(--ap-unit); height: var(--ap-unit); }
    #astra-product .ap-floating-one { top: calc(-1 * var(--ap-unit)); right: 0; }
    #astra-product .ap-floating-two { bottom: calc(-0.6 * var(--ap-unit)); left: 0; }
    #astra-product .ap-art-caption { bottom: calc(-2.2 * var(--ap-unit)); white-space: normal; }
    #astra-product .ap-intro-nav { padding: calc(1.2 * var(--ap-unit)) calc(0.6 * var(--ap-unit)); gap: calc(1.3 * var(--ap-unit)) 0; }
    #astra-product .ap-intro-nav a { display: grid; grid-template-columns: calc(1.5 * var(--ap-unit)) minmax(0, 1fr); padding: calc(0.3 * var(--ap-unit)) calc(0.8 * var(--ap-unit)); gap: calc(0.5 * var(--ap-unit)); }
    #astra-product .ap-intro-nav a > .ap-icon:last-child { display: none; }
    #astra-product .ap-card { border-radius: var(--am-card-radius); }
    #astra-product .ap-card-body, #astra-product .ap-kernels, #astra-product .ap-virtual { padding: calc(1.5 * var(--ap-unit)); }
    #astra-product .ap-card-body h3 { margin-bottom: var(--ap-unit); }
    #astra-product .ap-install-art, #astra-product .ap-upgrade-art { height: calc(13 * var(--ap-unit)); }
    #astra-product .ap-disc { width: calc(12 * var(--ap-unit)); height: calc(12 * var(--ap-unit)); top: calc(2 * var(--ap-unit)); left: 7%; }
    #astra-product .ap-live-label { left: 38%; top: calc(2.6 * var(--ap-unit)); }
    #astra-product .ap-yaml-label { right: 7%; bottom: var(--ap-unit); }
    #astra-product .ap-upgrade-image { width: 86%; }
    #astra-product .ap-version-flow { bottom: calc(0.8 * var(--ap-unit)); padding: calc(0.6 * var(--ap-unit)) calc(1.3 * var(--ap-unit)); }
    #astra-product .ap-tags { gap: calc(0.4 * var(--ap-unit)); }
    #astra-product .ap-pill { padding: calc(0.4 * var(--ap-unit)) calc(0.6 * var(--ap-unit)); }
    #astra-product .ap-security { border-radius: var(--am-radius); }
    #astra-product .ap-security-grid { padding: calc(2.1 * var(--ap-unit)) calc(1.4 * var(--ap-unit)) calc(1.7 * var(--ap-unit)); }
    #astra-product .ap-profile-list { gap: calc(0.1 * var(--ap-unit)); padding: calc(0.2 * var(--ap-unit)); }
    #astra-product .ap-profile-list .ap-tab { padding: calc(0.7 * var(--ap-unit)) calc(0.3 * var(--ap-unit)); }
    #astra-product .ap-profile-panels [role="tabpanel"] { grid-template-columns: minmax(0, 1fr); gap: calc(0.8 * var(--ap-unit)); min-height: calc(17 * var(--ap-unit)); padding: calc(1.2 * var(--ap-unit)); }
    #astra-product .ap-profile-check { width: calc(1.7 * var(--ap-unit)); height: calc(1.7 * var(--ap-unit)); }
    #astra-product .ap-shield-art { gap: var(--ap-unit); margin-top: calc(0.7 * var(--ap-unit)); }
    #astra-product .ap-shield { max-width: calc(7 * var(--ap-unit)); }
    #astra-product .ap-shield-label { gap: calc(0.4 * var(--ap-unit)); }
    #astra-product .ap-settings-preview { padding: calc(0.6 * var(--ap-unit)); gap: calc(0.6 * var(--ap-unit)); }
    #astra-product .ap-settings-preview > span { gap: calc(0.6 * var(--ap-unit)); }
    #astra-product .ap-security-footer { display: grid; gap: calc(0.7 * var(--ap-unit)); padding: calc(1.4 * var(--ap-unit)); }
    #astra-product .ap-kernel-options { grid-template-columns: minmax(0, 1fr); gap: calc(1.4 * var(--ap-unit)); margin-top: calc(1.5 * var(--ap-unit)); padding-top: calc(1.4 * var(--ap-unit)); }
    #astra-product .ap-kernel-options > div + div { padding: calc(1.3 * var(--ap-unit)) 0 0; border-left: 0; border-top: 1px solid var(--am-line); }
    #astra-product .ap-kernel-icon { width: calc(4.3 * var(--ap-unit)); height: calc(4.3 * var(--ap-unit)); margin-left: calc(0.5 * var(--ap-unit)); }
    #astra-product .ap-kernel-icon .ap-icon { width: calc(2.6 * var(--ap-unit)); height: calc(2.6 * var(--ap-unit)); }
    #astra-product .ap-database { display: block; padding: 0; }
    #astra-product .ap-database-art { height: calc(13 * var(--ap-unit)); padding-top: var(--ap-unit); }
    #astra-product .ap-database-art img { width: 75%; }
    #astra-product .ap-database .ap-card-body { padding: calc(1.5 * var(--ap-unit)); }
    #astra-product .ap-operation-title { gap: calc(0.8 * var(--ap-unit)); }
    #astra-product .ap-operation-icon { width: calc(2.3 * var(--ap-unit)); height: calc(2.3 * var(--ap-unit)); }
    #astra-product .ap-audit-copy { max-width: 100%; padding: calc(1.7 * var(--ap-unit)) calc(1.5 * var(--ap-unit)); }
    #astra-product .ap-audit::before { background: linear-gradient(90deg, var(--am-dark) 0%, color-mix(in srgb, var(--am-dark) 98%, transparent) 35%, color-mix(in srgb, var(--am-dark) 85%, transparent) 70%, color-mix(in srgb, var(--am-dark) 60%, transparent)); }
    #astra-product .ap-interface-demo { border-radius: var(--am-radius); }
    #astra-product .ap-demo-toolbar { padding: var(--ap-unit); }
    #astra-product .ap-compare-tabs { width: 100%; }
    #astra-product .ap-compare-tabs .ap-tab { flex: 1; padding: calc(0.6 * var(--ap-unit)) calc(0.5 * var(--ap-unit)); }
    #astra-product .ap-interface-panel { padding: calc(1.5 * var(--ap-unit)); }
    #astra-product .ap-interface-caption { display: block; }
    #astra-product .ap-interface-caption .ap-pill { display: inline-flex; }
    #astra-product .ap-interface-caption h3 { margin: var(--ap-unit) 0; }
    #astra-product .ap-demo-hint { margin-top: calc(1.2 * var(--ap-unit)); }
    #astra-product .ap-interface-image { margin: calc(0.2 * var(--ap-unit)) calc(-0.6 * var(--ap-unit)); }
    #astra-product .ap-interface-features { grid-template-columns: minmax(0, 1fr); gap: calc(1.2 * var(--ap-unit)); }
    #astra-product .ap-interface-features article { padding-top: calc(1.2 * var(--ap-unit)); }
    #astra-product .ap-theme-list { gap: calc(0.4 * var(--ap-unit)); }
    #astra-product .ap-theme-tab { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: calc(0.6 * var(--ap-unit)); padding: var(--ap-unit) calc(0.8 * var(--ap-unit)); }
    #astra-product .ap-theme-showcase { border-radius: var(--am-radius); }
    #astra-product .ap-theme-panel { min-height: calc(29 * var(--ap-unit)); padding: calc(1.4 * var(--ap-unit)); }
    #astra-product .ap-theme-monitor { margin: calc(1.5 * var(--ap-unit)) calc(-0.5 * var(--ap-unit)) calc(0.8 * var(--ap-unit)); width: calc(100% + var(--ap-unit)); }
    #astra-product .ap-theme-description { min-height: calc(8 * var(--ap-unit)); }
    #astra-product .ap-space { padding: calc(2 * var(--ap-unit)) calc(1.4 * var(--ap-unit)) calc(1.5 * var(--ap-unit)); border-radius: var(--am-radius); }
    #astra-product .ap-space-heading > div + div { display: block; }
    #astra-product .ap-space-logos { width: calc(11 * var(--ap-unit)); margin-bottom: calc(1.2 * var(--ap-unit)); }
    #astra-product .ap-space-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(0.8 * var(--ap-unit)); margin: calc(2 * var(--ap-unit)) 0 calc(1.5 * var(--ap-unit)); padding: 0; }
    #astra-product .ap-space-center { grid-column: 1 / -1; grid-row: 1; }
    #astra-product .ap-space-center img { aspect-ratio: 1.4; }
    #astra-product .ap-space-card .ap-zoom { transform: none; }
    #astra-product .ap-space-left .ap-zoom { transform: rotate(-3deg); }
    #astra-product .ap-space-right .ap-zoom { transform: rotate(3deg); }
    #astra-product .ap-space-footnote { align-items: baseline; }
    #astra-product .ap-resources { grid-template-columns: calc(3 * var(--ap-unit)) minmax(0, 1fr); align-items: start; gap: calc(1.2 * var(--ap-unit)); margin-top: calc(2 * var(--ap-unit)); padding: calc(2 * var(--ap-unit)) 0; }
    #astra-product .ap-pdf-icon { width: calc(3 * var(--ap-unit)); height: calc(4 * var(--ap-unit)); }
    #astra-product .ap-pdf-icon .ap-icon { width: calc(1.8 * var(--ap-unit)); height: calc(1.8 * var(--ap-unit)); }
    #astra-product .ap-download { grid-column: 1 / -1; justify-self: stretch; padding: var(--ap-unit) calc(1.3 * var(--ap-unit)); }
}
@container ap (max-width: 350px) {
    #astra-product .ap-intro-nav { grid-template-columns: minmax(0, 1fr); gap: 0; }
    #astra-product .ap-intro-nav a { grid-template-columns: calc(1.5 * var(--ap-unit)) minmax(0, 1fr); padding: var(--ap-unit); border-right: 0; border-bottom: 1px solid var(--am-line); }
    #astra-product .ap-intro-nav a:last-child { border-bottom: 0; }
    #astra-product .ap-profile-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #astra-product .ap-snapshot-map { grid-template-columns: minmax(0, 1fr); }
    #astra-product .ap-snapshot-map span:first-child { justify-self: stretch; }
}
@media (max-width: 768px) {
    #astra-product { margin-top: var(--am-section-gap); }
    #astra-product .ap-lightbox { padding: calc(0.8 * var(--ap-unit)); }
    #astra-product .ap-lightbox-stage { grid-template-columns: minmax(0, 1fr); position: relative; gap: 0; }
    #astra-product .ap-lightbox-prev, #astra-product .ap-lightbox-next { position: absolute; z-index: 1; bottom: calc(0.5 * var(--ap-unit)); }
    #astra-product .ap-lightbox-prev { left: calc(0.5 * var(--ap-unit)); }
    #astra-product .ap-lightbox-next { right: calc(0.5 * var(--ap-unit)); }
    #astra-product .ap-lightbox-image { max-height: 67dvh; }
    #astra-product .ap-lightbox-caption { padding: 0 calc(0.6 * var(--ap-unit)); }
}
@media (prefers-reduced-motion: reduce) {
    #astra-product *, #astra-product *::before, #astra-product *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    #astra-product.ap-enhanced .ap-pending { opacity: 1; transform: none; }
    #astra-product .ap-version-line::before { transform: scaleX(1); }
}
@media print {
    #astra-product { color: var(--am-ink); margin-top: calc(2 * var(--ap-unit)); }
    #astra-product.ap-enhanced .ap-pending { opacity: 1; transform: none; }
    #astra-product .ap-section { margin-top: calc(2 * var(--ap-unit)); break-inside: avoid; }
    #astra-product :where(.ap-zoom-mark, .ap-lightbox, .ap-theme-list, .ap-compare-tabs, .ap-floating) { display: none !important; }
    #astra-product :where(.ap-security, .ap-audit, .ap-space) { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    #astra-product .ap-download { border: 0; }
}
