/* LingLink Products — styled to the HeroUI design-taste principles.
   Inherits the theme's --ll-* tokens; every value falls back safely.
   Applied principles: Title Case (no ALL CAPS), minimal borders, surface-based
   hierarchy, no stacked shadows, 4/8px spacing grid, generous whitespace,
   descriptions capped to 3 lines, CTA on its own line, visible focus rings. */

.llp-main{display:block}

/* ---- Spacing scale (4/8px grid) ---- */
.llp-main{--llp-2:.5rem;--llp-3:.75rem;--llp-4:1rem;--llp-6:1.5rem;--llp-8:2rem;
  --llp-line:color-mix(in srgb, currentColor 12%, transparent);
  --llp-surface:color-mix(in srgb, currentColor 4%, transparent);
  --llp-accent:var(--ll-blue,#0A6BFF)}

/* ---- Hero: generous top breathing room, clear hierarchy ---- */
.llp-hero,.llp-detail-hero{padding:clamp(2.5rem,6vw,4rem) 0 clamp(1.25rem,3vw,2rem)}
.llp-hero h1,.llp-detail-hero h1{margin:.25rem 0 var(--llp-3);line-height:1.15;text-wrap:balance}
.llp-hero__intro,.llp-detail__tagline{max-width:60ch;font-size:clamp(1rem,1.5vw,1.125rem);
  line-height:1.7;opacity:.82;margin:0 0 var(--llp-6)}
/* Eyebrow: Title Case, never uppercase (HeroUI typography principle) */
.llp-hero .ll-eyebrow,.llp-detail-hero .ll-eyebrow{text-transform:none;letter-spacing:.01em;
  font-variant-numeric:tabular-nums;opacity:.7;font-size:.875rem}
.llp-detail__alt{margin:0 0 var(--llp-3);opacity:.6;font-size:.9375rem}

/* ---- Cards: surface hierarchy instead of borders; single shadow ---- */
.llp-grid{display:grid;gap:var(--llp-4);
  grid-template-columns:repeat(auto-fill,minmax(min(100%,17.5rem),1fr));
  padding-bottom:clamp(2rem,5vw,4rem)}
.llp-card{display:flex;flex-direction:column;gap:var(--llp-2);padding:var(--llp-6);
  border-radius:16px;background:var(--llp-surface);border:1px solid transparent;
  text-decoration:none;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.llp-card:hover{transform:translateY(-2px);border-color:var(--llp-line)}
.llp-card:focus-visible{outline:2px solid var(--llp-accent);outline-offset:3px}
/* Title Case tag, muted — colour carried by accent only */
.llp-card__tag{font-size:.8125rem;text-transform:none;letter-spacing:0;opacity:.65}
.llp-card strong{font-size:1.0625rem;line-height:1.35;font-weight:600}
/* Cap descriptions at 3 lines to keep cards scannable and uniform */
.llp-card__text{font-size:.9375rem;line-height:1.6;opacity:.78;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.llp-card__more{font-style:normal;font-size:.875rem;color:var(--llp-accent);
  margin-top:auto;padding-top:var(--llp-2);font-weight:500}

/* ---- Detail body ---- */
.llp-breadcrumb{display:flex;gap:var(--llp-2);align-items:center;flex-wrap:wrap;
  font-size:.875rem;opacity:.7;margin-bottom:var(--llp-3)}
.llp-breadcrumb a{text-decoration:none}
.llp-breadcrumb a:hover{text-decoration:underline}
.llp-columns{display:grid;gap:var(--llp-4);
  grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr))}
.llp-block{padding:var(--llp-6);border-radius:16px;background:var(--llp-surface)}
.llp-block h2{font-size:1rem;margin:0 0 var(--llp-4);font-weight:600;letter-spacing:.01em}
.llp-block ul{margin:0;padding-left:1.15rem;display:grid;gap:var(--llp-3)}
.llp-block li{line-height:1.65}

/* ---- Quote note: CTA on its own line, escape path preserved ---- */
.llp-quote-note{margin:var(--llp-6) 0 0;padding:var(--llp-6);border-radius:16px;
  background:var(--llp-surface);display:flex;flex-direction:column;gap:var(--llp-4);align-items:flex-start}
.llp-quote-note p{margin:0;max-width:62ch;opacity:.8;line-height:1.65}
.llp-cta{display:inline-block;padding:.75rem 1.5rem;border-radius:999px;
  background:var(--llp-accent);color:#fff;text-decoration:none;font-weight:600;
  line-height:1.2;transition:filter .18s ease}
.llp-cta:hover{filter:brightness(1.07)}
.llp-cta:focus-visible{outline:2px solid var(--llp-accent);outline-offset:3px}
.llp-back{margin:var(--llp-6) 0 clamp(2rem,5vw,4rem)}
.llp-back a{text-decoration:none;opacity:.8}
.llp-back a:hover{opacity:1;text-decoration:underline}

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