/* brand.css — shared Artisan Mortgages theme (matches artisanmortgages.ca) */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  /* Obsidian + champagne palette from artisanmortgages.ca */
  --bg: hsl(30 8% 5%);
  --bg2: hsl(30 8% 8%);
  --bg3: hsl(30 8% 11%);
  --line: hsl(38 15% 18%);
  --text: hsl(38 30% 92%);
  --muted: hsl(35 12% 62%);
  --accent: hsl(40 55% 62%);
  --accent2: hsl(44 80% 75%);
  --gold-deep: hsl(36 45% 42%);
  --good: hsl(142 45% 45%);
  --warn: hsl(38 70% 50%);
  --danger: hsl(0 70% 50%);
  --live: hsl(38 70% 55%);
  --radius: 14px;
  --shadow: 0 8px 32px hsl(30 30% 0% / 0.55);
  --shadow-gold: 0 20px 60px -20px hsl(40 70% 50% / 0.35);
  --gradient-gold: linear-gradient(135deg, hsl(36 60% 48%), hsl(44 80% 72%), hsl(36 55% 50%));
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -10%, hsl(40 60% 30% / 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, hsl(40 60% 25% / 0.08), transparent);
  font-synthesis: none;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--gradient-hero), var(--bg);
  background-attachment: fixed;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3, .page-head h1, .section-head h2, .hero h1, .login-card h1, .capture-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

a { color: var(--accent2); }
a:hover { color: var(--accent); }

::selection {
  background: hsl(40 55% 62% / 0.35);
  color: var(--text);
}

/* Brand lockup */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand .logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px hsl(40 70% 50% / 0.25));
}

.brand small {
  display: block;
  font-weight: 500;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: Inter, sans-serif;
}

/* Buttons — gold primary */
.btn {
  background: var(--gradient-gold);
  color: hsl(30 10% 6%);
  border: 1px solid hsl(40 60% 70% / 0.35);
  box-shadow: var(--shadow-gold);
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent2);
  background: hsl(40 55% 62% / 0.08);
}

.pill.admin {
  background: hsl(40 55% 62% / 0.18);
  color: var(--accent2);
}

.text-gold {
  background: linear-gradient(135deg, hsl(44 85% 78%), hsl(38 55% 58%), hsl(44 85% 78%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
