/* ===========================================================
   CRYSTAL AID — DESIGN TOKENS (Light Edition)
   Palette extracted directly from the brand logo:
   cream background #FFFCF7, ink mark #1D1E23.
   =========================================================== */

:root {
  /* ---- Color ---- */
  --cream: #FFFCF7;       /* primary background — exact logo bg */
  --parchment: #F7F1E6;   /* card / section surface, one step warmer */
  --parchment-deep: #F0E8D8; /* hover / active surface */
  --ink: #1D1E23;         /* primary text — exact logo mark color */
  --ink-soft: #5B5A55;    /* secondary text */
  --ink-faint: #8C8A82;   /* tertiary / placeholder text */
  --gold: #B8864B;        /* accent — drawn from rudraksha & pyrite tones in product photography */
  --gold-deep: #96673A;   /* hover state for gold */
  --gold-pale: #EFE0C8;   /* pale gold for badges, subtle fills */
  --line: #E7DFCD;        /* hairline borders */
  --line-soft: #F0EADB;
  --success: #5F7A52;
  --error: #A14B4B;

  /* Dark surfaces used sparingly (footer) */
  --ink-bg: #1D1E23;
  --bone-on-dark: #F6F1E7;

  /* ---- Type ---- */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* ---- Scale ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-card: 0 1px 2px rgba(29,30,35,0.04), 0 8px 24px rgba(29,30,35,0.06);
  --shadow-lifted: 0 8px 16px rgba(29,30,35,0.06), 0 24px 48px rgba(29,30,35,0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

::selection { background: var(--gold-pale); color: var(--ink); }

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

@media (max-width: 640px) {
  .container { padding: 0 var(--space-4); }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
