/* WILBO design tokens — shadcn-neutral base + butterscotch brand (MARK-SPEC.json:
   gradient FFF6E0 → FFE096 → FFBA3C → EE9410, glow FFC85A), Geist type.
   Shared by every page; page-specific rules live in each page's <style>. */

:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --primary: #171717;
  --primary-foreground: #fafafa;
  --wilbo: #ee9410;          /* deep butterscotch — accent text on white */
  --wilbo-mid: #ffba3c;
  --wilbo-glow: #ffc85a;
  --cream: #fdf8ec;          /* section surfaces, from the brand-sheet family */
  --cream-border: #f3e8cd;
  --radius: 0.65rem;
  --sans: "Geist", -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--foreground);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── brand ─────────────────────────────────── */
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 17px; letter-spacing: 0.01em;
}
.mark { display: inline-block; }
.mark.breathe { animation: breathe 3s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.93); }
}

/* ── nav ───────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav .mark { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { white-space: nowrap; }
.nav-links a:not(.btn) { color: var(--muted-foreground); font-weight: 500; transition: color 0.15s; }
.nav-links a:not(.btn):hover { color: var(--foreground); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border); object-fit: cover;
}

/* ── buttons ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; cursor: pointer;
  font: 500 14px var(--sans);
  border-radius: calc(var(--radius) - 2px);
  padding: 10px 22px;
  border: 1px solid transparent;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.88; }
.btn-outline { background: var(--background); border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--muted); }
.btn-lg { padding: 13px 30px; font-size: 15px; border-radius: var(--radius); }
.btn:disabled { opacity: 0.55; cursor: wait; }

/* ── cards ─────────────────────────────────── */
.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── footer ────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 52px;
  font-size: 14px; color: var(--muted-foreground);
}
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { transition: color 0.15s; }
.foot-links a:hover { color: var(--foreground); }
.foot-legal { margin-top: 28px; font-size: 13px; color: var(--muted-foreground); }

.text-muted { color: var(--muted-foreground); }

@media (max-width: 700px) {
  .nav-links { gap: 12px; }
  .nav-hide-mobile { display: none; }
  /* "Sign in" duplicates the CTA's destination — drop it when a CTA is present */
  .nav-links:has(a.btn) #auth-link { display: none; }
  .nav-links .btn { padding: 8px 14px; }
  .nav-inner { height: 54px; }
  .brand { font-size: 16px; }
  .nav .mark { width: 23px; height: 23px; }
}
