/* Tansen design tokens. Brand colours are injected from config/brand.json as :root vars;
   the fallbacks below keep the page usable if a page is opened without the server. */
:root {
  --night: #0b0a1a; --ink: #15132b; --saffron: #ff9933; --gold: #e8b04b;
  --neon: #7b5cff; --rose: #ff4d8d; --text: #f4efe6; --muted: #a59fb8;
  --line: color-mix(in srgb, var(--text) 12%, transparent);
  --card: color-mix(in srgb, var(--ink) 80%, transparent);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --deva: 'Tiro Devanagari Hindi', var(--serif);
  --radius: 18px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

.serif { font-family: var(--serif); font-weight: 500; }
.deva { font-family: var(--deva); }
.gold { color: var(--gold); }
.grad {
  background: linear-gradient(100deg, var(--gold), var(--saffron) 40%, var(--rose) 70%, var(--neon));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--saffron), var(--rose)); color: #1a0d05;
  box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--saffron) 70%, transparent);
}
.btn-ghost { border-color: var(--line); background: color-mix(in srgb, var(--text) 4%, transparent); }
.btn-ghost:hover { border-color: var(--gold); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.input {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--night) 70%, transparent); outline: none; transition: border-color .2s;
}
.input:focus { border-color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
