/* 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); }
.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; }
