/* Global type + colors */
:root{
  --bg: #0f1115;
  --text: #e9eef7;
  --muted: #9fb0c3;
  --brand: #69e5ff;
  --brand-ink: #0b1927;
  --surface: #151924;
  --surface-2: #1b2130;
}

html, body {
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { letter-spacing: 0.2px; }
h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
h2 { font-weight: 700; }
h3 { font-weight: 700; }

p { color: var(--muted); font-weight: 400; }

/* Layout helpers */
.container{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.center { text-align: center; }

/* Hero */
.hero{
  padding: 8rem 0 6rem;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(105,229,255,0.18), transparent 60%), linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}
.hero p{
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin-top: 0.75rem;
}

/* --- Fun/modern NAV tab styles (expects .site-header / .site-nav markup) --- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(130%) blur(8px);
  background: color-mix(in oklab, var(--bg) 82%, #ffffff 0%);
  border-bottom: 1px solid color-mix(in oklab, var(--surface) 80%, #fff 0%);
}

.site-header .bar{
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}

.brand{
  display: flex; align-items: center; gap: .6rem; text-decoration: none;
  color: var(--text); font-weight: 700; letter-spacing: .3px;
}

.site-nav{
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
}

.site-nav a{
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: .2px;
  padding: .56rem .9rem;
  border-radius: 999px;
  background: transparent;
  transition: transform .12s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--surface-2) 85%, #fff 0%);
}

.site-nav a:hover{
  transform: translateY(-1px);
  background: color-mix(in oklab, var(--surface-2) 70%, #fff 0%);
}

.site-nav a.active{
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 6px 14px rgba(105,229,255,.22), inset 0 0 0 1px rgba(11,25,39,0.08);
}

/* Optional: Login button accent if you mark it .cta */
.site-nav a.cta{
  background: linear-gradient(180deg, #7bf0ff, #55e1ff);
  color: var(--brand-ink);
  font-weight: 700;
}
.site-nav a.cta:hover{ transform: translateY(-1px) scale(1.01); }

/* Auth-aware header bits */
[data-when="signed-in"] { display: none; } /* hidden by default until JS confirms auth */
.site-nav .greeting {
  margin-left: .25rem;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Auth visibility toggles (default hidden for signed-in elements until JS reveals) */
[data-when="signed-in"] { display: none; }
[data-when="signed-out"] { display: inline-block; }

/* Greeting styling */
.site-nav .greeting {
  margin-left: .4rem;
  font-weight: 700;
  letter-spacing: .2px;
}
.site-nav .greeting strong { color: var(--brand); }

