/* DGF Corporations — Modern Premium Theme */

:root {
  /* Monochromatic Base */
  --ink: #000000;       /* True black for stark contrast */
  --ink-2: #333333;     /* Dark grey for secondary text */
  --ink-3: #666666;     /* Medium grey for metadata */
  
  --line: #eaeaea;      /* Soft borders */
  --line-strong: #cccccc;
  
  --bg: #ffffff;        /* Clean white background */
  --bg-2: #fafafa;      /* Subtle off-white for sections */
  
  /* One Vibrant Accent */
  --brand: #000000;     /* Primary brand color is black (stark minimalism) */
  --brand-2: #10b981;   /* Vibrant emerald for primary CTA and interactions */
  --accent: #10b981;    /* Vibrant emerald */
  
  --wrap: 72rem;        /* Wider container for premium feel */
  --narrow: 48rem;
  --r: 16px;            /* Modern soft rounding */
  
  /* Glassmorphism / Depth */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 32px 80px rgba(0, 0, 0, 0.12);
  
  /* Fluid Cubic-Bezier */
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0; 
  background: var(--bg); 
  color: var(--ink);
  font: 400 1.125rem/1.5 "Inter", "SF Pro Display", "Manrope", system-ui, sans-serif;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  line-height: 1.1; 
  letter-spacing: -0.04em; 
  color: var(--ink); 
  margin: 0 0 0.5em;
  font-family: "Inter", "SF Pro Display", system-ui, sans-serif;
}

/* Fluid Typography */
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -0.05em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 600; margin-top: 3rem; }
h3 { font-size: 1.5rem; font-weight: 600; }

p, ul, ol, dl { margin: 0 0 1.5rem; }

a { 
  color: var(--brand-2); 
  text-decoration-thickness: 1px; 
  text-underline-offset: 6px;
  transition: var(--transition);
}
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; border-radius: var(--r); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: var(--narrow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--ink); color: #fff; padding: 0.75rem 1.25rem; border-radius: var(--r); font-weight: 600; }

:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

/* header */
.site-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
  background: rgba(255, 255, 255, 0.8); 
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: sticky; 
  top: 0; 
  z-index: 50;
  transition: var(--transition);
}
.header-inner {
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 2rem; 
  min-height: 5rem; 
  flex-wrap: wrap;
}
.brand {
  font-size: 1.25rem; 
  color: var(--ink); 
  text-decoration: none; 
  letter-spacing: -0.03em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand strong { font-weight: 800; }
.brand-logo { border-radius: 8px; }
.site-header nav ul { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header nav a { color: var(--ink-3); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }

/* breadcrumbs */
.crumbs { padding: 2rem 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; font-size: 0.875rem; color: var(--ink-3); font-weight: 500; }
.crumbs li+li::before { content: "/"; margin-right: 0.5rem; color: var(--line-strong); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* sections */
.hero {
  padding: 8rem 0 6rem; 
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -150px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero h1 { max-width: 20ch; margin-bottom: 1.5rem; }
.hero-img { margin-top: 4rem; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }

.page-head { padding: 6rem 0 4rem; background: var(--bg); }
.band { padding: 6rem 0; }
.band.alt { background: var(--bg-2); }
.lede { font-size: clamp(1.25rem, 2.5vw, 1.5rem); color: var(--ink-2); max-width: 58ch; line-height: 1.6; letter-spacing: -0.02em; }
.eyebrow { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-3); font-weight: 700; margin: 0 0 1rem; }
.price { font-size: 3.5rem; font-weight: 700; color: var(--ink); margin: 0.5rem 0; letter-spacing: -0.05em; }

.callout {
  border-left: 2px solid var(--brand-2); 
  background: var(--bg-2);
  padding: 1.5rem 2rem; 
  border-radius: 0 var(--r) var(--r) 0;
  margin: 2.5rem 0;
}
.answer {
  background: #ffffff; 
  border: 1px solid var(--line); 
  border-radius: var(--r); 
  padding: 2rem 2.5rem; 
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.answer::before {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--brand-2);
}
.answer p { margin: 0; font-size: 1.25rem; color: var(--ink); line-height: 1.6; font-weight: 500; }
.quote { color: var(--ink-2); font-style: italic; }
.quote.big { font-size: 1.5rem; }
.disclosure { font-size: 0.9rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2.5rem; }
.updated { font-size: 0.875rem; color: var(--ink-3); font-weight: 500; display: inline-block; background: var(--bg-2); padding: 0.35rem 1rem; border-radius: 99px; }

/* lists */
.steps { padding-left: 1.5rem; } 
.steps li { margin-bottom: 1rem; }
.steps.big li { margin-bottom: 1.5rem; font-size: 1.15rem; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 2rem; position: relative; margin-bottom: 1rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 700; }

.crosses { list-style: none; padding: 0; }
.crosses li { padding-left: 2rem; position: relative; margin-bottom: 1rem; }
.crosses li::before { content: "×"; position: absolute; left: 0; color: var(--ink-3); font-weight: 700; font-size: 1.15em; }
.pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.pros-cons h3 { font-size: 1.15rem; margin: 0 0 1rem; }
.cost { color: var(--ink-2); margin-top: -0.25rem; }
.cta-global { background: var(--ink); color: #fff; text-align: center; border-radius: 24px; margin: 4rem 2rem; padding: 5rem 2rem; }
.cta-global h2 { margin-top: 0; color: #fff; }
.cta-global p { margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.8); }

@media (max-width: 48rem) {
  .pros-cons { grid-template-columns: 1fr; gap: 2rem; }
  .cta-global { margin: 2rem 1rem; padding: 4rem 1.5rem; }
}

.tools { list-style: none; padding: 0; }
.tools li { 
  border: 1px solid var(--line); 
  border-radius: var(--r); 
  padding: 1.5rem; 
  margin-bottom: 1rem; 
  background: #fff;
  transition: var(--transition);
}
.tools li:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.tools .note { color: var(--ink-2); font-size: 0.95rem; display: block; margin-top: 0.5rem; line-height: 1.5; }
.tag { 
  background: rgba(16, 185, 129, 0.1); 
  color: var(--brand-2); 
  font-size: 0.75rem; 
  font-weight: 700; 
  padding: 0.35rem 0.75rem; 
  border-radius: 99px; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
  display: inline-block;
  margin-left: 0.5rem;
}
.tag-unverified { background: #f3f4f6; color: var(--ink-3); }
.tools .note-warn { color: var(--ink); font-weight: 500; }
.howto { padding-left: 1.5rem; }
.howto li { margin-bottom: 1.5rem; font-weight: 500; }
.howto p { margin: 0.5rem 0 0; color: var(--ink-2); font-weight: 400; }
.faq dt { font-weight: 600; margin-top: 2rem; font-size: 1.15rem; }
.faq dd { margin: 0.75rem 0 0; color: var(--ink-2); padding-left: 1.5rem; border-left: 1px solid var(--line-strong); }
.stats { display: flex; flex-wrap: wrap; gap: 3rem; list-style: none; padding: 2rem 0 0; margin: 0; border-top: 1px solid var(--line); }
.stats li { font-size: 1rem; color: var(--ink-3); font-weight: 500; }
.stats span { display: block; font-size: 3rem; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.05em; margin-bottom: 0.5rem; }

/* cards */
.cat-block { margin-bottom: 4rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 2rem; }
.card { 
  border: 1px solid var(--line); 
  border-radius: 24px; 
  padding: 2.5rem; 
  background: #fff;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { 
  box-shadow: var(--shadow-hover); 
  transform: translateY(-8px); 
  border-color: transparent;
}
.card h3 { margin: 0 0 1rem; font-size: 1.35rem; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a::before { content:""; position:absolute; inset:0; z-index:1; }
.card { position: relative; } /* For the pseudo-element link */
.card h3 a:hover { color: var(--brand-2); }
.card .quote { font-size: 1rem; margin: 0 0 1.5rem; flex-grow: 1; line-height: 1.6; color: var(--ink-2); }
.card .meta { 
  display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem 0 0; margin: 0; 
  font-size: 0.9rem; color: var(--ink-3); border-top: 1px solid var(--line); font-weight: 500;
}
.card .meta strong { color: var(--ink); font-weight: 600; }

/* buttons + form */
.btn, button[type=submit] {
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  background: var(--ink); 
  color: #fff; 
  text-decoration: none;
  padding: 1.125rem 2.5rem; 
  border-radius: 99px; 
  font-weight: 600; 
  font-size: 1.1rem;
  border: 0; 
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: var(--transition);
}
.btn:hover, button[type=submit]:hover { 
  background: var(--brand-2); 
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
  color: #fff;
}
.btn-link { font-weight: 600; color: var(--ink); background: transparent; box-shadow: none; padding: 0; }
.btn-link:hover { background: transparent; box-shadow: none; transform: none; color: var(--brand-2); text-decoration: none; }
.btn-link::after { content: " →"; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: inline-block; }
.btn-link:hover::after { transform: translateX(4px); }

.finder { 
  background: rgba(255, 255, 255, 0.9); 
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05); 
  border-radius: 24px; 
  padding: 3rem; 
  margin-top: 3.5rem; 
  max-width: 48rem;
  box-shadow: var(--shadow-lg);
}
.finder .field { margin-bottom: 1.5rem; }
.finder label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 0.75rem; color: var(--ink); }
.finder .req { color: var(--brand-2); font-weight: 500; font-size: 0.85rem; margin-left: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.finder .opt { color: var(--ink-3); font-weight: 500; font-size: 0.85rem; margin-left: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.finder textarea, .finder input[type=text], .finder input[type=email] {
  width: 100%; 
  padding: 1.125rem 1.25rem; 
  border: 1px solid var(--line-strong); 
  border-radius: 12px;
  font: inherit; 
  font-size: 1.05rem; 
  background: var(--bg-2); 
  color: var(--ink);
  transition: var(--transition);
}
.finder textarea:hover, .finder input:hover { border-color: var(--ink-3); }
.finder textarea:focus, .finder input:focus { 
  outline: none; 
  border-color: var(--brand-2); 
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); 
}
.finder .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.finder .fine { font-size: 0.9rem; color: var(--ink-3); margin: 1.5rem 0 0; line-height: 1.6; }
.hp { position: absolute; left: -9999px; }

/* footer */
.site-footer { 
  border-top: 1px solid var(--line); 
  background: var(--bg-2); 
  padding: 6rem 0 4rem; 
  margin-top: 6rem; 
  font-size: 1rem; 
  color: var(--ink-2); 
}
.foot-lead { color: var(--ink); font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.foot-meta { font-size: 0.95rem; color: var(--ink-3); line-height: 1.6; }

/* Case Studies & Reference Architectures */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cs-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.cs-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.cs-card h3 {
  margin: 0.5rem 0 1rem;
  font-size: 1.45rem;
}

.cs-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.cs-card h3 a:hover {
  color: var(--brand-2);
}

.cs-card .subtitle {
  color: var(--ink-2);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cs-card .sector-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-2);
  margin-bottom: 0.5rem;
}

.cs-impact-box {
  background: var(--bg-2);
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem 0;
}

.cs-impact-box .impact-stat {
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}

.cs-impact-box .impact-label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.cs-impact-box .impact-basis {
  font-size: 0.95rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.6;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.arch-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem;
  transition: var(--transition);
}

.arch-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.arch-card .arch-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.arch-card h4 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.arch-card p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
}

.pill-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: var(--transition);
}
.pill-list li:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

/* Animations */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments & Mobile Excellence */
@media (max-width: 48rem) {
  .hero { padding: 4rem 0 3rem; }
  .page-head { padding: 3rem 0 2rem; }
  .band { padding: 3rem 0; }
  .finder { padding: 2rem; margin-top: 2rem; border-radius: 16px; }
  .cards, .cs-grid, .arch-grid { grid-template-columns: 1fr; }
  .header-inner { min-height: 4.5rem; }
  .cs-impact-box { padding: 1.5rem; }
  .answer { padding: 1.5rem 1.75rem; }
  .wrap { padding: 0 1.5rem; }
}

@media (max-width: 35rem) {
  .header-inner { 
    flex-direction: column; 
    align-items: stretch; 
    padding: 1rem 0; 
    gap: 1rem; 
  }
  .brand {
    justify-content: center;
  }
  .site-header nav ul { 
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .site-header nav ul::-webkit-scrollbar { display: none; }
  .site-header nav a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 500;
  }
  .site-header nav a[aria-current] {
    background: var(--ink);
    color: #ffffff;
    border-color: var(--ink);
  }
  .finder .row { grid-template-columns: 1fr; gap: 1.25rem; }
  .finder textarea, .finder input[type=text], .finder input[type=email] {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    padding: 1rem;
  }
  .btn, button[type=submit] { 
    width: 100%; 
    min-height: 54px; 
    text-align: center; 
  }
  .stats { flex-direction: column; gap: 1.5rem; }
  .cs-impact-box .impact-stat { font-size: 2.25rem; }
  .card, .cs-card, .arch-card { padding: 1.5rem; border-radius: 16px; }
  .crumbs { padding-top: 1.5rem; }
}

/* Fix Video Walkthrough Card */
.video-card {
  margin: 2rem 0 3rem 0;
  background: var(--bg-2);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.video-card:hover { box-shadow: var(--shadow-md); }
.fix-video-player {
  width: 100%;
  max-height: 480px;
  border-radius: 12px;
  background: #000;
  display: block;
}
.video-credit {
  margin: 1rem 0 0 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.video-credit a {
  color: var(--brand-2);
  text-decoration: none;
  font-weight: 500;
}
.video-credit a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
/* Floating Avatar Widget */
.avatar-widget {
  position: fixed;
  bottom: 3.5rem;
  right: 2rem;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(15, 61, 46, 0.3), 0 0 0 4px white;
  overflow: visible;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-color: #0f3d2e;
}

.avatar-widget:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 30px 50px rgba(15, 61, 46, 0.4), 0 0 0 6px white;
}

.avatar-widget img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.avatar-badge {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #8a631c;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  z-index: 10;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.greeting-bubble {
  position: absolute;
  bottom: 140px;
  right: 0;
  background: white;
  color: #0f3d2e;
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  font-size: 0.9rem;
  font-weight: 500;
  width: max-content;
  max-width: 250px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.avatar-widget:hover .greeting-bubble,
.avatar-widget.active .greeting-bubble {
  opacity: 1;
  transform: translateY(0);
}
.hero-video-wrapper {
  margin-top: 2rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: var(--bg-2);
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Jenny Lynn AI Chat Widget */
.jl-chat-hidden { display: none !important; }
#jl-chat-panel {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 380px;
  max-height: 80vh;
  height: 600px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 61, 46, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
  border: 1px solid var(--line);
}
.jl-chat-header {
  background: var(--brand);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.jl-avatar-mini {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.jl-chat-header div {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.jl-chat-header div strong { font-size: 1.1rem; }
.jl-chat-header div span { font-size: 0.8rem; opacity: 0.8; }
#jl-close-btn {
  background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer;
}
.jl-chat-messages {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-2);
}
.jl-message {
  max-width: 85%;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.jl-user {
  background: var(--ink);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.jl-bot {
  background: white;
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.jl-chat-input {
  display: flex;
  padding: 1rem;
  background: white;
  border-top: 1px solid var(--line);
}
#jl-input {
  flex-grow: 1;
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  border-radius: 99px;
  font-size: 0.95rem;
}
#jl-form button {
  background: var(--brand);
  color: white;
  border: none;
  padding: 0 1.5rem;
  border-radius: 99px;
  margin-left: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}
.jl-fix-card {
  display: block;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
.jl-fix-card:hover { border-color: var(--brand-2); }
.jl-fix-card strong { display: block; color: var(--brand); margin-bottom: 0.5rem; }
.jl-btn-small { display: inline-block; font-size: 0.8rem; font-weight: 600; margin-top: 0.5rem; color: var(--brand-2); }
/* Fix Slides */
.fix-slides { border-top: 1px solid var(--line); padding-top: 3rem; }
.slides-container { display: flex; flex-direction: column; gap: 3rem; margin-top: 2rem; }
.slide { display: flex; flex-direction: column; gap: 1rem; position: relative; }
.slide-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--brand); color: white; border-radius: 50%; font-weight: bold; position: absolute; top: -16px; left: -16px; z-index: 10; box-shadow: var(--shadow-sm); }
.slide-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--bg-2); }
.slide-img img { width: 100%; height: auto; display: block; }
.slide-text p { margin: 0; font-size: 1.1rem; font-weight: 500; color: var(--ink); line-height: 1.5; }
