/* Page-owned layout. Shared shell and brand tokens remain authoritative. */
.pp-shell { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.products-eyebrow, .product-kicker { color: var(--text-2); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.products-eyebrow { margin: 0 0 12px; color: var(--accent-4); }

/* Sections */
.pp-section { padding-top: 8px; }
.pp-section-head { border-top: 1px solid var(--border-strong); padding-top: 24px; margin-bottom: 28px; max-width: 680px; }
.pp-section-head h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; line-height: 1.2; }
.pp-section-head p { color: var(--text-2); margin: 0; font-size: 15px; line-height: 1.6; }
.products-page .pp-subhead { margin: 0 0 14px; color: var(--text-1); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

/* Cards */
.product-card { padding: 28px; margin-bottom: 20px; border: 1px solid var(--border); background: var(--bg-1); border-radius: var(--r-xl); min-width: 0; box-shadow: var(--shadow-card); }
.product-card-top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.product-statuses { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.product-status { color: var(--text-2); font-size: 12px; line-height: 1.5; padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: 999px; }
.product-status-alpha { color: var(--accent-4); border-color: var(--border-accent); background: rgba(var(--accent-rgb), .08); }
.product-kicker { margin: 0; line-height: 1.5; }
.products-page .product-card :is(h2, h3) { font-size: 27px; letter-spacing: -.025em; line-height: 1.25; margin: 0 0 12px; }
.products-page .product-card .pp-subhead { margin: 0 0 14px; font-size: 12px; line-height: 1.5; letter-spacing: .09em; }
.product-card p { color: var(--text-2); font-size: 14px; line-height: 1.75; margin: 0 0 20px; }
.product-card .product-tagline { color: var(--text-1); font-size: 18px; margin-bottom: 14px; }
.product-points { padding-left: 18px; margin: 0 0 24px; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.product-points li + li { margin-top: 8px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.products-page .btn { min-height: 44px; max-width: 100%; white-space: normal; text-align: center; line-height: 1.5; }
.product-text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; color: var(--text-1); }

.aerenium-aside { align-self: start; padding: 22px; border: 1px solid var(--border-strong); border-radius: var(--r-lg); background: var(--bg-2); }
.pp-platforms { margin: 0 0 20px; }
.pp-platforms > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.5; }
.pp-platforms dt { font-weight: 700; color: var(--text-1); }
.pp-platforms dd { margin: 0; color: var(--text-2); text-align: right; }
.pp-platforms .is-unavailable dd { color: var(--warn); }
/* Services */
.pp-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pp-services .subscription-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-content: start; }
.pp-services .subscription-card > * { grid-column: 1; }
.pp-services .subscription-card > .subscription-tiers { grid-column: 2; grid-row: 1 / span 6; align-self: start; margin: 0; }
.pp-services .subscription-card > .subscription-tiers > div:first-child { border-top: 0; padding-top: 0; }
.pp-services .product-card { margin-bottom: 0; }
.pp-services .service-card { display: flex; flex-direction: column; }
.pp-services .service-card .product-actions { margin-top: auto; }
.pp-services .subscription-card > .btn { justify-self: start; }
.subscription-tiers { margin: 0 0 22px; }
.subscription-tiers > div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--border); }
.subscription-tiers dt { font-size: 16px; font-weight: 700; line-height: 1.6; }
.subscription-tiers dd { margin: 0; font-size: 14px; line-height: 1.7; }
.product-price { color: var(--text-1); font-weight: 600; }
.product-price-note { display: block; color: var(--text-2); font-size: 12px; }
.subscription-tiers .product-points { margin: 10px 0 0; font-size: 13px; color: var(--text-2); }
.product-card .product-small { margin: 14px 0 0; font-size: 12px; line-height: 1.7; }

.products-account { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 64px; border-top: 1px solid var(--border-strong); padding: 32px 0 64px; }
.products-account h2 { font-size: 23px; margin: 0 0 10px; }
.products-account p { color: var(--text-2); font-size: 14px; line-height: 1.7; margin: 0; max-width: 520px; }
.products-page :is(section,article)[id] { scroll-margin-top: calc(var(--header) + 24px); }
.products-page :is(a,button):focus-visible { outline: 2px solid var(--air); outline-offset: 4px; }

/* Rich tier only: gentle depth. Lite and reduced-motion keep the static layout. */
@media (prefers-reduced-motion: no-preference) {
  .tier-rich .product-card { transition: transform var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out); }
  .tier-rich .pp-services .product-card:hover { transform: translateY(-3px); border-color: var(--border-accent); }
}

@media (max-width: 1100px) {
  .pp-services .subscription-card { display: flex; flex-direction: column; }
  .pp-services .subscription-card > * { grid-column: auto; }
  .pp-services .subscription-card > .subscription-tiers { grid-column: auto; grid-row: auto; }
}
@media (max-width: 860px) {
}
@media (max-width: 700px) {
  .pp-shell { padding: 0 20px; }
  .pp-section { padding-top: 44px; }
  .product-card { padding: 22px; }
  .pp-services { grid-template-columns: minmax(0, 1fr); }
  .products-account { margin-top: 44px; padding-bottom: 40px; }
}
@media (max-width: 360px) {
  .pp-shell { padding-left: 16px; padding-right: 16px; }
  .product-card { padding: 18px; }
  .products-page .product-actions .btn { width: 100%; }
}

/* Shared helpers */
.pp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Products hub: heading, two category cards with a divider, then named shortcuts */
.pp-hub { padding: calc(var(--header) + 40px) 28px 64px; background: radial-gradient(55% 60% at 22% 30%, rgba(var(--accent-rgb), .09), transparent 70%), radial-gradient(55% 60% at 80% 45%, rgba(var(--air-rgb), .09), transparent 70%); }
.pp-hub-inner { max-width: 1200px; margin: 0 auto; }
.pp-hub-head { margin-bottom: 28px; }
.pp-hub-head h1 { margin: 0 0 12px; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
.pp-hub-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 44px); align-items: stretch; }
.pp-divider { width: 2px; min-height: 240px; border-radius: 2px; background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .55) 20%, rgba(var(--accent-rgb), .55) 80%, transparent); }
.products-page .pp-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 40px); overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--r-xl); background: linear-gradient(180deg, var(--bg-1), var(--bg-0)); color: var(--text-1); text-decoration: none; box-shadow: var(--shadow-card); isolation: isolate; }
/* Beats the global underline-on-hover link rule in site-shell.css. */
html body .products-page a.pp-card[href]:not(.btn):not(.nav-cta):is(:hover, :focus-visible) { text-decoration: none; }
/* Beats the global 44px touch-target floor in styles.css. */
html body .products-page a.pp-card[href] { min-height: clamp(300px, 42vh, 400px); }
.pp-card-visual { position: absolute; inset: 0 0 40% 0; z-index: -1; display: flex; align-items: center; justify-content: center; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.pp-card-apps .pp-card-visual img { width: 82%; max-width: none; height: auto; margin-top: 7%; border-radius: var(--r-lg); border: 1px solid var(--border-accent); opacity: .78; transform: rotate(-2deg); box-shadow: var(--shadow-modal); }
.pp-card-services .pp-card-visual svg { width: min(88%, 420px); height: auto; }
.pp-card-copy { display: grid; gap: 10px; padding-right: 56px; }
.pp-card-title { font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.pp-card-sub { color: var(--text-2); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; text-wrap: balance; }
.pp-card-go { position: absolute; right: clamp(20px, 2.4vw, 32px); bottom: clamp(24px, 3vw, 40px); display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--border-accent); border-radius: 999px; color: var(--accent-4); background: rgba(var(--accent-rgb), .08); }
.pp-card:hover, .pp-card:focus-visible { border-color: var(--border-accent); }
.pp-card:focus-visible { outline: 3px solid var(--air); outline-offset: 4px; }

/* Apps and Services pages */
.pp-subpage { padding-bottom: 24px; }
.pp-page-head { padding: calc(var(--header) + 40px) 0 28px; }
.pp-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 8px; color: var(--text-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.pp-back:hover { color: var(--text-1); }
.pp-page-head h1 { margin: 0 0 12px; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
.pp-page-lead { margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 620px; }
.pp-launcher { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 44px; align-items: center; margin-bottom: 24px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--border-accent); border-radius: var(--r-xl); background: radial-gradient(70% 90% at 0% 0%, rgba(var(--accent-rgb), .12), transparent 70%), var(--bg-1); box-shadow: var(--shadow-card); }
.pp-launcher-main { min-width: 0; }
.pp-launcher h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.03em; line-height: 1.15; }
.pp-launcher-body { margin: 0 0 18px; color: var(--text-1); font-size: 17px; line-height: 1.6; max-width: 560px; }
.pp-launcher-note { margin: 16px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.6; max-width: 560px; }
.pp-later, .product-card .product-later { margin: 6px 0 0; color: var(--text-3); font-size: 12px; line-height: 1.6; }
.product-card .product-later { margin-top: 14px; }
.pp-launcher .pp-platforms { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.pp-launcher .pp-platforms > div { display: flex; gap: 8px; padding: 0; border-top: 0; font-size: 13px; }
.pp-launcher .pp-platforms dd { text-align: left; }
.pp-launcher-ident { display: flex; align-items: center; gap: 20px; }
.pp-launcher-ident .products-eyebrow { margin-bottom: 8px; }
.pp-launcher-icon { flex: none; width: 88px; height: 88px; border-radius: 20px; box-shadow: var(--shadow-card); }

/* App tiles: each tile is one link to the app's own page */
.pp-tiles { margin-top: 32px; }
.pp-tile-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.pp-tile-grid > li { display: flex; min-width: 0; }
.pp-app-tile { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--r-xl); background: var(--bg-1); color: var(--text-1); text-decoration: none; box-shadow: var(--shadow-card); }
.pp-app-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg-0); }
.pp-app-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.pp-app-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 24px; }
.pp-app-head { display: flex; align-items: center; gap: 14px; }
.pp-app-icon { flex: none; width: 52px; height: 52px; border-radius: 12px; }
.pp-app-titles { flex: 1; min-width: 0; }
.pp-app-titles h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; line-height: 1.25; }
.pp-app-titles .product-kicker { display: block; margin-top: 2px; }
.pp-app-tagline { margin: 0; color: var(--text-1); font-size: 17px; line-height: 1.5; }
.pp-app-text { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.pp-app-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; color: var(--accent-4); font-size: 14px; font-weight: 600; }
.pp-app-tile:hover, .pp-app-tile:focus-visible { border-color: var(--border-accent); }
.pp-app-tile:focus-visible { outline: 3px solid var(--air); outline-offset: 4px; }
/* Beats the global underline-on-hover link rule in site-shell.css. */
html body .products-page a.pp-app-tile[href]:not(.btn):is(:hover, :focus-visible) { text-decoration: none; }
/* Beats the global 44px touch-target floor in styles.css. */
html body .products-page a.pp-app-tile[href] { min-height: 0; }
.pp-apps-links { margin-top: 28px; }
@media (min-width: 861px) {
  .pp-app-tile { flex-direction: row; }
  .pp-app-shot { flex: 0 0 54%; aspect-ratio: auto; min-height: 280px; border-bottom: 0; border-right: 1px solid var(--border); }
  .pp-app-body { justify-content: center; padding: 36px; }
}

@media (prefers-reduced-motion: no-preference) {
  .tier-rich .pp-card { animation: pp-rise .7s var(--ease-out) backwards; transition: transform var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out); }
  .tier-rich .pp-card-services { animation-delay: .12s; }
  .tier-rich .pp-divider { animation: pp-fade .9s var(--ease-out) .15s backwards; }
  .tier-rich .pp-app-tile { transition: transform var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out); }
  .tier-rich a.pp-app-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card), 0 20px 48px rgba(var(--accent-rgb), .1); }
  .tier-rich .pp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card), 0 24px 60px rgba(var(--accent-rgb), .12); }
  .tier-rich .pp-card-visual > * { transition: transform .6s var(--ease-out); }
  .tier-rich .pp-card-apps:hover .pp-card-visual img { transform: rotate(-1deg) scale(1.04); }
  .tier-rich .pp-card-services:hover .pp-card-visual svg { transform: scale(1.06); }
  .tier-rich .pp-card-go { transition: transform var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out); }
  .tier-rich .pp-card:hover .pp-card-go { transform: translateX(4px); background: rgba(var(--accent-rgb), .18); }
  .tier-rich .pp-ring-2 { transform-origin: 160px 120px; animation: pp-spin 60s linear infinite; }
  .tier-rich .pp-dot-1 { transform-origin: 160px 120px; animation: pp-spin 18s linear infinite; }
  .tier-rich .pp-dot-2 { transform-origin: 160px 120px; animation: pp-spin 26s linear infinite reverse; }
}
@keyframes pp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pp-spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .pp-hub { padding: calc(var(--header) + 24px) 20px 40px; }
  .pp-hub-head { margin-bottom: 20px; }
  .pp-hub-grid { grid-template-columns: minmax(0, 1fr); gap: 12px 0; }
  .pp-divider { display: none; }
  html body .products-page a.pp-card[href] { min-height: 128px; justify-content: center; padding: 20px; }
  .pp-card-visual { inset: 0 0 0 58%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
  .pp-card-apps .pp-card-visual img { width: 190%; margin-top: 0; }
  .pp-card-services .pp-card-visual svg { width: 180%; max-width: none; }
  .pp-card-title { font-size: 28px; }
  .pp-card-sub { font-size: 14px; }
  .pp-card-copy { padding-right: 0; gap: 6px; max-width: calc(100% - 56px); }
  .pp-card-go { width: 40px; height: 40px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .tier-rich .pp-card:hover .pp-card-go { transform: translate(4px, -50%); }
  .pp-launcher { grid-template-columns: minmax(0, 1fr); }
  .pp-tile-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .pp-page-head { padding-top: calc(var(--header) + 24px); }
  .pp-launcher { padding: 22px; }
  .pp-launcher .product-actions .btn { width: 100%; }
  .pp-launcher-ident { gap: 16px; }
  .pp-launcher-icon { width: 64px; height: 64px; border-radius: 15px; }
  .pp-tiles { margin-top: 24px; }
  .pp-app-body { padding: 20px; }
}

/* Hub shortcuts */
.pp-shortcuts { margin-top: 32px; }
.pp-shortcut-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.pp-shortcut { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 100%; padding: 18px 20px; border: 1px solid var(--border-strong); border-radius: var(--r-lg); background: var(--bg-1); color: var(--text-1); text-decoration: none; }
.pp-shortcut-name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.pp-shortcut-name::after { content: "\2192"; margin-left: 8px; color: var(--accent-4); }
.pp-shortcut-sub { color: var(--text-2); font-size: 13px; line-height: 1.5; }
.pp-shortcut:hover, .pp-shortcut:focus-visible { border-color: var(--border-accent); }
.pp-shortcut:focus-visible { outline: 3px solid var(--air); outline-offset: 4px; }
/* Beats the global underline-on-hover link rule in site-shell.css. */
html body .products-page a.pp-shortcut[href]:not(.btn):is(:hover, :focus-visible) { text-decoration: none; }
html body .products-page a.pp-shortcut[href] { min-height: 0; }
@media (max-width: 860px) {
  .pp-shortcuts { margin-top: 24px; }
  .pp-shortcut-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pp-shortcut { padding: 14px 18px; }
}
