/* Royalty AI Demos layout upgrade — benchmark skeleton, demos palette.
   Layout only: no tech file is touched by this sheet. Loads last in head. */
:root{
  --demos-accent:#a8c256; --demos-accent2:#f0d98c;
  --demos-cream:#f2eee1; --demos-muted:#e6e1d3;
  --demos-line:rgba(168,194,86,.35);
  --demos-glass:linear-gradient(160deg,rgba(20,26,28,.82),rgba(10,13,14,.88));
}
html{scroll-behavior:smooth}
body{padding:0 18px}

/* headline discipline — gradient, 900, clamp (benchmark trait) */
body>h1{
  font-size:clamp(32px,6vw,56px); font-weight:900; line-height:1.05; letter-spacing:.06em;
  background:linear-gradient(92deg,var(--demos-cream),var(--demos-accent) 52%,var(--demos-accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
body>.sub{color:var(--demos-muted); font-size:clamp(15px,2vw,18px); line-height:1.6; max-width:640px; margin-left:auto; margin-right:auto}
.crown{filter:drop-shadow(0 10px 26px rgba(240,217,140,.35))}

/* page rhythm */
.grid{max-width:1200px; margin-left:auto; margin-right:auto; gap:18px}

/* glass card system */
.card{
  background:var(--demos-glass);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid var(--demos-line); border-radius:22px 4px 22px 4px;
  box-shadow:inset 0 1px 0 rgba(230,225,211,.14),0 18px 40px rgba(0,0,0,.55);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{
  transform:translateY(-5px); border-color:var(--demos-accent);
  box-shadow:inset 0 1px 0 rgba(230,225,211,.14),0 24px 48px rgba(0,0,0,.6),0 0 34px rgba(168,194,86,.16);
}
.card p{color:var(--demos-muted)}

/* primary demo buttons */
.go{
  border-radius:16px 3px 16px 3px;
  background:linear-gradient(180deg,#d9e89a 0%,#a8c256 46%,#75903a 54%,#4c6323 100%);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.go:hover{transform:translateY(-2px); filter:brightness(1.06); box-shadow:0 14px 30px rgba(0,0,0,.5),0 0 22px rgba(168,194,86,.3)}

/* footer */
body>footer{
  border-top:1px solid rgba(168,194,86,.25); margin-top:2.5rem;
  color:var(--demos-muted); letter-spacing:.06em;
}

@media (prefers-reduced-motion:reduce){
  .card,.go{transition:none}
  .card:hover,.go:hover{transform:none}
}
