/* ============================================================================
   LawLlama Marketing — shared/styles.css
   "The Alberta Brief" editorial-legal design system.
   Matches lawllama-web/src/index.css tokens verbatim.
   ============================================================================ */

/* ---------- Fonts (self-hosted, NO CLOUD policy) ------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/shared/fonts/Inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/shared/fonts/Inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/shared/fonts/Merriweather-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/shared/fonts/Merriweather-700.ttf') format('truetype');
}

/* ---------- Tokens ------------------------------------------------------- */
:root {
  /* Legal palette — mirrors lawllama-web tailwind.config.js + index.css */
  --legal-navy: #1a365d;
  --legal-navy-light: #2d4a6f;
  --legal-navy-dark: #0f2340;
  --legal-gold: #c9a961;
  --legal-gold-light: #e5d4a8;
  --legal-gold-dark: #a68b4c;
  --legal-burgundy: #742a2a;
  --legal-slate: #475569;
  --legal-slate-light: #64748b;
  --legal-parchment: #f5f3ef;
  --legal-cream: #faf9f7;
  --legal-cream-deep: #ebe8e2;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'JetBrains Mono', monospace;

  /* Shadows — from lawllama-web/src/index.css:209 */
  --shadow-legal: 0 2px 8px -2px rgba(26, 54, 93, 0.12), 0 1px 3px rgba(26, 54, 93, 0.08);
  --shadow-legal-lg: 0 4px 16px -4px rgba(26, 54, 93, 0.15), 0 2px 6px rgba(26, 54, 93, 0.1);
  --shadow-plinth: 0 24px 64px -16px rgba(15, 35, 64, 0.4);

  /* Spacing rhythm */
  --container-max: 1200px;
  --section-pad-y: clamp(4rem, 9vw, 8rem);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;

  /* Hairline */
  --hairline: 1px solid var(--legal-gold);
}

/* ---------- Reset + base ------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--legal-navy-dark);
  background: var(--legal-cream);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--legal-navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

a {
  color: var(--legal-navy);
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

a:hover { color: var(--legal-gold-dark); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img, svg { display: block; max-width: 100%; height: auto; }

::selection {
  background: var(--legal-gold);
  color: var(--legal-navy-dark);
}

/* Custom scrollbar — matches app */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--legal-cream); }
::-webkit-scrollbar-thumb { background: var(--legal-gold); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--legal-gold-dark); }

/* ---------- Layout primitives ------------------------------------------- */
.ll-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.ll-container-narrow {
  max-width: 880px;
}

/* 1px gold horizontal rule — the structural spine */
.ll-hairline {
  width: 100%;
  height: 1px;
  background: var(--legal-gold);
  border: 0;
  margin: 0;
}

.ll-hairline-short {
  width: 40px;
  height: 1px;
  background: var(--legal-gold);
  border: 0;
  display: block;
}

.ll-hairline-gradient {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--legal-gold) 30%, var(--legal-gold) 70%, transparent);
  border: 0;
}

/* ---------- Backgrounds (ported from app) ------------------------------- */
.ll-bg-parchment {
  background: linear-gradient(180deg, #faf9f7 0%, #ebe8e2 100%);
}

.ll-bg-cream { background: var(--legal-cream); }

.ll-bg-linen {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4c9b9' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ll-bg-parchment-linen {
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4c9b9' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #faf9f7 0%, #ebe8e2 100%);
}

/* ---------- Typography utilities ---------------------------------------- */
.ll-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--legal-gold-dark);
  margin-bottom: 1.25rem;
}

.ll-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--legal-gold);
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 2px;
}

.ll-small-caps {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--legal-slate);
}

.ll-lead {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--legal-slate);
  max-width: 38ch;
}

.ll-text-accent { color: var(--legal-gold-dark); font-style: italic; font-weight: 300; }
.ll-text-navy { color: var(--legal-navy); }
.ll-text-slate { color: var(--legal-slate); }
.ll-text-gold { color: var(--legal-gold-dark); }

/* ---------- Masthead ---------------------------------------------------- */
.ll-masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: var(--hairline);
}

.ll-masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 72px;
}

.ll-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--legal-navy);
}

.ll-brand:hover { color: var(--legal-navy); opacity: 0.85; }

.ll-brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.ll-brand-wordmark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--legal-navy);
}

.ll-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.ll-nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--legal-slate);
}

.ll-nav-link:hover { color: var(--legal-navy); }

/* ---------- CTAs (gold shimmer, ported from app) ------------------------ */
.ll-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--legal-navy-dark);
  background: linear-gradient(90deg, #a68b4c, #c9a961, #e5d4a8, #c9a961, #a68b4c);
  background-size: 200% auto;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-legal);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  animation: goldShimmer 8s linear infinite;
}

.ll-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-legal-lg);
  color: var(--legal-navy-dark);
  animation-duration: 3s;
}

.ll-cta-primary:focus-visible {
  outline: 2px solid var(--legal-gold);
  outline-offset: 3px;
}

.ll-cta-primary-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.ll-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--legal-navy);
  background: transparent;
  border: 1px solid var(--legal-navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.ll-cta-secondary:hover {
  background: var(--legal-navy);
  color: var(--legal-cream);
}

.ll-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--legal-navy);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--legal-gold);
  padding: 4px 0;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.ll-cta-ghost:hover {
  color: var(--legal-gold-dark);
  border-color: var(--legal-gold-dark);
}

/* ---------- Hero -------------------------------------------------------- */
.ll-hero {
  padding: clamp(5rem, 11vw, 10rem) 0 clamp(4rem, 9vw, 8rem);
  position: relative;
}

.ll-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.ll-hero-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--legal-navy);
  max-width: 18ch;
  margin-bottom: 1.5rem;
}

.ll-hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--legal-gold-dark);
}

.ll-hero-subhead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--legal-slate);
  max-width: 56ch;
  margin-bottom: 2.25rem;
}

.ll-hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.ll-hero-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ll-hero-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  animation: scaleBalance 10s ease-in-out infinite;
}

.ll-hero-proof {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  font-size: 14px;
  color: var(--legal-slate);
  letter-spacing: 0.02em;
}

/* ---------- Section scaffolding ---------------------------------------- */
.ll-section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.ll-section-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--legal-navy);
  max-width: 22ch;
  margin-bottom: 1.25rem;
}

.ll-section-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--legal-navy-dark);
  max-width: 62ch;
}

.ll-section-body p + p { margin-top: 1em; }

/* ---------- Provenance bar --------------------------------------------- */
.ll-provenance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  padding: 2rem 0;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
}

.ll-provenance-item {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--legal-slate);
  position: relative;
  padding: 0 clamp(0.5rem, 1.5vw, 1.25rem);
}

.ll-provenance-item + .ll-provenance-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(0.5rem, 1.5vw, 1.25rem));
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--legal-gold);
}

/* ---------- Two-column narrative --------------------------------------- */
.ll-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

/* ---------- Product plinth --------------------------------------------- */
.ll-plinth {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--legal-navy);
  color: var(--legal-cream);
  border-top: 1px solid var(--legal-gold);
  border-bottom: 1px solid var(--legal-gold);
  overflow: hidden;
}

.ll-plinth::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e5d4a8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ll-plinth-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.ll-plinth-callouts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 1px solid rgba(201, 169, 97, 0.35);
  padding-left: 1.5rem;
}

.ll-plinth-callouts li {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--legal-gold-light);
}

.ll-plinth-screenshot {
  width: 100%;
  max-width: 1080px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-plinth);
  background: var(--legal-cream);
}

.ll-plinth-heading {
  color: var(--legal-cream);
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  max-width: 16ch;
}

/* ---------- Editorial cards --------------------------------------------- */
.ll-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.ll-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--legal-cream);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-legal);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.ll-card:hover {
  border-color: rgba(201, 169, 97, 0.5);
  box-shadow: var(--shadow-legal-lg);
}

.ll-card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  color: var(--legal-navy);
}

.ll-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--legal-slate);
}

.ll-card-link {
  margin-top: auto;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--legal-navy);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--legal-gold);
  align-self: flex-start;
  padding-bottom: 2px;
}

.ll-card-link:hover { color: var(--legal-gold-dark); border-color: var(--legal-gold-dark); }

/* ---------- Deployment timeline ---------------------------------------- */
.ll-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  position: relative;
  margin-top: 3rem;
}

.ll-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--legal-gold);
}

.ll-timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  background: transparent;
}

.ll-timeline-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--legal-cream);
  border: 1px solid var(--legal-gold);
  color: var(--legal-navy);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.ll-timeline-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--legal-gold-dark);
  margin-bottom: 0.5rem;
}

.ll-timeline-body {
  font-size: 15px;
  line-height: 1.5;
  color: var(--legal-navy-dark);
  max-width: 22ch;
}

/* ---------- Closing / CTA block ---------------------------------------- */
.ll-closing {
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
}

.ll-closing-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: block;
}

.ll-closing-heading {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--legal-navy);
  max-width: 18ch;
  margin: 0 auto 2.5rem;
}

/* ---------- Footer ------------------------------------------------------ */
.ll-footer {
  background: var(--legal-cream);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
}

.ll-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3rem;
}

.ll-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ll-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ll-footer-brand-row img { width: 32px; height: 32px; }

.ll-footer-brand-row .ll-brand-wordmark { font-size: 18px; }

.ll-footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--legal-slate);
  max-width: 32ch;
}

.ll-footer-col h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--legal-gold-dark);
  margin-bottom: 1rem;
}

.ll-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ll-footer-col a {
  font-size: 13px;
  color: var(--legal-slate);
  line-height: 1.5;
}

.ll-footer-col a:hover { color: var(--legal-navy); }

.ll-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 12px;
  color: var(--legal-slate);
  letter-spacing: 0.02em;
}

/* ---------- Form inputs (dataset-builder) ------------------------------ */
.ll-form-input,
.ll-form-textarea,
.ll-form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--legal-navy-dark);
  background: var(--legal-cream);
  border: 2px solid rgba(71, 85, 105, 0.15);
  border-radius: var(--radius);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  outline: none;
}

.ll-form-input:focus,
.ll-form-textarea:focus,
.ll-form-select:focus {
  border-color: var(--legal-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

.ll-form-textarea {
  min-height: 160px;
  resize: vertical;
  font-family: var(--font-sans);
}

.ll-form-label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--legal-slate);
  margin-bottom: 0.5rem;
}

.ll-form-help {
  display: block;
  font-size: 13px;
  color: var(--legal-slate-light);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* ---------- Code block ------------------------------------------------- */
.ll-code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--legal-navy-dark);
  background: var(--legal-cream);
  border-left: 3px solid var(--legal-gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  overflow-x: auto;
  white-space: pre;
}

.ll-code-inline {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(201, 169, 97, 0.12);
  color: var(--legal-navy-dark);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(201, 169, 97, 0.25);
}

/* ---------- Download cards (updates page) ------------------------------ */
.ll-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.ll-download-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--legal-cream);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-legal);
  position: relative;
}

.ll-download-card[data-recommended]::before {
  content: 'Recommended';
  position: absolute;
  top: -12px;
  left: 2rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--legal-navy-dark);
  background: var(--legal-gold);
  padding: 4px 10px;
  border-radius: 999px;
}

.ll-download-card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--legal-navy);
}

.ll-download-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--legal-slate-light);
  letter-spacing: 0.04em;
}

.ll-download-meta code { font-family: var(--font-mono); font-size: 11px; }

/* ---------- Specs table ------------------------------------------------ */
.ll-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(201, 169, 97, 0.3);
  border-bottom: 1px solid rgba(201, 169, 97, 0.3);
}

.ll-specs-row {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  border-right: 1px solid rgba(201, 169, 97, 0.15);
}

.ll-specs-row:last-child { border-right: 0; }

.ll-specs-key {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--legal-gold-dark);
  margin-bottom: 0.5rem;
}

.ll-specs-val {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--legal-navy);
}

/* ---------- Animations ------------------------------------------------- */
@keyframes goldShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes scaleBalance {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-0.6deg); }
  75%      { transform: rotate(0.6deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ll-reveal {
  animation: fadeUp 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ll-reveal-delay-1 { animation-delay: 120ms; }
.ll-reveal-delay-2 { animation-delay: 240ms; }
.ll-reveal-delay-3 { animation-delay: 360ms; }
.ll-reveal-delay-4 { animation-delay: 480ms; }

/* ---------- Accessibility --------------------------------------------- */
.ll-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsive ------------------------------------------------- */
@media (max-width: 860px) {
  .ll-hero-grid { grid-template-columns: 1fr; }
  .ll-hero-logo { order: -1; }
  .ll-hero-logo img { width: 96px; height: 96px; }
  .ll-two-col { grid-template-columns: 1fr; }
  .ll-plinth-inner { grid-template-columns: 1fr; }
  .ll-plinth-callouts {
    border-left: 0;
    border-top: 1px solid rgba(201, 169, 97, 0.35);
    padding-left: 0;
    padding-top: 1rem;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ll-timeline { grid-template-columns: 1fr; gap: 2rem; }
  .ll-timeline::before { display: none; }
  .ll-footer-grid { grid-template-columns: 1fr 1fr; }
  .ll-nav { gap: 1rem; }
  .ll-nav-link { font-size: 12px; }
}

@media (max-width: 560px) {
  .ll-masthead-inner { height: 64px; }
  .ll-brand-wordmark { font-size: 18px; }
  .ll-brand-mark { width: 32px; height: 32px; }
  .ll-nav { display: none; }
  .ll-nav-mobile-cta { display: inline-flex; }
  .ll-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ll-footer-bottom { flex-direction: column; align-items: flex-start; }
  .ll-hero-ctas { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .ll-hero-ctas > * { width: 100%; justify-content: center; }
  .ll-provenance { flex-direction: column; gap: 0.75rem; padding: 1.25rem 0; }
  .ll-provenance-item + .ll-provenance-item::before { display: none; }
}

.ll-nav-mobile-cta { display: none; }
