/* ============================================================
   Vraastrology — Veda Jyoti brand system (from the design canvas)
   Gold #8B6914 / deep #7A5810 / pale #F7E39A · ink #2B2416 · ivory grounds.
   Marcellus (display) + Albert Sans (UI/body), tabular numerals for
   times and credits. The lotus gradient belongs to the mark and the
   confidence meters only — surfaces stay flat.
   ============================================================ */

:root {
  --bg: #FBF7EC;
  --bg-app: #F7F2E3;
  --surface: #FFFFFF;
  --surface-2: #F7F0DD;
  --wash: #F5EBD0;
  --wash-2: #F1E9D2;
  --line: #E6DCC3;
  --line-soft: #EEE5CC;
  --line-strong: #D9CFAF;
  --ink: #2B2416;
  --ink-soft: #3A3221;
  --body: #574C33;
  --muted: #6E6248;
  --faint: #8A7B57;
  --gold: #8B6914;
  --gold-deep: #7A5810;
  --gold-pale: #F7E39A;
  --gold-mid: #CF9F2E;
  --good: #2E7D32;
  --good-wash: #E9EFDF;
  --bad: #B23B2E;
  --dark: #2B2416;
  --dark-2: #352C14;
  --dark-line: #4A3E1E;
  --dark-text: #CBBE96;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Albert Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-deep); }
button { font: inherit; }

.serif { font-family: Marcellus, Georgia, serif; font-weight: 400; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px; border-radius: 9px;
  background: var(--gold); color: #FFFDF5;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  border: none; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--gold-deep); color: #FFFDF5; }
.btn:disabled { background: #EFE7CE; color: #B4A87E; cursor: default; }
.btn-ghost { background: transparent; color: var(--gold-deep); border: 1px solid #C9B87E; }
.btn-ghost:hover { background: var(--wash); color: var(--gold-deep); }
.btn-dark { background: var(--gold-mid); color: var(--dark); font-weight: 700; }
.btn-dark:hover { background: var(--gold-pale); color: var(--dark); }
.btn-block { width: 100%; }

/* ---- chips ---- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--wash); color: var(--gold-deep);
  font-size: 12.5px; font-weight: 600;
}
.chip-good { background: var(--good-wash); color: var(--good); }

.credit-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--wash); border-radius: 999px; padding: 8px 15px;
  font-size: 13.5px; font-weight: 700; color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}

/* ---- cards / fields ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.field {
  display: flex; align-items: center; gap: 10px;
  height: 50px; width: 100%;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0 15px; font-size: 15px; color: var(--ink);
}
input.field:focus, select.field:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.lbl {
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
}

.meter { height: 5px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.meter > i { display: block; height: 100%; background: linear-gradient(90deg, #ECC75F, #8B6914); }

/* ---- landing layout ---- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-name { font-family: Marcellus, Georgia, serif; font-size: 21px; line-height: 1; }
.brand-sub { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; }
@media (max-width: 760px) { .nav-links a { display: none; } }

.footer { background: var(--surface-2); border-top: 1px solid var(--line-soft); padding: 34px 0 38px; }

/* spinner */
@keyframes vra-spin { to { transform: rotate(360deg); } }
.spin {
  width: 22px; height: 22px; border-radius: 999px;
  border: 2.5px solid var(--line); border-top-color: var(--gold);
  animation: vra-spin .8s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2s; } }
