/* PolySculpt's website: the brand on top of the kit (assets/system.css and friends, MIT).
   The palette is the app's own Lens theme (src/ui/theme.odin): a near-black frame, neutral greys,
   the sea-green accent for what is live and white for the one primary action, as the app keeps it.
   Inter is the app's own interface face, served from this folder so the site asks no other host. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500 700; font-style: normal; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }

:root {
  --p-bg: #0f0f10; --p-surface: #1c1d1f; --p-ink: #ececec; --p-muted: #adafb1;
  --p-accent: #5ed6c4; --p-accent-ink: #08201c; --p-action: #ececec; --p-action-ink: #0f0f10;
  --p-inv-bg: #ececec; --p-inv-surface: #dadada; --p-inv-ink: #0f0f10; --p-inv-muted: #595959;
  --p-inv-accent: #0d6b5d; --p-inv-accent-ink: #ececec; --p-inv-action: #0f0f10; --p-inv-action-ink: #ececec;
  --font-display: "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.035em;
  --ly-scale: 0.98;
  --ground-bg: #17181a; --ground-surface: #1c1d1f; --ground-ink: #ececec; --ground-muted: #adafb1; --ground-accent: #5ed6c4;
}

/* links in the sea green, as the app marks what is live; focus rings in it too */
a.link, .faq a, .prose a { color: var(--p-accent); }
:focus-visible { outline-color: var(--p-accent); }

/* a real screenshot of the app, framed as a window: one radius, one hairline */
.shot { display: block; width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid #2f3133; background: #1c1d1f; }

/* The landing page's Documentation section: an intro beside its two ways in, then each group of
   chapters as a column of links whose line says what the chapter covers. */
.docs-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-6, 24px); margin-bottom: var(--s-10, 48px); }
.docs-intro > div:first-child { max-width: 60ch; }
.docs-intro h2 { margin: 0 0 var(--s-3, 12px); }
.docs-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--s-8, 32px) var(--s-6, 24px); }
/* three groups a row on a wide screen, so the six groups make two even rows, never five and a lone one */
@media (min-width: 1024px) { .docs-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-10, 48px) var(--s-8, 32px); } }
.docs-group h3 { font-size: 13px; font-weight: 600; color: var(--p-muted, #adafb1); margin: 0 0 var(--s-3, 12px); padding-bottom: var(--s-3, 12px); border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.docs-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.docs-group a { display: grid; gap: 2px; padding: 10px 12px; margin: 0 -12px; border-radius: 10px; color: inherit; text-decoration: none; min-height: 44px; }
.docs-group a b { font-weight: 600; font-size: 15px; }
.docs-group a span { font-size: 13px; line-height: 1.45; color: var(--p-muted, #adafb1); }
.docs-group a:hover { background: color-mix(in srgb, currentColor 7%, transparent); }
.docs-group a:hover b { color: var(--p-accent, #5ed6c4); }
.docs-group a:focus-visible { outline: 2px solid var(--p-accent, #5ed6c4); outline-offset: 2px; }

/* The app's icon beside its name in the bar and the footer (favicon.svg, the "Fading shadow"
   icon of assets/icon/polysculpt.svg, its corners rounded as the platforms round them). */
.nav__logo img.app-icon { width: 24px; height: 24px; flex: none; }
.footer .nav__logo img.app-icon { width: 0.9em; height: 0.9em; margin-right: 0.18em; vertical-align: -0.08em; }

/* the press kit: the icon in its three forms, then the screenshots two to a row */
.prose .press-icons { display: flex; flex-wrap: wrap; gap: var(--s-6, 24px); margin: var(--s-5, 20px) 0; }
.prose .press-icon { margin: 0; text-align: center; font-size: 14px; color: var(--p-muted); }
.prose .press-icon img { width: 96px; height: 96px; max-width: none; display: block; margin: 0 auto var(--s-2, 8px); border-radius: 22%; border: 0; }
.prose .press-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s-5, 20px); margin-top: var(--s-5, 20px); }
.prose .press-shots figure { margin: 0; }
.prose .press-shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); border: 1px solid #2f3133; }
.prose .press-shots figcaption { font-size: 13px; color: var(--p-muted); margin-top: var(--s-2, 8px); }

/* the store buttons: each one shows only once release.json gives it a link (publish.py fills it in),
   and the row only once one does, so the site never shows a button that goes nowhere */
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: var(--s-5, 20px); }
.store-row > a:not([href^="http"]), .store-row:not(:has(> a[href^="http"])) { display: none; }
.store-row img { display: block; height: 44px; width: auto; }
/* Google's badge carries its own clear space inside the picture */
.store-row img.badge--play { height: 66px; margin: -11px -11px; }
