/* F46 - static home page: brand + Login/Contact nav, one hero (tag line + sub text), copyright footer.
   No framework, no build step; served by Caddy at the apex. Colours mirror the SPA tokens
   (brand hsl(213 78% 47%), light/dark by system preference). */
/* Same typeface as the SPAs: Inter Variable (self-hosted copy of @fontsource-variable/inter). */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/home-assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/home-assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: hsl(210 20% 98%);
  --fg: hsl(222 84% 5%);
  --muted: hsl(215 16% 40%);
  --card: #ffffff;
  --border: hsl(214 32% 91%);
  --brand: hsl(213 78% 47%);
  --brand-fg: #ffffff;
  --muted-bg: hsl(210 40% 96%);
  --max: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: hsl(224 71% 4%);
    --fg: hsl(210 40% 98%);
    --muted: hsl(215 20% 65%);
    --card: hsl(224 50% 8%);
    --border: hsl(217 33% 17%);
    --brand: hsl(213 78% 55%);
    --muted-bg: hsl(217 33% 17%);
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 16px/1.6 "Inter Variable", system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 1.1rem; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brand); color: var(--brand-fg); padding: .5rem 1rem; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; z-index: 10; }

.nav {
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 1.1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--fg); font-size: 1.1rem; }
.brand svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 2; }
.nav nav { display: flex; align-items: center; gap: 16px; }
@media (min-width: 768px) {
  .nav { padding: 1.25rem 2rem; }
  .nav nav { gap: 36px; }
}

/* Buttons mirror the SPA Button (size default: h-9, px-4, 13px medium, rounded-lg = 0.5rem). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  height: 36px; padding: 0 16px; border-radius: 0.5rem; font-size: 13px; font-weight: 500; line-height: 1;
  border: 1px solid transparent; background-clip: padding-box; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--brand); color: var(--brand-fg); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 80%, transparent); }
.btn:focus-visible, .brand:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); border-color: var(--brand); }

main { flex: 1; display: flex; align-items: center; }
.hero { width: 100%; max-width: 820px; margin: 0 auto; padding: 3rem 1.25rem 4rem; text-align: center; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.65; }
.cta { margin-top: 2rem; display: flex; justify-content: center; }
.btn-lg { height: 44px; padding: 0 24px; font-size: 15px; }

.footer nav { display: inline-flex; gap: 1.25rem; margin-left: 1.25rem; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--brand); }
.footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem; text-align: center; color: var(--muted); font-size: .9rem;
}
