/* Nurani Labs components. Source rules (.nl-hero, .nl-glass, keyframes, reduced motion) are verbatim; the rest is derived from the roles named in the token file. */
:root {
  --nl-font-head: var(--font-head);
  --nl-font-body: var(--font-body);
}
/* Preview ground: the viewer paints its own backdrop unless the ground is forced. */

.nl-hero {
  background:
    radial-gradient(60% 90% at 12% 20%, var(--nl-wash) 0%, transparent 70%),
    radial-gradient(50% 80% at 92% 40%, var(--nl-wash-tint) 0%, transparent 70%),
    var(--nl-ground);
}
.nl-glass {
  background: var(--nl-glass-fill);
  border: 1px solid var(--nl-glass-border);
  backdrop-filter: blur(var(--nl-glass-blur));
  -webkit-backdrop-filter: blur(var(--nl-glass-blur));
  box-shadow: var(--nl-glass-shadow);
}

@keyframes nl-bob    { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes nl-ripple { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.04; opacity: .7; } }
.nl-bob { animation: nl-bob 6s ease-in-out infinite; }
.nl-rip { animation: nl-ripple 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .nl-bob, .nl-hop, .nl-rip { animation: none !important; }
}

.nl-hero--rounded {
  position: relative;
  overflow: hidden;
  border-radius: var(--nl-radius-hero);
  padding: 48px;
}
.nl-hero__panel {
  background: var(--nl-hero-panel);
  border-radius: var(--nl-radius-card);
  padding: 32px;
  max-width: 460px;
}

.nl-glass--panel {
  border-radius: var(--nl-radius-card);
  padding: 20px 24px;
  color: var(--nl-text);
  font-family: var(--nl-font-body);
}

.nl-card {
  background: var(--nl-card);
  border: 1px solid var(--nl-hairline);
  border-radius: var(--nl-radius-card);
  box-shadow: var(--nl-shadow-card);
  padding: 28px;
  color: var(--nl-text);
  font-family: var(--nl-font-body);
}
.nl-card--soft {
  background: var(--nl-surface-soft);
  box-shadow: none;
}

.nl-eyebrow {
  display: block;
  font-family: var(--nl-font-head);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--nl-label);
}
.nl-step {
  font-family: var(--nl-font-head);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--nl-label);
}
.nl-placeholder { color: var(--nl-label); }

.nl-title, .nl-heading {
  font-family: var(--nl-font-head);
  color: var(--nl-ink);
  font-weight: 600;
  margin: 0;
}
.nl-title   { font-size: 56px; line-height: 60px; }
.nl-heading { font-size: 24px; line-height: 32px; }
.nl-body    { font-family: var(--nl-font-body); font-size: 16px; line-height: 26px; color: var(--nl-text); margin: 0; }
.nl-caption { font-family: var(--nl-font-body); font-size: 14px; line-height: 22px; color: var(--nl-text-soft); margin: 0; }

.nl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border: 1.5px solid var(--nl-ink);
  border-radius: var(--nl-radius-pill);
  font-family: var(--nl-font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}
.nl-btn--primary { background: var(--nl-ink); color: var(--nl-ground); }
.nl-btn--primary:hover, .nl-btn--primary.is-hover { background: var(--nl-text); border-color: var(--nl-text); }
.nl-btn--secondary { background: transparent; color: var(--nl-ink); }
.nl-btn--secondary:hover, .nl-btn--secondary.is-hover { background: var(--nl-wash-tint); }
.nl-btn:focus-visible, .nl-btn.is-focus { outline: 3px solid var(--nl-ink); outline-offset: 3px; }
.nl-btn[disabled] { opacity: .5; cursor: not-allowed; }

.nl-light {
  width: 14px;
  height: 14px;
  border-radius: var(--nl-radius-pill);
  background: var(--nl-amber);
  box-shadow: 0 0 24px 8px var(--nl-amber-glow);
}
