/* Toni's public site on toninaegele.com (placeholder until the real content exists).
   Separate from the app: the values below are a copy of the few app tokens it uses
   (public/css/variables.css), so the site can get its own look later without touching the app. */
:root {
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: 16px;
  --fs-hero: 48px;
  --fw-heavy: 800;
  --ls-tight: -0.02em;
  --space-1: 4px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --radius-pill: 999px;
  --tap: 44px;
  --icon-size: 22px;
  --icon-stroke: 1.75;
  --content-max: 640px;
  --focus-width: 2px;
  --bg: #F5F3EB;
  --surface-2: #ECE9DD;
  --text: #26241A;
  --text-muted: #605C4A;
  --accent: #57542A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161612;
    --surface-2: #2A2A23;
    --text: #ECEBE4;
    --text-muted: #AEAC9F;
    --accent: #B3B396;
  }
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/manrope-latin-wght.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.45; -webkit-font-smoothing: antialiased;
}
h1, p { margin: 0; }

/* The login icon is the only way into the app: small, top right, out of the way. */
.site-bar {
  display: flex; justify-content: flex-end;
  padding: calc(var(--space-3) + env(safe-area-inset-top)) var(--space-4) 0;
}
.site-login {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap); border-radius: var(--radius-pill);
  color: var(--text-muted); text-decoration: none;
}
.site-login:hover { color: var(--text); background: var(--surface-2); }
.site-login:focus-visible { outline: var(--focus-width) solid var(--accent); outline-offset: var(--space-1); }
.site-login svg {
  width: var(--icon-size); height: var(--icon-size);
  fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); stroke-linecap: round; stroke-linejoin: round;
}

/* The name carries the page while there is no other content yet. */
.site {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-4);
  width: 100%; max-width: var(--content-max); margin: 0 auto;
  padding: var(--space-6) var(--space-5) calc(var(--space-6) * 2 + env(safe-area-inset-bottom));
}
.site-name {
  font-size: calc(var(--fs-hero) * 1.25); font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-tight); line-height: 1;
}
.site-text { color: var(--text-muted); max-width: 34ch; }

@media (min-width: 672px) {
  .site { justify-content: center; padding-bottom: var(--space-6); }
  .site-name { font-size: calc(var(--fs-hero) * 1.75); }
}
