/* legal.css — EXACT Lyren homepage look (dark grid + gold glow + glass cards) */

:root{
  --c900:#663d29;
  --c700:#9a674d;
  --c600:#b97c5d;
  --c500:#da926e;
  --c300:#b59d55;
  --c200:#e3c56b;

  --bg0:#070606;
  --bg1:#0d0b0a;

  --text:#f2ece8;
  --muted: rgba(242,236,232,.72);

  --stroke: rgba(227,197,107,.16);
  --shadow: 0 18px 60px rgba(0,0,0,.55);

  --r14: 14px;
  --r16: 16px;
  --r18: 18px;
}

/* If your homepage already defines body bg/grid, REMOVE these 2 blocks */
body{
  color: var(--text);
  background:
    radial-gradient(1200px 520px at 18% 12%, rgba(227,197,107,.10), transparent 60%),
    radial-gradient(900px 460px at 84% 0%, rgba(102,61,41,.22), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(227,197,107,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(227,197,107,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity:.35;
  mix-blend-mode: screen;
}

/* Scope */
.ly-legal{ position: relative; z-index: 1; }

/* Header */
.ly-legal-head{
  padding: 6px 4px 0;
}

.ly-pill{
  display:inline-flex;
  align-items:center;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(227,197,107,.18);
  background: rgba(227,197,107,.07);
  color: rgba(227,197,107,.95);
  font-weight: 950;
  font-size: .82rem;
  letter-spacing: .01em;
}

.ly-legal-title{
  font-weight: 1000;
  letter-spacing: -0.03em;
  margin: 0;
}

.ly-legal-meta{
  color: rgba(242,236,232,.68);
  font-weight: 800;
}

.ly-legal-subtitle{
  color: rgba(242,236,232,.78);
  line-height: 1.65;
  max-width: 76ch;
}

/* Card (glass) */
.ly-card{
  border-radius: var(--r18);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.ly-card-body{
  padding: 22px;
}

/* Typography */
.ly-h2{
  font-weight: 950;
  letter-spacing: -0.02em;
  margin: 0 0 .55rem;
  color: var(--text);
}
.ly-p{
  color: rgba(242,236,232,.80);
  line-height: 1.65;
  margin-bottom: .95rem;
}
.ly-list{
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: rgba(242,236,232,.80);
}
.ly-list li{ margin: .55rem 0; }
.ly-list strong{ color: rgba(242,236,232,.92); }

.ly-hr{
  border: 0;
  height: 1px;
  background: rgba(227,197,107,.10);
  margin: 18px 0;
}

/* Inline code */
code{
  color: rgba(227,197,107,.95);
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(227,197,107,.16);
  padding: .10rem .38rem;
  border-radius: 10px;
  font-weight: 850;
}

/* Link */
.ly-link{
  color: rgba(227,197,107,.92);
  text-decoration: none;
  font-weight: 950;
}
.ly-link:hover{
  color: rgba(227,197,107,.98);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 575.98px){
  .ly-card-body{ padding: 18px; }
  .ly-legal-subtitle{ max-width: 100%; }
}