/* PX7 suite stylesheet - shared by markdown / audio / image.px7.digital
 *
 * Canonical copy lives in PX7 System Libraries/suite-css/. Each site's
 * deploy.sh copies it into the build; never edit the copies.
 *
 * Structure only - every colour comes from the site's own :root, so the three
 * suites keep their identity while the layout is one file. Loaded before
 * site.css, so any site can still override a rule locally.
 */

/* Page frame */
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 48px, 980px); margin-inline: auto; }

/* Type scale */
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.site-header { padding: 98px 0 18px; text-align: center; }
.site-header h1 { max-width: 980px; margin: 0 auto 20px; font-size: clamp(42px, 7vw, 68px); font-weight: 650; }
.lede { max-width: 37rem; margin: 0 auto; color: var(--muted); font-size: clamp(18px, 2.25vw, 22px); text-wrap: pretty; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.tagline { margin: 0 0 17px; color: var(--muted); font-size: clamp(19px, 2.4vw, 23px); font-weight: 560; }
.note { max-width: 38rem; margin: 0 auto 78px; color: var(--muted); font-size: 14px; text-align: center; }

/* Suite bar */
.suitebar { display: flex; justify-content: flex-end; padding: 18px 0 0; }
.topnav { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; }
.suitelinks { display: flex; gap: 20px; font-size: 13px; }
.suitelinks a { color: var(--muted); text-decoration: none; }
.suitelinks a:hover { color: var(--ink); text-decoration: none; }
.suitelinks .here { color: var(--ink); font-weight: 560; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 58px 0 26px; padding: 0; list-style: none; }
.product-grid > li { display: flex; }
.product { position: relative; display: flex; flex: 1; min-height: 350px; flex-direction: column; align-items: center; gap: 3px; overflow: hidden; padding: 30px 24px 24px; border: 1px solid rgba(0, 0, 0, .07); border-radius: 22px; background: #fdfdfe; box-shadow: var(--shadow); color: #1d1d1f; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.product img { z-index: 1; width: 138px; height: 138px; object-fit: contain; }
.product .name { z-index: 1; margin-top: 14px; font-size: 27px; font-weight: 620; }
.product .what { z-index: 1; max-width: 23rem; color: #6e6e73; font-size: 14.5px; line-height: 1.45; text-wrap: pretty; }
a.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); text-decoration: none; }

/* The three promises */
.site-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 48px 0 92px; border-top: 1px solid var(--line); }
.site-promise h3 { margin-bottom: 7px; font-size: 16px; font-weight: 620; }
.site-promise p { margin: 0; color: var(--muted); font-size: 14.5px; text-wrap: pretty; }

/* Product details table */
.specs { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.specs li { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.specs span:first-child { color: var(--muted); }
.specs span:last-child { text-align: right; }

/* Footer */
footer { margin-top: 88px; padding: 52px 0 64px; border-top: 1px solid var(--line); text-align: center; }
footer p { margin: 0; }
footer .sibling { margin-bottom: 30px; color: var(--muted); font-size: 15px; }
footer .sibling a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
footer .sibling a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .product { transition: none; }
}

/* App page hero and actions - one pattern for all three suites */
.product-header { padding: 42px 0 12px; text-align: center; }
.product-header h1 { margin: 22px 0 15px; font-size: clamp(42px, 7vw, 58px); font-weight: 650; }
.hero-icon { width: 142px; height: 142px; margin: 0 auto; filter: drop-shadow(0 15px 30px rgba(0, 0, 0, .24)); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button { display: inline-block; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 600; }
.button:hover { filter: brightness(1.06); text-decoration: none; }
.button.secondary { border-color: var(--line); background: var(--card-solid, var(--card)); box-shadow: var(--shadow); color: var(--ink); }
.terms { margin: 16px auto 0; color: var(--muted); font-size: 13.5px; text-align: center; }

/* Search and answer engines need the same thing people do: short, visible answers. */
.seo-answers { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.seo-answers h2 { margin-bottom: 24px; font-size: clamp(28px, 4vw, 38px); }
.seo-answers dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.seo-answers dl > div { padding: 20px 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--card); box-shadow: var(--shadow); }
.seo-answers dt { color: var(--ink); font-size: 16px; font-weight: 620; }
.seo-answers dd { margin: 7px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

@media (max-width: 620px) {
  .topnav { min-height: 64px; align-items: center; }
  .topnav > .back { padding-top: 0; }
  .topnav > .suitelinks { display: none; }
  .seo-answers dl { grid-template-columns: 1fr; }
}
