/* Shared look for every public page except the landing page, copied from
   templates/landing.html: colours, fonts, header, footer, buttons and the
   background glow. Load it after a page's own styles so these win. */
:root {
  color-scheme: dark;
  --bg: #06090F;
  --panel: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  --panel-hover: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
  --chip: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --text: #F3F7FC;
  --text-dim: #AAB8C9;
  --text-faint: #7F8EA3;
  --accent: #FE6963;
  --accent-2: #FF9A6B;
  --accent-soft: #FF9A6B;
  --accent-ink: #210B09;
  --teal: #38E1C6;
  --cyan: #62C6FF;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { position: relative; z-index: 1; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; }
h1 { font-weight: 700; letter-spacing: -0.04em; }

.site-aurora { position: absolute; inset: 0 0 auto 0; height: 900px; z-index: 0; overflow: hidden; pointer-events: none; }
.site-aurora::before, .site-aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.site-aurora::before { width: 720px; height: 620px; right: -160px; top: -220px; background: rgba(56, 225, 198, 0.16); }
.site-aurora::after { width: 620px; height: 560px; left: -220px; top: 40px; background: rgba(254, 105, 99, 0.12); }

/* Buttons: corner radius is height x 0.305 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 16px;
  background: rgba(255, 255, 255, 0.08); color: var(--text);
  font-family: inherit; font-weight: 600; font-size: 0.98rem; white-space: nowrap; cursor: pointer; text-decoration: none;
  box-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
  box-shadow: 0 14px 36px -12px rgba(254, 105, 99, 0.75);
}
.btn--primary:hover { background: linear-gradient(135deg, #ff7b75, #ffab82); }
.btn--outline { background: rgba(255, 255, 255, 0.08); border: 0; }
.btn--sm { height: 40px; padding: 0 18px; border-radius: 12px; font-size: 0.9rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 13px; border: 0; border-radius: 9px; background: var(--chip);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px 2px rgba(56, 225, 198, 0.7); }

/* Header: the landing page's floating glass bar */
.site-nav { position: sticky; top: 14px; z-index: 200; padding: 0 16px; }
.site-nav__inner {
  max-width: 1104px; margin: 0 auto; height: 60px; padding: 0 10px 0 18px; border-radius: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(18, 24, 34, 0.62); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.9);
}
.site-nav__brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.site-nav__brand img { width: 30px; height: 30px; border-radius: 9px; }
.site-nav__links { display: flex; align-items: center; gap: 28px; }
.site-nav__link { font-size: 0.92rem; color: var(--text-dim); text-decoration: none; transition: color 0.2s ease; }
.site-nav__link:hover, .site-nav__link[aria-current] { color: var(--text); }

/* Footer: same as the landing page */
.site-footer { position: relative; z-index: 1; padding: 72px 0 56px; font-size: 0.86rem; line-height: 1.6; color: var(--text-faint); }
.site-footer__wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.site-footer p { max-width: 92ch; margin: 0; }
.site-footer p + p { margin-top: 12px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a.inline { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__row { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__links a:hover { color: var(--text); }

@media (max-width: 720px) {
  .site-nav { top: 10px; padding: 0 10px; }
  .site-nav__link { display: none; }
  .site-footer__wrap { padding: 0 18px; }
  .site-aurora::before { width: 420px; height: 420px; right: -180px; }
  .site-aurora::after { width: 380px; height: 380px; left: -200px; top: 260px; }
}
