/* The public site of Alineza (the home page today, the whole site later), drawn with the customer app's design system
   (claude.ai/artifact/BLJ712vVtuLie4HJiLt91w): the same tokens (praca-tokens.css), Figtree, one red accent and the 3D
   objects of the apps. Dark or light as the device prefers (js/site/theme.js). Every colour is a token. This sheet is
   the frame (type, bar, buttons, bands, foot); the home page's own pieces live in css/site/home.css and the day dial in
   css/site/day.css. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.st { margin: 0; background: var(--pr-canvas); color: var(--pr-ink); font: 400 16px/24px var(--pr-font-sans); -webkit-font-smoothing: antialiased; }
:where(.st) img { display: block; max-width: 100%; }
:where(.st) a { color: inherit; text-decoration: none; }
.st a:focus-visible, .st button:focus-visible { outline: 2px solid var(--pr-brand); outline-offset: 2px; border-radius: 6px; }
:where(.st) :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
:where(.st) :where(ul, ol) { padding: 0; list-style: none; }
:where(.st) .st-i { flex: none; width: 20px; height: 20px; }

.st-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

/* The bar: the wordmark, the sections and the way in */
.st-top { position: sticky; top: 0; z-index: 10; background: var(--pr-canvas); box-shadow: inset 0 -1px 0 var(--pr-hairline); }
.st-top__row { display: flex; align-items: center; gap: 24px; height: 64px; }
.st-mark { display: inline-flex; align-items: center; gap: 8px; font: 800 24px/30px var(--pr-font-sans); letter-spacing: -.035em; }
.st-mark img { width: 30px; height: 30px; }
.st-nav { display: flex; gap: 4px; margin-left: auto; }
.st-nav a { padding: 8px 12px; border-radius: 8px; font: 600 14px/20px var(--pr-font-sans); color: var(--pr-ink-2); }
.st-nav a:hover { color: var(--pr-ink); background: var(--pr-surface-2); }

/* Buttons: the red one once per band, the outlined one beside it */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font: 700 16px/20px var(--pr-font-sans); white-space: nowrap; }
.st-btn--brand { background: var(--pr-brand-strong); color: var(--pr-on-brand); }
.st-btn--brand:hover { background: var(--pr-brand); }
.st-btn--line { box-shadow: inset 0 0 0 1px var(--pr-hairline-strong); color: var(--pr-ink); }
.st-btn--line:hover { background: var(--pr-surface-2); }
.st-btn--small { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.st-btn--ink { background: var(--pr-ink); color: var(--pr-on-ink); }
.st-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bands and their words */
.st-band { padding-block: 96px; }
.st-band--surface { background: var(--pr-surface); box-shadow: inset 0 1px 0 var(--pr-hairline), inset 0 -1px 0 var(--pr-hairline); }
.st-title { font: 800 48px/56px var(--pr-font-sans); letter-spacing: -.03em; text-wrap: balance; }
.st-lead { margin-top: 16px; max-width: 34em; font: 400 18px/28px var(--pr-font-sans); color: var(--pr-ink-2); text-wrap: pretty; }
.st-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 16px 64px; margin-bottom: 48px; }
.st-head .st-lead { margin-top: 0; }

/* An app's drawing on its own colours, round as on the dial */
.st-orb { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: linear-gradient(160deg, var(--st-from), var(--st-to)); }
.st-orb img { width: 74%; height: 74%; }

/* The foot: the company in force, the legal pages and the contact */
.st-foot { padding-block: 32px; box-shadow: inset 0 1px 0 var(--pr-hairline); }
.st-foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.st-foot__legal { font: 400 14px/20px var(--pr-font-sans); color: var(--pr-ink-3); }
.st-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.st-foot nav a { font: 600 14px/20px var(--pr-font-sans); color: var(--pr-ink-2); }
.st-foot nav a:hover { color: var(--pr-ink); }

@media (max-width: 1023px) {
    .st-nav { display: none; }
    .st-top__row > .st-btn { margin-left: auto; }
    .st-band { padding-block: 72px; }
    .st-head { grid-template-columns: minmax(0, 1fr); }
    .st-title { font-size: 40px; line-height: 48px; }
}
@media (max-width: 640px) {
    .st-wrap { width: calc(100% - 32px); }
    .st-band { padding-block: 56px; }
    .st-head { margin-bottom: 32px; }
    .st-title { font-size: 32px; line-height: 40px; }
    .st-lead { font-size: 16px; line-height: 24px; }
}
