/* Aha! Baangali — Adda CMS shared styles.
   Palette mirrors the public site's aha.css so the authoring tool and the
   site read as one product. Alphas are unchanged from the WCL original, so
   only hue shifts — contrast and density stay as they were. */

:root {
  /* ground — warm cream */
  --ground:   #EFE9DB;
  --ground-2: #F6F1E7;
  --ground-3: #F9F4EA;

  /* ink */
  --ink:   #16130E;
  --ink-2: #211B14;

  /* accent */
  --red:      #BB3126;
  --red-deep: #9E2B22;
  --coral:    #E0705F;

  /* hairlines and muted text, on ground */
  --line:        rgba(22, 19, 14, 0.12);
  --line-strong: rgba(22, 19, 14, 0.28);
  --muted:       rgba(22, 19, 14, 0.62);

  /* legacy names carried over from the WCL original, so no existing rule
     needs rewriting. Prefer the AHB names above for anything new. */
  --plum:  var(--red);
  --lilac: var(--coral);
  --mist:  var(--ground);
  --paper: var(--ground-3);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--mist);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.display, h1.display, h2.display {
  font-family: 'Urbanist', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.display em, .italic-accent, em.it {
  font-style: italic;
  font-weight: 500;
}

.mono {
  font-family: 'Space Grotesk', monospace;
  font-feature-settings: 'tnum';
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 500;
}

.pill {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .25s, color .25s, transform .25s;
  font-family: inherit;
}
.pill:hover { background: var(--ink); color: var(--mist); }
.pill.dark { background: var(--ink); color: var(--mist); }
.pill.dark:hover { background: var(--plum); }
.pill .arrow { transition: transform .25s; }
.pill:hover .arrow { transform: translate(2px, -2px); }
.pill.sm { padding: 7px 14px; font-size: 10px; }
.pill.danger { border-color: var(--red-deep); color: var(--red-deep); }
.pill.danger:hover { background: var(--red-deep); color: var(--paper); }

.tag-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.5);
  font-family: 'Space Grotesk';
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 500;
}
.tag-pill .dot { width: 6px; height: 6px; background: var(--plum); border-radius: 50%; }

.stripes {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(187,49,38,0.05) 0 1px,
      transparent 1px 14px
    ),
    linear-gradient(150deg, var(--coral) 0%, var(--red) 100%);
}
.stripes-soft {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(187,49,38,0.04) 0 1px,
      transparent 1px 14px
    ),
    linear-gradient(150deg, var(--ground-2) 0%, var(--coral) 100%);
}
